|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6Fa":function(J,F,e){"use strict";var d=e("wx14"),E=e("Ff2n"),g=e("rePB"),p=e("1OyB"),A=e("vuIU"),b=e("Ji7U"),h=e("md7G"),i=e("foSv"),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),l=e.n(s);function n(f,v){var y=Object.keys(f);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(f);v&&(L=L.filter(function(S){return Object.getOwnPropertyDescriptor(f,S).enumerable})),y.push.apply(y,L)}return y}function u(f){for(var v=1;v<arguments.length;v++){var y=arguments[v]!=null?arguments[v]:{};v%2?n(Object(y),!0).forEach(function(L){Object(g.a)(f,L,y[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(y)):n(Object(y)).forEach(function(L){Object.defineProperty(f,L,Object.getOwnPropertyDescriptor(y,L))})}return f}function t(f){var v=c();return function(){var L=Object(i.a)(f),S;if(v){var x=Object(i.a)(this).constructor;S=Reflect.construct(L,arguments,x)}else S=L.apply(this,arguments);return Object(h.a)(this,S)}}function c(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(f){return!1}}var o=function(f){Object(b.a)(y,f);var v=t(y);function y(L){var S;Object(p.a)(this,y),S=v.call(this,L),S.handleChange=function(O){var T=S.props,w=T.disabled,C=T.onChange;if(w)return;"checked"in S.props||S.setState({checked:O.target.checked}),C&&C({target:u(u({},S.props),{},{checked:O.target.checked}),stopPropagation:function(){O.stopPropagation()},preventDefault:function(){O.preventDefault()},nativeEvent:O.nativeEvent})},S.saveInput=function(O){S.input=O};var x="checked"in L?L.checked:L.defaultChecked;return S.state={checked:x},S}return Object(A.a)(y,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var S,x=this.props,O=x.prefixCls,T=x.className,w=x.style,C=x.name,N=x.id,D=x.type,B=x.disabled,R=x.readOnly,U=x.tabIndex,M=x.onClick,j=x.onFocus,P=x.onBlur,K=x.autoFocus,H=x.value,k=x.required,Z=Object(E.a)(x,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value","required"]),Y=Object.keys(Z).reduce(function(X,he){return(he.substr(0,5)==="aria-"||he.substr(0,5)==="data-"||he==="role")&&(X[he]=Z[he]),X},{}),_=this.state.checked,Q=l()(O,T,(S={},Object(g.a)(S,"".concat(O,"-checked"),_),Object(g.a)(S,"".concat(O,"-disabled"),B),S));return a.a.createElement("span",{className:Q,style:w},a.a.createElement("input",Object(d.a)({name:C,id:N,type:D,required:k,readOnly:R,disabled:B,tabIndex:U,className:"".concat(O,"-input"),checked:!!_,onClick:M,onFocus:j,onBlur:P,onChange:this.handleChange,autoFocus:K,ref:this.saveInput,value:H},Y)),a.a.createElement("span",{className:"".concat(O,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(S,x){return"checked"in S?u(u({},x),{},{checked:S.checked}):null}}]),y}(r.Component);o.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},F.a=o},"+6XX":function(J,F,e){var d=e("y1pI");function E(g){return d(this.__data__,g)>-1}J.exports=E},"+BJd":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("6MrE"),p=e.n(g)},"+QRC":function(J,F,e){"use strict";var d=e("E9nw"),E={"text/plain":"Text","text/html":"Url",default:"Text"},g="Copy to clipboard: #{key}, Enter";function p(b){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return b.replace(/#{\s*key\s*}/g,h)}function A(b,h){var i,r,a,s,l,n,u=!1;h||(h={}),i=h.debug||!1;try{a=d(),s=document.createRange(),l=document.getSelection(),n=document.createElement("span"),n.textContent=b,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(c){if(c.stopPropagation(),h.format)if(c.preventDefault(),typeof c.clipboardData=="undefined"){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=E[h.format]||E.default;window.clipboardData.setData(o,b)}else c.clipboardData.clearData(),c.clipboardData.setData(h.format,b);h.onCopy&&(c.preventDefault(),h.onCopy(c.clipboardData))}),document.body.appendChild(n),s.selectNodeContents(n),l.addRange(s);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");u=!0}catch(c){i&&console.error("unable to copy using execCommand: ",c),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",b),h.onCopy&&h.onCopy(window.clipboardData),u=!0}catch(o){i&&console.error("unable to copy using clipboardData: ",o),i&&console.error("falling back to prompt"),r=p("message"in h?h.message:g),window.prompt(r,b)}}finally{l&&(typeof l.removeRange=="function"?l.removeRange(s):l.removeAllRanges()),n&&document.body.removeChild(n),a()}return u}J.exports=A},"+TT/":function(J,F,e){var d=e("bYtY"),E=e("mFDi"),g=e("OELB"),p=g.parsePercent,A=e("7aKB"),b=d.each,h=["left","right","top","bottom","width","height"],i=[["width","left","right"],["height","top","bottom"]];function r(y,L,S,x,O){var T=0,w=0;x==null&&(x=Infinity),O==null&&(O=Infinity);var C=0;L.eachChild(function(N,D){var B=N.position,R=N.getBoundingRect(),U=L.childAt(D+1),M=U&&U.getBoundingRect(),j,P;if(y==="horizontal"){var K=R.width+(M?-M.x+R.x:0);j=T+K,j>x||N.newline?(T=0,j=K,w+=C+S,C=R.height):C=Math.max(C,R.height)}else{var H=R.height+(M?-M.y+R.y:0);P=w+H,P>O||N.newline?(T+=C+S,w=0,P=H,C=R.width):C=Math.max(C,R.width)}if(N.newline)return;B[0]=T,B[1]=w,y==="horizontal"?T=j+S:w=P+S})}var a=r,s=d.curry(r,"vertical"),l=d.curry(r,"horizontal");function n(y,L,S){var x=L.width,O=L.height,T=p(y.x,x),w=p(y.y,O),C=p(y.x2,x),N=p(y.y2,O);return(isNaN(T)||isNaN(parseFloat(y.x)))&&(T=0),(isNaN(C)||isNaN(parseFloat(y.x2)))&&(C=x),(isNaN(w)||isNaN(parseFloat(y.y)))&&(w=0),(isNaN(N)||isNaN(parseFloat(y.y2)))&&(N=O),S=A.normalizeCssArray(S||0),{width:Math.max(C-T-S[1]-S[3],0),height:Math.max(N-w-S[0]-S[2],0)}}function u(y,L,S){S=A.normalizeCssArray(S||0);var x=L.width,O=L.height,T=p(y.left,x),w=p(y.top,O),C=p(y.right,x),N=p(y.bottom,O),D=p(y.width,x),B=p(y.height,O),R=S[2]+S[0],U=S[1]+S[3],M=y.aspect;isNaN(D)&&(D=x-C-U-T),isNaN(B)&&(B=O-N-R-w),M!=null&&(isNaN(D)&&isNaN(B)&&(M>x/O?D=x*.8:B=O*.8),isNaN(D)&&(D=M*B),isNaN(B)&&(B=D/M)),isNaN(T)&&(T=x-C-D-U),isNaN(w)&&(w=O-N-B-R);switch(y.left||y.right){case"center":T=x/2-D/2-S[3];break;case"right":T=x-D-U;break}switch(y.top||y.bottom){case"middle":case"center":w=O/2-B/2-S[0];break;case"bottom":w=O-B-R;break}T=T||0,w=w||0,isNaN(D)&&(D=x-U-T-(C||0)),isNaN(B)&&(B=O-R-w-(N||0));var j=new E(T+S[3],w+S[0],D,B);return j.margin=S,j}function t(y,L,S,x,O){var T=!O||!O.hv||O.hv[0],w=!O||!O.hv||O.hv[1],C=O&&O.boundingMode||"all";if(!T&&!w)return;var N;if(C==="raw")N=y.type==="group"?new E(0,0,+L.width||0,+L.height||0):y.getBoundingRect();else if(N=y.getBoundingRect(),y.needLocalTransform()){var D=y.getLocalTransform();N=N.clone(),N.applyTransform(D)}L=u(d.defaults({width:N.width,height:N.height},L),S,x);var B=y.position,R=T?L.x-N.x:0,U=w?L.y-N.y:0;y.attr("position",C==="raw"?[R,U]:[B[0]+R,B[1]+U])}function c(y,L){return y[i[L][0]]!=null||y[i[L][1]]!=null&&y[i[L][2]]!=null}function o(y,L,S){!d.isObject(S)&&(S={});var x=S.ignoreSize;!d.isArray(x)&&(x=[x,x]);var O=w(i[0],0),T=w(i[1],1);D(i[0],y,O),D(i[1],y,T);function w(B,R){var U={},M=0,j={},P=0,K=2;if(b(B,function(Z){j[Z]=y[Z]}),b(B,function(Z){C(L,Z)&&(U[Z]=j[Z]=L[Z]),N(U,Z)&&M++,N(j,Z)&&P++}),x[R])return N(L,B[1])?j[B[2]]=null:N(L,B[2])&&(j[B[1]]=null),j;if(P===K||!M)return j;if(M>=K)return U;for(var H=0;H<B.length;H++){var k=B[H];if(!C(U,k)&&C(y,k)){U[k]=y[k];break}}return U}function C(B,R){return B.hasOwnProperty(R)}function N(B,R){return B[R]!=null&&B[R]!=="auto"}function D(B,R,U){b(B,function(M){R[M]=U[M]})}}function f(y){return v({},y)}function v(y,L){return L&&y&&b(h,function(S){L.hasOwnProperty(S)&&(y[S]=L[S])}),y}F.LOCATION_PARAMS=h,F.HV_NAMES=i,F.box=a,F.vbox=s,F.hbox=l,F.getAvailableSize=n,F.getLayoutRect=u,F.positionElement=t,F.sizeCalculable=c,F.mergeLayoutParam=o,F.getLayoutParams=f,F.copyLayoutParams=v},"+Zaj":function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("ugBc")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CalendarOutlined";var h=g.forwardRef(b);F.default=h},"+d4F":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("y3Yb"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},"+eQT":function(J,F,e){"use strict";var d=e("wd/R"),E=e.n(d),g=e("Kwbf"),p={getNow:function(){return E()()},getWeekDay:function(Bt){var Zt=Bt.clone().locale("en_US");return Zt.weekday()+Zt.localeData().firstDayOfWeek()},getYear:function(Bt){return Bt.year()},getMonth:function(Bt){return Bt.month()},getDate:function(Bt){return Bt.date()},getHour:function(Bt){return Bt.hour()},getMinute:function(Bt){return Bt.minute()},getSecond:function(Bt){return Bt.second()},addYear:function(Bt,Zt){var rr=Bt.clone();return rr.add(Zt,"year")},addMonth:function(Bt,Zt){var rr=Bt.clone();return rr.add(Zt,"month")},addDate:function(Bt,Zt){var rr=Bt.clone();return rr.add(Zt,"day")},setYear:function(Bt,Zt){var rr=Bt.clone();return rr.year(Zt)},setMonth:function(Bt,Zt){var rr=Bt.clone();return rr.month(Zt)},setDate:function(Bt,Zt){var rr=Bt.clone();return rr.date(Zt)},setHour:function(Bt,Zt){var rr=Bt.clone();return rr.hour(Zt)},setMinute:function(Bt,Zt){var rr=Bt.clone();return rr.minute(Zt)},setSecond:function(Bt,Zt){var rr=Bt.clone();return rr.second(Zt)},isAfter:function(Bt,Zt){return Bt.isAfter(Zt)},isValidate:function(Bt){return Bt.isValid()},locale:{getWeekFirstDay:function(Bt){var Zt=E()().locale(Bt);return Zt.localeData().firstDayOfWeek()},getWeek:function(Bt,Zt){var rr=Zt.clone(),Tr=rr.locale(Bt);return Tr.week()},getShortWeekDays:function(Bt){var Zt=E()().locale(Bt);return Zt.localeData().weekdaysMin()},getShortMonths:function(Bt){var Zt=E()().locale(Bt);return Zt.localeData().monthsShort()},format:function(Bt,Zt,rr){var Tr=Zt.clone(),br=Tr.locale(Bt);return br.format(rr)},parse:function(Bt,Zt,rr){for(var Tr=[],br=0;br<rr.length;br+=1){var xr=rr[br],Wr=Zt;if(xr.includes("wo")||xr.includes("Wo")){xr=xr.replace(/wo/g,"w").replace(/Wo/g,"W");var $r=xr.match(/[-YyMmDdHhSsWwGg]+/g),Zr=Wr.match(/[-\d]+/g);$r&&Zr?(xr=$r.join(""),Wr=Zr.join("")):Tr.push(xr.replace(/o/g,""))}var an=E()(Wr,xr,Bt,!0);if(an.isValid())return an}for(var at=0;at<Tr.length;at+=1){var Ht=E()(Zt,Tr[at],Bt,!1);if(Ht.isValid())return Object(g.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Ht}return null}}},A=p,b=e("pVnL"),h=e.n(b),i=e("q1tI"),r=e("2/Rp");function a(Ue){return i.createElement(r.a,h()({size:"small",type:"primary"},Ue))}var s=e("mr32");function l(Ue){return i.createElement(s.a,h()({color:"blue"},Ue))}var n=e("lSNA"),u=e.n(n),t=e("lwsE"),c=e.n(t),o=e("W8MJ"),f=e.n(o),v=e("7W2i"),y=e.n(v),L=e("LQ03"),S=e.n(L),x=e("TSYQ"),O=e.n(x),T=e("r/2G"),w=e.n(T),C=e("XzQk"),N=e.n(C),D=e("kbBi"),B=e.n(D),R=e("1OyB"),U=e("vuIU"),M=e("Ji7U"),j=e("LK+K"),P=e("rePB"),K=e("VTBJ"),H=e("ODXe"),k=e("6cGi"),Z=e("U8pU"),Y=e("4IlW"),_=i.createContext({}),Q=_,X={visibility:"hidden"};function he(Ue){var Bt=Ue.prefixCls,Zt=Ue.prevIcon,rr=Zt===void 0?"\u2039":Zt,Tr=Ue.nextIcon,br=Tr===void 0?"\u203A":Tr,xr=Ue.superPrevIcon,Wr=xr===void 0?"\xAB":xr,$r=Ue.superNextIcon,Zr=$r===void 0?"\xBB":$r,an=Ue.onSuperPrev,at=Ue.onSuperNext,Ht=Ue.onPrev,ar=Ue.onNext,yr=Ue.children,Fr=i.useContext(Q),Mr=Fr.hideNextBtn,rn=Fr.hidePrevBtn;return i.createElement("div",{className:Bt},an&&i.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(Bt,"-super-prev-btn"),style:rn?X:{}},Wr),Ht&&i.createElement("button",{type:"button",onClick:Ht,tabIndex:-1,className:"".concat(Bt,"-prev-btn"),style:rn?X:{}},rr),i.createElement("div",{className:"".concat(Bt,"-view")},yr),ar&&i.createElement("button",{type:"button",onClick:ar,tabIndex:-1,className:"".concat(Bt,"-next-btn"),style:Mr?X:{}},br),at&&i.createElement("button",{type:"button",onClick:at,tabIndex:-1,className:"".concat(Bt,"-super-next-btn"),style:Mr?X:{}},Zr))}var te=he;function fe(Ue){var Bt=i.useContext(Q),Zt=Bt.hideHeader;if(Zt)return null;var rr=Ue.prefixCls,Tr=Ue.generateConfig,br=Ue.locale,xr=Ue.value,Wr=Ue.format,$r="".concat(rr,"-header");return i.createElement(te,{prefixCls:$r},xr?Tr.locale.format(br.locale,xr,Wr):"\xA0")}var be=fe,we=e("YrtM"),Ke=e("KQm4"),qe=new Map;function xt(Ue,Bt,Zt){if(qe.get(Ue)&&cancelAnimationFrame(qe.get(Ue)),Zt<=0){qe.set(Ue,requestAnimationFrame(function(){Ue.scrollTop=Bt}));return}var rr=Bt-Ue.scrollTop,Tr=rr/Zt*10;qe.set(Ue,requestAnimationFrame(function(){Ue.scrollTop+=Tr,Ue.scrollTop!==Bt&&xt(Ue,Bt,Zt-10)}))}function Fe(Ue,Bt){var Zt=Bt.onLeftRight,rr=Bt.onCtrlLeftRight,Tr=Bt.onUpDown,br=Bt.onPageUpDown,xr=Bt.onEnter,Wr=Ue.which,$r=Ue.ctrlKey,Zr=Ue.metaKey;switch(Wr){case Y.a.LEFT:if($r||Zr){if(rr)return rr(-1),!0}else if(Zt)return Zt(-1),!0;break;case Y.a.RIGHT:if($r||Zr){if(rr)return rr(1),!0}else if(Zt)return Zt(1),!0;break;case Y.a.UP:if(Tr)return Tr(-1),!0;break;case Y.a.DOWN:if(Tr)return Tr(1),!0;break;case Y.a.PAGE_UP:if(br)return br(-1),!0;break;case Y.a.PAGE_DOWN:if(br)return br(1),!0;break;case Y.a.ENTER:if(xr)return xr(),!0;break}return!1}function Be(Ue,Bt,Zt,rr){var Tr=Ue;if(!Tr)switch(Bt){case"time":Tr=rr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Tr="gggg-wo";break;case"month":Tr="YYYY-MM";break;case"quarter":Tr="YYYY-[Q]Q";break;case"year":Tr="YYYY";break;default:Tr=Zt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Tr}function bt(Ue,Bt){var Zt=Ue==="time"?8:10;return Math.max(Zt,Bt.length)+2}var lt=null,tt=new Set;function St(Ue){return!lt&&typeof window!="undefined"&&window.addEventListener&&(lt=function(Zt){Object(Ke.a)(tt).forEach(function(rr){rr(Zt)})},window.addEventListener("mousedown",lt)),tt.add(Ue),function(){tt.delete(Ue),tt.size===0&&(window.removeEventListener("mousedown",lt),lt=null)}}var ht=function(Bt){return Bt==="month"||Bt==="date"?"year":Bt},vt=function(Bt){return Bt==="date"?"month":Bt},Ge=function(Bt){return Bt==="month"||Bt==="date"?"quarter":Bt},At=function(Bt){return Bt==="date"?"week":Bt},_e={year:ht,month:vt,quarter:Ge,week:At,time:null,date:null};function De(Ue,Bt){return Ue.some(function(Zt){return Zt&&Zt.contains(Bt)})}function Ie(Ue){var Bt=Ue.prefixCls,Zt=Ue.units,rr=Ue.onSelect,Tr=Ue.value,br=Ue.active,xr=Ue.hideDisabledOptions,Wr="".concat(Bt,"-cell"),$r=i.useContext(Q),Zr=$r.open,an=i.useRef(null),at=i.useRef(new Map);return i.useLayoutEffect(function(){var Ht=at.current.get(Tr);Ht&&Zr!==!1&&xt(an.current,Ht.offsetTop,120)},[Tr]),i.useLayoutEffect(function(){if(Zr){var Ht=at.current.get(Tr);Ht&&xt(an.current,Ht.offsetTop,0)}},[Zr]),i.createElement("ul",{className:O()("".concat(Bt,"-column"),Object(P.a)({},"".concat(Bt,"-column-active"),br)),ref:an,style:{position:"relative"}},Zt.map(function(Ht){var ar;return xr&&Ht.disabled?null:i.createElement("li",{key:Ht.value,ref:function(Fr){at.current.set(Ht.value,Fr)},className:O()(Wr,(ar={},Object(P.a)(ar,"".concat(Wr,"-disabled"),Ht.disabled),Object(P.a)(ar,"".concat(Wr,"-selected"),Tr===Ht.value),ar)),onClick:function(){if(Ht.disabled)return;rr(Ht.value)}},i.createElement("div",{className:"".concat(Wr,"-inner")},Ht.label))}))}var st=Ie;function Et(Ue,Bt){for(var Zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",rr=String(Ue);rr.length<Bt;)rr="".concat(Zt).concat(Ue);return rr}var Mt=function(){for(var Bt=arguments.length,Zt=new Array(Bt),rr=0;rr<Bt;rr++)Zt[rr]=arguments[rr];return Zt};function Pt(Ue){return Ue==null?[]:Array.isArray(Ue)?Ue:[Ue]}function ke(Ue){var Bt={};return Object.keys(Ue).forEach(function(Zt){(Zt.substr(0,5)==="data-"||Zt.substr(0,5)==="aria-"||Zt==="role"||Zt==="name")&&Zt.substr(0,7)!=="data-__"&&(Bt[Zt]=Ue[Zt])}),Bt}function zt(Ue,Bt){return Ue?Ue[Bt]:null}function Ot(Ue,Bt,Zt){var rr=[zt(Ue,0),zt(Ue,1)];return rr[Zt]=typeof Bt=="function"?Bt(rr[Zt]):Bt,!rr[0]&&!rr[1]?null:rr}function _t(Ue,Bt,Zt,rr,Tr){var br=Ue.setHour(Bt,Zt);return br=Ue.setMinute(br,rr),br=Ue.setSecond(br,Tr),br}function Ve(Ue,Bt,Zt,rr,Tr,br){var xr=Math.floor(Ue/rr)*rr;if(xr<Ue)return[xr,60-Tr,60-br];var Wr=Math.floor(Bt/Tr)*Tr;if(Wr<Bt)return[xr,Wr,60-br];var $r=Math.floor(Zt/br)*br;return[xr,Wr,$r]}function Qe(Ue,Bt){if(Ue.length!==Bt.length)return!0;for(var Zt=0;Zt<Ue.length;Zt+=1)if(Ue[Zt].disabled!==Bt[Zt].disabled)return!0;return!1}function et(Ue,Bt,Zt,rr){for(var Tr=[],br=Ue;br<=Bt;br+=Zt)Tr.push({label:Et(br,2),value:br,disabled:(rr||[]).includes(br)});return Tr}function dt(Ue){var Bt=Ue.generateConfig,Zt=Ue.prefixCls,rr=Ue.operationRef,Tr=Ue.activeColumnIndex,br=Ue.value,xr=Ue.showHour,Wr=Ue.showMinute,$r=Ue.showSecond,Zr=Ue.use12Hours,an=Ue.hourStep,at=an===void 0?1:an,Ht=Ue.minuteStep,ar=Ht===void 0?1:Ht,yr=Ue.secondStep,Fr=yr===void 0?1:yr,Mr=Ue.disabledHours,rn=Ue.disabledMinutes,fn=Ue.disabledSeconds,wn=Ue.hideDisabledOptions,Hn=Ue.onSelect,Sn=[],bn="".concat(Zt,"-content"),Bn="".concat(Zt,"-time-panel"),vn,Mn=br?Bt.getHour(br):-1,En=br?Bt.getMinute(br):-1,Tn=br?Bt.getSecond(br):-1,Yn=function(hi,Ji,va,Ea){var Aa=br||Bt.getNow(),oa=Math.max(0,Ji),sa=Math.max(0,va),Di=Math.max(0,Ea);return Aa=_t(Bt,Aa,!Zr||!hi?oa:oa+12,sa,Di),Aa},ai=et(0,23,at,Mr&&Mr()),ri=Object(we.a)(function(){return ai},ai,Qe);Zr&&(vn=Mn>=12,Mn%=12);var Ri=i.useMemo(function(){if(!Zr)return[!1,!1];var mi=[!0,!0];return ri.forEach(function(hi){var Ji=hi.disabled,va=hi.value;if(Ji)return;va>=12?mi[1]=!1:mi[0]=!1}),mi},[Zr,ri]),Ai=Object(H.a)(Ri,2),xi=Ai[0],Li=Ai[1],kn=i.useMemo(function(){return Zr?ri.filter(vn?function(mi){return mi.value>=12}:function(mi){return mi.value<12}).map(function(mi){var hi=mi.value%12,Ji=hi===0?"12":Et(hi,2);return Object(K.a)(Object(K.a)({},mi),{},{label:Ji,value:hi})}):ri},[Zr,ri]),Mi=et(0,59,ar,rn&&rn(Mn)),fa=et(0,59,Fr,fn&&fn(Mn,En));rr.current={onUpDown:function(hi){var Ji=Sn[Tr];if(Ji)for(var va=Ji.units.findIndex(function(sa){return sa.value===Ji.value}),Ea=Ji.units.length,Aa=1;Aa<Ea;Aa+=1){var oa=Ji.units[(va+hi*Aa+Ea)%Ea];if(oa.disabled!==!0){Ji.onSelect(oa.value);break}}}};function ki(mi,hi,Ji,va,Ea){mi!==!1&&Sn.push({node:i.cloneElement(hi,{prefixCls:Bn,value:Ji,active:Tr===Sn.length,onSelect:Ea,units:va,hideDisabledOptions:wn}),onSelect:Ea,value:Ji,units:va})}ki(xr,i.createElement(st,{key:"hour"}),Mn,kn,function(mi){Hn(Yn(vn,mi,En,Tn),"mouse")}),ki(Wr,i.createElement(st,{key:"minute"}),En,Mi,function(mi){Hn(Yn(vn,Mn,mi,Tn),"mouse")}),ki($r,i.createElement(st,{key:"second"}),Tn,fa,function(mi){Hn(Yn(vn,Mn,En,mi),"mouse")});var Bi=-1;return typeof vn=="boolean"&&(Bi=vn?1:0),ki(Zr===!0,i.createElement(st,{key:"12hours"}),Bi,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:Li}],function(mi){Hn(Yn(!!mi,Mn,En,Tn),"mouse")}),i.createElement("div",{className:bn},Sn.map(function(mi){var hi=mi.node;return hi}))}var Ze=dt,oe=function(Bt){return Bt.filter(function(Zt){return Zt!==!1}).length};function me(Ue){var Bt=Ue.generateConfig,Zt=Ue.format,rr=Zt===void 0?"HH:mm:ss":Zt,Tr=Ue.prefixCls,br=Ue.active,xr=Ue.operationRef,Wr=Ue.showHour,$r=Ue.showMinute,Zr=Ue.showSecond,an=Ue.use12Hours,at=an===void 0?!1:an,Ht=Ue.onSelect,ar=Ue.value,yr="".concat(Tr,"-time-panel"),Fr=i.useRef(),Mr=i.useState(-1),rn=Object(H.a)(Mr,2),fn=rn[0],wn=rn[1],Hn=oe([Wr,$r,Zr,at]);return xr.current={onKeyDown:function(bn){return Fe(bn,{onLeftRight:function(vn){wn((fn+vn+Hn)%Hn)},onUpDown:function(vn){fn===-1?wn(0):Fr.current&&Fr.current.onUpDown(vn)},onEnter:function(){Ht(ar||Bt.getNow(),"key"),wn(-1)}})},onBlur:function(){wn(-1)}},i.createElement("div",{className:O()(yr,Object(P.a)({},"".concat(yr,"-active"),br))},i.createElement(be,Object.assign({},Ue,{format:rr,prefixCls:Tr})),i.createElement(Ze,Object.assign({},Ue,{prefixCls:Tr,activeColumnIndex:fn,operationRef:Fr})))}var ot=me,Pe=7;function pt(Ue,Bt){return!Ue&&!Bt?!0:!Ue||!Bt?!1:void 0}function Rr(Ue,Bt,Zt){var rr=pt(Bt,Zt);if(typeof rr=="boolean")return rr;var Tr=Math.floor(Ue.getYear(Bt)/10),br=Math.floor(Ue.getYear(Zt)/10);return Tr===br}function It(Ue,Bt,Zt){var rr=pt(Bt,Zt);return typeof rr=="boolean"?rr:Ue.getYear(Bt)===Ue.getYear(Zt)}function nr(Ue,Bt){var Zt=Math.floor(Ue.getMonth(Bt)/3);return Zt+1}function Gt(Ue,Bt,Zt){var rr=pt(Bt,Zt);return typeof rr=="boolean"?rr:It(Ue,Bt,Zt)&&nr(Ue,Bt)===nr(Ue,Zt)}function Jt(Ue,Bt,Zt){var rr=pt(Bt,Zt);return typeof rr=="boolean"?rr:It(Ue,Bt,Zt)&&Ue.getMonth(Bt)===Ue.getMonth(Zt)}function hr(Ue,Bt,Zt){var rr=pt(Bt,Zt);return typeof rr=="boolean"?rr:Ue.getYear(Bt)===Ue.getYear(Zt)&&Ue.getMonth(Bt)===Ue.getMonth(Zt)&&Ue.getDate(Bt)===Ue.getDate(Zt)}function Xt(Ue,Bt,Zt){var rr=pt(Bt,Zt);return typeof rr=="boolean"?rr:Ue.getHour(Bt)===Ue.getHour(Zt)&&Ue.getMinute(Bt)===Ue.getMinute(Zt)&&Ue.getSecond(Bt)===Ue.getSecond(Zt)}function de(Ue,Bt,Zt,rr){var Tr=pt(Zt,rr);return typeof Tr=="boolean"?Tr:Ue.locale.getWeek(Bt,Zt)===Ue.locale.getWeek(Bt,rr)}function ue(Ue,Bt,Zt){return hr(Ue,Bt,Zt)&&Xt(Ue,Bt,Zt)}function se(Ue,Bt,Zt,rr){return!Bt||!Zt||!rr?!1:!hr(Ue,Bt,rr)&&!hr(Ue,Zt,rr)&&Ue.isAfter(rr,Bt)&&Ue.isAfter(Zt,rr)}function ae(Ue,Bt,Zt){var rr=Bt.locale.getWeekFirstDay(Ue),Tr=Bt.setDate(Zt,1),br=Bt.getWeekDay(Tr),xr=Bt.addDate(Tr,rr-br);return Bt.getMonth(xr)===Bt.getMonth(Zt)&&Bt.getDate(xr)>1&&(xr=Bt.addDate(xr,-7)),xr}function ye(Ue,Bt,Zt){var rr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Bt){case"year":return Zt.addYear(Ue,rr*10);case"quarter":case"month":return Zt.addYear(Ue,rr);default:return Zt.addMonth(Ue,rr)}}var Ce=i.createContext({}),Oe=Ce;function Te(Ue){var Bt=Ue.cellPrefixCls,Zt=Ue.generateConfig,rr=Ue.rangedValue,Tr=Ue.hoverRangedValue,br=Ue.isInView,xr=Ue.isSameCell,Wr=Ue.offsetCell,$r=Ue.today,Zr=Ue.value;function an(at){var Ht,ar=Wr(at,-1),yr=Wr(at,1),Fr=zt(rr,0),Mr=zt(rr,1),rn=zt(Tr,0),fn=zt(Tr,1),wn=se(Zt,rn,fn,at);function Hn(En){return xr(Fr,En)}function Sn(En){return xr(Mr,En)}var bn=xr(rn,at),Bn=xr(fn,at),vn=(wn||Bn)&&(!br(ar)||Sn(ar)),Mn=(wn||bn)&&(!br(yr)||Hn(yr));return Ht={},Object(P.a)(Ht,"".concat(Bt,"-in-view"),br(at)),Object(P.a)(Ht,"".concat(Bt,"-in-range"),se(Zt,Fr,Mr,at)),Object(P.a)(Ht,"".concat(Bt,"-range-start"),Hn(at)),Object(P.a)(Ht,"".concat(Bt,"-range-end"),Sn(at)),Object(P.a)(Ht,"".concat(Bt,"-range-start-single"),Hn(at)&&!Mr),Object(P.a)(Ht,"".concat(Bt,"-range-end-single"),Sn(at)&&!Fr),Object(P.a)(Ht,"".concat(Bt,"-range-start-near-hover"),Hn(at)&&(xr(ar,rn)||se(Zt,rn,fn,ar))),Object(P.a)(Ht,"".concat(Bt,"-range-end-near-hover"),Sn(at)&&(xr(yr,fn)||se(Zt,rn,fn,yr))),Object(P.a)(Ht,"".concat(Bt,"-range-hover"),wn),Object(P.a)(Ht,"".concat(Bt,"-range-hover-start"),bn),Object(P.a)(Ht,"".concat(Bt,"-range-hover-end"),Bn),Object(P.a)(Ht,"".concat(Bt,"-range-hover-edge-start"),vn),Object(P.a)(Ht,"".concat(Bt,"-range-hover-edge-end"),Mn),Object(P.a)(Ht,"".concat(Bt,"-range-hover-edge-start-near-range"),vn&&xr(ar,Mr)),Object(P.a)(Ht,"".concat(Bt,"-range-hover-edge-end-near-range"),Mn&&xr(yr,Fr)),Object(P.a)(Ht,"".concat(Bt,"-today"),xr($r,at)),Object(P.a)(Ht,"".concat(Bt,"-selected"),xr(Zr,at)),Ht}return an}function xe(Ue){for(var Bt=Ue.prefixCls,Zt=Ue.disabledDate,rr=Ue.onSelect,Tr=Ue.rowNum,br=Ue.colNum,xr=Ue.prefixColumn,Wr=Ue.rowClassName,$r=Ue.baseDate,Zr=Ue.getCellClassName,an=Ue.getCellText,at=Ue.getCellNode,Ht=Ue.getCellDate,ar=Ue.titleCell,yr=Ue.headerCells,Fr=i.useContext(Q),Mr=Fr.onDateMouseEnter,rn=Fr.onDateMouseLeave,fn="".concat(Bt,"-cell"),wn=[],Hn=0;Hn<Tr;Hn+=1){for(var Sn=[],bn=void 0,Bn=function(En){var Tn=Hn*br+En,Yn=Ht($r,Tn),ai=Zt&&Zt(Yn);En===0&&(bn=Yn,xr&&Sn.push(xr(bn))),Sn.push(i.createElement("td",{key:En,title:ar&&ar(Yn),className:O()(fn,Object(K.a)(Object(P.a)({},"".concat(fn,"-disabled"),ai),Zr(Yn))),onClick:function(){ai||rr(Yn)},onMouseEnter:function(){!ai&&Mr&&Mr(Yn)},onMouseLeave:function(){!ai&&rn&&rn(Yn)}},at?at(Yn):i.createElement("div",{className:"".concat(fn,"-inner")},an(Yn))))},vn=0;vn<br;vn+=1)Bn(vn);wn.push(i.createElement("tr",{key:Hn,className:Wr&&Wr(bn)},Sn))}return i.createElement("div",{className:"".concat(Bt,"-body")},i.createElement("table",{className:"".concat(Bt,"-content")},yr&&i.createElement("thead",null,i.createElement("tr",null,yr)),i.createElement("tbody",null,wn)))}function je(Ue){var Bt=Ue.prefixCls,Zt=Ue.generateConfig,rr=Ue.prefixColumn,Tr=Ue.locale,br=Ue.rowCount,xr=Ue.viewDate,Wr=Ue.value,$r=Ue.dateRender,Zr=i.useContext(Oe),an=Zr.rangedValue,at=Zr.hoverRangedValue,Ht=ae(Tr.locale,Zt,xr),ar="".concat(Bt,"-cell"),yr=Zt.locale.getWeekFirstDay(Tr.locale),Fr=Zt.getNow(),Mr=[],rn=Tr.shortWeekDays||(Zt.locale.getShortWeekDays?Zt.locale.getShortWeekDays(Tr.locale):[]);rr&&Mr.push(i.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var fn=0;fn<Pe;fn+=1)Mr.push(i.createElement("th",{key:fn},rn[(fn+yr)%Pe]));var wn=Te({cellPrefixCls:ar,today:Fr,value:Wr,generateConfig:Zt,rangedValue:rr?null:an,hoverRangedValue:rr?null:at,isSameCell:function(bn,Bn){return hr(Zt,bn,Bn)},isInView:function(bn){return Jt(Zt,bn,xr)},offsetCell:function(bn,Bn){return Zt.addDate(bn,Bn)}}),Hn=$r?function(Sn){return $r(Sn,Fr)}:void 0;return i.createElement(xe,Object.assign({},Ue,{rowNum:br,colNum:Pe,baseDate:Ht,getCellNode:Hn,getCellText:Zt.getDate,getCellClassName:wn,getCellDate:Zt.addDate,titleCell:function(bn){return Zt.locale.format(Tr.locale,bn,"YYYY-MM-DD")},headerCells:Mr}))}var ut=je;function wt(Ue){var Bt=Ue.prefixCls,Zt=Ue.generateConfig,rr=Ue.locale,Tr=Ue.viewDate,br=Ue.onNextMonth,xr=Ue.onPrevMonth,Wr=Ue.onNextYear,$r=Ue.onPrevYear,Zr=Ue.onYearClick,an=Ue.onMonthClick,at=i.useContext(Q),Ht=at.hideHeader;if(Ht)return null;var ar="".concat(Bt,"-header"),yr=rr.shortMonths||(Zt.locale.getShortMonths?Zt.locale.getShortMonths(rr.locale):[]),Fr=Zt.getMonth(Tr),Mr=i.createElement("button",{type:"button",key:"year",onClick:Zr,tabIndex:-1,className:"".concat(Bt,"-year-btn")},Zt.locale.format(rr.locale,Tr,rr.yearFormat)),rn=i.createElement("button",{type:"button",key:"month",onClick:an,tabIndex:-1,className:"".concat(Bt,"-month-btn")},rr.monthFormat?Zt.locale.format(rr.locale,Tr,rr.monthFormat):yr[Fr]),fn=rr.monthBeforeYear?[rn,Mr]:[Mr,rn];return i.createElement(te,Object.assign({},Ue,{prefixCls:ar,onSuperPrev:$r,onPrev:xr,onNext:br,onSuperNext:Wr}),fn)}var ee=wt,ie=6;function z(Ue){var Bt=Ue.prefixCls,Zt=Ue.panelName,rr=Zt===void 0?"date":Zt,Tr=Ue.keyboardConfig,br=Ue.active,xr=Ue.operationRef,Wr=Ue.generateConfig,$r=Ue.value,Zr=Ue.viewDate,an=Ue.onViewDateChange,at=Ue.onPanelChange,Ht=Ue.onSelect,ar="".concat(Bt,"-").concat(rr,"-panel");xr.current={onKeyDown:function(rn){return Fe(rn,Object(K.a)({onLeftRight:function(wn){Ht(Wr.addDate($r||Zr,wn),"key")},onCtrlLeftRight:function(wn){Ht(Wr.addYear($r||Zr,wn),"key")},onUpDown:function(wn){Ht(Wr.addDate($r||Zr,wn*Pe),"key")},onPageUpDown:function(wn){Ht(Wr.addMonth($r||Zr,wn),"key")}},Tr))}};var yr=function(rn){var fn=Wr.addYear(Zr,rn);an(fn),at(null,fn)},Fr=function(rn){var fn=Wr.addMonth(Zr,rn);an(fn),at(null,fn)};return i.createElement("div",{className:O()(ar,Object(P.a)({},"".concat(ar,"-active"),br))},i.createElement(ee,Object.assign({},Ue,{prefixCls:Bt,value:$r,viewDate:Zr,onPrevYear:function(){yr(-1)},onNextYear:function(){yr(1)},onPrevMonth:function(){Fr(-1)},onNextMonth:function(){Fr(1)},onMonthClick:function(){at("month",Zr)},onYearClick:function(){at("year",Zr)}})),i.createElement(ut,Object.assign({},Ue,{onSelect:function(rn){return Ht(rn,"mouse")},prefixCls:Bt,value:$r,viewDate:Zr,rowCount:ie})))}var $=z;function le(Ue,Bt,Zt){if(!Zt)return Bt;var rr=Bt;return rr=Ue.setHour(rr,Ue.getHour(Zt)),rr=Ue.setMinute(rr,Ue.getMinute(Zt)),rr=Ue.setSecond(rr,Ue.getSecond(Zt)),rr}var ge=Mt("date","time");function Ae(Ue){var Bt=Ue.prefixCls,Zt=Ue.operationRef,rr=Ue.generateConfig,Tr=Ue.value,br=Ue.defaultValue,xr=Ue.disabledTime,Wr=Ue.showTime,$r=Ue.onSelect,Zr="".concat(Bt,"-datetime-panel"),an=i.useState(null),at=Object(H.a)(an,2),Ht=at[0],ar=at[1],yr=i.useRef({}),Fr=i.useRef({}),Mr=Object(Z.a)(Wr)==="object"?Object(K.a)({},Wr):{};function rn(Sn){var bn=ge.indexOf(Ht)+Sn,Bn=ge[bn]||null;return Bn}var fn=function(bn){Fr.current.onBlur&&Fr.current.onBlur(bn),ar(null)};Zt.current={onKeyDown:function(bn){if(bn.which===Y.a.TAB){var Bn=rn(bn.shiftKey?-1:1);return ar(Bn),Bn&&bn.preventDefault(),!0}if(Ht){var vn=Ht==="date"?yr:Fr;return vn.current&&vn.current.onKeyDown&&vn.current.onKeyDown(bn),!0}return[Y.a.LEFT,Y.a.RIGHT,Y.a.UP,Y.a.DOWN].includes(bn.which)?(ar("date"),!0):!1},onBlur:fn,onClose:fn};var wn=function(bn,Bn){var vn=bn;Bn==="date"&&!Tr&&Mr.defaultValue?(vn=rr.setHour(vn,rr.getHour(Mr.defaultValue)),vn=rr.setMinute(vn,rr.getMinute(Mr.defaultValue)),vn=rr.setSecond(vn,rr.getSecond(Mr.defaultValue))):Bn==="time"&&!Tr&&br&&(vn=rr.setYear(vn,rr.getYear(br)),vn=rr.setMonth(vn,rr.getMonth(br)),vn=rr.setDate(vn,rr.getDate(br))),$r&&$r(vn,"mouse")},Hn=xr?xr(Tr||null):{};return i.createElement("div",{className:O()(Zr,Object(P.a)({},"".concat(Zr,"-active"),Ht))},i.createElement($,Object.assign({},Ue,{operationRef:yr,active:Ht==="date",onSelect:function(bn){wn(le(rr,bn,Wr&&Object(Z.a)(Wr)==="object"?Wr.defaultValue:null),"date")}})),i.createElement(ot,Object.assign({},Ue,{format:void 0},Mr,Hn,{defaultValue:void 0,operationRef:Fr,active:Ht==="time",onSelect:function(bn){wn(bn,"time")}})))}var Me=Ae;function $e(Ue){var Bt=Ue.prefixCls,Zt=Ue.generateConfig,rr=Ue.locale,Tr=Ue.value,br="".concat(Bt,"-cell"),xr=function(an){return i.createElement("td",{key:"week",className:O()(br,"".concat(br,"-week"))},Zt.locale.getWeek(rr.locale,an))},Wr="".concat(Bt,"-week-panel-row"),$r=function(an){return O()(Wr,Object(P.a)({},"".concat(Wr,"-selected"),de(Zt,rr.locale,Tr,an)))};return i.createElement($,Object.assign({},Ue,{panelName:"week",prefixColumn:xr,rowClassName:$r,keyboardConfig:{onLeftRight:null}}))}var kt=$e;function $t(Ue){var Bt=Ue.prefixCls,Zt=Ue.generateConfig,rr=Ue.locale,Tr=Ue.viewDate,br=Ue.onNextYear,xr=Ue.onPrevYear,Wr=Ue.onYearClick,$r=i.useContext(Q),Zr=$r.hideHeader;if(Zr)return null;var an="".concat(Bt,"-header");return i.createElement(te,Object.assign({},Ue,{prefixCls:an,onSuperPrev:xr,onSuperNext:br}),i.createElement("button",{type:"button",onClick:Wr,className:"".concat(Bt,"-year-btn")},Zt.locale.format(rr.locale,Tr,rr.yearFormat)))}var Lt=$t,Ut=3,Wt=4;function Vt(Ue){var Bt=Ue.prefixCls,Zt=Ue.locale,rr=Ue.value,Tr=Ue.viewDate,br=Ue.generateConfig,xr=Ue.monthCellRender,Wr=i.useContext(Oe),$r=Wr.rangedValue,Zr=Wr.hoverRangedValue,an="".concat(Bt,"-cell"),at=Te({cellPrefixCls:an,value:rr,generateConfig:br,rangedValue:$r,hoverRangedValue:Zr,isSameCell:function(Mr,rn){return Jt(br,Mr,rn)},isInView:function(){return!0},offsetCell:function(Mr,rn){return br.addMonth(Mr,rn)}}),Ht=Zt.shortMonths||(br.locale.getShortMonths?br.locale.getShortMonths(Zt.locale):[]),ar=br.setMonth(Tr,0),yr=xr?function(Fr){return xr(Fr,Zt)}:void 0;return i.createElement(xe,Object.assign({},Ue,{rowNum:Wt,colNum:Ut,baseDate:ar,getCellNode:yr,getCellText:function(Mr){return Zt.monthFormat?br.locale.format(Zt.locale,Mr,Zt.monthFormat):Ht[br.getMonth(Mr)]},getCellClassName:at,getCellDate:br.addMonth,titleCell:function(Mr){return br.locale.format(Zt.locale,Mr,"YYYY-MM")}}))}var Tt=Vt;function ur(Ue){var Bt=Ue.prefixCls,Zt=Ue.operationRef,rr=Ue.onViewDateChange,Tr=Ue.generateConfig,br=Ue.value,xr=Ue.viewDate,Wr=Ue.onPanelChange,$r=Ue.onSelect,Zr="".concat(Bt,"-month-panel");Zt.current={onKeyDown:function(Ht){return Fe(Ht,{onLeftRight:function(yr){$r(Tr.addMonth(br||xr,yr),"key")},onCtrlLeftRight:function(yr){$r(Tr.addYear(br||xr,yr),"key")},onUpDown:function(yr){$r(Tr.addMonth(br||xr,yr*Ut),"key")},onEnter:function(){Wr("date",br||xr)}})}};var an=function(Ht){var ar=Tr.addYear(xr,Ht);rr(ar),Wr(null,ar)};return i.createElement("div",{className:Zr},i.createElement(Lt,Object.assign({},Ue,{prefixCls:Bt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){Wr("year",xr)}})),i.createElement(Tt,Object.assign({},Ue,{prefixCls:Bt,onSelect:function(Ht){$r(Ht,"mouse"),Wr("date",Ht)}})))}var qt=ur;function ze(Ue){var Bt=Ue.prefixCls,Zt=Ue.generateConfig,rr=Ue.locale,Tr=Ue.viewDate,br=Ue.onNextYear,xr=Ue.onPrevYear,Wr=Ue.onYearClick,$r=i.useContext(Q),Zr=$r.hideHeader;if(Zr)return null;var an="".concat(Bt,"-header");return i.createElement(te,Object.assign({},Ue,{prefixCls:an,onSuperPrev:xr,onSuperNext:br}),i.createElement("button",{type:"button",onClick:Wr,className:"".concat(Bt,"-year-btn")},Zt.locale.format(rr.locale,Tr,rr.yearFormat)))}var nt=ze,Ye=4,Xe=1;function yt(Ue){var Bt=Ue.prefixCls,Zt=Ue.locale,rr=Ue.value,Tr=Ue.viewDate,br=Ue.generateConfig,xr=i.useContext(Oe),Wr=xr.rangedValue,$r=xr.hoverRangedValue,Zr="".concat(Bt,"-cell"),an=Te({cellPrefixCls:Zr,value:rr,generateConfig:br,rangedValue:Wr,hoverRangedValue:$r,isSameCell:function(ar,yr){return Gt(br,ar,yr)},isInView:function(){return!0},offsetCell:function(ar,yr){return br.addMonth(ar,yr*3)}}),at=br.setDate(br.setMonth(Tr,0),1);return i.createElement(xe,Object.assign({},Ue,{rowNum:Xe,colNum:Ye,baseDate:at,getCellText:function(ar){return br.locale.format(Zt.locale,ar,Zt.quarterFormat||"[Q]Q")},getCellClassName:an,getCellDate:function(ar,yr){return br.addMonth(ar,yr*3)},titleCell:function(ar){return br.locale.format(Zt.locale,ar,"YYYY-[Q]Q")}}))}var mt=yt;function We(Ue){var Bt=Ue.prefixCls,Zt=Ue.operationRef,rr=Ue.onViewDateChange,Tr=Ue.generateConfig,br=Ue.value,xr=Ue.viewDate,Wr=Ue.onPanelChange,$r=Ue.onSelect,Zr="".concat(Bt,"-quarter-panel");Zt.current={onKeyDown:function(Ht){return Fe(Ht,{onLeftRight:function(yr){$r(Tr.addMonth(br||xr,yr*3),"key")},onCtrlLeftRight:function(yr){$r(Tr.addYear(br||xr,yr),"key")},onUpDown:function(yr){$r(Tr.addYear(br||xr,yr),"key")}})}};var an=function(Ht){var ar=Tr.addYear(xr,Ht);rr(ar),Wr(null,ar)};return i.createElement("div",{className:Zr},i.createElement(nt,Object.assign({},Ue,{prefixCls:Bt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){Wr("year",xr)}})),i.createElement(mt,Object.assign({},Ue,{prefixCls:Bt,onSelect:function(Ht){$r(Ht,"mouse")}})))}var rt=We;function ft(Ue){var Bt=Ue.prefixCls,Zt=Ue.generateConfig,rr=Ue.viewDate,Tr=Ue.onPrevDecade,br=Ue.onNextDecade,xr=Ue.onDecadeClick,Wr=i.useContext(Q),$r=Wr.hideHeader;if($r)return null;var Zr="".concat(Bt,"-header"),an=Zt.getYear(rr),at=Math.floor(an/Lr)*Lr,Ht=at+Lr-1;return i.createElement(te,Object.assign({},Ue,{prefixCls:Zr,onSuperPrev:Tr,onSuperNext:br}),i.createElement("button",{type:"button",onClick:xr,className:"".concat(Bt,"-decade-btn")},at,"-",Ht))}var Yt=ft,Ft=3,fr=4;function mr(Ue){var Bt=Ue.prefixCls,Zt=Ue.value,rr=Ue.viewDate,Tr=Ue.locale,br=Ue.generateConfig,xr=i.useContext(Oe),Wr=xr.rangedValue,$r=xr.hoverRangedValue,Zr="".concat(Bt,"-cell"),an=br.getYear(rr),at=Math.floor(an/Lr)*Lr,Ht=at+Lr-1,ar=br.setYear(rr,at-Math.ceil((Ft*fr-Lr)/2)),yr=function(rn){var fn=br.getYear(rn);return at<=fn&&fn<=Ht},Fr=Te({cellPrefixCls:Zr,value:Zt,generateConfig:br,rangedValue:Wr,hoverRangedValue:$r,isSameCell:function(rn,fn){return It(br,rn,fn)},isInView:yr,offsetCell:function(rn,fn){return br.addYear(rn,fn)}});return i.createElement(xe,Object.assign({},Ue,{rowNum:fr,colNum:Ft,baseDate:ar,getCellText:br.getYear,getCellClassName:Fr,getCellDate:br.addYear,titleCell:function(rn){return br.locale.format(Tr.locale,rn,"YYYY")}}))}var Er=mr,Lr=10;function en(Ue){var Bt=Ue.prefixCls,Zt=Ue.operationRef,rr=Ue.onViewDateChange,Tr=Ue.generateConfig,br=Ue.value,xr=Ue.viewDate,Wr=Ue.sourceMode,$r=Ue.onSelect,Zr=Ue.onPanelChange,an="".concat(Bt,"-year-panel");Zt.current={onKeyDown:function(ar){return Fe(ar,{onLeftRight:function(Fr){$r(Tr.addYear(br||xr,Fr),"key")},onCtrlLeftRight:function(Fr){$r(Tr.addYear(br||xr,Fr*Lr),"key")},onUpDown:function(Fr){$r(Tr.addYear(br||xr,Fr*Ft),"key")},onEnter:function(){Zr(Wr==="date"?"date":"month",br||xr)}})}};var at=function(ar){var yr=Tr.addYear(xr,ar*10);rr(yr),Zr(null,yr)};return i.createElement("div",{className:an},i.createElement(Yt,Object.assign({},Ue,{prefixCls:Bt,onPrevDecade:function(){at(-1)},onNextDecade:function(){at(1)},onDecadeClick:function(){Zr("decade",xr)}})),i.createElement(Er,Object.assign({},Ue,{prefixCls:Bt,onSelect:function(ar){Zr(Wr==="date"?"date":"month",ar),$r(ar,"mouse")}})))}var Qr=en;function Cr(Ue){var Bt=Ue.prefixCls,Zt=Ue.generateConfig,rr=Ue.viewDate,Tr=Ue.onPrevDecades,br=Ue.onNextDecades,xr=i.useContext(Q),Wr=xr.hideHeader;if(Wr)return null;var $r="".concat(Bt,"-header"),Zr=Zt.getYear(rr),an=Math.floor(Zr/Sr)*Sr,at=an+Sr-1;return i.createElement(te,Object.assign({},Ue,{prefixCls:$r,onSuperPrev:Tr,onSuperNext:br}),an,"-",at)}var Gr=Cr,Nr=3,lr=4;function pr(Ue){var Bt=dr-1,Zt=Ue.prefixCls,rr=Ue.viewDate,Tr=Ue.generateConfig,br=Ue.disabledDate,xr="".concat(Zt,"-cell"),Wr=Tr.getYear(rr),$r=Math.floor(Wr/dr)*dr,Zr=Math.floor(Wr/Sr)*Sr,an=Zr+Sr-1,at=Tr.setYear(rr,Zr-Math.ceil((Nr*lr*dr-Sr)/2)),Ht=function(yr){var Fr,Mr=br&&br(yr),rn=Tr.getYear(yr),fn=rn+Bt;return Fr={},Object(P.a)(Fr,"".concat(xr,"-disabled"),Mr),Object(P.a)(Fr,"".concat(xr,"-in-view"),Zr<=rn&&fn<=an),Object(P.a)(Fr,"".concat(xr,"-selected"),rn===$r),Fr};return i.createElement(xe,Object.assign({},Ue,{rowNum:lr,colNum:Nr,baseDate:at,getCellText:function(yr){var Fr=Tr.getYear(yr);return"".concat(Fr,"-").concat(Fr+Bt)},getCellClassName:Ht,getCellDate:function(yr,Fr){return Tr.addYear(yr,Fr*dr)}}))}var sr=pr,dr=10,Sr=dr*10;function Xr(Ue){var Bt=Ue.prefixCls,Zt=Ue.onViewDateChange,rr=Ue.generateConfig,Tr=Ue.viewDate,br=Ue.operationRef,xr=Ue.onSelect,Wr=Ue.onPanelChange,$r="".concat(Bt,"-decade-panel");br.current={onKeyDown:function(Ht){return Fe(Ht,{onLeftRight:function(yr){xr(rr.addYear(Tr,yr*dr),"key")},onCtrlLeftRight:function(yr){xr(rr.addYear(Tr,yr*Sr),"key")},onUpDown:function(yr){xr(rr.addYear(Tr,yr*dr*Nr),"key")},onEnter:function(){Wr("year",Tr)}})}};var Zr=function(Ht){var ar=rr.addYear(Tr,Ht*Sr);Zt(ar),Wr(null,ar)},an=function(Ht){xr(Ht,"mouse"),Wr("year",Ht)};return i.createElement("div",{className:$r},i.createElement(Gr,Object.assign({},Ue,{prefixCls:Bt,onPrevDecades:function(){Zr(-1)},onNextDecades:function(){Zr(1)}})),i.createElement(sr,Object.assign({},Ue,{prefixCls:Bt,onSelect:an})))}var cn=Xr;function Dn(Ue,Bt,Zt){return Zt?i.createElement("div",{className:"".concat(Ue,"-footer-extra")},Zt(Bt)):null}function jr(Ue){var Bt=Ue.prefixCls,Zt=Ue.rangeList,rr=Zt===void 0?[]:Zt,Tr=Ue.components,br=Tr===void 0?{}:Tr,xr=Ue.needConfirmButton,Wr=Ue.onNow,$r=Ue.onOk,Zr=Ue.okDisabled,an=Ue.showNow,at=Ue.locale,Ht,ar;if(rr.length){var yr=br.rangeItem||"span";Ht=i.createElement(i.Fragment,null,rr.map(function(Mr){var rn=Mr.label,fn=Mr.onClick,wn=Mr.onMouseEnter,Hn=Mr.onMouseLeave;return i.createElement("li",{key:rn,className:"".concat(Bt,"-preset")},i.createElement(yr,{onClick:fn,onMouseEnter:wn,onMouseLeave:Hn},rn))}))}if(xr){var Fr=br.button||"button";Wr&&!Ht&&an!==!1&&(Ht=i.createElement("li",{className:"".concat(Bt,"-now")},i.createElement("a",{className:"".concat(Bt,"-now-btn"),onClick:Wr},at.now))),ar=xr&&i.createElement("li",{className:"".concat(Bt,"-ok")},i.createElement(Fr,{disabled:Zr,onClick:$r},at.ok))}return!Ht&&!ar?null:i.createElement("ul",{className:"".concat(Bt,"-ranges")},Ht,ar)}function On(Ue){var Bt,Zt=Ue.prefixCls,rr=Zt===void 0?"rc-picker":Zt,Tr=Ue.className,br=Ue.style,xr=Ue.locale,Wr=Ue.generateConfig,$r=Ue.value,Zr=Ue.defaultValue,an=Ue.pickerValue,at=Ue.defaultPickerValue,Ht=Ue.disabledDate,ar=Ue.mode,yr=Ue.picker,Fr=yr===void 0?"date":yr,Mr=Ue.tabIndex,rn=Mr===void 0?0:Mr,fn=Ue.showNow,wn=Ue.showTime,Hn=Ue.showToday,Sn=Ue.renderExtraFooter,bn=Ue.hideHeader,Bn=Ue.onSelect,vn=Ue.onChange,Mn=Ue.onPanelChange,En=Ue.onMouseDown,Tn=Ue.onPickerValueChange,Yn=Ue.onOk,ai=Ue.components,ri=Ue.direction,Ri=Ue.hourStep,Ai=Ri===void 0?1:Ri,xi=Ue.minuteStep,Li=xi===void 0?1:xi,kn=Ue.secondStep,Mi=kn===void 0?1:kn,fa=Fr==="date"&&!!wn||Fr==="time",ki=24%Ai===0,Bi=60%Li===0,mi=60%Mi===0,hi=i.useContext(Q),Ji=hi.operationRef,va=hi.panelRef,Ea=hi.onSelect,Aa=hi.hideRanges,oa=hi.defaultOpenValue,sa=i.useContext(Oe),Di=sa.inRange,qn=sa.panelPosition,yi=sa.rangedValue,Ti=sa.hoverRangedValue,Vi=i.useRef({}),Yi=i.useRef(!0),bi=Object(k.a)(null,{value:$r,defaultValue:Zr,postState:function(pi){return!pi&&oa&&Fr==="time"?oa:pi}}),ya=Object(H.a)(bi,2),ua=ya[0],la=ya[1],gi=Object(k.a)(null,{value:an,defaultValue:at||ua,postState:function(pi){return pi||Wr.getNow()}}),Ua=Object(H.a)(gi,2),Ba=Ua[0],ra=Ua[1],Qi=function(pi){ra(pi),Tn&&Tn(pi)},Ya=function(pi){var Gi=_e[Fr];return Gi?Gi(pi):pi},zi=Object(k.a)(function(){return Fr==="time"?"time":Ya("date")},{value:ar}),Wi=Object(H.a)(zi,2),ba=Wi[0],ka=Wi[1];i.useEffect(function(){ka(Fr)},[Fr]);var wa=i.useState(function(){return ba}),vi=Object(H.a)(wa,2),Qa=vi[0],za=vi[1],pa=function(pi,Gi){var oo=Ya(pi||ba);za(ba),ka(oo),Mn&&(ba!==oo||ue(Wr,Ba,Ba))&&Mn(Gi,oo)},Ii=function(pi,Gi){var oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ba===Fr||oo)&&(la(pi),Bn&&Bn(pi),Ea&&Ea(pi,Gi),vn&&!ue(Wr,pi,ua)&&vn(pi))},So=function(pi){return Vi.current&&Vi.current.onKeyDown?([Y.a.LEFT,Y.a.RIGHT,Y.a.UP,Y.a.DOWN,Y.a.PAGE_UP,Y.a.PAGE_DOWN,Y.a.ENTER].includes(pi.which)&&pi.preventDefault(),Vi.current.onKeyDown(pi)):(Object(g.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Wa=function(pi){Vi.current&&Vi.current.onBlur&&Vi.current.onBlur(pi)};Ji&&qn!=="right"&&(Ji.current={onKeyDown:So,onClose:function(){Vi.current&&Vi.current.onClose&&Vi.current.onClose()}}),i.useEffect(function(){$r&&!Yi.current&&ra($r)},[$r]),i.useEffect(function(){Yi.current=!1},[]);var ja,Ja=Object(K.a)(Object(K.a)({},Ue),{},{operationRef:Vi,prefixCls:rr,viewDate:Ba,value:ua,onViewDateChange:Qi,sourceMode:Qa,onPanelChange:pa,disabledDate:ba!=="decade"?Ht:void 0});delete Ja.onChange,delete Ja.onSelect;switch(ba){case"decade":ja=i.createElement(cn,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"year":ja=i.createElement(Qr,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"month":ja=i.createElement(qt,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"quarter":ja=i.createElement(rt,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"week":ja=i.createElement(kt,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"time":delete Ja.showTime,ja=i.createElement(ot,Object.assign({},Ja,Object(Z.a)(wn)==="object"?wn:null,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;default:wn?ja=i.createElement(Me,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}})):ja=i.createElement($,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}))}var ho,Ca,to=function(){var pi=Wr.getNow(),Gi=Ve(Wr.getHour(pi),Wr.getMinute(pi),Wr.getSecond(pi),ki?Ai:1,Bi?Li:1,mi?Mi:1),oo=_t(Wr,pi,Gi[0],Gi[1],Gi[2]);Ii(oo,"submit")};Aa||(ho=Dn(rr,ba,Sn),Ca=jr({prefixCls:rr,components:ai,needConfirmButton:fa,okDisabled:!ua||Ht&&Ht(ua),locale:xr,showNow:fn,onNow:fa&&to,onOk:function(){ua&&(Ii(ua,"submit",!0),Yn&&Yn(ua))}}));var Lo;if(Hn&&ba==="date"&&Fr==="date"&&!wn){var Ta=Wr.getNow(),Fi="".concat(rr,"-today-btn"),$a=Ht&&Ht(Ta);Lo=i.createElement("a",{className:O()(Fi,$a&&"".concat(Fi,"-disabled")),"aria-disabled":$a,onClick:function(){$a||Ii(Ta,"mouse",!0)}},xr.today)}return i.createElement(Q.Provider,{value:Object(K.a)(Object(K.a)({},hi),{},{hideHeader:"hideHeader"in Ue?bn:hi.hideHeader,hidePrevBtn:Di&&qn==="right",hideNextBtn:Di&&qn==="left"})},i.createElement("div",{tabIndex:rn,className:O()("".concat(rr,"-panel"),Tr,(Bt={},Object(P.a)(Bt,"".concat(rr,"-panel-has-range"),yi&&yi[0]&&yi[1]),Object(P.a)(Bt,"".concat(rr,"-panel-has-range-hover"),Ti&&Ti[0]&&Ti[1]),Object(P.a)(Bt,"".concat(rr,"-panel-rtl"),ri==="rtl"),Bt)),style:br,onKeyDown:So,onBlur:Wa,onMouseDown:En,ref:va},ja,ho||Ca||Lo?i.createElement("div",{className:"".concat(rr,"-footer")},ho,Ca,Lo):null))}var gn=On,Un=e("uciX"),Wn={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 Jn(Ue){var Bt,Zt=Ue.prefixCls,rr=Ue.popupElement,Tr=Ue.popupStyle,br=Ue.visible,xr=Ue.dropdownClassName,Wr=Ue.dropdownAlign,$r=Ue.transitionName,Zr=Ue.getPopupContainer,an=Ue.children,at=Ue.range,Ht=Ue.popupPlacement,ar=Ue.direction,yr="".concat(Zt,"-dropdown"),Fr=function(){return Ht!==void 0?Ht:ar==="rtl"?"bottomRight":"bottomLeft"};return i.createElement(Un.a,{showAction:[],hideAction:[],popupPlacement:Fr(),builtinPlacements:Wn,prefixCls:yr,popupTransitionName:$r,popup:rr,popupAlign:Wr,popupVisible:br,popupClassName:O()(xr,(Bt={},Object(P.a)(Bt,"".concat(yr,"-range"),at),Object(P.a)(Bt,"".concat(yr,"-rtl"),ar==="rtl"),Bt)),popupStyle:Tr,getPopupContainer:Zr},an)}var Qn=Jn;function Vn(Ue){var Bt=Ue.open,Zt=Ue.value,rr=Ue.isClickOutside,Tr=Ue.triggerOpen,br=Ue.forwardKeyDown,xr=Ue.blurToCancel,Wr=Ue.onSubmit,$r=Ue.onCancel,Zr=Ue.onFocus,an=Ue.onBlur,at=Object(i.useState)(!1),Ht=Object(H.a)(at,2),ar=Ht[0],yr=Ht[1],Fr=Object(i.useState)(!1),Mr=Object(H.a)(Fr,2),rn=Mr[0],fn=Mr[1],wn=Object(i.useRef)(!1),Hn=Object(i.useRef)(!1),Sn={onMouseDown:function(){yr(!0),Tr(!0)},onKeyDown:function(Bn){switch(Bn.which){case Y.a.ENTER:{Bt?Wr()!==!1&&yr(!0):Tr(!0),Bn.preventDefault();return}case Y.a.TAB:{ar&&Bt&&!Bn.shiftKey?(yr(!1),Bn.preventDefault()):!ar&&Bt&&(!br(Bn)&&Bn.shiftKey&&(yr(!0),Bn.preventDefault()));return}case Y.a.ESC:{yr(!0),$r();return}}!Bt&&![Y.a.SHIFT].includes(Bn.which)?Tr(!0):ar||br(Bn)},onFocus:function(Bn){yr(!0),fn(!0),Zr&&Zr(Bn)},onBlur:function(Bn){if(wn.current||!rr(document.activeElement)){wn.current=!1;return}xr?setTimeout(function(){rr(document.activeElement)&&$r()},0):Bt&&(Tr(!1),Hn.current&&Wr()),fn(!1),an&&an(Bn)}};return Object(i.useEffect)(function(){Hn.current=!1},[Bt]),Object(i.useEffect)(function(){Hn.current=!0},[Zt]),Object(i.useEffect)(function(){return St(function(bn){var Bn=bn.target;Bt&&(rr(Bn)?rn||Tr(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:ar}]}function yn(Ue){var Bt=Ue.valueTexts,Zt=Ue.onTextChange,rr=i.useState(""),Tr=Object(H.a)(rr,2),br=Tr[0],xr=Tr[1],Wr=i.useRef([]);Wr.current=Bt;function $r(an){xr(an),Zt(an)}function Zr(){xr(Wr.current[0])}return i.useEffect(function(){Bt.every(function(an){return an!==br})&&Zr()},[Bt.join("||")]),[br,$r,Zr]}var on=e("Gytx"),ia=e.n(on);function xa(Ue,Bt){var Zt=Bt.formatList,rr=Bt.generateConfig,Tr=Bt.locale;return Object(we.a)(function(){if(!Ue)return[[""],""];for(var br="",xr=[],Wr=0;Wr<Zt.length;Wr+=1){var $r=Zt[Wr],Zr=rr.locale.format(Tr.locale,Ue,$r);xr.push(Zr),Wr===0&&(br=Zr)}return[xr,br]},[Ue,Zt],function(br,xr){return br[0]!==xr[0]||!ia()(br[1],xr[1])})}function ta(Ue,Bt){var Zt=Bt.formatList,rr=Bt.generateConfig,Tr=Bt.locale,br=Object(i.useState)(null),xr=Object(H.a)(br,2),Wr=xr[0],$r=xr[1],Zr=xa(Wr,{formatList:Zt,generateConfig:rr,locale:Tr}),an=Object(H.a)(Zr,2),at=an[1];function Ht(yr){$r(yr)}function ar(){$r(null)}return Object(i.useEffect)(function(){ar()},[Ue]),[at,Ht,ar]}function Ni(Ue){var Bt,Zt=Ue.prefixCls,rr=Zt===void 0?"rc-picker":Zt,Tr=Ue.id,br=Ue.tabIndex,xr=Ue.style,Wr=Ue.className,$r=Ue.dropdownClassName,Zr=Ue.dropdownAlign,an=Ue.popupStyle,at=Ue.transitionName,Ht=Ue.generateConfig,ar=Ue.locale,yr=Ue.inputReadOnly,Fr=Ue.allowClear,Mr=Ue.autoFocus,rn=Ue.showTime,fn=Ue.picker,wn=fn===void 0?"date":fn,Hn=Ue.format,Sn=Ue.use12Hours,bn=Ue.value,Bn=Ue.defaultValue,vn=Ue.open,Mn=Ue.defaultOpen,En=Ue.defaultOpenValue,Tn=Ue.suffixIcon,Yn=Ue.clearIcon,ai=Ue.disabled,ri=Ue.disabledDate,Ri=Ue.placeholder,Ai=Ue.getPopupContainer,xi=Ue.pickerRef,Li=Ue.panelRender,kn=Ue.onChange,Mi=Ue.onOpenChange,fa=Ue.onFocus,ki=Ue.onBlur,Bi=Ue.onMouseDown,mi=Ue.onMouseUp,hi=Ue.onMouseEnter,Ji=Ue.onMouseLeave,va=Ue.onContextMenu,Ea=Ue.onClick,Aa=Ue.direction,oa=Ue.autoComplete,sa=oa===void 0?"off":oa,Di=i.useRef(null),qn=wn==="date"&&!!rn||wn==="time",yi=Pt(Be(Hn,wn,rn,Sn)),Ti=i.useRef(null),Vi=i.useRef(null),Yi=Object(k.a)(null,{value:bn,defaultValue:Bn}),bi=Object(H.a)(Yi,2),ya=bi[0],ua=bi[1],la=i.useState(ya),gi=Object(H.a)(la,2),Ua=gi[0],Ba=gi[1],ra=i.useRef(null),Qi=Object(k.a)(!1,{value:vn,defaultValue:Mn,postState:function(Zi){return ai?!1:Zi},onChange:function(Zi){Mi&&Mi(Zi),!Zi&&ra.current&&ra.current.onClose&&ra.current.onClose()}}),Ya=Object(H.a)(Qi,2),zi=Ya[0],Wi=Ya[1],ba=xa(Ua,{formatList:yi,generateConfig:Ht,locale:ar}),ka=Object(H.a)(ba,2),wa=ka[0],vi=ka[1],Qa=yn({valueTexts:wa,onTextChange:function(Zi){var xo=Ht.locale.parse(ar.locale,Zi,yi);xo&&(!ri||!ri(xo))&&Ba(xo)}}),za=Object(H.a)(Qa,3),pa=za[0],Ii=za[1],So=za[2],Wa=function(Zi){Ba(Zi),ua(Zi),kn&&!ue(Ht,ya,Zi)&&kn(Zi,Zi?Ht.locale.format(ar.locale,Zi,yi[0]):"")},ja=function(Zi){if(ai&&Zi)return;Wi(Zi)},Ja=function(Zi){return zi&&ra.current&&ra.current.onKeyDown?ra.current.onKeyDown(Zi):(Object(g.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ho=function(){mi&&mi.apply(void 0,arguments),Di.current&&(Di.current.focus(),ja(!0))},Ca=Vn({blurToCancel:qn,open:zi,value:pa,triggerOpen:ja,forwardKeyDown:Ja,isClickOutside:function(Zi){return!De([Ti.current,Vi.current],Zi)},onSubmit:function(){return ri&&ri(Ua)?!1:(Wa(Ua),ja(!1),So(),!0)},onCancel:function(){ja(!1),Ba(ya),So()},onFocus:fa,onBlur:ki}),to=Object(H.a)(Ca,2),Lo=to[0],Ta=to[1],Fi=Ta.focused,$a=Ta.typing;i.useEffect(function(){zi||(Ba(ya),!wa.length||wa[0]===""?Ii(""):vi!==pa&&So())},[zi,wa]),i.useEffect(function(){zi||So()},[wn]),i.useEffect(function(){Ba(ya)},[ya]),xi&&(xi.current={focus:function(){Di.current&&Di.current.focus()},blur:function(){Di.current&&Di.current.blur()}});var Ra=Object(K.a)(Object(K.a)({},Ue),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),pi=i.createElement(gn,Object.assign({},Ra,{generateConfig:Ht,className:O()(Object(P.a)({},"".concat(rr,"-panel-focused"),!$a)),value:Ua,locale:ar,tabIndex:-1,onChange:Ba,direction:Aa}));Li&&(pi=Li(pi));var Gi=i.createElement("div",{className:"".concat(rr,"-panel-container"),onMouseDown:function(Zi){Zi.preventDefault()}},pi),oo;Tn&&(oo=i.createElement("span",{className:"".concat(rr,"-suffix")},Tn));var go;Fr&&ya&&!ai&&(go=i.createElement("span",{onMouseDown:function(Zi){Zi.preventDefault(),Zi.stopPropagation()},onMouseUp:function(Zi){Zi.preventDefault(),Zi.stopPropagation(),Wa(null),ja(!1)},className:"".concat(rr,"-clear")},Yn||i.createElement("span",{className:"".concat(rr,"-clear-btn")})));var fo=function(Zi,xo){(xo==="submit"||xo!=="key"&&!qn)&&(Wa(Zi),ja(!1))},Oa=Aa==="rtl"?"bottomRight":"bottomLeft",Pi=ta(pa,{formatList:yi,generateConfig:Ht,locale:ar}),Ma=Object(H.a)(Pi,3),Vo=Ma[0],ro=Ma[1],vo=Ma[2];return i.createElement(Q.Provider,{value:{operationRef:ra,hideHeader:wn==="time",panelRef:Ti,onSelect:fo,open:zi,defaultOpenValue:En,onDateMouseEnter:ro,onDateMouseLeave:vo}},i.createElement(Qn,{visible:zi,popupElement:Gi,popupStyle:an,prefixCls:rr,dropdownClassName:$r,dropdownAlign:Zr,getPopupContainer:Ai,transitionName:at,popupPlacement:Oa,direction:Aa},i.createElement("div",{className:O()(rr,Wr,(Bt={},Object(P.a)(Bt,"".concat(rr,"-disabled"),ai),Object(P.a)(Bt,"".concat(rr,"-focused"),Fi),Object(P.a)(Bt,"".concat(rr,"-rtl"),Aa==="rtl"),Bt)),style:xr,onMouseDown:Bi,onMouseUp:ho,onMouseEnter:hi,onMouseLeave:Ji,onContextMenu:va,onClick:Ea},i.createElement("div",{className:O()("".concat(rr,"-input"),Object(P.a)({},"".concat(rr,"-input-placeholder"),!!Vo)),ref:Vi},i.createElement("input",Object.assign({id:Tr,tabIndex:br,disabled:ai,readOnly:yr||!$a,value:Vo||pa,onChange:function(Zi){Ii(Zi.target.value)},autoFocus:Mr,placeholder:Ri,ref:Di,title:pa},Lo,{size:bt(wn,yi[0])},ke(Ue),{autoComplete:sa})),oo,go))))}var Ci=function(Ue){Object(M.a)(Zt,Ue);var Bt=Object(j.a)(Zt);function Zt(){var rr;return Object(R.a)(this,Zt),rr=Bt.apply(this,arguments),rr.pickerRef=i.createRef(),rr.focus=function(){rr.pickerRef.current&&rr.pickerRef.current.focus()},rr.blur=function(){rr.pickerRef.current&&rr.pickerRef.current.blur()},rr}return Object(U.a)(Zt,[{key:"render",value:function(){return i.createElement(Ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Zt}(i.Component),Gn=Ci;function Ia(Ue,Bt,Zt){var rr=Ue.picker,Tr=Ue.locale,br=Ue.selectedValue,xr=Ue.disabledDate,Wr=Ue.disabled,$r=Ue.generateConfig,Zr=zt(br,0),an=zt(br,1);function at(Mr){var rn=$r.getYear(Mr),fn=$r.locale.getWeek(Tr.locale,Mr);return rn*100+fn}function Ht(Mr){var rn=$r.getYear(Mr),fn=$r.getMonth(Mr);return rn*100+fn}function ar(Mr){var rn=$r.getYear(Mr),fn=nr($r,Mr);return rn*10+fn}var yr=i.useCallback(function(Mr){if(xr&&xr(Mr))return!0;if(Wr[1]&&an)return!hr($r,Mr,an)&&$r.isAfter(Mr,an);if(Bt&&an)switch(rr){case"quarter":return ar(Mr)>ar(an);case"month":return Ht(Mr)>Ht(an);case"week":return at(Mr)>at(an);default:return!hr($r,Mr,an)&&$r.isAfter(Mr,an)}return!1},[xr,Wr[1],an,Bt]),Fr=i.useCallback(function(Mr){if(xr&&xr(Mr))return!0;if(Wr[0]&&Zr)return!hr($r,Mr,an)&&$r.isAfter(Zr,Mr);if(Zt&&Zr)switch(rr){case"quarter":return ar(Mr)<ar(Zr);case"month":return Ht(Mr)<Ht(Zr);case"week":return at(Mr)<at(Zr);default:return!hr($r,Mr,Zr)&&$r.isAfter(Zr,Mr)}return!1},[xr,Wr[0],Zr,Zt]);return[yr,Fr]}function mn(Ue,Bt,Zt,rr){var Tr=ye(Ue,Zt,rr,1);function br(xr){return xr(Ue,Bt)?"same":xr(Tr,Bt)?"closing":"far"}switch(Zt){case"year":return br(function(xr,Wr){return Rr(rr,xr,Wr)});case"quarter":case"month":return br(function(xr,Wr){return It(rr,xr,Wr)});default:return br(function(xr,Wr){return Jt(rr,xr,Wr)})}}function In(Ue,Bt,Zt,rr){var Tr=zt(Ue,0),br=zt(Ue,1);if(Bt===0)return Tr;if(Tr&&br){var xr=mn(Tr,br,Zt,rr);switch(xr){case"same":return Tr;case"closing":return Tr;default:return ye(br,Zt,rr,-1)}}return Tr}function Ln(Ue){var Bt=Ue.values,Zt=Ue.picker,rr=Ue.defaultDates,Tr=Ue.generateConfig,br=i.useState(function(){return[zt(rr,0),zt(rr,1)]}),xr=Object(H.a)(br,2),Wr=xr[0],$r=xr[1],Zr=i.useState(null),an=Object(H.a)(Zr,2),at=an[0],Ht=an[1],ar=zt(Bt,0),yr=zt(Bt,1);function Fr(rn){return Wr[rn]?Wr[rn]:zt(at,rn)||In(Bt,rn,Zt,Tr)||ar||yr||Tr.getNow()}function Mr(rn,fn){if(rn){var wn=Ot(at,rn,fn);$r(Ot(Wr,null,fn)||[null,null]);var Hn=(fn+1)%2;zt(Bt,Hn)||(wn=Ot(wn,rn,Hn)),Ht(wn)}else(ar||yr)&&Ht(null)}return[Fr,Mr]}function Nn(Ue,Bt){return Ue&&Ue[0]&&Ue[1]&&Bt.isAfter(Ue[0],Ue[1])?[Ue[1],Ue[0]]:Ue}function jn(Ue,Bt,Zt,rr){return Ue||rr&&rr[Bt]?!0:!!Zt[(Bt+1)%2]}function ni(Ue){var Bt,Zt,rr,Tr=Ue.prefixCls,br=Tr===void 0?"rc-picker":Tr,xr=Ue.id,Wr=Ue.style,$r=Ue.className,Zr=Ue.popupStyle,an=Ue.dropdownClassName,at=Ue.transitionName,Ht=Ue.dropdownAlign,ar=Ue.getPopupContainer,yr=Ue.generateConfig,Fr=Ue.locale,Mr=Ue.placeholder,rn=Ue.autoFocus,fn=Ue.disabled,wn=Ue.format,Hn=Ue.picker,Sn=Hn===void 0?"date":Hn,bn=Ue.showTime,Bn=Ue.use12Hours,vn=Ue.separator,Mn=vn===void 0?"~":vn,En=Ue.value,Tn=Ue.defaultValue,Yn=Ue.defaultPickerValue,ai=Ue.open,ri=Ue.defaultOpen,Ri=Ue.disabledDate,Ai=Ue.disabledTime,xi=Ue.dateRender,Li=Ue.panelRender,kn=Ue.ranges,Mi=Ue.allowEmpty,fa=Ue.allowClear,ki=Ue.suffixIcon,Bi=Ue.clearIcon,mi=Ue.pickerRef,hi=Ue.inputReadOnly,Ji=Ue.mode,va=Ue.renderExtraFooter,Ea=Ue.onChange,Aa=Ue.onOpenChange,oa=Ue.onPanelChange,sa=Ue.onCalendarChange,Di=Ue.onFocus,qn=Ue.onBlur,yi=Ue.onOk,Ti=Ue.components,Vi=Ue.order,Yi=Ue.direction,bi=Ue.activePickerIndex,ya=Ue.autoComplete,ua=ya===void 0?"off":ya,la=Sn==="date"&&!!bn||Sn==="time",gi=Object(i.useRef)({}),Ua=Object(i.useRef)(null),Ba=Object(i.useRef)(null),ra=Object(i.useRef)(null),Qi=Object(i.useRef)(null),Ya=Object(i.useRef)(null),zi=Object(i.useRef)(null),Wi=Object(i.useRef)(null),ba=Pt(Be(wn,Sn,bn,Bn)),ka=Object(k.a)(0,{value:bi}),wa=Object(H.a)(ka,2),vi=wa[0],Qa=wa[1],za=Object(i.useRef)(null),pa=i.useMemo(function(){return Array.isArray(fn)?fn:[fn||!1,fn||!1]},[fn]),Ii=Object(k.a)(null,{value:En,defaultValue:Tn,postState:function(ci){return Sn==="time"&&!Vi?ci:Nn(ci,yr)}}),So=Object(H.a)(Ii,2),Wa=So[0],ja=So[1],Ja=Ln({values:Wa,picker:Sn,defaultDates:Yn,generateConfig:yr}),ho=Object(H.a)(Ja,2),Ca=ho[0],to=ho[1],Lo=Object(k.a)(Wa,{postState:function(ci){var _i=ci;if(pa[0]&&pa[1])return _i;for(var Kn=0;Kn<2;Kn+=1)pa[Kn]&&!zt(_i,Kn)&&!zt(Mi,Kn)&&(_i=Ot(_i,yr.getNow(),Kn));return _i}}),Ta=Object(H.a)(Lo,2),Fi=Ta[0],$a=Ta[1],Ra=Object(k.a)([Sn,Sn],{value:Ji}),pi=Object(H.a)(Ra,2),Gi=pi[0],oo=pi[1];Object(i.useEffect)(function(){oo([Sn,Sn])},[Sn]);var go=function(ci,_i){oo(ci),oa&&oa(_i,ci)},fo=Ia({picker:Sn,selectedValue:Fi,locale:Fr,disabled:pa,disabledDate:Ri,generateConfig:yr},gi.current[1],gi.current[0]),Oa=Object(H.a)(fo,2),Pi=Oa[0],Ma=Oa[1],Vo=Object(k.a)(!1,{value:ai,defaultValue:ri,postState:function(ci){return pa[vi]?!1:ci},onChange:function(ci){Aa&&Aa(ci),!ci&&za.current&&za.current.onClose&&za.current.onClose()}}),ro=Object(H.a)(Vo,2),vo=ro[0],po=ro[1],Zi=vo&&vi===0,xo=vo&&vi===1,is=Object(i.useState)(0),$o=Object(H.a)(is,2),Ns=$o[0],Cs=$o[1];Object(i.useEffect)(function(){!vo&&Ua.current&&Cs(Ua.current.offsetWidth)},[vo]);var Os=i.useRef();function Go(ca,ci){if(ca)clearTimeout(Os.current),gi.current[ci]=!0,Qa(ci),po(ca),vo||to(null,ci);else if(vi===ci){po(ca);var _i=gi.current;Os.current=setTimeout(function(){_i===gi.current&&(gi.current={})})}}function bo(ca){Go(!0,ca),setTimeout(function(){var ci=[zi,Wi][ca];ci.current&&ci.current.focus()},0)}function Za(ca,ci){var _i=ca,Kn=zt(_i,0),io=zt(_i,1);Kn&&io&&yr.isAfter(Kn,io)&&(Sn==="week"&&!de(yr,Fr.locale,Kn,io)||Sn==="quarter"&&!Gt(yr,Kn,io)||Sn!=="week"&&Sn!=="quarter"&&Sn!=="time"&&!hr(yr,Kn,io)?(ci===0?(_i=[Kn,null],io=null):(Kn=null,_i=[null,io]),gi.current=Object(P.a)({},ci,!0)):(Sn!=="time"||Vi!==!1)&&(_i=Nn(_i,yr))),$a(_i);var Jo=_i&&_i[0]?yr.locale.format(Fr.locale,_i[0],ba[0]):"",gs=_i&&_i[1]?yr.locale.format(Fr.locale,_i[1],ba[0]):"";if(sa){var os={range:ci===0?"start":"end"};sa(_i,[Jo,gs],os)}var Zo=jn(Kn,0,pa,Mi),qo=jn(io,1,pa,Mi),ws=_i===null||Zo&&qo;ws&&(ja(_i),Ea&&(!ue(yr,zt(Wa,0),Kn)||!ue(yr,zt(Wa,1),io))&&Ea(_i,[Jo,gs]));var Ho=null;ci===0&&!pa[1]?Ho=1:ci===1&&!pa[0]&&(Ho=0),Ho!==null&&Ho!==vi&&(!gi.current[Ho]||!zt(_i,Ho))&&zt(_i,ci)?bo(Ho):Go(!1,ci)}var Ga=function(ci){return vo&&za.current&&za.current.onKeyDown?za.current.onKeyDown(ci):(Object(g.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},so={formatList:ba,generateConfig:yr,locale:Fr},ps=xa(zt(Fi,0),so),wr=Object(H.a)(ps,2),Yo=wr[0],ss=wr[1],Ls=xa(zt(Fi,1),so),Fa=Object(H.a)(Ls,2),La=Fa[0],Io=Fa[1],To=function(ci,_i){var Kn=yr.locale.parse(Fr.locale,ci,ba),io=_i===0?Pi:Ma;Kn&&!io(Kn)&&($a(Ot(Fi,Kn,_i)),to(Kn,_i))},ts=yn({valueTexts:Yo,onTextChange:function(ci){return To(ci,0)}}),_o=Object(H.a)(ts,3),rs=_o[0],ms=_o[1],ls=_o[2],Ds=yn({valueTexts:La,onTextChange:function(ci){return To(ci,1)}}),Rs=Object(H.a)(Ds,3),as=Rs[0],Zs=Rs[1],us=Rs[2],Bo=Object(i.useState)(null),Rn=Object(H.a)(Bo,2),Vs=Rn[0],Is=Rn[1],Dt=Object(i.useState)(null),re=Object(H.a)(Dt,2),ce=re[0],pe=re[1],Le=ta(rs,{formatList:ba,generateConfig:yr,locale:Fr}),ct=Object(H.a)(Le,3),Rt=ct[0],cr=ct[1],gr=ct[2],Br=ta(as,{formatList:ba,generateConfig:yr,locale:Fr}),qr=Object(H.a)(Br,3),ln=qr[0],An=qr[1],Cn=qr[2],Xn=function(ci){pe(Ot(Fi,ci,vi)),vi===0?cr(ci):An(ci)},ti=function(){pe(Ot(Fi,null,vi)),vi===0?gr(null):Cn(null)},wi=function(ci,_i){return{blurToCancel:la,forwardKeyDown:Ga,onBlur:qn,isClickOutside:function(io){return!De([Ba.current,ra.current,Qi.current],io)},onFocus:function(io){Qa(ci),Di&&Di(io)},triggerOpen:function(io){Go(io,ci)},onSubmit:function(){Za(Fi,ci),_i()},onCancel:function(){Go(!1,ci),$a(Wa),_i()}}},ea=Vn(Object(K.a)(Object(K.a)({},wi(0,ls)),{},{open:Zi,value:rs})),ji=Object(H.a)(ea,2),Sa=ji[0],lo=ji[1],Ka=lo.focused,Ao=lo.typing,yo=Vn(Object(K.a)(Object(K.a)({},wi(1,us)),{},{open:xo,value:as})),qa=Object(H.a)(yo,2),Fo=qa[0],Do=qa[1],Ha=Do.focused,jo=Do.typing,Po=function(ci){!vo&&!zi.current.contains(ci.target)&&!Wi.current.contains(ci.target)&&(pa[0]?pa[1]||bo(1):bo(0))},Xo=function(ci){vo&&(Ka||Ha)&&!zi.current.contains(ci.target)&&!Wi.current.contains(ci.target)&&ci.preventDefault()},wo=Wa&&Wa[0]?yr.locale.format(Fr.locale,Wa[0],"YYYYMMDDHHmmss"):"",cs=Wa&&Wa[1]?yr.locale.format(Fr.locale,Wa[1],"YYYYMMDDHHmmss"):"";Object(i.useEffect)(function(){vo||($a(Wa),!Yo.length||Yo[0]===""?ms(""):ss!==rs&&ls(),!La.length||La[0]===""?Zs(""):Io!==as&&us())},[vo,Yo,La]),Object(i.useEffect)(function(){$a(Wa)},[wo,cs]),mi&&(mi.current={focus:function(){zi.current&&zi.current.focus()},blur:function(){zi.current&&zi.current.blur(),Wi.current&&Wi.current.blur()}});var ns=Object.keys(kn||{}),Ys=ns.map(function(ca){var ci=kn[ca],_i=typeof ci=="function"?ci():ci;return{label:ca,onClick:function(){Za(_i,null),Go(!1,vi)},onMouseEnter:function(){Is(_i)},onMouseLeave:function(){Is(null)}}});function Qs(){var ca=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_i=null;vo&&ce&&ce[0]&&ce[1]&&yr.isAfter(ce[1],ce[0])&&(_i=ce);var Kn=bn;if(bn&&Object(Z.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Kn=Object(K.a)(Object(K.a)({},bn),{},{defaultValue:zt(io,vi)||void 0})}var Jo=null;return xi&&(Jo=function(os,Zo){return xi(os,Zo,{range:vi?"end":"start"})}),i.createElement(Oe.Provider,{value:{inRange:!0,panelPosition:ca,rangedValue:Vs||Fi,hoverRangedValue:_i}},i.createElement(gn,Object.assign({},Ue,ci,{dateRender:Jo,showTime:Kn,mode:Gi[vi],generateConfig:yr,style:void 0,direction:Yi,disabledDate:vi===0?Pi:Ma,disabledTime:function(os){return Ai?Ai(os,vi===0?"start":"end"):!1},className:O()(Object(P.a)({},"".concat(br,"-panel-focused"),vi===0?!Ao:!jo)),value:zt(Fi,vi),locale:Fr,tabIndex:-1,onPanelChange:function(os,Zo){go(Ot(Gi,Zo,vi),Ot(Fi,os,vi));var qo=os;ca==="right"&&Gi[vi]===Zo&&(qo=ye(qo,Zo,yr,-1)),to(qo,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Qo=0,Eo=0;vi&&ra.current&&Ya.current&&Ba.current&&(Qo=ra.current.offsetWidth+Ya.current.offsetWidth,Ba.current.offsetWidth&&Qo>Ba.current.offsetWidth&&(Eo=Qo));var ds=Yi==="rtl"?{right:Qo}:{left:Qo};function hs(){var ca,ci=Dn(br,Gi[vi],va),_i=jr({prefixCls:br,components:Ti,needConfirmButton:la,okDisabled:!zt(Fi,vi)||Ri&&Ri(Fi[vi]),locale:Fr,rangeList:Ys,onOk:function(){zt(Fi,vi)&&(Za(Fi,vi),yi&&yi(Fi))}});if(Sn!=="time"&&!bn){var Kn=Ca(vi),io=ye(Kn,Sn,yr),Jo=Gi[vi],gs=Jo===Sn,os=Qs(gs?"left":!1,{pickerValue:Kn,onPickerValueChange:function(Ho){to(Ho,vi)}}),Zo=Qs("right",{pickerValue:io,onPickerValueChange:function(Ho){to(ye(Ho,Sn,yr,-1),vi)}});Yi==="rtl"?ca=i.createElement(i.Fragment,null,Zo,gs&&os):ca=i.createElement(i.Fragment,null,os,gs&&Zo)}else ca=Qs();var qo=i.createElement(i.Fragment,null,i.createElement("div",{className:"".concat(br,"-panels")},ca),(ci||_i)&&i.createElement("div",{className:"".concat(br,"-footer")},ci,_i));return Li&&(qo=Li(qo)),i.createElement("div",{className:"".concat(br,"-panel-container"),style:{marginLeft:Eo},ref:Ba,onMouseDown:function(Ho){Ho.preventDefault()}},qo)}var Ms=i.createElement("div",{className:O()("".concat(br,"-range-wrapper"),"".concat(br,"-").concat(Sn,"-range-wrapper")),style:{minWidth:Ns}},i.createElement("div",{className:"".concat(br,"-range-arrow"),style:ds}),hs()),Ro;ki&&(Ro=i.createElement("span",{className:"".concat(br,"-suffix")},ki));var As;fa&&(zt(Wa,0)&&!pa[0]||zt(Wa,1)&&!pa[1])&&(As=i.createElement("span",{onMouseDown:function(ci){ci.preventDefault(),ci.stopPropagation()},onMouseUp:function(ci){ci.preventDefault(),ci.stopPropagation();var _i=Wa;pa[0]||(_i=Ot(_i,null,0)),pa[1]||(_i=Ot(_i,null,1)),Za(_i,null),Go(!1,vi)},className:"".concat(br,"-clear")},Bi||i.createElement("span",{className:"".concat(br,"-clear-btn")})));var Bs={size:bt(Sn,ba[0])},ys=0,Fs=0;ra.current&&Qi.current&&Ya.current&&(vi===0?Fs=ra.current.offsetWidth:(ys=Qo,Fs=Qi.current.offsetWidth));var Hs=Yi==="rtl"?{right:ys}:{left:ys},bs=function(ci,_i){var Kn=Ot(Fi,ci,vi);_i==="submit"||_i!=="key"&&!la?Za(Kn,vi):$a(Kn)};return i.createElement(Q.Provider,{value:{operationRef:za,hideHeader:Sn==="time",onDateMouseEnter:Xn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},i.createElement(Qn,{visible:vo,popupElement:Ms,popupStyle:Zr,prefixCls:br,dropdownClassName:an,dropdownAlign:Ht,getPopupContainer:ar,transitionName:at,range:!0,direction:Yi},i.createElement("div",Object.assign({ref:Ua,className:O()(br,"".concat(br,"-range"),$r,(Bt={},Object(P.a)(Bt,"".concat(br,"-disabled"),pa[0]&&pa[1]),Object(P.a)(Bt,"".concat(br,"-focused"),vi===0?Ka:Ha),Object(P.a)(Bt,"".concat(br,"-rtl"),Yi==="rtl"),Bt)),style:Wr,onClick:Po,onMouseDown:Xo},ke(Ue)),i.createElement("div",{className:O()("".concat(br,"-input"),(Zt={},Object(P.a)(Zt,"".concat(br,"-input-active"),vi===0),Object(P.a)(Zt,"".concat(br,"-input-placeholder"),!!Rt),Zt)),ref:ra},i.createElement("input",Object.assign({id:xr,disabled:pa[0],readOnly:hi||!Ao,value:Rt||rs,onChange:function(ci){ms(ci.target.value)},autoFocus:rn,placeholder:zt(Mr,0)||"",ref:zi},Sa,Bs,{autoComplete:ua}))),i.createElement("div",{className:"".concat(br,"-range-separator"),ref:Ya},Mn),i.createElement("div",{className:O()("".concat(br,"-input"),(rr={},Object(P.a)(rr,"".concat(br,"-input-active"),vi===1),Object(P.a)(rr,"".concat(br,"-input-placeholder"),!!ln),rr)),ref:Qi},i.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ci){Zs(ci.target.value)},placeholder:zt(Mr,1)||"",ref:Wi},Fo,Bs,{autoComplete:ua}))),i.createElement("div",{className:"".concat(br,"-active-bar"),style:Object(K.a)(Object(K.a)({},Hs),{},{width:Fs,position:"absolute"})}),Ro,As)))}var di=function(Ue){Object(M.a)(Zt,Ue);var Bt=Object(j.a)(Zt);function Zt(){var rr;return Object(R.a)(this,Zt),rr=Bt.apply(this,arguments),rr.pickerRef=i.createRef(),rr.focus=function(){rr.pickerRef.current&&rr.pickerRef.current.focus()},rr.blur=function(){rr.pickerRef.current&&rr.pickerRef.current.blur()},rr}return Object(U.a)(Zt,[{key:"render",value:function(){return i.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Zt}(i.Component),Da=di,Xi=Gn,ma=e("61s2");function _a(Ue,Bt,Zt){return Zt!==void 0?Zt:Ue==="year"&&Bt.lang.yearPlaceholder?Bt.lang.yearPlaceholder:Ue==="quarter"&&Bt.lang.quarterPlaceholder?Bt.lang.quarterPlaceholder:Ue==="month"&&Bt.lang.monthPlaceholder?Bt.lang.monthPlaceholder:Ue==="week"&&Bt.lang.weekPlaceholder?Bt.lang.weekPlaceholder:Ue==="time"&&Bt.timePickerLocale.placeholder?Bt.timePickerLocale.placeholder:Bt.lang.placeholder}function Xa(Ue,Bt,Zt){return Zt!==void 0?Zt:Ue==="year"&&Bt.lang.yearPlaceholder?Bt.lang.rangeYearPlaceholder:Ue==="month"&&Bt.lang.monthPlaceholder?Bt.lang.rangeMonthPlaceholder:Ue==="week"&&Bt.lang.weekPlaceholder?Bt.lang.rangeWeekPlaceholder:Ue==="time"&&Bt.timePickerLocale.placeholder?Bt.timePickerLocale.rangePlaceholder:Bt.lang.rangePlaceholder}var Ki=e("uaoM"),Co=e("H84U"),aa=e("YMnH"),Hi=e("3Nzz"),ga=function(Ue,Bt){var Zt={};for(var rr in Ue)Object.prototype.hasOwnProperty.call(Ue,rr)&&Bt.indexOf(rr)<0&&(Zt[rr]=Ue[rr]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tr=0,rr=Object.getOwnPropertySymbols(Ue);Tr<rr.length;Tr++)Bt.indexOf(rr[Tr])<0&&Object.prototype.propertyIsEnumerable.call(Ue,rr[Tr])&&(Zt[rr[Tr]]=Ue[rr[Tr]]);return Zt};function ha(Ue){function Bt($r,Zr){var an=function(at){y()(ar,at);var Ht=S()(ar);function ar(yr){var Fr;return c()(this,ar),Fr=Ht.call(this,yr),Fr.pickerRef=i.createRef(),Fr.focus=function(){Fr.pickerRef.current&&Fr.pickerRef.current.focus()},Fr.blur=function(){Fr.pickerRef.current&&Fr.pickerRef.current.blur()},Fr.getDefaultLocale=function(){var Mr=Fr.props.locale,rn=h()(h()({},ma.a),Mr);return rn.lang=h()(h()({},rn.lang),(Mr||{}).lang),rn},Fr.renderPicker=function(Mr){var rn=Fr.context,fn=rn.getPrefixCls,wn=rn.direction,Hn=rn.getPopupContainer,Sn=Fr.props,bn=Sn.prefixCls,Bn=Sn.getPopupContainer,vn=Sn.className,Mn=Sn.size,En=Sn.bordered,Tn=En===void 0?!0:En,Yn=Sn.placeholder,ai=ga(Sn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),ri=Fr.props,Ri=ri.format,Ai=ri.showTime,xi=fn("picker",bn),Li={showToday:!0},kn={};$r&&(kn.picker=$r);var Mi=$r||Fr.props.picker;return kn=h()(h()(h()({},kn),Ai?tr(h()({format:Ri,picker:Mi},Ai)):{}),Mi==="time"?tr(h()(h()({format:Ri},Fr.props),{picker:Mi})):{}),i.createElement(Hi.b.Consumer,null,function(fa){var ki,Bi=Mn||fa;return i.createElement(Xi,h()({ref:Fr.pickerRef,placeholder:_a(Mi,Mr,Yn),suffixIcon:Mi==="time"?i.createElement(N.a,null):i.createElement(w.a,null),clearIcon:i.createElement(B.a,null),allowClear:!0,transitionName:"slide-up"},Li,ai,kn,{locale:Mr.lang,className:O()(vn,(ki={},u()(ki,"".concat(xi,"-").concat(Bi),Bi),u()(ki,"".concat(xi,"-borderless"),!Tn),ki)),prefixCls:xi,getPopupContainer:Bn||Hn,generateConfig:Ue,prevIcon:i.createElement("span",{className:"".concat(xi,"-prev-icon")}),nextIcon:i.createElement("span",{className:"".concat(xi,"-next-icon")}),superPrevIcon:i.createElement("span",{className:"".concat(xi,"-super-prev-icon")}),superNextIcon:i.createElement("span",{className:"".concat(xi,"-super-next-icon")}),components:Oo,direction:wn}))})},Object(Ki.a)($r!=="quarter",Zr,"DatePicker.".concat(Zr," is legacy usage. Please use DatePicker[picker='").concat($r,"'] directly.")),Fr}return f()(ar,[{key:"render",value:function(){return i.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),ar}(i.Component);return an.contextType=Co.b,Zr&&(an.displayName=Zr),an}var Zt=Bt(),rr=Bt("week","WeekPicker"),Tr=Bt("month","MonthPicker"),br=Bt("year","YearPicker"),xr=Bt("time","TimePicker"),Wr=Bt("quarter","QuarterPicker");return{DatePicker:Zt,WeekPicker:rr,MonthPicker:Tr,YearPicker:br,TimePicker:xr,QuarterPicker:Wr}}var mo=e("8ISB"),Pn=e.n(mo),qi=function(Ue,Bt){var Zt={};for(var rr in Ue)Object.prototype.hasOwnProperty.call(Ue,rr)&&Bt.indexOf(rr)<0&&(Zt[rr]=Ue[rr]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tr=0,rr=Object.getOwnPropertySymbols(Ue);Tr<rr.length;Tr++)Bt.indexOf(rr[Tr])<0&&Object.prototype.propertyIsEnumerable.call(Ue,rr[Tr])&&(Zt[rr[Tr]]=Ue[rr[Tr]]);return Zt};function eo(Ue){var Bt=function(Zt){y()(Tr,Zt);var rr=S()(Tr);function Tr(){var br;return c()(this,Tr),br=rr.apply(this,arguments),br.pickerRef=i.createRef(),br.focus=function(){br.pickerRef.current&&br.pickerRef.current.focus()},br.blur=function(){br.pickerRef.current&&br.pickerRef.current.blur()},br.getDefaultLocale=function(){var xr=br.props.locale,Wr=h()(h()({},ma.a),xr);return Wr.lang=h()(h()({},Wr.lang),(xr||{}).lang),Wr},br.renderPicker=function(xr){var Wr=br.context,$r=Wr.getPrefixCls,Zr=Wr.direction,an=Wr.getPopupContainer,at=br.props,Ht=at.prefixCls,ar=at.getPopupContainer,yr=at.className,Fr=at.size,Mr=at.bordered,rn=Mr===void 0?!0:Mr,fn=at.placeholder,wn=qi(at,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=br.props,Sn=Hn.format,bn=Hn.showTime,Bn=Hn.picker,vn=$r("picker",Ht),Mn={};return Mn=h()(h()(h()({},Mn),bn?tr(h()({format:Sn,picker:Bn},bn)):{}),Bn==="time"?tr(h()(h()({format:Sn},br.props),{picker:Bn})):{}),i.createElement(Hi.b.Consumer,null,function(En){var Tn,Yn=Fr||En;return i.createElement(Da,h()({separator:i.createElement("span",{"aria-label":"to",className:"".concat(vn,"-separator")},i.createElement(Pn.a,null)),ref:br.pickerRef,placeholder:Xa(Bn,xr,fn),suffixIcon:Bn==="time"?i.createElement(N.a,null):i.createElement(w.a,null),clearIcon:i.createElement(B.a,null),allowClear:!0,transitionName:"slide-up"},wn,Mn,{className:O()(yr,(Tn={},u()(Tn,"".concat(vn,"-").concat(Yn),Yn),u()(Tn,"".concat(vn,"-borderless"),!rn),Tn)),locale:xr.lang,prefixCls:vn,getPopupContainer:ar||an,generateConfig:Ue,prevIcon:i.createElement("span",{className:"".concat(vn,"-prev-icon")}),nextIcon:i.createElement("span",{className:"".concat(vn,"-next-icon")}),superPrevIcon:i.createElement("span",{className:"".concat(vn,"-super-prev-icon")}),superNextIcon:i.createElement("span",{className:"".concat(vn,"-super-next-icon")}),components:Oo,direction:Zr}))})},br}return f()(Tr,[{key:"render",value:function(){return i.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Tr}(i.Component);return Bt.contextType=Co.b,Bt}var Oo={button:a,rangeItem:l};function co(Ue){return Ue?Array.isArray(Ue)?Ue:[Ue]:[]}function tr(Ue){var Bt=Ue.format,Zt=Ue.picker,rr=Ue.showHour,Tr=Ue.showMinute,br=Ue.showSecond,xr=Ue.use12Hours,Wr=co(Bt)[0],$r=h()({},Ue);return Wr&&(!Wr.includes("s")&&br===void 0&&($r.showSecond=!1),!Wr.includes("m")&&Tr===void 0&&($r.showMinute=!1),!Wr.includes("H")&&!Wr.includes("h")&&rr===void 0&&($r.showHour=!1),(Wr.includes("a")||Wr.includes("A"))&&xr===void 0&&($r.use12Hours=!0)),Zt==="time"?$r:{showTime:$r}}function Ir(Ue){var Bt=ha(Ue),Zt=Bt.DatePicker,rr=Bt.WeekPicker,Tr=Bt.MonthPicker,br=Bt.YearPicker,xr=Bt.TimePicker,Wr=Bt.QuarterPicker,$r=eo(Ue),Zr=Zt;return Zr.WeekPicker=rr,Zr.MonthPicker=Tr,Zr.YearPicker=br,Zr.RangePicker=$r,Zr.TimePicker=xr,Zr.QuarterPicker=Wr,Zr}var Ur=Ir,Kr=Ur(A),hn=F.a=Kr},"+lIL":function(J,F,e){var d=e("ProS");e("/ry/"),e("3OrL");var E=e("L5E0"),g=e("7Phj");d.registerVisual(E),d.registerLayout(g)},"+nKL":function(J,F,e){"use strict";var d=e("q1tI"),E=e("TSYQ"),g=e.n(E),p=e("t23M");function A(Ve,Qe){var et=Object.keys(Ve);if(Object.getOwnPropertySymbols){var dt=Object.getOwnPropertySymbols(Ve);Qe&&(dt=dt.filter(function(Ze){return Object.getOwnPropertyDescriptor(Ve,Ze).enumerable})),et.push.apply(et,dt)}return et}function b(Ve){for(var Qe=1;Qe<arguments.length;Qe++){var et=arguments[Qe]!=null?arguments[Qe]:{};Qe%2?A(Object(et),!0).forEach(function(dt){h(Ve,dt,et[dt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ve,Object.getOwnPropertyDescriptors(et)):A(Object(et)).forEach(function(dt){Object.defineProperty(Ve,dt,Object.getOwnPropertyDescriptor(et,dt))})}return Ve}function h(Ve,Qe,et){return Qe in Ve?Object.defineProperty(Ve,Qe,{value:et,enumerable:!0,configurable:!0,writable:!0}):Ve[Qe]=et,Ve}var i=function(Qe){var et=Qe.height,dt=Qe.offset,Ze=Qe.children,oe=Qe.prefixCls,me=Qe.onInnerResize,ot={},Pe={display:"flex",flexDirection:"column"};return dt!==void 0&&(ot={height:et,position:"relative",overflow:"hidden"},Pe=b(b({},Pe),{},{transform:"translateY(".concat(dt,"px)"),position:"absolute",left:0,right:0,top:0})),d.createElement("div",{style:ot},d.createElement(p.a,{onResize:function(Rr){var It=Rr.offsetHeight;It&&me()}},d.createElement("div",{style:Pe,className:g()(h({},"".concat(oe,"-holder-inner"),oe))},Ze)))},r=i,a=e("wgJM");function s(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(et){return typeof et}:s=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},s(Ve)}function l(Ve,Qe,et){return Qe in Ve?Object.defineProperty(Ve,Qe,{value:et,enumerable:!0,configurable:!0,writable:!0}):Ve[Qe]=et,Ve}function n(Ve,Qe){if(!(Ve instanceof Qe))throw new TypeError("Cannot call a class as a function")}function u(Ve,Qe){for(var et=0;et<Qe.length;et++){var dt=Qe[et];dt.enumerable=dt.enumerable||!1,dt.configurable=!0,"value"in dt&&(dt.writable=!0),Object.defineProperty(Ve,dt.key,dt)}}function t(Ve,Qe,et){return Qe&&u(Ve.prototype,Qe),et&&u(Ve,et),Ve}function c(Ve,Qe){if(typeof Qe!="function"&&Qe!==null)throw new TypeError("Super expression must either be null or a function");Ve.prototype=Object.create(Qe&&Qe.prototype,{constructor:{value:Ve,writable:!0,configurable:!0}}),Qe&&o(Ve,Qe)}function o(Ve,Qe){return o=Object.setPrototypeOf||function(dt,Ze){return dt.__proto__=Ze,dt},o(Ve,Qe)}function f(Ve){var Qe=L();return function(){var dt=S(Ve),Ze;if(Qe){var oe=S(this).constructor;Ze=Reflect.construct(dt,arguments,oe)}else Ze=dt.apply(this,arguments);return v(this,Ze)}}function v(Ve,Qe){return Qe&&(s(Qe)==="object"||typeof Qe=="function")?Qe:y(Ve)}function y(Ve){if(Ve===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ve}function L(){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(Ve){return!1}}function S(Ve){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(et){return et.__proto__||Object.getPrototypeOf(et)},S(Ve)}var x=20,O=function(Ve){c(et,Ve);var Qe=f(et);function et(){var dt;return n(this,et),dt=Qe.apply(this,arguments),dt.moveRaf=null,dt.visibleTimeout=null,dt.state={dragging:!1,pageY:null,startTop:null,visible:!1},dt.delayHidden=function(){clearTimeout(dt.visibleTimeout),dt.setState({visible:!0}),dt.visibleTimeout=setTimeout(function(){dt.setState({visible:!1})},2e3)},dt.patchEvents=function(){window.addEventListener("mousemove",dt.onMouseMove),window.addEventListener("mouseup",dt.onMouseUp)},dt.removeEvents=function(){window.removeEventListener("mousemove",dt.onMouseMove),window.removeEventListener("mouseup",dt.onMouseUp),a.a.cancel(dt.moveRaf)},dt.onContainerMouseDown=function(Ze){Ze.stopPropagation(),Ze.preventDefault()},dt.onMouseDown=function(Ze){var oe=dt.props.onStartMove;dt.setState({dragging:!0,pageY:Ze.pageY,startTop:dt.getTop()}),oe(),dt.patchEvents(),Ze.stopPropagation(),Ze.preventDefault()},dt.onMouseMove=function(Ze){var oe=dt.state,me=oe.dragging,ot=oe.pageY,Pe=oe.startTop,pt=dt.props.onScroll;if(a.a.cancel(dt.moveRaf),me){var Rr=Ze.pageY-ot,It=Pe+Rr,nr=dt.getEnableScrollRange(),Gt=dt.getEnableHeightRange(),Jt=It/Gt,hr=Math.ceil(Jt*nr);dt.moveRaf=Object(a.a)(function(){pt(hr)})}},dt.onMouseUp=function(){var Ze=dt.props.onStopMove;dt.setState({dragging:!1}),Ze(),dt.removeEvents()},dt.getSpinHeight=function(){var Ze=dt.props,oe=Ze.height,me=Ze.count,ot=oe/me*10;return ot=Math.max(ot,x),ot=Math.min(ot,oe/2),Math.floor(ot)},dt.getEnableScrollRange=function(){var Ze=dt.props,oe=Ze.scrollHeight,me=Ze.height;return oe-me},dt.getEnableHeightRange=function(){var Ze=dt.props.height,oe=dt.getSpinHeight();return Ze-oe},dt.getTop=function(){var Ze=dt.props.scrollTop,oe=dt.getEnableScrollRange(),me=dt.getEnableHeightRange(),ot=Ze/oe;return ot*me},dt}return t(et,[{key:"componentDidUpdate",value:function(Ze){Ze.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ze=this.state,oe=Ze.visible,me=Ze.dragging,ot=this.props.prefixCls,Pe=this.getSpinHeight(),pt=this.getTop();return d.createElement("div",{className:"".concat(ot,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:oe?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},d.createElement("div",{className:g()("".concat(ot,"-scrollbar-thumb"),l({},"".concat(ot,"-scrollbar-thumb-moving"),me)),style:{width:"100%",height:Pe,top:pt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),et}(d.Component);function T(Ve){var Qe=Ve.children,et=Ve.setRef,dt=d.useCallback(function(Ze){et(Ze)},[]);return d.cloneElement(Qe,{ref:dt})}function w(Ve,Qe,et,dt,Ze,oe){var me=oe.getKey;return Ve.slice(Qe,et+1).map(function(ot,Pe){var pt=Qe+Pe,Rr=Ze(ot,pt,{}),It=me(ot);return d.createElement(T,{key:It,setRef:function(Gt){return dt(ot,Gt)}},Rr)})}var C=e("m+aA");function N(Ve,Qe){if(!(Ve instanceof Qe))throw new TypeError("Cannot call a class as a function")}function D(Ve,Qe){for(var et=0;et<Qe.length;et++){var dt=Qe[et];dt.enumerable=dt.enumerable||!1,dt.configurable=!0,"value"in dt&&(dt.writable=!0),Object.defineProperty(Ve,dt.key,dt)}}function B(Ve,Qe,et){return Qe&&D(Ve.prototype,Qe),et&&D(Ve,et),Ve}var R=function(){function Ve(){N(this,Ve),this.maps={},this.maps.prototype=null}return B(Ve,[{key:"set",value:function(et,dt){this.maps[et]=dt}},{key:"get",value:function(et){return this.maps[et]}}]),Ve}(),U=R;function M(Ve,Qe){return k(Ve)||H(Ve,Qe)||P(Ve,Qe)||j()}function j(){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 P(Ve,Qe){if(!Ve)return;if(typeof Ve=="string")return K(Ve,Qe);var et=Object.prototype.toString.call(Ve).slice(8,-1);if(et==="Object"&&Ve.constructor&&(et=Ve.constructor.name),et==="Map"||et==="Set")return Array.from(Ve);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return K(Ve,Qe)}function K(Ve,Qe){(Qe==null||Qe>Ve.length)&&(Qe=Ve.length);for(var et=0,dt=new Array(Qe);et<Qe;et++)dt[et]=Ve[et];return dt}function H(Ve,Qe){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ve)))return;var et=[],dt=!0,Ze=!1,oe=void 0;try{for(var me=Ve[Symbol.iterator](),ot;!(dt=(ot=me.next()).done)&&!(et.push(ot.value),Qe&&et.length===Qe);dt=!0);}catch(Pe){Ze=!0,oe=Pe}finally{try{!dt&&me.return!=null&&me.return()}finally{if(Ze)throw oe}}return et}function k(Ve){if(Array.isArray(Ve))return Ve}function Z(Ve,Qe,et){var dt=d.useState(0),Ze=M(dt,2),oe=Ze[0],me=Ze[1],ot=Object(d.useRef)(new Map),Pe=Object(d.useRef)(new U);function pt(It,nr){var Gt=Ve(It),Jt=ot.current.get(Gt);nr?ot.current.set(Gt,nr):ot.current.delete(Gt),!Jt!==!nr&&(nr?Qe==null||Qe(It):et==null||et(It))}function Rr(){var It=!1;ot.current.forEach(function(nr,Gt){if(nr&&nr.offsetParent){var Jt=Object(C.a)(nr),hr=Jt.offsetHeight;Pe.current.get(Gt)!==hr&&(It=!0,Pe.current.set(Gt,Jt.offsetHeight))}}),It&&me(function(nr){return nr+1})}return[pt,Rr,Pe.current,oe]}function Y(Ve,Qe){var et=Object(d.useRef)(),dt=Object(d.useRef)();return et.current=Ve,dt.current=Qe,function(Ze){var oe=Math.max(Ze,0),me=et.current-dt.current;return Number.isNaN(me)||(oe=Math.min(oe,me)),oe}}function _(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(et){return typeof et}:_=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},_(Ve)}function Q(Ve,Qe,et,dt,Ze,oe,me){var ot=d.useRef();return function(Pe){if(a.a.cancel(ot.current),typeof Pe=="number")me(Pe);else if(Pe&&_(Pe)==="object"){var pt,Rr=Pe.align;"index"in Pe?pt=Pe.index:pt=Qe.findIndex(function(nr){return Ze(nr)===Pe.key});var It=function nr(Gt,Jt){if(Gt<0||!Ve.current)return;var hr=Ve.current.clientHeight,Xt=!1,de=Jt;if(hr){for(var ue=Jt||Rr,se=0,ae=0,ye=0,Ce=0;Ce<=pt;Ce+=1){var Oe=Ze(Qe[Ce]);ae=se;var Te=et.get(Oe);ye=ae+(Te===void 0?dt:Te),se=ye,Ce===pt&&Te===void 0&&(Xt=!0)}var xe=null;switch(ue){case"top":xe=ae;break;case"bottom":xe=ye-hr;break;default:{var je=Ve.current.scrollTop,ut=je+hr;ae<je?de="top":ye>ut&&(de="bottom")}}xe!==null&&xe!==Ve.current.scrollTop&&me(xe)}ot.current=Object(a.a)(function(){Xt&&oe(),nr(Gt-1,de)})};It(3)}}}function X(Ve,Qe,et,dt){var Ze=et-Ve,oe=Qe-et,me=Math.min(Ze,oe)*2;if(dt<=me){var ot=Math.floor(dt/2);return dt%2?et+ot+1:et-ot}return Ze>oe?et-(dt-oe):et+(dt-Ze)}function he(Ve,Qe,et){var dt=Ve.length,Ze=Qe.length,oe,me;if(dt===0&&Ze===0)return null;dt<Ze?(oe=Ve,me=Qe):(oe=Qe,me=Ve);var ot={__EMPTY_ITEM__:!0};function Pe(Jt){return Jt!==void 0?et(Jt):ot}for(var pt=null,Rr=Math.abs(dt-Ze)!==1,It=0;It<me.length;It+=1){var nr=Pe(oe[It]),Gt=Pe(me[It]);if(nr!==Gt){pt=It,Rr=Rr||nr!==Pe(me[It+1]);break}}return pt===null?null:{index:pt,multiple:Rr}}function te(Ve,Qe){return qe(Ve)||Ke(Ve,Qe)||be(Ve,Qe)||fe()}function fe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function be(Ve,Qe){if(!Ve)return;if(typeof Ve=="string")return we(Ve,Qe);var et=Object.prototype.toString.call(Ve).slice(8,-1);if(et==="Object"&&Ve.constructor&&(et=Ve.constructor.name),et==="Map"||et==="Set")return Array.from(Ve);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return we(Ve,Qe)}function we(Ve,Qe){(Qe==null||Qe>Ve.length)&&(Qe=Ve.length);for(var et=0,dt=new Array(Qe);et<Qe;et++)dt[et]=Ve[et];return dt}function Ke(Ve,Qe){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ve)))return;var et=[],dt=!0,Ze=!1,oe=void 0;try{for(var me=Ve[Symbol.iterator](),ot;!(dt=(ot=me.next()).done)&&!(et.push(ot.value),Qe&&et.length===Qe);dt=!0);}catch(Pe){Ze=!0,oe=Pe}finally{try{!dt&&me.return!=null&&me.return()}finally{if(Ze)throw oe}}return et}function qe(Ve){if(Array.isArray(Ve))return Ve}function xt(Ve,Qe,et){var dt=d.useState(Ve),Ze=te(dt,2),oe=Ze[0],me=Ze[1],ot=d.useState(null),Pe=te(ot,2),pt=Pe[0],Rr=Pe[1];return d.useEffect(function(){var It=he(oe||[],Ve||[],Qe);(It==null?void 0:It.index)!==void 0&&(et==null||et(It.index),Rr(Ve[It.index])),me(Ve)},[Ve]),[pt]}function Fe(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fe=function(et){return typeof et}:Fe=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},Fe(Ve)}var Be=(typeof navigator=="undefined"?"undefined":Fe(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),bt=Be;function lt(Ve,Qe){var et=Object(d.useRef)(0),dt=Object(d.useRef)(null),Ze=Object(d.useRef)(null),oe=Object(d.useRef)(!1);function me(Pe){if(!Ve)return;bt||Pe.preventDefault(),a.a.cancel(dt.current),et.current+=Pe.deltaY,Ze.current=Pe.deltaY,dt.current=Object(a.a)(function(){var pt=oe.current?10:1;Qe(et.current*pt),et.current=0})}function ot(Pe){if(!Ve)return;Pe.preventDefault(),oe.current=Pe.detail===Ze.current}return[me,ot]}function tt(Ve,Qe){var et=Object.keys(Ve);if(Object.getOwnPropertySymbols){var dt=Object.getOwnPropertySymbols(Ve);Qe&&(dt=dt.filter(function(Ze){return Object.getOwnPropertyDescriptor(Ve,Ze).enumerable})),et.push.apply(et,dt)}return et}function St(Ve){for(var Qe=1;Qe<arguments.length;Qe++){var et=arguments[Qe]!=null?arguments[Qe]:{};Qe%2?tt(Object(et),!0).forEach(function(dt){ht(Ve,dt,et[dt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ve,Object.getOwnPropertyDescriptors(et)):tt(Object(et)).forEach(function(dt){Object.defineProperty(Ve,dt,Object.getOwnPropertyDescriptor(et,dt))})}return Ve}function ht(Ve,Qe,et){return Qe in Ve?Object.defineProperty(Ve,Qe,{value:et,enumerable:!0,configurable:!0,writable:!0}):Ve[Qe]=et,Ve}function vt(Ve,Qe){return Ie(Ve)||De(Ve,Qe)||At(Ve,Qe)||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 At(Ve,Qe){if(!Ve)return;if(typeof Ve=="string")return _e(Ve,Qe);var et=Object.prototype.toString.call(Ve).slice(8,-1);if(et==="Object"&&Ve.constructor&&(et=Ve.constructor.name),et==="Map"||et==="Set")return Array.from(Ve);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _e(Ve,Qe)}function _e(Ve,Qe){(Qe==null||Qe>Ve.length)&&(Qe=Ve.length);for(var et=0,dt=new Array(Qe);et<Qe;et++)dt[et]=Ve[et];return dt}function De(Ve,Qe){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ve)))return;var et=[],dt=!0,Ze=!1,oe=void 0;try{for(var me=Ve[Symbol.iterator](),ot;!(dt=(ot=me.next()).done)&&!(et.push(ot.value),Qe&&et.length===Qe);dt=!0);}catch(Pe){Ze=!0,oe=Pe}finally{try{!dt&&me.return!=null&&me.return()}finally{if(Ze)throw oe}}return et}function Ie(Ve){if(Array.isArray(Ve))return Ve}function st(Ve,Qe){if(Ve==null)return{};var et=Et(Ve,Qe),dt,Ze;if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(Ve);for(Ze=0;Ze<oe.length;Ze++){if(dt=oe[Ze],Qe.indexOf(dt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ve,dt))continue;et[dt]=Ve[dt]}}return et}function Et(Ve,Qe){if(Ve==null)return{};var et={},dt=Object.keys(Ve),Ze,oe;for(oe=0;oe<dt.length;oe++){if(Ze=dt[oe],Qe.indexOf(Ze)>=0)continue;et[Ze]=Ve[Ze]}return et}var Mt=[],Pt={overflowY:"auto",overflowAnchor:"none"};function ke(Ve,Qe){var et=Ve.prefixCls,dt=et===void 0?"rc-virtual-list":et,Ze=Ve.className,oe=Ve.height,me=Ve.itemHeight,ot=Ve.fullHeight,Pe=ot===void 0?!0:ot,pt=Ve.style,Rr=Ve.data,It=Ve.children,nr=Ve.itemKey,Gt=Ve.virtual,Jt=Ve.component,hr=Jt===void 0?"div":Jt,Xt=Ve.onScroll,de=st(Ve,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),ue=Gt!==!1&&oe&&me&&Rr&&me*Rr.length>oe,se=d.useState(0),ae=vt(se,2),ye=ae[0],Ce=ae[1],Oe=d.useState(!1),Te=vt(Oe,2),xe=Te[0],je=Te[1],ut=g()(dt,Ze),wt=Rr||Mt,ee=Object(d.useRef)(),ie=d.useCallback(function(mr){return typeof nr=="function"?nr(mr):mr[nr]},[nr]),z={getKey:ie};function $(mr){Ce(function(Er){var Lr;return typeof mr=="function"?Lr=mr(Er):Lr=mr,ee.current.scrollTop=Lr,Lr})}var le=Object(d.useRef)({start:0,end:wt.length}),ge=Object(d.useRef)(),Ae=xt(wt,ie),Me=vt(Ae,1),$e=Me[0];ge.current=$e;var kt=Z(ie,null,null),$t=vt(kt,4),Lt=$t[0],Ut=$t[1],Wt=$t[2],Vt=$t[3],Tt=d.useMemo(function(){if(!ue)return{scrollHeight:void 0,start:0,end:wt.length-1,offset:void 0};for(var mr=0,Er,Lr,en,Qr=wt.length,Cr=0;Cr<Qr;Cr+=1){var Gr=wt[Cr],Nr=ie(Gr),lr=Wt.get(Nr),pr=mr+(lr===void 0?me:lr);pr>=ye&&Er===void 0&&(Er=Cr,Lr=mr),pr>ye+oe&&en===void 0&&(en=Cr),mr=pr}return Er===void 0&&(Er=0,Lr=0),en===void 0&&(en=wt.length-1),en=Math.min(en+1,wt.length),{scrollHeight:mr,start:Er,end:en,offset:Lr}},[ue,ye,wt,Vt,oe]),ur=Tt.scrollHeight,qt=Tt.start,ze=Tt.end,nt=Tt.offset;le.current.start=qt,le.current.end=ze;var Ye=Y(ur,oe);function Xe(mr){var Er=Ye(mr);Er!==ye&&$(Er)}function yt(mr){var Er=mr.currentTarget.scrollTop;Er!==ye&&$(Er),Xt==null||Xt(mr)}var mt=lt(ue,function(mr){$(function(Er){var Lr=Ye(Er+mr);return Lr})}),We=vt(mt,2),rt=We[0],ft=We[1];d.useEffect(function(){return ee.current.addEventListener("wheel",rt),ee.current.addEventListener("DOMMouseScroll",ft),function(){ee.current.removeEventListener("wheel",rt),ee.current.removeEventListener("DOMMouseScroll",ft)}},[ue]);var Yt=Q(ee,wt,Wt,me,ie,Ut,$);d.useImperativeHandle(Qe,function(){return{scrollTo:Yt}});var Ft=w(wt,qt,ze,Lt,It,z),fr=null;return oe&&(fr=St(ht({},Pe?"height":"maxHeight",oe),Pt),ue&&(fr.overflowY="hidden",xe&&(fr.pointerEvents="none"))),d.createElement("div",Object.assign({style:St(St({},pt),{},{position:"relative"}),className:ut},de),d.createElement(hr,{className:"".concat(dt,"-holder"),style:fr,ref:ee,onScroll:yt},d.createElement(r,{prefixCls:dt,height:ur,offset:nt,onInnerResize:Ut},Ft)),ue&&d.createElement(O,{prefixCls:dt,scrollTop:ye,height:oe,scrollHeight:ur,count:wt.length,onScroll:Xe,onStartMove:function(){je(!0)},onStopMove:function(){je(!1)}}))}var zt=d.forwardRef(ke);zt.displayName="List";var Ot=zt,_t=F.a=Ot},"+rIm":function(J,F,e){var d=e("bYtY"),E=d.retrieve,g=d.defaults,p=d.extend,A=d.each,b=e("7aKB"),h=e("IwbS"),i=e("Qxkt"),r=e("OELB"),a=r.isRadianAroundZero,s=r.remRadian,l=e("oVpE"),n=l.createSymbol,u=e("Fofx"),t=e("QBsz"),c=t.applyTransform,o=e("aX7z"),f=o.shouldShowAllLabels,v=Math.PI,y=function(P,K){this.opt=K,this.axisModel=P,g(K,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new h.Group;var H=new h.Group({position:K.position.slice(),rotation:K.rotation});H.updateTransform(),this._transform=H.transform,this._dumbGroup=H};y.prototype={constructor:y,hasBuilder:function(P){return!!L[P]},add:function(P){L[P].call(this)},getGroup:function(){return this.group}};var L={axisLine:function(){var P=this.opt,K=this.axisModel;if(!K.get("axisLine.show"))return;var H=this.axisModel.axis.getExtent(),k=this._transform,Z=[H[0],0],Y=[H[1],0];k&&(c(Z,Z,k),c(Y,Y,k));var _=p({lineCap:"round"},K.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new h.Line({anid:"line",subPixelOptimize:!0,shape:{x1:Z[0],y1:Z[1],x2:Y[0],y2:Y[1]},style:_,strokeContainThreshold:P.strokeContainThreshold||5,silent:!0,z2:1}));var Q=K.get("axisLine.symbol"),X=K.get("axisLine.symbolSize"),he=K.get("axisLine.symbolOffset")||0;if(typeof he=="number"&&(he=[he,he]),Q!=null){typeof Q=="string"&&(Q=[Q,Q]),(typeof X=="string"||typeof X=="number")&&(X=[X,X]);var te=X[0],fe=X[1];A([{rotate:P.rotation+Math.PI/2,offset:he[0],r:0},{rotate:P.rotation-Math.PI/2,offset:he[1],r:Math.sqrt((Z[0]-Y[0])*(Z[0]-Y[0])+(Z[1]-Y[1])*(Z[1]-Y[1]))}],function(be,we){if(Q[we]!=="none"&&Q[we]!=null){var Ke=n(Q[we],-te/2,-fe/2,te,fe,_.stroke,!0),qe=be.r+be.offset,xt=[Z[0]+qe*Math.cos(P.rotation),Z[1]-qe*Math.sin(P.rotation)];Ke.attr({rotation:be.rotate,position:xt,silent:!0,z2:11}),this.group.add(Ke)}},this)}},axisTickLabel:function(){var P=this.axisModel,K=this.opt,H=R(this,P,K),k=M(this,P,K);w(P,k,H),U(this,P,K)},axisName:function(){var P=this.opt,K=this.axisModel,H=E(P.axisName,K.get("name"));if(!H)return;var k=K.get("nameLocation"),Z=P.nameDirection,Y=K.getModel("nameTextStyle"),_=K.get("nameGap")||0,Q=this.axisModel.axis.getExtent(),X=Q[0]>Q[1]?-1:1,he=[k==="start"?Q[0]-X*_:k==="end"?Q[1]+X*_:(Q[0]+Q[1])/2,D(k)?P.labelOffset+Z*_:0],te,fe=K.get("nameRotate");fe!=null&&(fe=fe*v/180);var be;D(k)?te=x(P.rotation,fe!=null?fe:P.rotation,Z):(te=O(P,k,fe||0,Q),be=P.axisNameAvailableWidth,be!=null&&(be=Math.abs(be/Math.sin(te.rotation)),!isFinite(be)&&(be=null)));var we=Y.getFont(),Ke=K.get("nameTruncate",!0)||{},qe=Ke.ellipsis,xt=E(P.nameTruncateMaxWidth,Ke.maxWidth,be),Fe=qe!=null&&xt!=null?b.truncateText(H,xt,we,qe,{minChar:2,placeholder:Ke.placeholder}):H,Be=K.get("tooltip",!0),bt=K.mainType,lt={componentType:bt,name:H,$vars:["name"]};lt[bt+"Index"]=K.componentIndex;var tt=new h.Text({anid:"name",__fullText:H,__truncatedText:Fe,position:he,rotation:te.rotation,silent:T(K),z2:1,tooltip:Be&&Be.show?p({content:H,formatter:function(){return H},formatterParams:lt},Be):null});h.setTextStyle(tt.style,Y,{text:Fe,textFont:we,textFill:Y.getTextColor()||K.get("axisLine.lineStyle.color"),textAlign:Y.get("align")||te.textAlign,textVerticalAlign:Y.get("verticalAlign")||te.textVerticalAlign}),K.get("triggerEvent")&&(tt.eventData=S(K),tt.eventData.targetType="axisName",tt.eventData.name=H),this._dumbGroup.add(tt),tt.updateTransform(),this.group.add(tt),tt.decomposeTransform()}},S=y.makeAxisEventDataBase=function(P){var K={componentType:P.mainType,componentIndex:P.componentIndex};return K[P.mainType+"Index"]=P.componentIndex,K},x=y.innerTextLayout=function(P,K,H){var k=s(K-P),Z,Y;return a(k)?(Y=H>0?"top":"bottom",Z="center"):a(k-v)?(Y=H>0?"bottom":"top",Z="center"):(Y="middle",k>0&&k<v?Z=H>0?"right":"left":Z=H>0?"left":"right"),{rotation:k,textAlign:Z,textVerticalAlign:Y}};function O(P,K,H,k){var Z=s(H-P.rotation),Y,_,Q=k[0]>k[1],X=K==="start"&&!Q||K!=="start"&&Q;return a(Z-v/2)?(_=X?"bottom":"top",Y="center"):a(Z-v*1.5)?(_=X?"top":"bottom",Y="center"):(_="middle",Z<v*1.5&&Z>v/2?Y=X?"left":"right":Y=X?"right":"left"),{rotation:Z,textAlign:Y,textVerticalAlign:_}}var T=y.isLabelSilent=function(P){var K=P.get("tooltip");return P.get("silent")||!(P.get("triggerEvent")||K&&K.show)};function w(P,K,H){if(f(P.axis))return;var k=P.get("axisLabel.showMinLabel"),Z=P.get("axisLabel.showMaxLabel");K=K||[],H=H||[];var Y=K[0],_=K[1],Q=K[K.length-1],X=K[K.length-2],he=H[0],te=H[1],fe=H[H.length-1],be=H[H.length-2];k===!1?(C(Y),C(he)):N(Y,_)&&(k?(C(_),C(te)):(C(Y),C(he))),Z===!1?(C(Q),C(fe)):N(X,Q)&&(Z?(C(X),C(be)):(C(Q),C(fe)))}function C(P){P&&(P.ignore=!0)}function N(P,K,H){var k=P&&P.getBoundingRect().clone(),Z=K&&K.getBoundingRect().clone();if(!k||!Z)return;var Y=u.identity([]);return u.rotate(Y,Y,-P.rotation),k.applyTransform(u.mul([],Y,P.getLocalTransform())),Z.applyTransform(u.mul([],Y,K.getLocalTransform())),k.intersect(Z)}function D(P){return P==="middle"||P==="center"}function B(P,K,H,k,Z){for(var Y=[],_=[],Q=[],X=0;X<P.length;X++){var he=P[X].coord;_[0]=he,_[1]=0,Q[0]=he,Q[1]=H,K&&(c(_,_,K),c(Q,Q,K));var te=new h.Line({anid:Z+"_"+P[X].tickValue,subPixelOptimize:!0,shape:{x1:_[0],y1:_[1],x2:Q[0],y2:Q[1]},style:k,z2:2,silent:!0});Y.push(te)}return Y}function R(P,K,H){var k=K.axis,Z=K.getModel("axisTick");if(!Z.get("show")||k.scale.isBlank())return;for(var Y=Z.getModel("lineStyle"),_=H.tickDirection*Z.get("length"),Q=k.getTicksCoords(),X=B(Q,P._transform,_,g(Y.getLineStyle(),{stroke:K.get("axisLine.lineStyle.color")}),"ticks"),he=0;he<X.length;he++)P.group.add(X[he]);return X}function U(P,K,H){var k=K.axis,Z=K.getModel("minorTick");if(!Z.get("show")||k.scale.isBlank())return;var Y=k.getMinorTicksCoords();if(!Y.length)return;for(var _=Z.getModel("lineStyle"),Q=H.tickDirection*Z.get("length"),X=g(_.getLineStyle(),g(K.getModel("axisTick").getLineStyle(),{stroke:K.get("axisLine.lineStyle.color")})),he=0;he<Y.length;he++)for(var te=B(Y[he],P._transform,Q,X,"minorticks_"+he),fe=0;fe<te.length;fe++)P.group.add(te[fe])}function M(P,K,H){var k=K.axis,Z=E(H.axisLabelShow,K.get("axisLabel.show"));if(!Z||k.scale.isBlank())return;var Y=K.getModel("axisLabel"),_=Y.get("margin"),Q=k.getViewLabels(),X=(E(H.labelRotate,Y.get("rotate"))||0)*v/180,he=x(H.rotation,X,H.labelDirection),te=K.getCategories&&K.getCategories(!0),fe=[],be=T(K),we=K.get("triggerEvent");return A(Q,function(Ke,qe){var xt=Ke.tickValue,Fe=Ke.formattedLabel,Be=Ke.rawLabel,bt=Y;te&&te[xt]&&te[xt].textStyle&&(bt=new i(te[xt].textStyle,Y,K.ecModel));var lt=bt.getTextColor()||K.get("axisLine.lineStyle.color"),tt=k.dataToCoord(xt),St=[tt,H.labelOffset+H.labelDirection*_],ht=new h.Text({anid:"label_"+xt,position:St,rotation:he.rotation,silent:be,z2:10});h.setTextStyle(ht.style,bt,{text:Fe,textAlign:bt.getShallow("align",!0)||he.textAlign,textVerticalAlign:bt.getShallow("verticalAlign",!0)||bt.getShallow("baseline",!0)||he.textVerticalAlign,textFill:typeof lt=="function"?lt(k.type==="category"?Be:k.type==="value"?xt+"":xt,qe):lt}),we&&(ht.eventData=S(K),ht.eventData.targetType="axisLabel",ht.eventData.value=Be),P._dumbGroup.add(ht),ht.updateTransform(),fe.push(ht),P.group.add(ht),ht.decomposeTransform()}),fe}var j=y;J.exports=j},"+wW9":function(J,F,e){var d=e("bYtY"),E=d.each,g=d.isArray,p=d.isObject,A=e("JuEJ"),b=e("4NO4"),h=b.normalizeToArray;function i(u,t){t=t.split(",");for(var c=u,o=0;o<t.length&&!(c=c&&c[t[o]],c==null);o++);return c}function r(u,t,c,o){t=t.split(",");for(var f=u,v,y=0;y<t.length-1;y++)v=t[y],f[v]==null&&(f[v]={}),f=f[v];(o||f[t[y]]==null)&&(f[t[y]]=c)}function a(u){E(s,function(t){t[0]in u&&!(t[1]in u)&&(u[t[1]]=u[t[0]])})}var s=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],l=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(u,t){A(u,t),u.series=h(u.series),E(u.series,function(c){if(!p(c))return;var o=c.type;if(o==="line")c.clipOverflow!=null&&(c.clip=c.clipOverflow);else if(o==="pie"||o==="gauge")c.clockWise!=null&&(c.clockwise=c.clockWise);else if(o==="gauge"){var f=i(c,"pointer.color");f!=null&&r(c,"itemStyle.color",f)}a(c)}),u.dataRange&&(u.visualMap=u.dataRange),E(l,function(c){var o=u[c];o&&(g(o)||(o=[o]),E(o,function(f){a(f)}))})}J.exports=n},"/IIm":function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("H6uX"),A=e("IwbS"),b=e("pP6R"),h=e("gPAo"),i=g.curry,r=g.each,a=g.map,s=Math.min,l=Math.max,n=Math.pow,u=1e4,t=6,c=6,o="globalPan",f={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},v={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},y={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},L=0;function S(De){p.call(this),this._zr=De,this.group=new A.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+L++,this._handlers={},r(St,function(Ie,st){this._handlers[st]=g.bind(Ie,this)},this)}S.prototype={constructor:S,enableBrush:function(De){return this._brushType&&O(this),De.brushType&&x(this,De),this},setPanels:function(De){if(De&&De.length){var Ie=this._panels={};g.each(De,function(st){Ie[st.panelId]=g.clone(st)})}else this._panels=null;return this},mount:function(De){De=De||{},this._enableGlobalPan=De.enableGlobalPan;var Ie=this.group;return this._zr.add(Ie),Ie.attr({position:De.position||[0,0],rotation:De.rotation||0,scale:De.scale||[1,1]}),this._transform=Ie.getLocalTransform(),this},eachCover:function(De,Ie){r(this._covers,De,Ie)},updateCovers:function(De){De=g.map(De,function(Ve){return g.merge(g.clone(y),Ve,!0)});var Ie="\0-brush-index-",st=this._covers,Et=this._covers=[],Mt=this,Pt=this._creatingCover;return new h(st,De,zt,ke).add(Ot).update(Ot).remove(_t).execute(),this;function ke(Ve,Qe){return(Ve.id!=null?Ve.id:Ie+Qe)+"-"+Ve.brushType}function zt(Ve,Qe){return ke(Ve.__brushOption,Qe)}function Ot(Ve,Qe){var et=De[Ve];if(Qe!=null&&st[Qe]===Pt)Et[Ve]=st[Qe];else{var dt=Et[Ve]=Qe!=null?(st[Qe].__brushOption=et,st[Qe]):N(Mt,C(Mt,et));R(Mt,dt)}}function _t(Ve){st[Ve]!==Pt&&Mt.group.remove(st[Ve])}},unmount:function(){return this.enableBrush(!1),P(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},g.mixin(S,p);function x(De,Ie){var st=De._zr;De._enableGlobalPan||b.take(st,o,De._uid),T(st,De._handlers),De._brushType=Ie.brushType,De._brushOption=g.merge(g.clone(y),Ie,!0)}function O(De){var Ie=De._zr;b.release(Ie,o,De._uid),w(Ie,De._handlers),De._brushType=De._brushOption=null}function T(De,Ie){r(Ie,function(st,Et){De.on(Et,st)})}function w(De,Ie){r(Ie,function(st,Et){De.off(Et,st)})}function C(De,Ie){var st=Ge[Ie.brushType].createCover(De,Ie);return st.__brushOption=Ie,B(st,Ie),De.group.add(st),st}function N(De,Ie){var st=U(Ie);return st.endCreating&&(st.endCreating(De,Ie),B(Ie,Ie.__brushOption)),Ie}function D(De,Ie){var st=Ie.__brushOption;U(Ie).updateCoverShape(De,Ie,st.range,st)}function B(De,Ie){var st=Ie.z;st==null&&(st=u),De.traverse(function(Et){Et.z=st,Et.z2=st})}function R(De,Ie){U(Ie).updateCommon(De,Ie),D(De,Ie)}function U(De){return Ge[De.__brushOption.brushType]}function M(De,Ie,st){var Et=De._panels;if(!Et)return!0;var Mt,Pt=De._transform;return r(Et,function(ke){ke.isTargetByCursor(Ie,st,Pt)&&(Mt=ke)}),Mt}function j(De,Ie){var st=De._panels;if(!st)return!0;var Et=Ie.__brushOption.panelId;return Et!=null?st[Et]:!0}function P(De){var Ie=De._covers,st=Ie.length;return r(Ie,function(Et){De.group.remove(Et)},De),Ie.length=0,!!st}function K(De,Ie){var st=a(De._covers,function(Et){var Mt=Et.__brushOption,Pt=g.clone(Mt.range);return{brushType:Mt.brushType,panelId:Mt.panelId,range:Pt}});De.trigger("brush",st,{isEnd:!!Ie.isEnd,removeOnClick:!!Ie.removeOnClick})}function H(De){var Ie=De._track;if(!Ie.length)return!1;var st=Ie[Ie.length-1],Et=Ie[0],Mt=st[0]-Et[0],Pt=st[1]-Et[1],ke=n(Mt*Mt+Pt*Pt,.5);return ke>t}function k(De){var Ie=De.length-1;return Ie<0&&(Ie=0),[De[0],De[Ie]]}function Z(De,Ie,st,Et){var Mt=new A.Group;return Mt.add(new A.Rect({name:"main",style:X(st),silent:!0,draggable:!0,cursor:"move",drift:i(De,Ie,Mt,"nswe"),ondragend:i(K,Ie,{isEnd:!0})})),r(Et,function(Pt){Mt.add(new A.Rect({name:Pt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:i(De,Ie,Mt,Pt),ondragend:i(K,Ie,{isEnd:!0})}))}),Mt}function Y(De,Ie,st,Et){var Mt=Et.brushStyle.lineWidth||0,Pt=l(Mt,c),ke=st[0][0],zt=st[1][0],Ot=ke-Mt/2,_t=zt-Mt/2,Ve=st[0][1],Qe=st[1][1],et=Ve-Pt+Mt/2,dt=Qe-Pt+Mt/2,Ze=Ve-ke,oe=Qe-zt,me=Ze+Mt,ot=oe+Mt;Q(De,Ie,"main",ke,zt,Ze,oe),Et.transformable&&(Q(De,Ie,"w",Ot,_t,Pt,ot),Q(De,Ie,"e",et,_t,Pt,ot),Q(De,Ie,"n",Ot,_t,me,Pt),Q(De,Ie,"s",Ot,dt,me,Pt),Q(De,Ie,"nw",Ot,_t,Pt,Pt),Q(De,Ie,"ne",et,_t,Pt,Pt),Q(De,Ie,"sw",Ot,dt,Pt,Pt),Q(De,Ie,"se",et,dt,Pt,Pt))}function _(De,Ie){var st=Ie.__brushOption,Et=st.transformable,Mt=Ie.childAt(0);Mt.useStyle(X(st)),Mt.attr({silent:!Et,cursor:Et?"move":"default"}),r(["w","e","n","s","se","sw","ne","nw"],function(Pt){var ke=Ie.childOfName(Pt),zt=fe(De,Pt);ke&&ke.attr({silent:!Et,invisible:!Et,cursor:Et?v[zt]+"-resize":null})})}function Q(De,Ie,st,Et,Mt,Pt,ke){var zt=Ie.childOfName(st);zt&&zt.setShape(xt(qe(De,Ie,[[Et,Mt],[Et+Pt,Mt+ke]])))}function X(De){return g.defaults({strokeNoScale:!0},De.brushStyle)}function he(De,Ie,st,Et){var Mt=[s(De,st),s(Ie,Et)],Pt=[l(De,st),l(Ie,Et)];return[[Mt[0],Pt[0]],[Mt[1],Pt[1]]]}function te(De){return A.getTransform(De.group)}function fe(De,Ie){if(Ie.length>1){Ie=Ie.split("");var st=[fe(De,Ie[0]),fe(De,Ie[1])];return(st[0]==="e"||st[0]==="w")&&st.reverse(),st.join("")}else{var Et={w:"left",e:"right",n:"top",s:"bottom"},Mt={left:"w",right:"e",top:"n",bottom:"s"},st=A.transformDirection(Et[Ie],te(De));return Mt[st]}}function be(De,Ie,st,Et,Mt,Pt,ke,zt){var Ot=Et.__brushOption,_t=De(Ot.range),Ve=Ke(st,Pt,ke);r(Mt.split(""),function(Qe){var et=f[Qe];_t[et[0]][et[1]]+=Ve[et[0]]}),Ot.range=Ie(he(_t[0][0],_t[1][0],_t[0][1],_t[1][1])),R(st,Et),K(st,{isEnd:!1})}function we(De,Ie,st,Et,Mt){var Pt=Ie.__brushOption.range,ke=Ke(De,st,Et);r(Pt,function(zt){zt[0]+=ke[0],zt[1]+=ke[1]}),R(De,Ie),K(De,{isEnd:!1})}function Ke(De,Ie,st){var Et=De.group,Mt=Et.transformCoordToLocal(Ie,st),Pt=Et.transformCoordToLocal(0,0);return[Mt[0]-Pt[0],Mt[1]-Pt[1]]}function qe(De,Ie,st){var Et=j(De,Ie);return Et&&Et!==!0?Et.clipPath(st,De._transform):g.clone(st)}function xt(De){var Ie=s(De[0][0],De[1][0]),st=s(De[0][1],De[1][1]),Et=l(De[0][0],De[1][0]),Mt=l(De[0][1],De[1][1]);return{x:Ie,y:st,width:Et-Ie,height:Mt-st}}function Fe(De,Ie,st){if(!De._brushType||vt(De,Ie))return;var Et=De._zr,Mt=De._covers,Pt=M(De,Ie,st);if(!De._dragging)for(var ke=0;ke<Mt.length;ke++){var zt=Mt[ke].__brushOption;if(Pt&&(Pt===!0||zt.panelId===Pt.panelId)&&Ge[zt.brushType].contain(Mt[ke],st[0],st[1]))return}Pt&&Et.setCursorStyle("crosshair")}function Be(De){var Ie=De.event;Ie.preventDefault&&Ie.preventDefault()}function bt(De,Ie,st){return De.childOfName("main").contain(Ie,st)}function lt(De,Ie,st,Et){var Mt=De._creatingCover,Pt=De._creatingPanel,ke=De._brushOption,zt;if(De._track.push(st.slice()),H(De)||Mt){if(Pt&&!Mt){ke.brushMode==="single"&&P(De);var Ot=g.clone(ke);Ot.brushType=tt(Ot.brushType,Pt),Ot.panelId=Pt===!0?null:Pt.panelId,Mt=De._creatingCover=C(De,Ot),De._covers.push(Mt)}if(Mt){var _t=Ge[tt(De._brushType,Pt)],Ve=Mt.__brushOption;Ve.range=_t.getCreatingRange(qe(De,Mt,De._track)),Et&&(N(De,Mt),_t.updateCommon(De,Mt)),D(De,Mt),zt={isEnd:Et}}}else Et&&ke.brushMode==="single"&&ke.removeOnClick&&(M(De,Ie,st)&&P(De)&&(zt={isEnd:Et,removeOnClick:!0}));return zt}function tt(De,Ie){return De==="auto"?Ie.defaultBrushType:De}var St={mousedown:function(De){if(this._dragging)ht(this,De);else if(!De.target||!De.target.draggable){Be(De);var Ie=this.group.transformCoordToLocal(De.offsetX,De.offsetY);this._creatingCover=null;var st=this._creatingPanel=M(this,De,Ie);st&&(this._dragging=!0,this._track=[Ie.slice()])}},mousemove:function(De){var Ie=De.offsetX,st=De.offsetY,Et=this.group.transformCoordToLocal(Ie,st);if(Fe(this,De,Et),this._dragging){Be(De);var Mt=lt(this,De,Et,!1);Mt&&K(this,Mt)}},mouseup:function(De){ht(this,De)}};function ht(De,Ie){if(De._dragging){Be(Ie);var st=Ie.offsetX,Et=Ie.offsetY,Mt=De.group.transformCoordToLocal(st,Et),Pt=lt(De,Ie,Mt,!0);De._dragging=!1,De._track=[],De._creatingCover=null,Pt&&K(De,Pt)}}function vt(De,Ie,st){var Et=De._zr;return Ie<0||Ie>Et.getWidth()||st<0||st>Et.getHeight()}var Ge={lineX:At(0),lineY:At(1),rect:{createCover:function(De,Ie){return Z(i(be,function(st){return st},function(st){return st}),De,Ie,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(De){var Ie=k(De);return he(Ie[1][0],Ie[1][1],Ie[0][0],Ie[0][1])},updateCoverShape:function(De,Ie,st,Et){Y(De,Ie,st,Et)},updateCommon:_,contain:bt},polygon:{createCover:function(De,Ie){var st=new A.Group;return st.add(new A.Polyline({name:"main",style:X(Ie),silent:!0})),st},getCreatingRange:function(De){return De},endCreating:function(De,Ie){Ie.remove(Ie.childAt(0)),Ie.add(new A.Polygon({name:"main",draggable:!0,drift:i(we,De,Ie),ondragend:i(K,De,{isEnd:!0})}))},updateCoverShape:function(De,Ie,st,Et){Ie.childAt(0).setShape({points:qe(De,Ie,st)})},updateCommon:_,contain:bt}};function At(De){return{createCover:function(Ie,st){return Z(i(be,function(Et){var Mt=[Et,[0,100]];return De&&Mt.reverse(),Mt},function(Et){return Et[De]}),Ie,st,[["w","e"],["n","s"]][De])},getCreatingRange:function(Ie){var st=k(Ie),Et=s(st[0][De],st[1][De]),Mt=l(st[0][De],st[1][De]);return[Et,Mt]},updateCoverShape:function(Ie,st,Et,Mt){var Pt,ke=j(Ie,st);if(ke!==!0&&ke.getLinearBrushOtherExtent)Pt=ke.getLinearBrushOtherExtent(De,Ie._transform);else{var zt=Ie._zr;Pt=[0,[zt.getWidth(),zt.getHeight()][1-De]]}var Ot=[Et,Pt];De&&Ot.reverse(),Y(Ie,st,Ot,Mt)},updateCommon:_,contain:bt}}var _e=S;J.exports=_e},"/MfK":function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="DeleteOutlined";var b=F.a=d.forwardRef(A)},"/SeX":function(J,F,e){var d=e("knOB"),E=e("qZFw"),g=function(A){this.name=A||"",this.cx=0,this.cy=0,this._radiusAxis=new d,this._angleAxis=new E,this._radiusAxis.polar=this._angleAxis.polar=this};g.prototype={type:"polar",axisPointerEnabled:!0,constructor:g,dimensions:["radius","angle"],model:null,containPoint:function(A){var b=this.pointToCoord(A);return this._radiusAxis.contain(b[0])&&this._angleAxis.contain(b[1])},containData:function(A){return this._radiusAxis.containData(A[0])&&this._angleAxis.containData(A[1])},getAxis:function(A){return this["_"+A+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(A){var b=[],h=this._angleAxis,i=this._radiusAxis;return h.scale.type===A&&b.push(h),i.scale.type===A&&b.push(i),b},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(A){var b=this._angleAxis;return A===b?this._radiusAxis:b},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(A){var b=A!=null&&A!=="auto"?this.getAxis(A):this.getBaseAxis();return{baseAxes:[b],otherAxes:[this.getOtherAxis(b)]}},dataToPoint:function(A,b){return this.coordToPoint([this._radiusAxis.dataToRadius(A[0],b),this._angleAxis.dataToAngle(A[1],b)])},pointToData:function(A,b){var h=this.pointToCoord(A);return[this._radiusAxis.radiusToData(h[0],b),this._angleAxis.angleToData(h[1],b)]},pointToCoord:function(A){var b=A[0]-this.cx,h=A[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),a=Math.min(r[0],r[1]),s=Math.max(r[0],r[1]);i.inverse?a=s-360:s=a+360;var l=Math.sqrt(b*b+h*h);b/=l,h/=l;for(var n=Math.atan2(-h,b)/Math.PI*180,u=n<a?1:-1;n<a||n>s;)n+=u*360;return[l,n]},coordToPoint:function(A){var b=A[0],h=A[1]/180*Math.PI,i=Math.cos(h)*b+this.cx,r=-Math.sin(h)*b+this.cy;return[i,r]},getArea:function(){var A=this.getAngleAxis(),b=this.getRadiusAxis(),h=b.getExtent().slice();h[0]>h[1]&&h.reverse();var i=A.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:h[0],r:h[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:A.inverse,contain:function(a,s){var l=a-this.cx,n=s-this.cy,u=l*l+n*n,t=this.r,c=this.r0;return u<=t*t&&u>=c*c}}}};var p=g;J.exports=p},"/WM3":function(J,F,e){var d=e("QuXc"),E=e("bYtY"),g=E.isFunction,p={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,b){var h=A.getData(),i=(A.visualColorAccessPath||"itemStyle.color").split("."),r=A.get(i),a=g(r)&&!(r instanceof d)?r:null;(!r||a)&&(r=A.getColorFromPalette(A.name,null,b.getSeriesCount())),h.setVisual("color",r);var s=(A.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),l=A.get(s);if(h.setVisual("borderColor",l),!b.isSeriesFiltered(A)){a&&h.each(function(u){h.setItemVisual(u,"color",a(A.getDataParams(u)))});var n=function(u,t){var c=u.getItemModel(t),o=c.get(i,!0),f=c.get(s,!0);o!=null&&u.setItemVisual(t,"color",o),f!=null&&u.setItemVisual(t,"borderColor",f)};return{dataEach:h.hasItemOption?n:null}}}};J.exports=p},"/d5a":function(J,F){var e={average:function(g){for(var p=0,A=0,b=0;b<g.length;b++)isNaN(g[b])||(p+=g[b],A++);return A===0?NaN:p/A},sum:function(g){for(var p=0,A=0;A<g.length;A++)p+=g[A]||0;return p},max:function(g){for(var p=-Infinity,A=0;A<g.length;A++)g[A]>p&&(p=g[A]);return isFinite(p)?p:NaN},min:function(g){for(var p=Infinity,A=0;A<g.length;A++)g[A]<p&&(p=g[A]);return isFinite(p)?p:NaN},nearest:function(g){return g[0]}},d=function(g,p){return Math.round(g.length/2)};function E(g){return{seriesType:g,modifyOutputEnd:!0,reset:function(p,A,b){var h=p.getData(),i=p.get("sampling"),r=p.coordinateSystem;if(r.type==="cartesian2d"&&i){var a=r.getBaseAxis(),s=r.getOtherAxis(a),l=a.getExtent(),n=l[1]-l[0],u=Math.round(h.count()/n);if(u>1){var t;typeof i=="string"?t=e[i]:typeof i=="function"&&(t=i),t&&p.setData(h.downSample(h.mapDimension(s.dim),1/u,t,d))}}}}}J.exports=E},"/ezw":function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("cDf5"),b=e.n(A),h=e("q1tI"),i=e("TSYQ"),r=e.n(i),a=function(H){var k=H.prefixCls,Z=H.className,Y=H.width,_=H.style;return h.createElement("h3",{className:r()(k,Z),style:p()({width:Y},_)})},s=a,l=e("RIqP"),n=e.n(l),u=function(H){var k=function(te){var fe=H.width,be=H.rows,we=be===void 0?2:be;return Array.isArray(fe)?fe[te]:we-1===te?fe:void 0},Z=H.prefixCls,Y=H.className,_=H.style,Q=H.rows,X=n()(Array(Q)).map(function(he,te){return h.createElement("li",{key:te,style:{width:k(te)}})});return h.createElement("ul",{className:r()(Z,Y),style:_},X)},t=u,c=e("H84U"),o=function(H){var k,Z,Y=H.prefixCls,_=H.className,Q=H.style,X=H.size,he=H.shape,te=r()((k={},E()(k,"".concat(Y,"-lg"),X==="large"),E()(k,"".concat(Y,"-sm"),X==="small"),k)),fe=r()((Z={},E()(Z,"".concat(Y,"-circle"),he==="circle"),E()(Z,"".concat(Y,"-square"),he==="square"),E()(Z,"".concat(Y,"-round"),he==="round"),Z)),be=typeof X=="number"?{width:X,height:X,lineHeight:"".concat(X,"px")}:{};return h.createElement("span",{className:r()(Y,_,te,fe),style:p()(p()({},be),Q)})},f=o,v=e("BGR+"),y=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=H.prefixCls,X=H.className,he=H.active,te=_("skeleton",Q),fe=Object(v.default)(H,["prefixCls"]),be=r()(te,X,"".concat(te,"-element"),E()({},"".concat(te,"-active"),he));return h.createElement("div",{className:be},h.createElement(f,p()({prefixCls:"".concat(te,"-avatar")},fe)))};return h.createElement(c.a,null,k)};y.defaultProps={size:"default",shape:"circle"};var L=y,S=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=H.prefixCls,X=H.className,he=H.active,te=_("skeleton",Q),fe=Object(v.default)(H,["prefixCls"]),be=r()(te,X,"".concat(te,"-element"),E()({},"".concat(te,"-active"),he));return h.createElement("div",{className:be},h.createElement(f,p()({prefixCls:"".concat(te,"-button")},fe)))};return h.createElement(c.a,null,k)};S.defaultProps={size:"default"};var x=S,O=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=H.prefixCls,X=H.className,he=H.active,te=_("skeleton",Q),fe=Object(v.default)(H,["prefixCls"]),be=r()(te,X,"".concat(te,"-element"),E()({},"".concat(te,"-active"),he));return h.createElement("div",{className:be},h.createElement(f,p()({prefixCls:"".concat(te,"-input")},fe)))};return h.createElement(c.a,null,k)};O.defaultProps={size:"default"};var T=O,w="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",C=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=H.prefixCls,X=H.className,he=H.style,te=_("skeleton",Q),fe=r()(te,X,"".concat(te,"-element"));return h.createElement("div",{className:fe},h.createElement("div",{className:r()("".concat(te,"-image"),X),style:he},h.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(te,"-image-svg")},h.createElement("path",{d:w,className:"".concat(te,"-image-path")}))))};return h.createElement(c.a,null,k)},N=C;function D(K){return K&&b()(K)==="object"?K:{}}function B(K,H){return K&&!H?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function R(K,H){return!K&&H?{width:"38%"}:K&&H?{width:"50%"}:{}}function U(K,H){var k={};return(!K||!H)&&(k.width="61%"),!K&&H?k.rows=3:k.rows=2,k}var M=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=Y.direction,X=H.prefixCls,he=H.loading,te=H.className,fe=H.children,be=H.avatar,we=H.title,Ke=H.paragraph,qe=H.active,xt=H.round,Fe=_("skeleton",X);if(he||!("loading"in H)){var Be,bt=!!be,lt=!!we,tt=!!Ke,St;if(bt){var ht=p()(p()({prefixCls:"".concat(Fe,"-avatar")},B(lt,tt)),D(be));St=h.createElement("div",{className:"".concat(Fe,"-header")},h.createElement(f,ht))}var vt;if(lt||tt){var Ge;if(lt){var At=p()(p()({prefixCls:"".concat(Fe,"-title")},R(bt,tt)),D(we));Ge=h.createElement(s,At)}var _e;if(tt){var De=p()(p()({prefixCls:"".concat(Fe,"-paragraph")},U(bt,lt)),D(Ke));_e=h.createElement(t,De)}vt=h.createElement("div",{className:"".concat(Fe,"-content")},Ge,_e)}var Ie=r()(Fe,te,(Be={},E()(Be,"".concat(Fe,"-with-avatar"),bt),E()(Be,"".concat(Fe,"-active"),qe),E()(Be,"".concat(Fe,"-rtl"),Q==="rtl"),E()(Be,"".concat(Fe,"-round"),xt),Be));return h.createElement("div",{className:Ie},St,vt)}return fe};return h.createElement(c.a,null,k)};M.defaultProps={avatar:!1,title:!0,paragraph:!0},M.Button=x,M.Avatar=L,M.Input=T,M.Image=N;var j=M,P=F.a=j},"/iHx":function(J,F,e){var d=e("6GrX"),E=e("IwbS"),g=["textStyle","color"],p={getTextColor:function(A){var b=this.ecModel;return this.getShallow("color")||(!A&&b?b.get(g):null)},getFont:function(){return E.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(A){return d.getBoundingRect(A,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};J.exports=p},"/kpp":function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("cDf5"),b=e.n(A),h=e("q1tI"),i=e.n(h),r=e("TSYQ"),a=e.n(r),s=e("o/2+"),l=e("H84U"),n=function(c,o){var f={};for(var v in c)Object.prototype.hasOwnProperty.call(c,v)&&o.indexOf(v)<0&&(f[v]=c[v]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,v=Object.getOwnPropertySymbols(c);y<v.length;y++)o.indexOf(v[y])<0&&Object.prototype.propertyIsEnumerable.call(c,v[y])&&(f[v[y]]=c[v[y]]);return f};function u(c){return typeof c=="number"?"".concat(c," ").concat(c," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(c)?"0 0 ".concat(c):c}var t=h.forwardRef(function(c,o){var f=function(y){var L,S=y.getPrefixCls,x=y.direction,O=c.prefixCls,T=c.span,w=c.order,C=c.offset,N=c.push,D=c.pull,B=c.className,R=c.children,U=c.flex,M=c.style,j=n(c,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),P=S("col",O),K={};["xs","sm","md","lg","xl","xxl"].forEach(function(k){var Z,Y={},_=c[k];typeof _=="number"?Y.span=_:b()(_)==="object"&&(Y=_||{}),delete j[k],K=p()(p()({},K),(Z={},E()(Z,"".concat(P,"-").concat(k,"-").concat(Y.span),Y.span!==void 0),E()(Z,"".concat(P,"-").concat(k,"-order-").concat(Y.order),Y.order||Y.order===0),E()(Z,"".concat(P,"-").concat(k,"-offset-").concat(Y.offset),Y.offset||Y.offset===0),E()(Z,"".concat(P,"-").concat(k,"-push-").concat(Y.push),Y.push||Y.push===0),E()(Z,"".concat(P,"-").concat(k,"-pull-").concat(Y.pull),Y.pull||Y.pull===0),E()(Z,"".concat(P,"-rtl"),x==="rtl"),Z))});var H=a()(P,(L={},E()(L,"".concat(P,"-").concat(T),T!==void 0),E()(L,"".concat(P,"-order-").concat(w),w),E()(L,"".concat(P,"-offset-").concat(C),C),E()(L,"".concat(P,"-push-").concat(N),N),E()(L,"".concat(P,"-pull-").concat(D),D),L),B,K);return h.createElement(s.a.Consumer,null,function(k){var Z=k.gutter,Y=p()({},M);return Z&&(Y=p()(p()(p()({},Z[0]>0?{paddingLeft:Z[0]/2,paddingRight:Z[0]/2}:{}),Z[1]>0?{paddingTop:Z[1]/2,paddingBottom:Z[1]/2}:{}),Y)),U&&(Y.flex=u(U)),h.createElement("div",p()({},j,{style:Y,className:H,ref:o}),R)})};return h.createElement(l.a,null,f)});t.displayName="Col",F.a=t},"/ry/":function(J,F,e){var d=e("bYtY"),E=e("T4UG"),g=e("5GhG"),p=g.seriesModelMixin,A=E.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}});d.mixin(A,p,!0);var b=A;J.exports=b},"/stD":function(J,F,e){var d=e("bYtY"),E=e("IUWy"),g=e("Kagy"),p=g.toolbox.brush;function A(i,r,a){this.model=i,this.ecModel=r,this.api=a,this._brushType,this._brushMode}A.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:d.clone(p.title)};var b=A.prototype;b.render=b.updateView=function(i,r,a){var s,l,n;r.eachComponent({mainType:"brush"},function(u){s=u.brushType,l=u.brushOption.brushMode||"single",n|=u.areas.length}),this._brushType=s,this._brushMode=l,d.each(i.get("type",!0),function(u){i.setIconStatus(u,(u==="keep"?l==="multiple":u==="clear"?n:u===s)?"emphasis":"normal")})},b.getIcons=function(){var i=this.model,r=i.get("icon",!0),a={};return d.each(i.get("type",!0),function(s){r[s]&&(a[s]=r[s])}),a},b.onclick=function(i,r,a){var s=this._brushType,l=this._brushMode;a==="clear"?(r.dispatchAction({type:"axisAreaSelect",intervals:[]}),r.dispatchAction({type:"brush",command:"clear",areas:[]})):r.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:a==="keep"?s:s===a?!1:a,brushMode:a==="keep"?l==="multiple"?"single":"multiple":l}})},E.register("brush",A);var h=A;J.exports=h},"/wGt":function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e("Ff2n"),o=e("1OyB"),f=e("vuIU"),v=e("Ji7U"),y=e("md7G"),L=e("foSv"),S=e("1W/9"),x=e("rePB"),O=e("JX7q"),T=e("TSYQ"),w=e.n(T),C=e("qx4F"),N=e("4IlW");function D(Ge){return Array.isArray(Ge)?Ge:[Ge]}var B={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},R=Object.keys(B).filter(function(Ge){if(typeof document=="undefined")return!1;var At=document.getElementsByTagName("html")[0];return Ge in(At?At.style:{})})[0],U=B[R];function M(Ge,At,_e,De){Ge.addEventListener?Ge.addEventListener(At,_e,De):Ge.attachEvent&&Ge.attachEvent("on".concat(At),_e)}function j(Ge,At,_e,De){Ge.removeEventListener?Ge.removeEventListener(At,_e,De):Ge.attachEvent&&Ge.detachEvent("on".concat(At),_e)}function P(Ge,At){var _e=typeof Ge=="function"?Ge(At):Ge;return Array.isArray(_e)?_e.length===2?_e:[_e[0],_e[1]]:[_e]}var K=function(At){return!isNaN(parseFloat(At))&&isFinite(At)},H=!(typeof window!="undefined"&&window.document&&window.document.createElement),k=function Ge(At,_e,De,Ie){if(!_e||_e===document||_e instanceof Document)return!1;if(_e===At.parentNode)return!0;var st=Math.max(Math.abs(De),Math.abs(Ie))===Math.abs(Ie),Et=Math.max(Math.abs(De),Math.abs(Ie))===Math.abs(De),Mt=_e.scrollHeight-_e.clientHeight,Pt=_e.scrollWidth-_e.clientWidth,ke=document.defaultView.getComputedStyle(_e),zt=ke.overflowY==="auto"||ke.overflowY==="scroll",Ot=ke.overflowX==="auto"||ke.overflowX==="scroll",_t=Mt&&zt,Ve=Pt&&Ot;return st&&(!_t||_t&&(_e.scrollTop>=Mt&&Ie<0||_e.scrollTop<=0&&Ie>0))||Et&&(!Ve||Ve&&(_e.scrollLeft>=Pt&&De<0||_e.scrollLeft<=0&&De>0))?Ge(At,_e.parentNode,De,Ie):!1};function Z(Ge){var At=Y();return function(){var De=Object(L.a)(Ge),Ie;if(At){var st=Object(L.a)(this).constructor;Ie=Reflect.construct(De,arguments,st)}else Ie=De.apply(this,arguments);return Object(y.a)(this,Ie)}}function Y(){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(Ge){return!1}}var _={},Q=function(Ge){Object(v.a)(_e,Ge);var At=Z(_e);function _e(De){var Ie;return Object(o.a)(this,_e),Ie=At.call(this,De),Ie.domFocus=function(){Ie.dom&&Ie.dom.focus()},Ie.removeStartHandler=function(st){if(st.touches.length>1)return;Ie.startPos={x:st.touches[0].clientX,y:st.touches[0].clientY}},Ie.removeMoveHandler=function(st){if(st.changedTouches.length>1)return;var Et=st.currentTarget,Mt=st.changedTouches[0].clientX-Ie.startPos.x,Pt=st.changedTouches[0].clientY-Ie.startPos.y;(Et===Ie.maskDom||Et===Ie.handlerDom||Et===Ie.contentDom&&k(Et,st.target,Mt,Pt))&&st.cancelable&&st.preventDefault()},Ie.transitionEnd=function(st){var Et=st.target;j(Et,U,Ie.transitionEnd),Et.style.transition=""},Ie.onKeyDown=function(st){if(st.keyCode===N.a.ESC){var Et=Ie.props.onClose;st.stopPropagation(),Et&&Et(st)}},Ie.onWrapperTransitionEnd=function(st){var Et=Ie.props,Mt=Et.open,Pt=Et.afterVisibleChange;st.target===Ie.contentWrapper&&st.propertyName.match(/transform$/)&&(Ie.dom.style.transition="",!Mt&&Ie.getCurrentDrawerSome()&&(document.body.style.overflowX="",Ie.maskDom&&(Ie.maskDom.style.left="",Ie.maskDom.style.width="")),Pt&&Pt(!!Mt))},Ie.openLevelTransition=function(){var st=Ie.props,Et=st.open,Mt=st.width,Pt=st.height,ke=Ie.getHorizontalBoolAndPlacementName(),zt=ke.isHorizontal,Ot=ke.placementName,_t=Ie.contentDom?Ie.contentDom.getBoundingClientRect()[zt?"width":"height"]:0,Ve=(zt?Mt:Pt)||_t;Ie.setLevelAndScrolling(Et,Ot,Ve)},Ie.setLevelTransform=function(st,Et,Mt,Pt){var ke=Ie.props,zt=ke.placement,Ot=ke.levelMove,_t=ke.duration,Ve=ke.ease,Qe=ke.showMask;Ie.levelDom.forEach(function(et){et.style.transition="transform ".concat(_t," ").concat(Ve),M(et,U,Ie.transitionEnd);var dt=st?Mt:0;if(Ot){var Ze=P(Ot,{target:et,open:st});dt=st?Ze[0]:Ze[1]||0}var oe=typeof dt=="number"?"".concat(dt,"px"):dt,me=zt==="left"||zt==="top"?oe:"-".concat(oe);me=Qe&&zt==="right"&&Pt?"calc(".concat(me," + ").concat(Pt,"px)"):me,et.style.transform=dt?"".concat(Et,"(").concat(me,")"):""})},Ie.setLevelAndScrolling=function(st,Et,Mt){var Pt=Ie.props.onChange;if(!H){var ke=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;Ie.setLevelTransform(st,Et,Mt,ke),Ie.toggleScrollingToDrawerAndBody(ke)}Pt&&Pt(st)},Ie.toggleScrollingToDrawerAndBody=function(st){var Et=Ie.props,Mt=Et.getOpenCount,Pt=Et.getContainer,ke=Et.showMask,zt=Et.open,Ot=Pt&&Pt(),_t=Mt&&Mt();if(Ot&&Ot.parentNode===document.body&&ke){var Ve=["touchstart"],Qe=[document.body,Ie.maskDom,Ie.handlerDom,Ie.contentDom];zt&&document.body.style.overflow!=="hidden"?(st&&Ie.addScrollingEffect(st),_t===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Qe.forEach(function(et,dt){if(!et)return;M(et,Ve[dt]||"touchmove",dt?Ie.removeMoveHandler:Ie.removeStartHandler,Ie.passive)})):Ie.getCurrentDrawerSome()&&(_t||(document.body.style.overflow=""),document.body.style.touchAction="",st&&Ie.remScrollingEffect(st),Qe.forEach(function(et,dt){if(!et)return;j(et,Ve[dt]||"touchmove",dt?Ie.removeMoveHandler:Ie.removeStartHandler,Ie.passive)}))}},Ie.addScrollingEffect=function(st){var Et=Ie.props,Mt=Et.placement,Pt=Et.duration,ke=Et.ease,zt=Et.getOpenCount,Ot=Et.switchScrollingEffect,_t=zt&&zt();_t===1&&Ot();var Ve="width ".concat(Pt," ").concat(ke),Qe="transform ".concat(Pt," ").concat(ke);Ie.dom.style.transition="none";switch(Mt){case"right":Ie.dom.style.transform="translateX(-".concat(st,"px)");break;case"top":case"bottom":Ie.dom.style.width="calc(100% - ".concat(st,"px)"),Ie.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(Ie.timeout),Ie.timeout=setTimeout(function(){Ie.dom&&(Ie.dom.style.transition="".concat(Qe,",").concat(Ve),Ie.dom.style.width="",Ie.dom.style.transform="")})},Ie.remScrollingEffect=function(st){var Et=Ie.props,Mt=Et.placement,Pt=Et.duration,ke=Et.ease,zt=Et.getOpenCount,Ot=Et.switchScrollingEffect,_t=zt&&zt();_t||Ot(!0),R&&(document.body.style.overflowX="hidden"),Ie.dom.style.transition="none";var Ve,Qe="width ".concat(Pt," ").concat(ke),et="transform ".concat(Pt," ").concat(ke);switch(Mt){case"left":{Ie.dom.style.width="100%",Qe="width 0s ".concat(ke," ").concat(Pt);break}case"right":{Ie.dom.style.transform="translateX(".concat(st,"px)"),Ie.dom.style.width="100%",Qe="width 0s ".concat(ke," ").concat(Pt),Ie.maskDom&&(Ie.maskDom.style.left="-".concat(st,"px"),Ie.maskDom.style.width="calc(100% + ".concat(st,"px)"));break}case"top":case"bottom":{Ie.dom.style.width="calc(100% + ".concat(st,"px)"),Ie.dom.style.height="100%",Ie.dom.style.transform="translateZ(0)",Ve="height 0s ".concat(ke," ").concat(Pt);break}default:break}clearTimeout(Ie.timeout),Ie.timeout=setTimeout(function(){Ie.dom&&(Ie.dom.style.transition="".concat(et,",").concat(Ve?"".concat(Ve,","):"").concat(Qe),Ie.dom.style.transform="",Ie.dom.style.width="",Ie.dom.style.height="")})},Ie.getCurrentDrawerSome=function(){return!Object.keys(_).some(function(st){return _[st]})},Ie.getLevelDom=function(st){var Et=st.level,Mt=st.getContainer;if(H)return;var Pt=Mt&&Mt(),ke=Pt?Pt.parentNode:null;if(Ie.levelDom=[],Et==="all"){var zt=ke?Array.prototype.slice.call(ke.children):[];zt.forEach(function(Ot){Ot.nodeName!=="SCRIPT"&&Ot.nodeName!=="STYLE"&&Ot.nodeName!=="LINK"&&Ot!==Pt&&Ie.levelDom.push(Ot)})}else Et&&D(Et).forEach(function(Ot){document.querySelectorAll(Ot).forEach(function(_t){Ie.levelDom.push(_t)})})},Ie.getHorizontalBoolAndPlacementName=function(){var st=Ie.props.placement,Et=st==="left"||st==="right",Mt="translate".concat(Et?"X":"Y");return{isHorizontal:Et,placementName:Mt}},Ie.state={_self:Object(O.a)(Ie)},Ie}return Object(f.a)(_e,[{key:"componentDidMount",value:function(){var Ie=this;if(!H){var st=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return st=!0,null}}))}catch(zt){}this.passive=st?{passive:!1}:!1}var Et=this.props,Mt=Et.open,Pt=Et.getContainer,ke=Pt&&Pt();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),Mt&&(ke&&ke.parentNode===document.body&&(_[this.drawerId]=Mt),this.openLevelTransition(),this.forceUpdate(function(){Ie.domFocus()}))}},{key:"componentDidUpdate",value:function(Ie){var st=this.props,Et=st.open,Mt=st.getContainer,Pt=Mt&&Mt();Et!==Ie.open&&(Et&&this.domFocus(),Pt&&Pt.parentNode===document.body&&(_[this.drawerId]=!!Et),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var Ie=this.props,st=Ie.getOpenCount,Et=Ie.open,Mt=Ie.switchScrollingEffect,Pt=typeof st=="function"&&st();delete _[this.drawerId],Et&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Pt||(document.body.style.overflow="",Mt(!0))}},{key:"render",value:function(){var Ie,st=this,Et=this.props,Mt=Et.className,Pt=Et.children,ke=Et.style,zt=Et.width,Ot=Et.height,_t=Et.defaultOpen,Ve=Et.open,Qe=Et.prefixCls,et=Et.placement,dt=Et.level,Ze=Et.levelMove,oe=Et.ease,me=Et.duration,ot=Et.getContainer,Pe=Et.handler,pt=Et.onChange,Rr=Et.afterVisibleChange,It=Et.showMask,nr=Et.maskClosable,Gt=Et.maskStyle,Jt=Et.onClose,hr=Et.onHandleClick,Xt=Et.keyboard,de=Et.getOpenCount,ue=Et.switchScrollingEffect,se=Object(c.a)(Et,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),ae=this.dom?Ve:!1,ye=w()(Qe,(Ie={},Object(x.a)(Ie,"".concat(Qe,"-").concat(et),!0),Object(x.a)(Ie,"".concat(Qe,"-open"),ae),Object(x.a)(Ie,Mt||"",!!Mt),Object(x.a)(Ie,"no-mask",!It),Ie)),Ce=this.getHorizontalBoolAndPlacementName(),Oe=Ce.placementName,Te=et==="left"||et==="top"?"-100%":"100%",xe=ae?"":"".concat(Oe,"(").concat(Te,")"),je=Pe&&t.cloneElement(Pe,{onClick:function(wt){Pe.props.onClick&&Pe.props.onClick(),hr&&hr(wt)},ref:function(wt){st.handlerDom=wt}});return t.createElement("div",Object.assign({},se,{tabIndex:-1,className:ye,style:ke,ref:function(wt){st.dom=wt},onKeyDown:ae&&Xt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),It&&t.createElement("div",{className:"".concat(Qe,"-mask"),onClick:nr?Jt:void 0,style:Gt,ref:function(wt){st.maskDom=wt}}),t.createElement("div",{className:"".concat(Qe,"-content-wrapper"),style:{transform:xe,msTransform:xe,width:K(zt)?"".concat(zt,"px"):zt,height:K(Ot)?"".concat(Ot,"px"):Ot},ref:function(wt){st.contentWrapper=wt}},t.createElement("div",{className:"".concat(Qe,"-content"),ref:function(wt){st.contentDom=wt},onTouchStart:ae&&It?this.removeStartHandler:void 0,onTouchMove:ae&&It?this.removeMoveHandler:void 0},Pt),je))}}],[{key:"getDerivedStateFromProps",value:function(Ie,st){var Et=st.prevProps,Mt=st._self,Pt={prevProps:Ie};if(Et!==void 0){var ke=Ie.placement,zt=Ie.level;ke!==Et.placement&&(Mt.contentDom=null),zt!==Et.level&&Mt.getLevelDom(Ie)}return Pt}}]),_e}(t.Component);Q.defaultProps={switchScrollingEffect:function(){}};var X=Q;function he(Ge){var At=te();return function(){var De=Object(L.a)(Ge),Ie;if(At){var st=Object(L.a)(this).constructor;Ie=Reflect.construct(De,arguments,st)}else Ie=De.apply(this,arguments);return Object(y.a)(this,Ie)}}function te(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ge){return!1}}var fe=function(Ge){Object(v.a)(_e,Ge);var At=he(_e);function _e(De){var Ie;Object(o.a)(this,_e),Ie=At.call(this,De),Ie.onHandleClick=function(Et){var Mt=Ie.props,Pt=Mt.onHandleClick,ke=Mt.open;if(Pt&&Pt(Et),typeof ke=="undefined"){var zt=Ie.state.open;Ie.setState({open:!zt})}},Ie.onClose=function(Et){var Mt=Ie.props,Pt=Mt.onClose,ke=Mt.open;Pt&&Pt(Et),typeof ke=="undefined"&&Ie.setState({open:!1})};var st=typeof De.open!="undefined"?De.open:!!De.defaultOpen;return Ie.state={open:st},"onMaskClick"in De&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),Ie}return Object(f.a)(_e,[{key:"render",value:function(){var Ie=this,st=this.props,Et=st.defaultOpen,Mt=st.getContainer,Pt=st.wrapperClassName,ke=st.forceRender,zt=st.handler,Ot=Object(c.a)(st,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),_t=this.state.open;if(!Mt)return t.createElement("div",{className:Pt,ref:function(et){Ie.dom=et}},t.createElement(X,Object.assign({},Ot,{open:_t,handler:zt,getContainer:function(){return Ie.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ve=!!zt||ke;return t.createElement(S.a,{visible:_t,forceRender:Ve,getContainer:Mt,wrapperClassName:Pt},function(Qe){var et=Qe.visible,dt=Qe.afterClose,Ze=Object(c.a)(Qe,["visible","afterClose"]);return t.createElement(X,Object.assign({},Ot,Ze,{open:et!==void 0?et:_t,afterVisibleChange:dt!==void 0?dt:Ot.afterVisibleChange,handler:zt,onClose:Ie.onClose,onHandleClick:Ie.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(Ie,st){var Et=st.prevProps,Mt={prevProps:Ie};return typeof Et!="undefined"&&Ie.open!==Et.open&&(Mt.open=Ie.open),Mt}}]),_e}(t.Component);fe.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var be=fe,we=be,Ke=e("V/uB"),qe=e.n(Ke),xt=e("BGR+"),Fe=e("H84U"),Be=e("CWQg"),bt=function(Ge,At){var _e={};for(var De in Ge)Object.prototype.hasOwnProperty.call(Ge,De)&&At.indexOf(De)<0&&(_e[De]=Ge[De]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,De=Object.getOwnPropertySymbols(Ge);Ie<De.length;Ie++)At.indexOf(De[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Ge,De[Ie])&&(_e[De[Ie]]=Ge[De[Ie]]);return _e},lt=t.createContext(null),tt=Object(Be.a)("top","right","bottom","left"),St={distance:180},ht=function(Ge){l()(_e,Ge);var At=u()(_e);function _e(){var De;return b()(this,_e),De=At.apply(this,arguments),De.state={push:!1},De.push=function(){De.props.push&&De.setState({push:!0})},De.pull=function(){De.props.push&&De.setState({push:!1})},De.onDestroyTransitionEnd=function(){var Ie=De.getDestroyOnClose();if(!Ie)return;De.props.visible||(De.destroyClose=!0,De.forceUpdate())},De.getDestroyOnClose=function(){return De.props.destroyOnClose&&!De.props.visible},De.getPushDistance=function(){var Ie=De.props.push,st;return typeof Ie=="boolean"?st=Ie?St.distance:0:st=Ie.distance,parseFloat(String(st||0))},De.getPushTransform=function(Ie){var st=De.getPushDistance();if(Ie==="left"||Ie==="right")return"translateX(".concat(Ie==="left"?st:-st,"px)");if(Ie==="top"||Ie==="bottom")return"translateY(".concat(Ie==="top"?st:-st,"px)")},De.getRcDrawerStyle=function(){var Ie=De.props,st=Ie.zIndex,Et=Ie.placement,Mt=Ie.mask,Pt=Ie.style,ke=De.state.push,zt=Mt?{}:De.getOffsetStyle();return p()(p()({zIndex:st,transform:ke?De.getPushTransform(Et):void 0},zt),Pt)},De.renderBody=function(){var Ie=De.props,st=Ie.bodyStyle,Et=Ie.drawerStyle,Mt=Ie.prefixCls,Pt=Ie.visible;if(De.destroyClose&&!Pt)return null;De.destroyClose=!1;var ke={},zt=De.getDestroyOnClose();return zt&&(ke.opacity=0,ke.transition="opacity .3s"),t.createElement("div",{className:"".concat(Mt,"-wrapper-body"),style:p()(p()({},ke),Et),onTransitionEnd:De.onDestroyTransitionEnd},De.renderHeader(),t.createElement("div",{className:"".concat(Mt,"-body"),style:st},De.props.children),De.renderFooter())},De.renderProvider=function(Ie){return De.parentDrawer=Ie,t.createElement(Fe.a,null,function(st){var Et=st.getPopupContainer,Mt=st.getPrefixCls,Pt=De.props,ke=Pt.prefixCls,zt=Pt.placement,Ot=Pt.className,_t=Pt.mask,Ve=Pt.direction,Qe=Pt.visible,et=bt(Pt,["prefixCls","placement","className","mask","direction","visible"]),dt=Mt("select",ke),Ze=w()(Ot,E()({"no-mask":!_t},"".concat(dt,"-rtl"),Ve==="rtl")),oe=_t?De.getOffsetStyle():{};return t.createElement(lt.Provider,{value:a()(De)},t.createElement(we,p()({handler:!1},Object(xt.default)(et,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:et.getContainer===void 0&&Et?function(){return Et(document.body)}:et.getContainer},oe,{prefixCls:dt,open:Qe,showMask:_t,placement:zt,style:De.getRcDrawerStyle(),className:Ze}),De.renderBody()))})},De}return i()(_e,[{key:"componentDidMount",value:function(){var Ie=this.props.visible;Ie&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(Ie){var st=this.props.visible;Ie.visible!==st&&this.parentDrawer&&(st?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var Ie=this.props,st=Ie.placement,Et=Ie.width,Mt=Ie.height,Pt=Ie.visible,ke=Ie.mask;if(!Pt&&!ke)return{};var zt={};return st==="left"||st==="right"?zt.width=Et:zt.height=Mt,zt}},{key:"renderHeader",value:function(){var Ie=this.props,st=Ie.title,Et=Ie.prefixCls,Mt=Ie.closable,Pt=Ie.headerStyle;if(!st&&!Mt)return null;var ke=st?"".concat(Et,"-header"):"".concat(Et,"-header-no-title");return t.createElement("div",{className:ke,style:Pt},st&&t.createElement("div",{className:"".concat(Et,"-title")},st),Mt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var Ie=this.props,st=Ie.footer,Et=Ie.footerStyle,Mt=Ie.prefixCls;if(!st)return null;var Pt="".concat(Mt,"-footer");return t.createElement("div",{className:Pt,style:Et},st)}},{key:"renderCloseIcon",value:function(){var Ie=this.props,st=Ie.closable,Et=Ie.closeIcon,Mt=Et===void 0?t.createElement(qe.a,null):Et,Pt=Ie.prefixCls,ke=Ie.onClose;return st&&t.createElement("button",{onClick:ke,"aria-label":"Close",className:"".concat(Pt,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},Mt)}},{key:"render",value:function(){return t.createElement(lt.Consumer,null,this.renderProvider)}}]),_e}(t.Component);ht.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:St};var vt=F.a=Object(Fe.c)({prefixCls:"drawer"})(ht)},"/y7N":function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("6GrX"),p=e("7aKB"),A=e("Fofx"),b=e("aX7z"),h=e("+rIm");function i(o){var f=o.get("type"),v=o.getModel(f+"Style"),y;return f==="line"?(y=v.getLineStyle(),y.fill=null):f==="shadow"&&(y=v.getAreaStyle(),y.stroke=null),y}function r(o,f,v,y,L){var S=v.get("value"),x=s(S,f.axis,f.ecModel,v.get("seriesDataIndices"),{precision:v.get("label.precision"),formatter:v.get("label.formatter")}),O=v.getModel("label"),T=p.normalizeCssArray(O.get("padding")||0),w=O.getFont(),C=g.getBoundingRect(x,w),N=L.position,D=C.width+T[1]+T[3],B=C.height+T[0]+T[2],R=L.align;R==="right"&&(N[0]-=D),R==="center"&&(N[0]-=D/2);var U=L.verticalAlign;U==="bottom"&&(N[1]-=B),U==="middle"&&(N[1]-=B/2),a(N,D,B,y);var M=O.get("backgroundColor");(!M||M==="auto")&&(M=f.get("axisLine.lineStyle.color")),o.label={shape:{x:0,y:0,width:D,height:B,r:O.get("borderRadius")},position:N.slice(),style:{text:x,textFont:w,textFill:O.getTextColor(),textPosition:"inside",textPadding:T,fill:M,stroke:O.get("borderColor")||"transparent",lineWidth:O.get("borderWidth")||0,shadowBlur:O.get("shadowBlur"),shadowColor:O.get("shadowColor"),shadowOffsetX:O.get("shadowOffsetX"),shadowOffsetY:O.get("shadowOffsetY")},z2:10}}function a(o,f,v,y){var L=y.getWidth(),S=y.getHeight();o[0]=Math.min(o[0]+f,L)-f,o[1]=Math.min(o[1]+v,S)-v,o[0]=Math.max(o[0],0),o[1]=Math.max(o[1],0)}function s(o,f,v,y,L){o=f.scale.parse(o);var S=f.scale.getLabel(o,{precision:L.precision}),x=L.formatter;if(x){var O={value:b.getAxisRawValue(f,o),axisDimension:f.dim,axisIndex:f.index,seriesData:[]};d.each(y,function(T){var w=v.getSeriesByIndex(T.seriesIndex),C=T.dataIndexInside,N=w&&w.getDataParams(C);N&&O.seriesData.push(N)}),d.isString(x)?S=x.replace("{value}",S):d.isFunction(x)&&(S=x(O))}return S}function l(o,f,v){var y=A.create();return A.rotate(y,y,v.rotation),A.translate(y,y,v.position),E.applyTransform([o.dataToCoord(f),(v.labelOffset||0)+(v.labelDirection||1)*(v.labelMargin||0)],y)}function n(o,f,v,y,L,S){var x=h.innerTextLayout(v.rotation,0,v.labelDirection);v.labelMargin=L.get("label.margin"),r(f,y,L,S,{position:l(y.axis,o,v),align:x.textAlign,verticalAlign:x.textVerticalAlign})}function u(o,f,v){return v=v||0,{x1:o[v],y1:o[1-v],x2:f[v],y2:f[1-v]}}function t(o,f,v){return v=v||0,{x:o[v],y:o[1-v],width:f[v],height:f[1-v]}}function c(o,f,v,y,L,S){return{cx:o,cy:f,r0:v,r:y,startAngle:L,endAngle:S,clockwise:!0}}F.buildElStyle=i,F.buildLabelElOption=r,F.getValueLabel=s,F.getTransformedPosition=l,F.buildCartesianSingleLabelElOption=n,F.makeLineShape=u,F.makeRectShape=t,F.makeSectorShape=c},"/zsF":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("bE4E"),p=e.n(g)},"0/Rx":function(J,F){function e(d){return{seriesType:d,reset:function(E,g){var p=g.findComponents({mainType:"legend"});if(!p||!p.length)return;var A=E.getData();A.filterSelf(function(b){for(var h=A.getName(b),i=0;i<p.length;i++)if(!p[i].isSelected(h))return!1;return!0})}}}J.exports=e},"01d+":function(J,F,e){var d=e("bYtY"),E=d.each,g=e("HF/U"),p=g.simpleLayout,A=g.simpleLayoutEdge;function b(h,i){h.eachSeriesByType("graph",function(r){var a=r.get("layout"),s=r.coordinateSystem;if(s&&s.type!=="view"){var l=r.getData(),n=[];E(s.dimensions,function(v){n=n.concat(l.mapDimension(v,!0))});for(var u=0;u<l.count();u++){for(var t=[],c=!1,o=0;o<n.length;o++){var f=l.get(n[o],u);isNaN(f)||(c=!0),t.push(f)}c?l.setItemLayout(u,s.dataToPoint(t)):l.setItemLayout(u,[NaN,NaN])}A(l.graph)}else(!a||a==="none")&&p(r)})}J.exports=b},"03A+":function(J,F,e){var d=e("JTzB"),E=e("ExA7"),g=Object.prototype,p=g.hasOwnProperty,A=g.propertyIsEnumerable,b=d(function(){return arguments}())?d:function(h){return E(h)&&p.call(h,"callee")&&!A.call(h,"callee")};J.exports=b},"06DH":function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("Kagy"),p=e("IUWy"),A=g.toolbox.magicType,b="__ec_magicType_stack__";function h(l){this.model=l}h.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:E.clone(A.title),option:{},seriesIndex:{}};var i=h.prototype;i.getIcons=function(){var l=this.model,n=l.get("icon"),u={};return E.each(l.get("type"),function(t){n[t]&&(u[t]=n[t])}),u};var r={line:function(l,n,u,t){if(l==="bar")return E.merge({id:n,type:"line",data:u.get("data"),stack:u.get("stack"),markPoint:u.get("markPoint"),markLine:u.get("markLine")},t.get("option.line")||{},!0)},bar:function(l,n,u,t){if(l==="line")return E.merge({id:n,type:"bar",data:u.get("data"),stack:u.get("stack"),markPoint:u.get("markPoint"),markLine:u.get("markLine")},t.get("option.bar")||{},!0)},stack:function(l,n,u,t){var c=u.get("stack")===b;if(l==="line"||l==="bar")return t.setIconStatus("stack",c?"normal":"emphasis"),E.merge({id:n,stack:c?"":b},t.get("option.stack")||{},!0)}},a=[["line","bar"],["stack"]];i.onclick=function(l,n,u){var t=this.model,c=t.get("seriesIndex."+u);if(!r[u])return;var o={series:[]},f=function(L){var S=L.subType,x=L.id,O=r[u](S,x,L,t);O&&(E.defaults(O,L.option),o.series.push(O));var T=L.coordinateSystem;if(T&&T.type==="cartesian2d"&&(u==="line"||u==="bar")){var w=T.getAxesByScale("ordinal")[0];if(w){var C=w.dim,N=C+"Axis",D=l.queryComponents({mainType:N,index:L.get(name+"Index"),id:L.get(name+"Id")})[0],B=D.componentIndex;o[N]=o[N]||[];for(var R=0;R<=B;R++)o[N][B]=o[N][B]||{};o[N][B].boundaryGap=u==="bar"}}};E.each(a,function(L){E.indexOf(L,u)>=0&&E.each(L,function(S){t.setIconStatus(S,"normal")})}),t.setIconStatus(u,"emphasis"),l.eachComponent({mainType:"series",query:c==null?null:{seriesIndex:c}},f);var v;if(u==="stack"){var y=o.series&&o.series[0]&&o.series[0].stack===b;v=y?E.merge({stack:A.title.tiled},A.title):E.clone(A.title)}n.dispatchAction({type:"changeMagicType",currentType:u,newOption:o,newTitle:v,featureName:"magicType"})},d.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(l,n){n.mergeOption(l.newOption)}),p.register("magicType",h);var s=h;J.exports=s},"06Qe":function(J,F,e){var d=e("ItGF"),E="urn:schemas-microsoft-com:vml",g=typeof window=="undefined"?null:window,p=!1,A=g&&g.document;function b(r){return h(r)}var h;if(A&&!d.canvasSupported)try{!A.namespaces.zrvml&&A.namespaces.add("zrvml",E),h=function(a){return A.createElement("<zrvml:"+a+' class="zrvml">')}}catch(r){h=function(s){return A.createElement("<"+s+' xmlns="'+E+'" class="zrvml">')}}function i(){if(p||!A)return;p=!0;var r=A.styleSheets;r.length<31?A.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):r[0].addRule(".zrvml","behavior:url(#default#VML)")}F.doc=A,F.createNode=b,F.initVML=i},"09Wf":function(J,F,e){"use strict";e.d(F,"b",function(){return E}),e.d(F,"a",function(){return g});var d=e("CWQg"),E=Object(d.a)("success","processing","error","default","warning"),g=Object(d.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(J,F,e){var d=e("T4UG"),E=e("I3/A"),g=e("7aKB"),p=g.encodeHTML,A=e("Qxkt"),b=e("Tghj"),h=b.__DEV__,i=d.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(a,s){for(var l=a.edges||a.links,n=a.data||a.nodes,u=a.levels,t=this.levelModels={},c=0;c<u.length;c++)u[c].depth!=null&&u[c].depth>=0&&(t[u[c].depth]=new A(u[c],this,s));if(n&&l){var o=E(n,l,this,!0,f);return o.data}function f(v,y){v.wrapMethod("getItemModel",function(L,S){return L.customizeGetParent(function(x){var O=this.parentModel,T=O.getData().getItemLayout(S).depth,w=O.levelModels[T];return w||this.parentModel}),L}),y.wrapMethod("getItemModel",function(L,S){return L.customizeGetParent(function(x){var O=this.parentModel,T=O.getGraph().getEdgeByIndex(S),w=T.node1.getLayout().depth,C=O.levelModels[w];return C||this.parentModel}),L})}},setNodePosition:function(a,s){var l=this.option.data[a];l.localX=s[0],l.localY=s[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(a,s,l){if(l==="edge"){var n=this.getDataParams(a,l),u=n.data,t=u.source+" -- "+u.target;return n.value&&(t+=" : "+n.value),p(t)}else if(l==="node"){var c=this.getGraph().getNodeByIndex(a),o=c.getLayout().value,f=this.getDataParams(a,l).data.name;if(o)var t=f+" : "+o;return p(t)}return i.superCall(this,"formatTooltip",a,s)},optionUpdated:function(){var a=this.option;a.focusNodeAdjacency===!0&&(a.focusNodeAdjacency="allEdges")},getDataParams:function(a,s){var l=i.superCall(this,"getDataParams",a,s);if(l.value==null&&s==="node"){var n=this.getGraph().getNodeByIndex(a),u=n.getLayout().value;l.value=u}return l},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}}),r=i;J.exports=r},"0Cz8":function(J,F,e){var d=e("Xi7e"),E=e("ebwN"),g=e("e4Nc"),p=200;function A(b,h){var i=this.__data__;if(i instanceof d){var r=i.__data__;if(!E||r.length<p-1)return r.push([b,h]),this.size=++i.size,this;i=this.__data__=new g(r)}return i.set(b,h),this.size=i.size,this}J.exports=A},"0HBW":function(J,F,e){var d=e("ProS"),E=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function g(p,A){A.update="updateView",d.registerAction(A,function(b,h){var i={};return h.eachComponent({mainType:"geo",query:b},function(r){r[p](b.name);var a=r.coordinateSystem;E.each(a.regions,function(s){i[s.name]=r.isSelected(s.name)||!1})}),{selected:i,name:b.name}})}g("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),g("select",{type:"geoSelect",event:"geoselected"}),g("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(J,F,e){var d=e("bYtY"),E=e("+TT/"),g=e("OELB"),p=e("IDmD"),A=864e5;function b(r,a,s){this._model=r}b.prototype={constructor:b,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(r){r=g.parseDate(r);var a=r.getFullYear(),s=r.getMonth()+1;s=s<10?"0"+s:s;var l=r.getDate();l=l<10?"0"+l:l;var n=r.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:a,m:s,d:l,day:n,time:r.getTime(),formatedDate:a+"-"+s+"-"+l,date:r}},getNextNDay:function(r,a){return a=a||0,a===0?this.getDateInfo(r):(r=new Date(this.getDateInfo(r).time),r.setDate(r.getDate()+a),this.getDateInfo(r))},update:function(r,a){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 s=this._rangeInfo.weeks||1,l=["width","height"],n=this._model.get("cellSize").slice(),u=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[s,7]:[7,s];d.each([0,1],function(v){f(n,v)&&(u[l[v]]=n[v]*t[v])});var c={width:a.getWidth(),height:a.getHeight()},o=this._rect=E.getLayoutRect(u,c);d.each([0,1],function(v){f(n,v)||(n[v]=o[l[v]]/t[v])});function f(v,y){return v[y]!=null&&v[y]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(r,a){d.isArray(r)&&(r=r[0]),a==null&&(a=!0);var s=this.getDateInfo(r),l=this._rangeInfo,n=s.formatedDate;if(a&&!(s.time>=l.start.time&&s.time<l.end.time+A))return[NaN,NaN];var u=s.day,t=this._getRangeInfo([l.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+u*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+u*this._sh+this._sh/2]},pointToData:function(r){var a=this.pointToDate(r);return a&&a.time},dataToRect:function(r,a){var s=this.dataToPoint(r,a);return{contentShape:{x:s[0]-(this._sw-this._lineWidth)/2,y:s[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:s,tl:[s[0]-this._sw/2,s[1]-this._sh/2],tr:[s[0]+this._sw/2,s[1]-this._sh/2],br:[s[0]+this._sw/2,s[1]+this._sh/2],bl:[s[0]-this._sw/2,s[1]+this._sh/2]}},pointToDate:function(r){var a=Math.floor((r[0]-this._rect.x)/this._sw)+1,s=Math.floor((r[1]-this._rect.y)/this._sh)+1,l=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(s,a-1,l):this._getDateByWeeksAndDay(a,s-1,l)},convertToPixel:d.curry(h,"dataToPoint"),convertFromPixel:d.curry(h,"pointToData"),_initRangeOption:function(){var r=this._model.get("range"),a=r;if(d.isArray(a)&&a.length===1&&(a=a[0]),/^\d{4}$/.test(a)&&(r=[a+"-01-01",a+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(a)){var s=this.getDateInfo(a),l=s.date;l.setMonth(l.getMonth()+1);var n=this.getNextNDay(l,-1);r=[s.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(a)&&(r=[a,a]);var u=this._getRangeInfo(r);return u.start.time>u.end.time&&r.reverse(),r},_getRangeInfo:function(r){r=[this.getDateInfo(r[0]),this.getDateInfo(r[1])];var a;r[0].time>r[1].time&&(a=!0,r.reverse());var s=Math.floor(r[1].time/A)-Math.floor(r[0].time/A)+1,l=new Date(r[0].time),n=l.getDate(),u=r[1].date.getDate();l.setDate(n+s-1);var t=l.getDate();if(t!==u)for(var c=l.getTime()-r[1].time>0?1:-1;(t=l.getDate())!==u&&(l.getTime()-r[1].time)*c>0;)s-=c,l.setDate(t-c);var o=Math.floor((s+r[0].day+6)/7),f=a?-o+1:o-1;return a&&r.reverse(),{range:[r[0].formatedDate,r[1].formatedDate],start:r[0],end:r[1],allDay:s,weeks:o,nthWeek:f,fweek:r[0].day,lweek:r[1].day}},_getDateByWeeksAndDay:function(r,a,s){var l=this._getRangeInfo(s);if(r>l.weeks||r===0&&a<l.fweek||r===l.weeks&&a>l.lweek)return!1;var n=(r-1)*7-l.fweek+a,u=new Date(l.start.time);return u.setDate(l.start.d+n),this.getDateInfo(u)}},b.dimensions=b.prototype.dimensions,b.getDimensionsInfo=b.prototype.getDimensionsInfo,b.create=function(r,a){var s=[];return r.eachComponent("calendar",function(l){var n=new b(l,r,a);s.push(n),l.coordinateSystem=n}),r.eachSeries(function(l){l.get("coordinateSystem")==="calendar"&&(l.coordinateSystem=s[l.get("calendarIndex")||0])}),s};function h(r,a,s,l){var n=s.calendarModel,u=s.seriesModel,t=n?n.coordinateSystem:u?u.coordinateSystem:null;return t===this?t[r](l):null}p.register("calendar",b);var i=b;J.exports=i},"0JQy":function(J,F){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",E="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",p=d+E+g,A="\\ufe0e\\ufe0f",b="["+e+"]",h="["+p+"]",i="\\ud83c[\\udffb-\\udfff]",r="(?:"+h+"|"+i+")",a="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",u=r+"?",t="["+A+"]?",c="(?:"+n+"(?:"+[a,s,l].join("|")+")"+t+u+")*",o=t+u+c,f="(?:"+[a+h+"?",h,s,l,b].join("|")+")",v=RegExp(i+"(?="+i+")|"+f+o,"g");function y(L){return L.match(v)||[]}J.exports=y},"0NbB":function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="CaretDownOutlined";var b=F.a=d.forwardRef(A)},"0V0F":function(J,F,e){var d=e("bYtY"),E=d.createHashMap,g=d.each;function p(b){var h=E();b.eachSeries(function(i){var r=i.get("stack");if(r){var a=h.get(r)||h.set(r,[]),s=i.getData(),l={stackResultDimension:s.getCalculationInfo("stackResultDimension"),stackedOverDimension:s.getCalculationInfo("stackedOverDimension"),stackedDimension:s.getCalculationInfo("stackedDimension"),stackedByDimension:s.getCalculationInfo("stackedByDimension"),isStackedByIndex:s.getCalculationInfo("isStackedByIndex"),data:s,seriesModel:i};if(!l.stackedDimension||!(l.isStackedByIndex||l.stackedByDimension))return;a.length&&s.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(l)}}),h.each(A)}function A(b){g(b,function(h,i){var r=[],a=[NaN,NaN],s=[h.stackResultDimension,h.stackedOverDimension],l=h.data,n=h.isStackedByIndex,u=l.map(s,function(t,c,o){var f=l.get(h.stackedDimension,o);if(isNaN(f))return a;var v,y;n?y=l.getRawIndex(o):v=l.get(h.stackedByDimension,o);for(var L=NaN,S=i-1;S>=0;S--){var x=b[S];if(n||(y=x.data.rawIndexOf(x.stackedByDimension,v)),y>=0){var O=x.data.getByRawIndex(x.stackResultDimension,y);if(f>=0&&O>0||f<=0&&O<0){f+=O,L=O;break}}}return r[0]=f,r[1]=L,r});l.hostModel.setData(u),h.data=u})}J.exports=p},"0XgM":function(J,F,e){},"0fbx":function(J,F,e){},"0o9m":function(J,F,e){var d=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var E=e("kDyi"),g=e("bLfw");d.registerProcessor(d.PRIORITY.PROCESSOR.SERIES_FILTER,E),g.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(J,F,e){var d=e("ProS");d.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),d.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(J,F){var e=arguments[3],d=arguments[4],E=arguments[5],g=JSON.stringify;J.exports=function(p,A){for(var b,h=Object.keys(E),i=0,r=h.length;i<r;i++){var a=h[i],s=E[a].exports;if(s===p||s&&s.default===p){b=a;break}}if(!b){b=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var l={},i=0,r=h.length;i<r;i++){var a=h[i];l[a]=a}d[b]=["function(require,module,exports){"+p+"(self); }",l]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),u={};u[b]=b,d[n]=["function(require,module,exports){var f = require("+g(b)+");(f.default ? f.default : f)(self);}",u];var t={};c(n);function c(S){t[S]=!0;for(var x in d[S][1]){var O=d[S][1][x];t[O]||c(O)}}var o="("+e+")({"+Object.keys(t).map(function(S){return g(S)+":["+d[S][0]+","+g(d[S][1])+"]"}).join(",")+"},{},["+g(n)+"])",f=window.URL||window.webkitURL||window.mozURL||window.msURL,v=new Blob([o],{type:"text/javascript"});if(A&&A.bare)return v;var y=f.createObjectURL(v),L=new Worker(y);return L.objectURL=y,L}},"0s+r":function(J,F,e){var d=e("bYtY"),E=e("QBsz"),g=e("y23F"),p=e("H6uX"),A=e("YH21"),b=e("C0SR"),h="silent";function i(c,o,f){return{type:c,event:f,target:o.target,topTarget:o.topTarget,cancelBubble:!1,offsetX:f.zrX,offsetY:f.zrY,gestureEvent:f.gestureEvent,pinchX:f.pinchX,pinchY:f.pinchY,pinchScale:f.pinchScale,wheelDelta:f.zrDelta,zrByTouch:f.zrByTouch,which:f.which,stop:r}}function r(){A.stop(this.event)}function a(){}a.prototype.dispose=function(){};var s=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],l=function(o,f,v,y){p.call(this),this.storage=o,this.painter=f,this.painterRoot=y,v=v||new a,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,g.call(this),this.setHandlerProxy(v)};l.prototype={constructor:l,setHandlerProxy:function(o){this.proxy&&this.proxy.dispose(),o&&(d.each(s,function(f){o.on&&o.on(f,this[f],this)},this),o.handler=this),this.proxy=o},mousemove:function(o){var f=o.zrX,v=o.zrY,y=u(this,f,v),L=this._hovered,S=L.target;S&&!S.__zr&&(L=this.findHover(L.x,L.y),S=L.target);var x=this._hovered=y?{x:f,y:v}:this.findHover(f,v),O=x.target,T=this.proxy;T.setCursor&&T.setCursor(O?O.cursor:"default"),S&&O!==S&&this.dispatchToElement(L,"mouseout",o),this.dispatchToElement(x,"mousemove",o),O&&O!==S&&this.dispatchToElement(x,"mouseover",o)},mouseout:function(o){var f=o.zrEventControl,v=o.zrIsToLocalDOM;f!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",o),f!=="no_globalout"&&(!v&&this.trigger("globalout",{type:"globalout",event:o}))},resize:function(o){this._hovered={}},dispatch:function(o,f){var v=this[o];v&&v.call(this,f)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(o){var f=this.proxy;f.setCursor&&f.setCursor(o)},dispatchToElement:function(o,f,v){o=o||{};var y=o.target;if(y&&y.silent)return;for(var L="on"+f,S=i(f,o,v);y&&!(y[L]&&(S.cancelBubble=y[L].call(y,S)),y.trigger(f,S),y=y.parent,S.cancelBubble););S.cancelBubble||(this.trigger(f,S),this.painter&&this.painter.eachOtherLayer(function(x){typeof x[L]=="function"&&x[L].call(x,S),x.trigger&&x.trigger(f,S)}))},findHover:function(o,f,v){for(var y=this.storage.getDisplayList(),L={x:o,y:f},S=y.length-1;S>=0;S--){var x;if(y[S]!==v&&!y[S].ignore&&(x=n(y[S],o,f))&&(!L.topTarget&&(L.topTarget=y[S]),x!==h)){L.target=y[S];break}}return L},processGesture:function(o,f){this._gestureMgr||(this._gestureMgr=new b);var v=this._gestureMgr;f==="start"&&v.clear();var y=v.recognize(o,this.findHover(o.zrX,o.zrY,null).target,this.proxy.dom);if(f==="end"&&v.clear(),y){var L=y.type;o.gestureEvent=L,this.dispatchToElement({target:y.target},L,y.event)}}},d.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(c){l.prototype[c]=function(o){var f=o.zrX,v=o.zrY,y=u(this,f,v),L,S;if((c!=="mouseup"||!y)&&(L=this.findHover(f,v),S=L.target),c==="mousedown")this._downEl=S,this._downPoint=[o.zrX,o.zrY],this._upEl=S;else if(c==="mouseup")this._upEl=S;else if(c==="click"){if(this._downEl!==this._upEl||!this._downPoint||E.dist(this._downPoint,[o.zrX,o.zrY])>4)return;this._downPoint=null}this.dispatchToElement(L,c,o)}});function n(c,o,f){if(c[c.rectHover?"rectContain":"contain"](o,f)){for(var v=c,y;v;){if(v.clipPath&&!v.clipPath.contain(o,f))return!1;v.silent&&(y=!0),v=v.parent}return y?h:!0}return!1}function u(c,o,f){var v=c.painter;return o<0||o>v.getWidth()||f<0||f>v.getHeight()}d.mixin(l,p),d.mixin(l,g);var t=l;J.exports=t},"0ycA":function(J,F){function e(){return[]}J.exports=e},"10cm":function(J,F,e){var d=e("ProS"),E=e("2B6p"),g=E.updateCenterAndZoom;e("0qV/");var p={type:"graphRoam",event:"graphRoam",update:"none"};d.registerAction(p,function(A,b){b.eachComponent({mainType:"series",query:A},function(h){var i=h.coordinateSystem,r=g(i,A);h.setCenter&&h.setCenter(r.center),h.setZoom&&h.setZoom(r.zoom)})})},"14J3":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("1GLa")},"15/o":function(J,F,e){},"19Vz":function(J,F,e){(function(d){d(e("VrN/"))})(function(d){d.defineOption("placeholder","",function(i,r,a){var s=a&&a!=d.Init;if(r&&!s)i.on("blur",A),i.on("change",b),i.on("swapDoc",b),d.on(i.getInputField(),"compositionupdate",i.state.placeholderCompose=function(){p(i)}),b(i);else if(!r&&s){i.off("blur",A),i.off("change",b),i.off("swapDoc",b),d.off(i.getInputField(),"compositionupdate",i.state.placeholderCompose),E(i);var l=i.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}r&&!i.hasFocus()&&A(i)});function E(i){i.state.placeholder&&(i.state.placeholder.parentNode.removeChild(i.state.placeholder),i.state.placeholder=null)}function g(i){E(i);var r=i.state.placeholder=document.createElement("pre");r.style.cssText="height: 0; overflow: visible",r.style.direction=i.getOption("direction"),r.className="CodeMirror-placeholder CodeMirror-line-like";var a=i.getOption("placeholder");typeof a=="string"&&(a=document.createTextNode(a)),r.appendChild(a),i.display.lineSpace.insertBefore(r,i.display.lineSpace.firstChild)}function p(i){setTimeout(function(){var r=!1,a=i.getInputField();a.nodeName=="TEXTAREA"?r=!a.value:i.lineCount()==1&&(r=!/[^\u200b]/.test(a.querySelector(".CodeMirror-line").textContent)),r?g(i):E(i)},20)}function A(i){h(i)&&g(i)}function b(i){var r=i.getWrapperElement(),a=h(i);r.className=r.className.replace(" CodeMirror-empty","")+(a?" CodeMirror-empty":""),a?g(i):E(i)}function h(i){return i.lineCount()===1&&i.getLine(0)===""}})},"1GLa":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("FIfw"),p=e.n(g)},"1Jh7":function(J,F,e){var d=e("y+Vt"),E=e("T6xi"),g=d.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(A,b){E.buildPath(A,b,!1)}});J.exports=g},"1LEl":function(J,F,e){var d=e("ProS"),E=e("F9bG"),g=d.extendComponentView({type:"axisPointer",render:function(A,b,h){var i=b.getComponent("tooltip"),r=A.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";E.register("axisPointer",h,function(a,s,l){r!=="none"&&(a==="leave"||r.indexOf(a)>=0)&&l({type:"updateAxisPointer",currTrigger:a,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(A,b){E.unregister(b.getZr(),"axisPointer"),g.superApply(this._model,"remove",arguments)},dispose:function(A,b){E.unregister("axisPointer",b),g.superApply(this._model,"dispose",arguments)}}),p=g;J.exports=p},"1MYJ":function(J,F,e){var d=e("y+Vt"),E=d.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var p=this.__dirtyPath,A=this.shape.paths,b=0;b<A.length;b++)p=p||A[b].__dirtyPath;this.__dirtyPath=p,this.__dirty=this.__dirty||p},beforeBrush:function(){this._updatePathDirty();for(var p=this.shape.paths||[],A=this.getGlobalScale(),b=0;b<p.length;b++)p[b].path||p[b].createPathProxy(),p[b].path.setScale(A[0],A[1],p[b].segmentIgnoreThreshold)},buildPath:function(p,A){for(var b=A.paths||[],h=0;h<b.length;h++)b[h].buildPath(p,b[h].shape,!0)},afterBrush:function(){for(var p=this.shape.paths||[],A=0;A<p.length;A++)p[A].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),d.prototype.getBoundingRect.call(this)}});J.exports=E},"1NG9":function(J,F,e){var d=e("y+Vt"),E=e("QBsz"),g=e("iXp4"),p=E.min,A=E.max,b=E.scaleAndAdd,h=E.copy,i=[],r=[],a=[];function s(f){return isNaN(f[0])||isNaN(f[1])}function l(f,v,y,L,S,x,O,T,w,C,N){return C==="none"||!C?u.apply(this,arguments):n.apply(this,arguments)}function n(f,v,y,L,S,x,O,T,w,C,N){for(var D=0,B=y,R=0;R<L;R++){var U=v[B];if(B>=S||B<0)break;if(s(U)){if(N){B+=x;continue}break}if(B===y)f[x>0?"moveTo":"lineTo"](U[0],U[1]);else if(w>0){var M=v[D],j=C==="y"?1:0,P=(U[j]-M[j])*w;h(r,M),r[j]=M[j]+P,h(a,U),a[j]=U[j]-P,f.bezierCurveTo(r[0],r[1],a[0],a[1],U[0],U[1])}else f.lineTo(U[0],U[1]);D=B,B+=x}return R}function u(f,v,y,L,S,x,O,T,w,C,N){for(var D=0,B=y,R=0;R<L;R++){var U=v[B];if(B>=S||B<0)break;if(s(U)){if(N){B+=x;continue}break}if(B===y)f[x>0?"moveTo":"lineTo"](U[0],U[1]),h(r,U);else if(w>0){var M=B+x,j=v[M];if(N)for(;j&&s(v[M]);)M+=x,j=v[M];var P=.5,K=v[D],j=v[M];if(!j||s(j))h(a,U);else{s(j)&&!N&&(j=U),E.sub(i,j,K);var H,k;if(C==="x"||C==="y"){var Z=C==="x"?0:1;H=Math.abs(U[Z]-K[Z]),k=Math.abs(U[Z]-j[Z])}else H=E.dist(U,K),k=E.dist(U,j);P=k/(k+H),b(a,U,i,-w*(1-P))}p(r,r,T),A(r,r,O),p(a,a,T),A(a,a,O),f.bezierCurveTo(r[0],r[1],a[0],a[1],U[0],U[1]),b(r,U,i,w*P)}else f.lineTo(U[0],U[1]);D=B,B+=x}return R}function t(f,v){var y=[Infinity,Infinity],L=[-Infinity,-Infinity];if(v)for(var S=0;S<f.length;S++){var x=f[S];x[0]<y[0]&&(y[0]=x[0]),x[1]<y[1]&&(y[1]=x[1]),x[0]>L[0]&&(L[0]=x[0]),x[1]>L[1]&&(L[1]=x[1])}return{min:v?y:L,max:v?L:y}}var c=d.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:g(d.prototype.brush),buildPath:function(f,v){var y=v.points,L=0,S=y.length,x=t(y,v.smoothConstraint);if(v.connectNulls){for(;S>0&&s(y[S-1]);S--);for(;L<S&&s(y[L]);L++);}for(;L<S;)L+=l(f,y,L,S,S,1,x.min,x.max,v.smooth,v.smoothMonotone,v.connectNulls)+1}}),o=d.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:g(d.prototype.brush),buildPath:function(f,v){var y=v.points,L=v.stackedOnPoints,S=0,x=y.length,O=v.smoothMonotone,T=t(y,v.smoothConstraint),w=t(L,v.smoothConstraint);if(v.connectNulls){for(;x>0&&s(y[x-1]);x--);for(;S<x&&s(y[S]);S++);}for(;S<x;){var C=l(f,y,S,x,x,1,T.min,T.max,v.smooth,O,v.connectNulls);l(f,L,S+C-1,C,x,-1,w.min,w.max,v.stackedOnSmooth,O,v.connectNulls),S+=C+1,f.closePath()}}});F.Polyline=c,F.Polygon=o},"1RvN":function(J,F){var e=function(){this.head=null,this.tail=null,this._len=0},d=e.prototype;d.insert=function(b){var h=new E(b);return this.insertEntry(h),h},d.insertEntry=function(b){this.head?(this.tail.next=b,b.prev=this.tail,b.next=null,this.tail=b):this.head=this.tail=b,this._len++},d.remove=function(b){var h=b.prev,i=b.next;h?h.next=i:this.head=i,i?i.prev=h:this.tail=h,b.next=b.prev=null,this._len--},d.len=function(){return this._len},d.clear=function(){this.head=this.tail=null,this._len=0};var E=function(h){this.value=h,this.next,this.prev},g=function(h){this._list=new e,this._map={},this._maxSize=h||10,this._lastRemovedEntry=null},p=g.prototype;p.put=function(b,h){var i=this._list,r=this._map,a=null;if(r[b]==null){var s=i.len(),l=this._lastRemovedEntry;if(s>=this._maxSize&&s>0){var n=i.head;i.remove(n),delete r[n.key],a=n.value,this._lastRemovedEntry=n}l?l.value=h:l=new E(h),l.key=b,i.insertEntry(l),r[b]=l}return a},p.get=function(b){var h=this._map[b],i=this._list;if(h!=null)return h!==i.tail&&(i.remove(h),i.insertEntry(h)),h.value},p.clear=function(){this._list.clear(),this._map={}};var A=g;J.exports=A},"1bdT":function(J,F,e){var d=e("3gBT"),E=e("H6uX"),g=e("DN4a"),p=e("vWvF"),A=e("bYtY"),b=function(r){g.call(this,r),E.call(this,r),p.call(this,r),this.id=r.id||d()};b.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(r,a){switch(this.draggable){case"horizontal":a=0;break;case"vertical":r=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=r,s[5]+=a,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(r,a){},attrKV:function(r,a){if(r==="position"||r==="scale"||r==="origin"){if(a){var s=this[r];s||(s=this[r]=[]),s[0]=a[0],s[1]=a[1]}}else this[r]=a},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(r,a){if(typeof r=="string")this.attrKV(r,a);else if(A.isObject(r))for(var s in r)r.hasOwnProperty(s)&&this.attrKV(s,r[s]);return this.dirty(!1),this},setClipPath:function(r){var a=this.__zr;a&&r.addSelfToZr(a),this.clipPath&&this.clipPath!==r&&this.removeClipPath(),this.clipPath=r,r.__zr=a,r.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var r=this.clipPath;r&&(r.__zr&&r.removeSelfFromZr(r.__zr),r.__zr=null,r.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(r){this.__zr=r;var a=this.animators;if(a)for(var s=0;s<a.length;s++)r.animation.addAnimator(a[s]);this.clipPath&&this.clipPath.addSelfToZr(r)},removeSelfFromZr:function(r){this.__zr=null;var a=this.animators;if(a)for(var s=0;s<a.length;s++)r.animation.removeAnimator(a[s]);this.clipPath&&this.clipPath.removeSelfFromZr(r)}},A.mixin(b,p),A.mixin(b,g),A.mixin(b,E);var h=b;J.exports=h},"1eCo":function(J,F,e){(function(d){d(e("VrN/"))})(function(d){"use strict";var E={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},g={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};d.defineMode("xml",function(p,A){var b=p.indentUnit,h={},i=A.htmlMode?E:g;for(var r in i)h[r]=i[r];for(var r in A)h[r]=A[r];var a,s;function l(D,B){function R(j){return B.tokenize=j,j(D,B)}var U=D.next();if(U=="<")return D.eat("!")?D.eat("[")?D.match("CDATA[")?R(t("atom","]]>")):null:D.match("--")?R(t("comment","-->")):D.match("DOCTYPE",!0,!0)?(D.eatWhile(/[\w\._\-]/),R(c(1))):null:D.eat("?")?(D.eatWhile(/[\w\._\-]/),B.tokenize=t("meta","?>"),"meta"):(a=D.eat("/")?"closeTag":"openTag",B.tokenize=n,"tag bracket");if(U=="&"){var M;return D.eat("#")?D.eat("x")?M=D.eatWhile(/[a-fA-F\d]/)&&D.eat(";"):M=D.eatWhile(/[\d]/)&&D.eat(";"):M=D.eatWhile(/[\w\.\-:]/)&&D.eat(";"),M?"atom":"error"}else return D.eatWhile(/[^&<]/),null}l.isInText=!0;function n(D,B){var R=D.next();if(R==">"||R=="/"&&D.eat(">"))return B.tokenize=l,a=R==">"?"endTag":"selfcloseTag","tag bracket";if(R=="=")return a="equals",null;if(R=="<"){B.tokenize=l,B.state=y,B.tagName=B.tagStart=null;var U=B.tokenize(D,B);return U?U+" tag error":"tag error"}else return/[\'\"]/.test(R)?(B.tokenize=u(R),B.stringStartCol=D.column(),B.tokenize(D,B)):(D.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function u(D){var B=function(U,M){for(;!U.eol();)if(U.next()==D){M.tokenize=n;break}return"string"};return B.isInAttribute=!0,B}function t(D,B){return function(R,U){for(;!R.eol();){if(R.match(B)){U.tokenize=l;break}R.next()}return D}}function c(D){return function(B,R){for(var U;(U=B.next())!=null;){if(U=="<")return R.tokenize=c(D+1),R.tokenize(B,R);if(U==">")if(D==1){R.tokenize=l;break}else return R.tokenize=c(D-1),R.tokenize(B,R)}return"meta"}}function o(D,B,R){this.prev=D.context,this.tagName=B,this.indent=D.indented,this.startOfLine=R,(h.doNotIndent.hasOwnProperty(B)||D.context&&D.context.noIndent)&&(this.noIndent=!0)}function f(D){D.context&&(D.context=D.context.prev)}function v(D,B){for(var R;;){if(!D.context)return;if(R=D.context.tagName,!h.contextGrabbers.hasOwnProperty(R)||!h.contextGrabbers[R].hasOwnProperty(B))return;f(D)}}function y(D,B,R){return D=="openTag"?(R.tagStart=B.column(),L):D=="closeTag"?S:y}function L(D,B,R){return D=="word"?(R.tagName=B.current(),s="tag",T):h.allowMissingTagName&&D=="endTag"?(s="tag bracket",T(D,B,R)):(s="error",L)}function S(D,B,R){if(D=="word"){var U=B.current();return R.context&&R.context.tagName!=U&&h.implicitlyClosed.hasOwnProperty(R.context.tagName)&&f(R),R.context&&R.context.tagName==U||h.matchClosing===!1?(s="tag",x):(s="tag error",O)}else return h.allowMissingTagName&&D=="endTag"?(s="tag bracket",x(D,B,R)):(s="error",O)}function x(D,B,R){return D!="endTag"?(s="error",x):(f(R),y)}function O(D,B,R){return s="error",x(D,B,R)}function T(D,B,R){if(D=="word")return s="attribute",w;if(D=="endTag"||D=="selfcloseTag"){var U=R.tagName,M=R.tagStart;return R.tagName=R.tagStart=null,D=="selfcloseTag"||h.autoSelfClosers.hasOwnProperty(U)?v(R,U):(v(R,U),R.context=new o(R,U,M==R.indented)),y}return s="error",T}function w(D,B,R){return D=="equals"?C:(h.allowMissing||(s="error"),T(D,B,R))}function C(D,B,R){return D=="string"?N:D=="word"&&h.allowUnquoted?(s="string",T):(s="error",T(D,B,R))}function N(D,B,R){return D=="string"?N:T(D,B,R)}return{startState:function(B){var R={tokenize:l,state:y,indented:B||0,tagName:null,tagStart:null,context:null};return B!=null&&(R.baseIndent=B),R},token:function(B,R){if(!R.tagName&&B.sol()&&(R.indented=B.indentation()),B.eatSpace())return null;a=null;var U=R.tokenize(B,R);return(U||a)&&U!="comment"&&(s=null,R.state=R.state(a||U,B,R),s&&(U=s=="error"?U+" error":s)),U},indent:function(B,R,U){var M=B.context;if(B.tokenize.isInAttribute)return B.tagStart==B.indented?B.stringStartCol+1:B.indented+b;if(M&&M.noIndent)return d.Pass;if(B.tokenize!=n&&B.tokenize!=l)return U?U.match(/^(\s*)/)[0].length:0;if(B.tagName)return h.multilineTagIndentPastTag!==!1?B.tagStart+B.tagName.length+2:B.tagStart+b*(h.multilineTagIndentFactor||1);if(h.alignCDATA&&/<!\[CDATA\[/.test(R))return 0;var j=R&&/^<(\/)?([\w_:\.-]*)/.exec(R);if(j&&j[1])for(;M;)if(M.tagName==j[2]){M=M.prev;break}else if(h.implicitlyClosed.hasOwnProperty(M.tagName))M=M.prev;else break;else if(j)for(;M;){var P=h.contextGrabbers[M.tagName];if(P&&P.hasOwnProperty(j[2]))M=M.prev;else break}for(;M&&M.prev&&!M.startOfLine;)M=M.prev;return M?M.indent+b:B.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:h.htmlMode?"html":"xml",helperType:h.htmlMode?"html":"xml",skipAttribute:function(B){B.state==C&&(B.state=T)},xmlCurrentTag:function(B){return B.tagName?{name:B.tagName,close:B.type=="closeTag"}:null},xmlCurrentContext:function(B){for(var R=[],U=B.context;U;U=U.prev)U.tagName&&R.push(U.tagName);return R.reverse()}}}),d.defineMIME("text/xml","xml"),d.defineMIME("application/xml","xml"),d.mimeModes.hasOwnProperty("text/html")||d.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1hJj":function(J,F,e){var d=e("e4Nc"),E=e("ftKO"),g=e("3A9y");function p(A){var b=-1,h=A==null?0:A.length;for(this.__data__=new d;++b<h;)this.add(A[b])}p.prototype.add=p.prototype.push=E,p.prototype.has=g,J.exports=p},"1j5w":function(J,F,e){"use strict";e.d(F,"e",function(){return Ve}),e.d(F,"b",function(){return se}),e.d(F,"d",function(){return se}),e.d(F,"c",function(){return ye}),e.d(F,"a",function(){return Oe});var d=e("VTBJ"),E=e("1OyB"),g=e("vuIU"),p=e("JX7q"),A=e("Ji7U"),b=e("LK+K"),h=e("q1tI"),i=function(){var xe=function(ut,wt){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,ie){ee.__proto__=ie}||function(ee,ie){for(var z in ie)ie.hasOwnProperty(z)&&(ee[z]=ie[z])},xe(ut,wt)};return function(je,ut){xe(je,ut);function wt(){this.constructor=je}je.prototype=ut===null?Object.create(ut):(wt.prototype=ut.prototype,new wt)}}(),r=h.createContext(null),a=function(xe){i(je,xe);function je(){return xe!==null&&xe.apply(this,arguments)||this}return je.prototype.render=function(){return h.createElement(r.Provider,{value:this.props.store},this.props.children)},je}(h.Component),s=e("Gytx"),l=e.n(s),n=e("2mql"),u=e.n(n),t=function(){var xe=function(ut,wt){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,ie){ee.__proto__=ie}||function(ee,ie){for(var z in ie)ie.hasOwnProperty(z)&&(ee[z]=ie[z])},xe(ut,wt)};return function(je,ut){xe(je,ut);function wt(){this.constructor=je}je.prototype=ut===null?Object.create(ut):(wt.prototype=ut.prototype,new wt)}}(),c=function(){return c=Object.assign||function(xe){for(var je,ut=1,wt=arguments.length;ut<wt;ut++){je=arguments[ut];for(var ee in je)Object.prototype.hasOwnProperty.call(je,ee)&&(xe[ee]=je[ee])}return xe},c.apply(this,arguments)};function o(xe){return xe.displayName||xe.name||"Component"}var f=function(){return{}};function v(xe,je){je===void 0&&(je={});var ut=!!xe,wt=xe||f;return function(ie){var z=function(le){t(ge,le);function ge(Ae,Me){var $e=le.call(this,Ae,Me)||this;return $e.unsubscribe=null,$e.handleChange=function(){if(!$e.unsubscribe)return;var kt=wt($e.store.getState(),$e.props);$e.setState({subscribed:kt})},$e.store=$e.context,$e.state={subscribed:wt($e.store.getState(),Ae),store:$e.store,props:Ae},$e}return ge.getDerivedStateFromProps=function(Ae,Me){return xe&&xe.length===2&&Ae!==Me.props?{subscribed:wt(Me.store.getState(),Ae),props:Ae}:{props:Ae}},ge.prototype.componentDidMount=function(){this.trySubscribe()},ge.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},ge.prototype.shouldComponentUpdate=function(Ae,Me){return!l()(this.props,Ae)||!l()(this.state.subscribed,Me.subscribed)},ge.prototype.trySubscribe=function(){ut&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},ge.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},ge.prototype.render=function(){var Ae=c(c(c({},this.props),this.state.subscribed),{store:this.store});return h.createElement(ie,c({},Ae,{ref:this.props.miniStoreForwardedRef}))},ge.displayName="Connect("+o(ie)+")",ge.contextType=r,ge}(h.Component);if(je.forwardRef){var $=h.forwardRef(function(le,ge){return h.createElement(z,c({},le,{miniStoreForwardedRef:ge}))});return u()($,ie)}return u()(z,ie)}}var y=function(){return y=Object.assign||function(xe){for(var je,ut=1,wt=arguments.length;ut<wt;ut++){je=arguments[ut];for(var ee in je)Object.prototype.hasOwnProperty.call(je,ee)&&(xe[ee]=je[ee])}return xe},y.apply(this,arguments)};function L(xe){var je=xe,ut=[];function wt(z){je=y(y({},je),z);for(var $=0;$<ut.length;$++)ut[$]()}function ee(){return je}function ie(z){return ut.push(z),function(){var le=ut.indexOf(z);ut.splice(le,1)}}return{setState:wt,getState:ee,subscribe:ie}}var S=e("BGR+"),x=e("wx14"),O=e("rePB"),T=e("4IlW"),w=e("2GS6"),C=e("TSYQ"),N=e.n(C),D=e("U8pU"),B=e("ODXe"),R=/iPhone/i,U=/iPod/i,M=/iPad/i,j=/\bAndroid(?:.+)Mobile\b/i,P=/Android/i,K=/\bAndroid(?:.+)SD4930UR\b/i,H=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,k=/Windows Phone/i,Z=/\bWindows(?:.+)ARM\b/i,Y=/BlackBerry/i,_=/BB10/i,Q=/Opera Mini/i,X=/\b(CriOS|Chrome)(?:.+)Mobile/i,he=/Mobile(?:.+)Firefox\b/i;function te(xe,je){return xe.test(je)}function fe(xe){var je=xe||(typeof navigator!="undefined"?navigator.userAgent:""),ut=je.split("[FBAN");if(typeof ut[1]!="undefined"){var wt=ut,ee=Object(B.a)(wt,1);je=ee[0]}if(ut=je.split("Twitter"),typeof ut[1]!="undefined"){var ie=ut,z=Object(B.a)(ie,1);je=z[0]}var $={apple:{phone:te(R,je)&&!te(k,je),ipod:te(U,je),tablet:!te(R,je)&&te(M,je)&&!te(k,je),device:(te(R,je)||te(U,je)||te(M,je))&&!te(k,je)},amazon:{phone:te(K,je),tablet:!te(K,je)&&te(H,je),device:te(K,je)||te(H,je)},android:{phone:!te(k,je)&&te(K,je)||!te(k,je)&&te(j,je),tablet:!te(k,je)&&!te(K,je)&&!te(j,je)&&(te(H,je)||te(P,je)),device:!te(k,je)&&(te(K,je)||te(H,je)||te(j,je)||te(P,je))||te(/\bokhttp\b/i,je)},windows:{phone:te(k,je),tablet:te(Z,je),device:te(k,je)||te(Z,je)},other:{blackberry:te(Y,je),blackberry10:te(_,je),opera:te(Q,je),firefox:te(he,je),chrome:te(X,je),device:te(Y,je)||te(_,je)||te(Q,je)||te(he,je)||te(X,je)},any:null,phone:null,tablet:null};return $.any=$.apple.device||$.android.device||$.windows.device||$.other.device,$.phone=$.apple.phone||$.android.phone||$.windows.phone,$.tablet=$.apple.tablet||$.android.tablet||$.windows.tablet,$}var be=Object(d.a)(Object(d.a)({},fe()),{},{isMobile:fe}),we=be;function Ke(){}function qe(xe,je,ut){var wt=je||"";return xe.key||"".concat(wt,"item_").concat(ut)}function xt(xe){return"".concat(xe,"-menu-")}function Fe(xe,je){var ut=-1;h.Children.forEach(xe,function(wt){ut+=1,wt&&wt.type&&wt.type.isMenuItemGroup?h.Children.forEach(wt.props.children,function(ee){ut+=1,je(ee,ut)}):je(wt,ut)})}function Be(xe,je,ut){if(!xe||ut.find)return;h.Children.forEach(xe,function(wt){if(wt){var ee=wt.type;if(!ee||!(ee.isSubMenu||ee.isMenuItem||ee.isMenuItemGroup))return;je.indexOf(wt.key)!==-1?ut.find=!0:wt.props.children&&Be(wt.props.children,je,ut)}})}var bt=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],lt=function(je){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,wt=je&&typeof je.getBoundingClientRect=="function"&&je.getBoundingClientRect().width;if(wt){if(ut){var ee=getComputedStyle(je),ie=ee.marginLeft,z=ee.marginRight;wt+=+ie.replace("px","")+ +z.replace("px","")}wt=+wt.toFixed(6)}return wt||0},tt=function(je,ut,wt){je&&Object(D.a)(je.style)==="object"&&(je.style[ut]=wt)},St=function(){return we.any},ht=e("KQm4"),vt=e("Ff2n"),Ge=e("i8i4"),At=e("bdgK"),_e=e("uciX"),De=e("8XRh"),Ie={adjustX:1,adjustY:1},st={topLeft:{points:["bl","tl"],overflow:Ie,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ie,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Ie,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Ie,offset:[4,0]}},Et={topLeft:{points:["bl","tl"],overflow:Ie,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ie,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Ie,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Ie,offset:[4,0]}},Mt=st,Pt=0,ke={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},zt=function(je,ut,wt){var ee=xt(ut),ie=je.getState();je.setState({defaultActiveFirst:Object(d.a)(Object(d.a)({},ie.defaultActiveFirst),{},Object(O.a)({},ee,wt))})},Ot=function(xe){Object(A.a)(ut,xe);var je=Object(b.a)(ut);function ut(wt){var ee;Object(E.a)(this,ut),ee=je.call(this,wt),ee.onDestroy=function(Ae){ee.props.onDestroy(Ae)},ee.onKeyDown=function(Ae){var Me=Ae.keyCode,$e=ee.menuInstance,kt=ee.props,$t=kt.isOpen,Lt=kt.store;if(Me===T.a.ENTER)return ee.onTitleClick(Ae),zt(Lt,ee.props.eventKey,!0),!0;if(Me===T.a.RIGHT)return $t?$e.onKeyDown(Ae):(ee.triggerOpenChange(!0),zt(Lt,ee.props.eventKey,!0)),!0;if(Me===T.a.LEFT){var Ut;if($t)Ut=$e.onKeyDown(Ae);else return;return Ut||(ee.triggerOpenChange(!1),Ut=!0),Ut}return $t&&(Me===T.a.UP||Me===T.a.DOWN)?$e.onKeyDown(Ae):void 0},ee.onOpenChange=function(Ae){ee.props.onOpenChange(Ae)},ee.onPopupVisibleChange=function(Ae){ee.triggerOpenChange(Ae,Ae?"mouseenter":"mouseleave")},ee.onMouseEnter=function(Ae){var Me=ee.props,$e=Me.eventKey,kt=Me.onMouseEnter,$t=Me.store;zt($t,ee.props.eventKey,!1),kt({key:$e,domEvent:Ae})},ee.onMouseLeave=function(Ae){var Me=ee.props,$e=Me.parentMenu,kt=Me.eventKey,$t=Me.onMouseLeave;$e.subMenuInstance=Object(p.a)(ee),$t({key:kt,domEvent:Ae})},ee.onTitleMouseEnter=function(Ae){var Me=ee.props,$e=Me.eventKey,kt=Me.onItemHover,$t=Me.onTitleMouseEnter;kt({key:$e,hover:!0}),$t({key:$e,domEvent:Ae})},ee.onTitleMouseLeave=function(Ae){var Me=ee.props,$e=Me.parentMenu,kt=Me.eventKey,$t=Me.onItemHover,Lt=Me.onTitleMouseLeave;$e.subMenuInstance=Object(p.a)(ee),$t({key:kt,hover:!1}),Lt({key:kt,domEvent:Ae})},ee.onTitleClick=function(Ae){var Me=Object(p.a)(ee),$e=Me.props;if($e.onTitleClick({key:$e.eventKey,domEvent:Ae}),$e.triggerSubMenuAction==="hover")return;ee.triggerOpenChange(!$e.isOpen,"click"),zt($e.store,ee.props.eventKey,!1)},ee.onSubMenuClick=function(Ae){typeof ee.props.onClick=="function"&&ee.props.onClick(ee.addKeyPath(Ae))},ee.onSelect=function(Ae){ee.props.onSelect(Ae)},ee.onDeselect=function(Ae){ee.props.onDeselect(Ae)},ee.getPrefixCls=function(){return"".concat(ee.props.rootPrefixCls,"-submenu")},ee.getActiveClassName=function(){return"".concat(ee.getPrefixCls(),"-active")},ee.getDisabledClassName=function(){return"".concat(ee.getPrefixCls(),"-disabled")},ee.getSelectedClassName=function(){return"".concat(ee.getPrefixCls(),"-selected")},ee.getOpenClassName=function(){return"".concat(ee.props.rootPrefixCls,"-submenu-open")},ee.saveMenuInstance=function(Ae){ee.menuInstance=Ae},ee.addKeyPath=function(Ae){return Object(d.a)(Object(d.a)({},Ae),{},{keyPath:(Ae.keyPath||[]).concat(ee.props.eventKey)})},ee.triggerOpenChange=function(Ae,Me){var $e=ee.props.eventKey,kt=function(){ee.onOpenChange({key:$e,item:Object(p.a)(ee),trigger:Me,open:Ae})};Me==="mouseenter"?ee.mouseenterTimeout=setTimeout(function(){kt()},0):kt()},ee.isChildrenSelected=function(){var Ae={find:!1};return Be(ee.props.children,ee.props.selectedKeys,Ae),Ae.find},ee.isOpen=function(){return ee.props.openKeys.indexOf(ee.props.eventKey)!==-1},ee.adjustWidth=function(){if(!ee.subMenuTitle||!ee.menuInstance)return;var Ae=Ge.findDOMNode(ee.menuInstance);if(Ae.offsetWidth>=ee.subMenuTitle.offsetWidth)return;Ae.style.minWidth="".concat(ee.subMenuTitle.offsetWidth,"px")},ee.saveSubMenuTitle=function(Ae){ee.subMenuTitle=Ae},ee.getBaseProps=function(){var Ae=Object(p.a)(ee),Me=Ae.props;return{mode:Me.mode==="horizontal"?"vertical":Me.mode,visible:ee.props.isOpen,level:Me.level+1,inlineIndent:Me.inlineIndent,focusable:!1,onClick:ee.onSubMenuClick,onSelect:ee.onSelect,onDeselect:ee.onDeselect,onDestroy:ee.onDestroy,selectedKeys:Me.selectedKeys,eventKey:"".concat(Me.eventKey,"-menu-"),openKeys:Me.openKeys,motion:Me.motion,onOpenChange:ee.onOpenChange,subMenuOpenDelay:Me.subMenuOpenDelay,parentMenu:Object(p.a)(ee),subMenuCloseDelay:Me.subMenuCloseDelay,forceSubMenuRender:Me.forceSubMenuRender,triggerSubMenuAction:Me.triggerSubMenuAction,builtinPlacements:Me.builtinPlacements,defaultActiveFirst:Me.store.getState().defaultActiveFirst[xt(Me.eventKey)],multiple:Me.multiple,prefixCls:Me.rootPrefixCls,id:ee.internalMenuId,manualRef:ee.saveMenuInstance,itemIcon:Me.itemIcon,expandIcon:Me.expandIcon,direction:Me.direction}},ee.getMotion=function(Ae,Me){var $e=Object(p.a)(ee),kt=$e.haveRendered,$t=ee.props,Lt=$t.motion,Ut=$t.rootPrefixCls,Wt=Object(d.a)(Object(d.a)({},Lt),{},{leavedClassName:"".concat(Ut,"-hidden"),removeOnLeave:!1,motionAppear:kt||!Me||Ae!=="inline"});return Wt};var ie=wt.store,z=wt.eventKey,$=ie.getState(),le=$.defaultActiveFirst;ee.isRootMenu=!1;var ge=!1;return le&&(ge=le[z]),zt(ie,z,ge),ee}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ee=this,ie=this.props,z=ie.mode,$=ie.parentMenu,le=ie.manualRef;if(le&&le(this),z!=="horizontal"||!$.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ee.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ee=this.props,ie=ee.onDestroy,z=ee.eventKey;ie&&ie(z),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ee){var ie=this,z=this.getBaseProps(),$=this.getMotion(z.mode,z.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||z.visible||z.forceSubMenuRender,!this.haveOpened)return h.createElement("div",null);var le=z.direction;return h.createElement(De.default,Object.assign({visible:z.visible},$),function(ge){var Ae=ge.className,Me=ge.style,$e=N()("".concat(z.prefixCls,"-sub"),Ae,Object(O.a)({},"".concat(z.prefixCls,"-rtl"),le==="rtl"));return h.createElement(nr,Object.assign({},z,{id:ie.internalMenuId,className:$e,style:Me}),ee)})}},{key:"render",value:function(){var ee,ie=Object(d.a)({},this.props),z=ie.isOpen,$=this.getPrefixCls(),le=ie.mode==="inline",ge=N()($,"".concat($,"-").concat(ie.mode),(ee={},Object(O.a)(ee,ie.className,!!ie.className),Object(O.a)(ee,this.getOpenClassName(),z),Object(O.a)(ee,this.getActiveClassName(),ie.active||z&&!le),Object(O.a)(ee,this.getDisabledClassName(),ie.disabled),Object(O.a)(ee,this.getSelectedClassName(),this.isChildrenSelected()),ee));this.internalMenuId||(ie.eventKey?this.internalMenuId="".concat(ie.eventKey,"$Menu"):(Pt+=1,this.internalMenuId="$__$".concat(Pt,"$Menu")));var Ae={},Me={},$e={};ie.disabled||(Ae={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Me={onClick:this.onTitleClick},$e={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var kt={},$t=ie.direction;le&&($t==="rtl"?kt.paddingRight=ie.inlineIndent*ie.level:kt.paddingLeft=ie.inlineIndent*ie.level);var Lt={};this.props.isOpen&&(Lt={"aria-owns":this.internalMenuId});var Ut=null;ie.mode!=="horizontal"&&(Ut=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Ut=h.createElement(this.props.expandIcon,Object(d.a)({},this.props))));var Wt=h.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:kt,className:"".concat($,"-title"),role:"button"},$e,Me,{"aria-expanded":z},Lt,{"aria-haspopup":"true",title:typeof ie.title=="string"?ie.title:void 0}),ie.title,Ut||h.createElement("i",{className:"".concat($,"-arrow")})),Vt=this.renderChildren(ie.children),Tt=ie.parentMenu.isRootMenu?ie.parentMenu.props.getPopupContainer:function(ft){return ft.parentNode},ur=ke[ie.mode],qt=ie.popupOffset?{offset:ie.popupOffset}:{},ze=ie.mode==="inline"?"":ie.popupClassName;ze+=$t==="rtl"?" ".concat($,"-rtl"):"";var nt=ie.disabled,Ye=ie.triggerSubMenuAction,Xe=ie.subMenuOpenDelay,yt=ie.forceSubMenuRender,mt=ie.subMenuCloseDelay,We=ie.builtinPlacements;bt.forEach(function(ft){return delete ie[ft]}),delete ie.onClick;var rt=$t==="rtl"?Object.assign({},Et,We):Object.assign({},st,We);return delete ie.direction,h.createElement("li",Object.assign({},ie,Ae,{className:ge,role:"menuitem"}),le&&Wt,le&&Vt,!le&&h.createElement(_e.a,{prefixCls:$,popupClassName:N()("".concat($,"-popup"),ze),getPopupContainer:Tt,builtinPlacements:rt,popupPlacement:ur,popupVisible:z,popupAlign:qt,popup:Vt,action:nt?[]:[Ye],mouseEnterDelay:Xe,mouseLeaveDelay:mt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:yt},Wt))}}]),ut}(h.Component);Ot.defaultProps={onMouseEnter:Ke,onMouseLeave:Ke,onTitleMouseEnter:Ke,onTitleMouseLeave:Ke,onTitleClick:Ke,manualRef:Ke,mode:"vertical",title:""};var _t=v(function(xe,je){var ut=xe.openKeys,wt=xe.activeKey,ee=xe.selectedKeys,ie=je.eventKey,z=je.subMenuKey;return{isOpen:ut.indexOf(ie)>-1,active:wt[z]===ie,selectedKeys:ee}})(Ot);_t.isSubMenu=!0;var Ve=_t,Qe="menuitem-overflowed",et=.5,dt=function(xe){Object(A.a)(ut,xe);var je=Object(b.a)(ut);function ut(){var wt;return Object(E.a)(this,ut),wt=je.apply(this,arguments),wt.resizeObserver=null,wt.mutationObserver=null,wt.originalTotalWidth=0,wt.overflowedItems=[],wt.menuItemSizes=[],wt.cancelFrameId=null,wt.state={lastVisibleIndex:void 0},wt.getMenuItemNodes=function(){var ee=wt.props.prefixCls,ie=Ge.findDOMNode(Object(p.a)(wt));return ie?[].slice.call(ie.children).filter(function(z){return z.className.split(" ").indexOf("".concat(ee,"-overflowed-submenu"))<0}):[]},wt.getOverflowedSubMenuItem=function(ee,ie,z){var $=wt.props,le=$.overflowedIndicator,ge=$.level,Ae=$.mode,Me=$.prefixCls,$e=$.theme;if(ge!==1||Ae!=="horizontal")return null;var kt=wt.props.children[0],$t=kt.props,Lt=$t.children,Ut=$t.title,Wt=$t.style,Vt=Object(vt.a)($t,["children","title","style"]),Tt=Object(d.a)({},Wt),ur="".concat(ee,"-overflowed-indicator"),qt="".concat(ee,"-overflowed-indicator");ie.length===0&&z!==!0?Tt=Object(d.a)(Object(d.a)({},Tt),{},{display:"none"}):z&&(Tt=Object(d.a)(Object(d.a)({},Tt),{},{visibility:"hidden",position:"absolute"}),ur="".concat(ur,"-placeholder"),qt="".concat(qt,"-placeholder"));var ze=$e?"".concat(Me,"-").concat($e):"",nt={};return bt.forEach(function(Ye){Vt[Ye]!==void 0&&(nt[Ye]=Vt[Ye])}),h.createElement(Ve,Object.assign({title:le,className:"".concat(Me,"-overflowed-submenu"),popupClassName:ze},nt,{key:ur,eventKey:qt,disabled:!1,style:Tt}),ie)},wt.setChildrenWidthAndResize=function(){if(wt.props.mode!=="horizontal")return;var ee=Ge.findDOMNode(Object(p.a)(wt));if(!ee)return;var ie=ee.children;if(!ie||ie.length===0)return;var z=ee.children[ie.length-1];tt(z,"display","inline-block");var $=wt.getMenuItemNodes(),le=$.filter(function(ge){return ge.className.split(" ").indexOf(Qe)>=0});le.forEach(function(ge){tt(ge,"display","inline-block")}),wt.menuItemSizes=$.map(function(ge){return lt(ge,!0)}),le.forEach(function(ge){tt(ge,"display","none")}),wt.overflowedIndicatorWidth=lt(ee.children[ee.children.length-1],!0),wt.originalTotalWidth=wt.menuItemSizes.reduce(function(ge,Ae){return ge+Ae},0),wt.handleResize(),tt(z,"display","none")},wt.handleResize=function(){if(wt.props.mode!=="horizontal")return;var ee=Ge.findDOMNode(Object(p.a)(wt));if(!ee)return;var ie=lt(ee);wt.overflowedItems=[];var z=0,$;wt.originalTotalWidth>ie+et&&($=-1,wt.menuItemSizes.forEach(function(le){z+=le,z+wt.overflowedIndicatorWidth<=ie&&($+=1)})),wt.setState({lastVisibleIndex:$})},wt}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){var ee=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var ie=Ge.findDOMNode(this);if(!ie)return;this.resizeObserver=new At.default(function(z){z.forEach(function(){var $=ee.cancelFrameId;cancelAnimationFrame($),ee.cancelFrameId=requestAnimationFrame(ee.setChildrenWidthAndResize)})}),[].slice.call(ie.children).concat(ie).forEach(function(z){ee.resizeObserver.observe(z)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ee.resizeObserver.disconnect(),[].slice.call(ie.children).concat(ie).forEach(function(z){ee.resizeObserver.observe(z)}),ee.setChildrenWidthAndResize()}),this.mutationObserver.observe(ie,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(ee){var ie=this,z=this.state.lastVisibleIndex;return(ee||[]).reduce(function($,le,ge){var Ae=le;if(ie.props.mode==="horizontal"){var Me=ie.getOverflowedSubMenuItem(le.props.eventKey,[]);z!==void 0&&ie.props.className.indexOf("".concat(ie.props.prefixCls,"-root"))!==-1&&(ge>z&&(Ae=h.cloneElement(le,{style:{display:"none"},eventKey:"".concat(le.props.eventKey,"-hidden"),className:"".concat(Qe)})),ge===z+1&&(ie.overflowedItems=ee.slice(z+1).map(function(kt){return h.cloneElement(kt,{key:kt.props.eventKey,mode:"vertical-left"})}),Me=ie.getOverflowedSubMenuItem(le.props.eventKey,ie.overflowedItems)));var $e=[].concat(Object(ht.a)($),[Me,Ae]);return ge===ee.length-1&&$e.push(ie.getOverflowedSubMenuItem(le.props.eventKey,[],!0)),$e}return[].concat(Object(ht.a)($),[Ae])},[])}},{key:"render",value:function(){var ee=this.props,ie=ee.visible,z=ee.prefixCls,$=ee.overflowedIndicator,le=ee.mode,ge=ee.level,Ae=ee.tag,Me=ee.children,$e=ee.theme,kt=Object(vt.a)(ee,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),$t=Ae;return h.createElement($t,Object.assign({},kt),this.renderChildren(Me))}}]),ut}(h.Component);dt.defaultProps={tag:"div",className:""};var Ze=dt;function oe(xe){return xe.length?xe.every(function(je){return!!je.props.disabled}):!0}function me(xe,je,ut){var wt=xe.getState();xe.setState({activeKey:Object(d.a)(Object(d.a)({},wt.activeKey),{},Object(O.a)({},je,ut))})}function ot(xe){return xe.eventKey||"0-menu-"}function Pe(xe,je){var ut=je,wt=xe.children,ee=xe.eventKey;if(ut){var ie;if(Fe(wt,function(z,$){z&&z.props&&!z.props.disabled&&ut===qe(z,ee,$)&&(ie=!0)}),ie)return ut}return ut=null,xe.defaultActiveFirst&&Fe(wt,function(z,$){!ut&&z&&!z.props.disabled&&(ut=qe(z,ee,$))}),ut}function pt(xe){if(xe){var je=this.instanceArray.indexOf(xe);je!==-1?this.instanceArray[je]=xe:this.instanceArray.push(xe)}}var Rr=function(xe){Object(A.a)(ut,xe);var je=Object(b.a)(ut);function ut(wt){var ee;return Object(E.a)(this,ut),ee=je.call(this,wt),ee.onKeyDown=function(ie,z){var $=ie.keyCode,le;if(ee.getFlatInstanceArray().forEach(function(Ae){Ae&&Ae.props.active&&Ae.onKeyDown&&(le=Ae.onKeyDown(ie))}),le)return 1;var ge=null;return($===T.a.UP||$===T.a.DOWN)&&(ge=ee.step($===T.a.UP?-1:1)),ge?(ie.preventDefault(),me(ee.props.store,ot(ee.props),ge.props.eventKey),typeof z=="function"&&z(ge),1):void 0},ee.onItemHover=function(ie){var z=ie.key,$=ie.hover;me(ee.props.store,ot(ee.props),$?z:null)},ee.onDeselect=function(ie){ee.props.onDeselect(ie)},ee.onSelect=function(ie){ee.props.onSelect(ie)},ee.onClick=function(ie){ee.props.onClick(ie)},ee.onOpenChange=function(ie){ee.props.onOpenChange(ie)},ee.onDestroy=function(ie){ee.props.onDestroy(ie)},ee.getFlatInstanceArray=function(){return ee.instanceArray},ee.step=function(ie){var z=ee.getFlatInstanceArray(),$=ee.props.store.getState().activeKey[ot(ee.props)],le=z.length;if(!le)return null;ie<0&&(z=z.concat().reverse());var ge=-1;if(z.every(function(kt,$t){return kt&&kt.props.eventKey===$?(ge=$t,!1):!0}),!ee.props.defaultActiveFirst&&ge!==-1&&oe(z.slice(ge,le-1)))return;var Ae=(ge+1)%le,Me=Ae;do{var $e=z[Me];if(!$e||$e.props.disabled)Me=(Me+1)%le;else return $e}while(Me!==Ae);return null},ee.renderCommonMenuItem=function(ie,z,$){var le=ee.props.store.getState(),ge=Object(p.a)(ee),Ae=ge.props,Me=qe(ie,Ae.eventKey,z),$e=ie.props;if(!$e||typeof ie.type=="string")return ie;var kt=Me===le.activeKey,$t=Object(d.a)(Object(d.a)({mode:$e.mode||Ae.mode,level:Ae.level,inlineIndent:Ae.inlineIndent,renderMenuItem:ee.renderMenuItem,rootPrefixCls:Ae.prefixCls,index:z,parentMenu:Ae.parentMenu,manualRef:$e.disabled?void 0:Object(w.a)(ie.ref,pt.bind(Object(p.a)(ee))),eventKey:Me,active:!$e.disabled&&kt,multiple:Ae.multiple,onClick:function(Ut){($e.onClick||Ke)(Ut),ee.onClick(Ut)},onItemHover:ee.onItemHover,motion:Ae.motion,subMenuOpenDelay:Ae.subMenuOpenDelay,subMenuCloseDelay:Ae.subMenuCloseDelay,forceSubMenuRender:Ae.forceSubMenuRender,onOpenChange:ee.onOpenChange,onDeselect:ee.onDeselect,onSelect:ee.onSelect,builtinPlacements:Ae.builtinPlacements,itemIcon:$e.itemIcon||ee.props.itemIcon,expandIcon:$e.expandIcon||ee.props.expandIcon},$),{},{direction:Ae.direction});return(Ae.mode==="inline"||St())&&($t.triggerSubMenuAction="click"),h.cloneElement(ie,$t)},ee.renderMenuItem=function(ie,z,$){if(!ie)return null;var le=ee.props.store.getState(),ge={openKeys:le.openKeys,selectedKeys:le.selectedKeys,triggerSubMenuAction:ee.props.triggerSubMenuAction,subMenuKey:$};return ee.renderCommonMenuItem(ie,z,ge)},wt.store.setState({activeKey:Object(d.a)(Object(d.a)({},wt.store.getState().activeKey),{},Object(O.a)({},wt.eventKey,Pe(wt,wt.activeKey)))}),ee.instanceArray=[],ee}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ee){return this.props.visible||ee.visible||this.props.className!==ee.className||!l()(this.props.style,ee.style)}},{key:"componentDidUpdate",value:function(ee){var ie=this.props,z="activeKey"in ie?ie.activeKey:ie.store.getState().activeKey[ot(ie)],$=Pe(ie,z);if($!==z)me(ie.store,ot(ie),$);else if("activeKey"in ee){var le=Pe(ee,ee.activeKey);$!==le&&me(ie.store,ot(ie),$)}}},{key:"render",value:function(){var ee=this,ie=Object(x.a)({},this.props);this.instanceArray=[];var z=N()(ie.prefixCls,ie.className,"".concat(ie.prefixCls,"-").concat(ie.mode)),$={className:z,role:ie.role||"menu"};ie.id&&($.id=ie.id),ie.focusable&&($.tabIndex=0,$.onKeyDown=this.onKeyDown);var le=ie.prefixCls,ge=ie.eventKey,Ae=ie.visible,Me=ie.level,$e=ie.mode,kt=ie.overflowedIndicator,$t=ie.theme;return bt.forEach(function(Lt){return delete ie[Lt]}),delete ie.onClick,h.createElement(Ze,Object.assign({},ie,{prefixCls:le,mode:$e,tag:"ul",level:Me,theme:$t,visible:Ae,overflowedIndicator:kt},$),h.Children.map(ie.children,function(Lt,Ut){return ee.renderMenuItem(Lt,Ut,ge||"0-menu-")}))}}]),ut}(h.Component);Rr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Ke};var It=v()(Rr),nr=It,Gt=e("Kwbf");function Jt(xe,je,ut){var wt=xe.prefixCls,ee=xe.motion,ie=xe.defaultMotions,z=ie===void 0?{}:ie,$=xe.openAnimation,le=xe.openTransitionName,ge=je.switchingModeFromInline;if(ee)return ee;if(Object(D.a)($)==="object"&&$)Object(Gt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof $=="string")return{motionName:"".concat(wt,"-open-").concat($)};if(le)return{motionName:le};var Ae=z[ut];return Ae||(ge?null:z.other)}var hr=function(xe){Object(A.a)(ut,xe);var je=Object(b.a)(ut);function ut(wt){var ee;Object(E.a)(this,ut),ee=je.call(this,wt),ee.inlineOpenKeys=[],ee.onSelect=function($){var le=Object(p.a)(ee),ge=le.props;if(ge.selectable){var Ae=ee.store.getState(),Me=Ae.selectedKeys,$e=$.key;ge.multiple?Me=Me.concat([$e]):Me=[$e],"selectedKeys"in ge||ee.store.setState({selectedKeys:Me}),ge.onSelect(Object(d.a)(Object(d.a)({},$),{},{selectedKeys:Me}))}},ee.onClick=function($){var le=ee.getRealMenuMode(),ge=Object(p.a)(ee),Ae=ge.store,Me=ge.props.onOpenChange;le!=="inline"&&!("openKeys"in ee.props)&&(Ae.setState({openKeys:[]}),Me([])),ee.props.onClick($)},ee.onKeyDown=function($,le){ee.innerMenu.getWrappedInstance().onKeyDown($,le)},ee.onOpenChange=function($){var le=Object(p.a)(ee),ge=le.props,Ae=ee.store.getState().openKeys.concat(),Me=!1,$e=function($t){var Lt=!1;if($t.open)Lt=Ae.indexOf($t.key)===-1,Lt&&Ae.push($t.key);else{var Ut=Ae.indexOf($t.key);Lt=Ut!==-1,Lt&&Ae.splice(Ut,1)}Me=Me||Lt};Array.isArray($)?$.forEach($e):$e($),Me&&("openKeys"in ee.props||ee.store.setState({openKeys:Ae}),ge.onOpenChange(Ae))},ee.onDeselect=function($){var le=Object(p.a)(ee),ge=le.props;if(ge.selectable){var Ae=ee.store.getState().selectedKeys.concat(),Me=$.key,$e=Ae.indexOf(Me);$e!==-1&&Ae.splice($e,1),"selectedKeys"in ge||ee.store.setState({selectedKeys:Ae}),ge.onDeselect(Object(d.a)(Object(d.a)({},$),{},{selectedKeys:Ae}))}},ee.onMouseEnter=function($){ee.restoreModeVerticalFromInline();var le=ee.props.onMouseEnter;le&&le($)},ee.onTransitionEnd=function($){var le=$.propertyName==="width"&&$.target===$.currentTarget,ge=$.target.className,Ae=Object.prototype.toString.call(ge)==="[object SVGAnimatedString]"?ge.animVal:ge,Me=$.propertyName==="font-size"&&Ae.indexOf("anticon")>=0;(le||Me)&&ee.restoreModeVerticalFromInline()},ee.setInnerMenu=function($){ee.innerMenu=$},ee.isRootMenu=!0;var ie=wt.defaultSelectedKeys,z=wt.defaultOpenKeys;return"selectedKeys"in wt&&(ie=wt.selectedKeys||[]),"openKeys"in wt&&(z=wt.openKeys||[]),ee.store=L({selectedKeys:ie,openKeys:z,activeKey:{"0-menu-":Pe(wt,wt.activeKey)}}),ee.state={switchingModeFromInline:!1},ee}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ee){this.updateOpentKeysWhenSwitchMode(ee),this.updateMiniStore();var ie=this.props,z=ie.siderCollapsed,$=ie.inlineCollapsed,le=ie.onOpenChange;(!ee.inlineCollapsed&&$||!ee.siderCollapsed&&z)&&le([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ee){var ie=this.props,z=this.store,$=this.inlineOpenKeys,le=z.getState(),ge={};ee.mode==="inline"&&ie.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in ie||((ie.inlineCollapsed&&!ee.inlineCollapsed||ie.siderCollapsed&&!ee.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=le.openKeys.concat(),ge.openKeys=[]),(!ie.inlineCollapsed&&ee.inlineCollapsed||!ie.siderCollapsed&&ee.siderCollapsed)&&(ge.openKeys=$,this.inlineOpenKeys=[])),Object.keys(ge).length&&z.setState(ge)}},{key:"updateMenuDisplay",value:function(){var ee=this.props.collapsedWidth,ie=this.store,z=this.prevOpenKeys,$=this.getInlineCollapsed()&&(ee===0||ee==="0"||ee==="0px");$?(this.prevOpenKeys=ie.getState().openKeys.concat(),this.store.setState({openKeys:[]})):z&&(this.store.setState({openKeys:z}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ee=this.props.mode,ie=this.state.switchingModeFromInline,z=this.getInlineCollapsed();return ie&&z?"inline":z?"vertical":ee}},{key:"getInlineCollapsed",value:function(){var ee=this.props,ie=ee.inlineCollapsed,z=ee.siderCollapsed;return z!==void 0?z:ie}},{key:"restoreModeVerticalFromInline",value:function(){var ee=this.state.switchingModeFromInline;ee&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var ee=Object(d.a)({},Object(S.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),ie=this.getRealMenuMode();return ee.className+=" ".concat(ee.prefixCls,"-root"),ee.direction==="rtl"&&(ee.className+=" ".concat(ee.prefixCls,"-rtl")),ee=Object(d.a)(Object(d.a)({},ee),{},{mode:ie,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Jt(this.props,this.state,ie)}),delete ee.openAnimation,delete ee.openTransitionName,h.createElement(a,{store:this.store},h.createElement(nr,Object.assign({},ee,{ref:this.setInnerMenu}),this.props.children))}}]),ut}(h.Component);hr.defaultProps={selectable:!0,onClick:Ke,onSelect:Ke,onOpenChange:Ke,onDeselect:Ke,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:h.createElement("span",null,"\xB7\xB7\xB7")};var Xt=hr,de=function(xe){Object(A.a)(ut,xe);var je=Object(b.a)(ut);function ut(){var wt;return Object(E.a)(this,ut),wt=je.apply(this,arguments),wt.onKeyDown=function(ee){var ie=ee.keyCode;return ie===T.a.ENTER?(wt.onClick(ee),!0):void 0},wt.onMouseLeave=function(ee){var ie=wt.props,z=ie.eventKey,$=ie.onItemHover,le=ie.onMouseLeave;$({key:z,hover:!1}),le({key:z,domEvent:ee})},wt.onMouseEnter=function(ee){var ie=wt.props,z=ie.eventKey,$=ie.onItemHover,le=ie.onMouseEnter;$({key:z,hover:!0}),le({key:z,domEvent:ee})},wt.onClick=function(ee){var ie=wt.props,z=ie.eventKey,$=ie.multiple,le=ie.onClick,ge=ie.onSelect,Ae=ie.onDeselect,Me=ie.isSelected,$e={key:z,keyPath:[z],item:Object(p.a)(wt),domEvent:ee};le($e),$?Me?Ae($e):ge($e):Me||ge($e)},wt.saveNode=function(ee){wt.node=ee},wt}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ee=this.props;ee.onDestroy&&ee.onDestroy(ee.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var ee,ie=Object(d.a)({},this.props),z=N()(this.getPrefixCls(),ie.className,(ee={},Object(O.a)(ee,this.getActiveClassName(),!ie.disabled&&ie.active),Object(O.a)(ee,this.getSelectedClassName(),ie.isSelected),Object(O.a)(ee,this.getDisabledClassName(),ie.disabled),ee)),$=Object(d.a)(Object(d.a)({},ie.attribute),{},{title:typeof ie.title=="string"?ie.title:void 0,className:z,role:ie.role||"menuitem","aria-disabled":ie.disabled});ie.role==="option"?$=Object(d.a)(Object(d.a)({},$),{},{role:"option","aria-selected":ie.isSelected}):(ie.role===null||ie.role==="none")&&($.role="none");var le={onClick:ie.disabled?null:this.onClick,onMouseLeave:ie.disabled?null:this.onMouseLeave,onMouseEnter:ie.disabled?null:this.onMouseEnter},ge=Object(d.a)({},ie.style);ie.mode==="inline"&&(ie.direction==="rtl"?ge.paddingRight=ie.inlineIndent*ie.level:ge.paddingLeft=ie.inlineIndent*ie.level),bt.forEach(function(Me){return delete ie[Me]}),delete ie.direction;var Ae=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Ae=h.createElement(this.props.itemIcon,this.props)),h.createElement("li",Object.assign({},Object(S.default)(ie,["onClick","onMouseEnter","onMouseLeave","onSelect"]),$,le,{style:ge,ref:this.saveNode}),ie.children,Ae)}}]),ut}(h.Component);de.isMenuItem=!0,de.defaultProps={onSelect:Ke,onMouseEnter:Ke,onMouseLeave:Ke,manualRef:Ke};var ue=v(function(xe,je){var ut=xe.activeKey,wt=xe.selectedKeys,ee=je.eventKey,ie=je.subMenuKey;return{active:ut[ie]===ee,isSelected:wt.indexOf(ee)!==-1}})(de),se=ue,ae=function(xe){Object(A.a)(ut,xe);var je=Object(b.a)(ut);function ut(){var wt;return Object(E.a)(this,ut),wt=je.apply(this,arguments),wt.renderInnerMenuItem=function(ee){var ie=wt.props,z=ie.renderMenuItem,$=ie.index;return z(ee,$,wt.props.subMenuKey)},wt}return Object(g.a)(ut,[{key:"render",value:function(){var ee=Object(x.a)({},this.props),ie=ee.className,z=ie===void 0?"":ie,$=ee.rootPrefixCls,le="".concat($,"-item-group-title"),ge="".concat($,"-item-group-list"),Ae=ee.title,Me=ee.children;return bt.forEach(function($e){return delete ee[$e]}),delete ee.onClick,delete ee.direction,h.createElement("li",Object.assign({},ee,{className:"".concat(z," ").concat($,"-item-group")}),h.createElement("div",{className:le,title:typeof Ae=="string"?Ae:void 0},Ae),h.createElement("ul",{className:ge},h.Children.map(Me,this.renderInnerMenuItem)))}}]),ut}(h.Component);ae.isMenuItemGroup=!0,ae.defaultProps={disabled:!0};var ye=ae,Ce=function(je){var ut=je.className,wt=je.rootPrefixCls,ee=je.style;return h.createElement("li",{className:"".concat(ut," ").concat(wt,"-item-divider"),style:ee})};Ce.defaultProps={disabled:!0,className:"",style:{}};var Oe=Ce,Te=F.f=Xt},"1n7x":function(J,F,e){(function(d,E){(function(g,p){J.exports=p(e("5RHE"),e("wOnQ"))})(this,function(g,p){"use strict";g=g&&g.hasOwnProperty("default")?g.default:g,p=p&&p.hasOwnProperty("default")?p.default:p;var A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},b=Object.assign||function(S){for(var x=1;x<arguments.length;x++){var O=arguments[x];for(var T in O)Object.prototype.hasOwnProperty.call(O,T)&&(S[T]=O[T])}return S},h=function(x){var O=typeof x=="undefined"?"undefined":A(x);return O==="undefined"?"undefined":O==="string"||x instanceof String?"string":O==="number"||x instanceof Number?"number":O==="function"||x instanceof Function?"function":!!x&&x.constructor===Array?"array":x&&x.nodeType===1?"element":O==="object"?"object":"unknown"},i=function(x,O){var T=document.createElement(x);if(O.className&&(T.className=O.className),O.innerHTML){T.innerHTML=O.innerHTML;for(var w=T.getElementsByTagName("script"),C=w.length;C-- >0;null)w[C].parentNode.removeChild(w[C])}for(var N in O.style)T.style[N]=O.style[N];return T},r=function S(x,O){for(var T=x.nodeType===3?document.createTextNode(x.nodeValue):x.cloneNode(!1),w=x.firstChild;w;w=w.nextSibling)(O===!0||w.nodeType!==1||w.nodeName!=="SCRIPT")&&T.appendChild(S(w,O));return x.nodeType===1&&(x.nodeName==="CANVAS"?(T.width=x.width,T.height=x.height,T.getContext("2d").drawImage(x,0,0)):(x.nodeName==="TEXTAREA"||x.nodeName==="SELECT")&&(T.value=x.value),T.addEventListener("load",function(){T.scrollTop=x.scrollTop,T.scrollLeft=x.scrollLeft},!0)),T},a=function(x,O){if(h(x)==="number")return x*72/96/O;var T={};for(var w in x)T[w]=x[w]*72/96/O;return T},s=function(x,O){return Math.floor(x*O/72*96)},l=typeof window!="undefined"?window:typeof d!="undefined"?d:typeof self!="undefined"?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function u(S,x){return x={exports:{}},S(x,x.exports),x.exports}var t=u(function(S,x){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.5+7f2b526d
|
|
|
*/(function(O,T){S.exports=T()})(l,function(){function O(It){var nr=typeof It;return It!==null&&(nr==="object"||nr==="function")}function T(It){return typeof It=="function"}var w=void 0;Array.isArray?w=Array.isArray:w=function(nr){return Object.prototype.toString.call(nr)==="[object Array]"};var C=w,N=0,D=void 0,B=void 0,R=function(nr,Gt){he[N]=nr,he[N+1]=Gt,N+=2,N===2&&(B?B(te):be())};function U(It){B=It}function M(It){R=It}var j=typeof window!="undefined"?window:void 0,P=j||{},K=P.MutationObserver||P.WebKitMutationObserver,H=typeof self=="undefined"&&typeof E!="undefined"&&{}.toString.call(E)==="[object process]",k=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Z(){return function(){return E.nextTick(te)}}function Y(){return typeof D!="undefined"?function(){D(te)}:X()}function _(){var It=0,nr=new K(te),Gt=document.createTextNode("");return nr.observe(Gt,{characterData:!0}),function(){Gt.data=It=++It%2}}function Q(){var It=new MessageChannel;return It.port1.onmessage=te,function(){return It.port2.postMessage(0)}}function X(){var It=setTimeout;return function(){return It(te,1)}}var he=new Array(1e3);function te(){for(var It=0;It<N;It+=2){var nr=he[It],Gt=he[It+1];nr(Gt),he[It]=void 0,he[It+1]=void 0}N=0}function fe(){try{var It=Function("return this")().require("vertx");return D=It.runOnLoop||It.runOnContext,Y()}catch(nr){return X()}}var be=void 0;H?be=Z():K?be=_():k?be=Q():j===void 0&&typeof n=="function"?be=fe():be=X();function we(It,nr){var Gt=this,Jt=new this.constructor(xt);Jt[qe]===void 0&&Qe(Jt);var hr=Gt._state;if(hr){var Xt=arguments[hr-1];R(function(){return zt(hr,Jt,Xt,Gt._result)})}else Mt(Gt,Jt,It,nr);return Jt}function Ke(It){var nr=this;if(It&&typeof It=="object"&&It.constructor===nr)return It;var Gt=new nr(xt);return De(Gt,It),Gt}var qe=Math.random().toString(36).substring(2);function xt(){}var Fe=void 0,Be=1,bt=2,lt={error:null};function tt(){return new TypeError("You cannot resolve a promise with itself")}function St(){return new TypeError("A promises callback cannot return that same promise.")}function ht(It){try{return It.then}catch(nr){return lt.error=nr,lt}}function vt(It,nr,Gt,Jt){try{It.call(nr,Gt,Jt)}catch(hr){return hr}}function Ge(It,nr,Gt){R(function(Jt){var hr=!1,Xt=vt(Gt,nr,function(de){if(hr)return;hr=!0,nr!==de?De(Jt,de):st(Jt,de)},function(de){if(hr)return;hr=!0,Et(Jt,de)},"Settle: "+(Jt._label||" unknown promise"));!hr&&Xt&&(hr=!0,Et(Jt,Xt))},It)}function At(It,nr){nr._state===Be?st(It,nr._result):nr._state===bt?Et(It,nr._result):Mt(nr,void 0,function(Gt){return De(It,Gt)},function(Gt){return Et(It,Gt)})}function _e(It,nr,Gt){nr.constructor===It.constructor&&Gt===we&&nr.constructor.resolve===Ke?At(It,nr):Gt===lt?(Et(It,lt.error),lt.error=null):Gt===void 0?st(It,nr):T(Gt)?Ge(It,nr,Gt):st(It,nr)}function De(It,nr){It===nr?Et(It,tt()):O(nr)?_e(It,nr,ht(nr)):st(It,nr)}function Ie(It){It._onerror&&It._onerror(It._result),Pt(It)}function st(It,nr){if(It._state!==Fe)return;It._result=nr,It._state=Be,It._subscribers.length!==0&&R(Pt,It)}function Et(It,nr){if(It._state!==Fe)return;It._state=bt,It._result=nr,R(Ie,It)}function Mt(It,nr,Gt,Jt){var hr=It._subscribers,Xt=hr.length;It._onerror=null,hr[Xt]=nr,hr[Xt+Be]=Gt,hr[Xt+bt]=Jt,Xt===0&&It._state&&R(Pt,It)}function Pt(It){var nr=It._subscribers,Gt=It._state;if(nr.length===0)return;for(var Jt=void 0,hr=void 0,Xt=It._result,de=0;de<nr.length;de+=3)Jt=nr[de],hr=nr[de+Gt],Jt?zt(Gt,Jt,hr,Xt):hr(Xt);It._subscribers.length=0}function ke(It,nr){try{return It(nr)}catch(Gt){return lt.error=Gt,lt}}function zt(It,nr,Gt,Jt){var hr=T(Gt),Xt=void 0,de=void 0,ue=void 0,se=void 0;if(hr){if(Xt=ke(Gt,Jt),Xt===lt?(se=!0,de=Xt.error,Xt.error=null):ue=!0,nr===Xt){Et(nr,St());return}}else Xt=Jt,ue=!0;nr._state!==Fe||(hr&&ue?De(nr,Xt):se?Et(nr,de):It===Be?st(nr,Xt):It===bt&&Et(nr,Xt))}function Ot(It,nr){try{nr(function(Jt){De(It,Jt)},function(Jt){Et(It,Jt)})}catch(Gt){Et(It,Gt)}}var _t=0;function Ve(){return _t++}function Qe(It){It[qe]=_t++,It._state=void 0,It._result=void 0,It._subscribers=[]}function et(){return new Error("Array Methods must be provided an Array")}var dt=function(){function It(nr,Gt){this._instanceConstructor=nr,this.promise=new nr(xt),this.promise[qe]||Qe(this.promise),C(Gt)?(this.length=Gt.length,this._remaining=Gt.length,this._result=new Array(this.length),this.length===0?st(this.promise,this._result):(this.length=this.length||0,this._enumerate(Gt),this._remaining===0&&st(this.promise,this._result))):Et(this.promise,et())}return It.prototype._enumerate=function(Gt){for(var Jt=0;this._state===Fe&&Jt<Gt.length;Jt++)this._eachEntry(Gt[Jt],Jt)},It.prototype._eachEntry=function(Gt,Jt){var hr=this._instanceConstructor,Xt=hr.resolve;if(Xt===Ke){var de=ht(Gt);if(de===we&&Gt._state!==Fe)this._settledAt(Gt._state,Jt,Gt._result);else if(typeof de!="function")this._remaining--,this._result[Jt]=Gt;else if(hr===pt){var ue=new hr(xt);_e(ue,Gt,de),this._willSettleAt(ue,Jt)}else this._willSettleAt(new hr(function(se){return se(Gt)}),Jt)}else this._willSettleAt(Xt(Gt),Jt)},It.prototype._settledAt=function(Gt,Jt,hr){var Xt=this.promise;Xt._state===Fe&&(this._remaining--,Gt===bt?Et(Xt,hr):this._result[Jt]=hr),this._remaining===0&&st(Xt,this._result)},It.prototype._willSettleAt=function(Gt,Jt){var hr=this;Mt(Gt,void 0,function(Xt){return hr._settledAt(Be,Jt,Xt)},function(Xt){return hr._settledAt(bt,Jt,Xt)})},It}();function Ze(It){return new dt(this,It).promise}function oe(It){var nr=this;return C(It)?new nr(function(Gt,Jt){for(var hr=It.length,Xt=0;Xt<hr;Xt++)nr.resolve(It[Xt]).then(Gt,Jt)}):new nr(function(Gt,Jt){return Jt(new TypeError("You must pass an array to race."))})}function me(It){var nr=this,Gt=new nr(xt);return Et(Gt,It),Gt}function ot(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Pe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var pt=function(){function It(nr){this[qe]=Ve(),this._result=this._state=void 0,this._subscribers=[],xt!==nr&&(typeof nr!="function"&&ot(),this instanceof It?Ot(this,nr):Pe())}return It.prototype.catch=function(Gt){return this.then(null,Gt)},It.prototype.finally=function(Gt){var Jt=this,hr=Jt.constructor;return T(Gt)?Jt.then(function(Xt){return hr.resolve(Gt()).then(function(){return Xt})},function(Xt){return hr.resolve(Gt()).then(function(){throw Xt})}):Jt.then(Gt,Gt)},It}();pt.prototype.then=we,pt.all=Ze,pt.race=oe,pt.resolve=Ke,pt.reject=me,pt._setScheduler=U,pt._setAsap=M,pt._asap=R;function Rr(){var It=void 0;if(typeof l!="undefined")It=l;else if(typeof self!="undefined")It=self;else try{It=Function("return this")()}catch(Jt){throw new Error("polyfill failed because global object is unavailable in this environment")}var nr=It.Promise;if(nr){var Gt=null;try{Gt=Object.prototype.toString.call(nr.resolve())}catch(Jt){}if(Gt==="[object Promise]"&&!nr.cast)return}It.Promise=pt}return pt.polyfill=Rr,pt.Promise=pt,pt})}),c=t.Promise,o=function S(x){var O=b(S.convert(c.resolve()),JSON.parse(JSON.stringify(S.template))),T=S.convert(c.resolve(),O);return T=T.setProgress(1,S,1,[S]),T=T.set(x),T};o.prototype=Object.create(c.prototype),o.prototype.constructor=o,o.convert=function(x,O){return x.__proto__=O||o.prototype,x},o.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:{}}},o.prototype.from=function(x,O){function T(w){switch(h(w)){case"string":return"string";case"element":return w.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){O=O||T(x);switch(O){case"string":return this.set({src:i("div",{innerHTML:x})});case"element":return this.set({src:x});case"canvas":return this.set({canvas:x});case"img":return this.set({img:x});default:return this.error("Unknown source type.")}})},o.prototype.to=function(x){switch(x){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.")}},o.prototype.toContainer=function(){var x=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(x).then(function(){var T={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},w={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};T.opacity=0;var C=r(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=i("div",{className:"html2pdf__overlay",style:T}),this.prop.container=i("div",{className:"html2pdf__container",style:w}),this.prop.container.appendChild(C),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},o.prototype.toCanvas=function(){var x=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(x).then(function(){var T=b({},this.opt.html2canvas);return delete T.onrendered,p(this.prop.container,T)}).then(function(T){var w=this.opt.html2canvas.onrendered||function(){};w(T),this.prop.canvas=T,document.body.removeChild(this.prop.overlay)})},o.prototype.toImg=function(){var x=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(x).then(function(){var T=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=T})},o.prototype.toPdf=function(){var x=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(x).then(function(){var T=this.prop.canvas,w=this.opt,C=T.height,N=Math.floor(T.width*this.prop.pageSize.inner.ratio),D=Math.ceil(C/N),B=this.prop.pageSize.inner.height,R=document.createElement("canvas"),U=R.getContext("2d");R.width=T.width,R.height=N,this.prop.pdf=this.prop.pdf||new g(w.jsPDF);for(var M=0;M<D;M++){M===D-1&&C%N!==0&&(R.height=C%N,B=R.height*this.prop.pageSize.inner.width/R.width);var j=R.width,P=R.height;U.fillStyle="white",U.fillRect(0,0,j,P),U.drawImage(T,0,M*N,j,P,0,0,j,P),M&&this.prop.pdf.addPage();var K=R.toDataURL("image/"+w.image.type,w.image.quality);this.prop.pdf.addImage(K,w.image.type,w.margin[1],w.margin[0],this.prop.pageSize.inner.width,B)}})},o.prototype.output=function(x,O,T){return T=T||"pdf",T.toLowerCase()==="img"||T.toLowerCase()==="image"?this.outputImg(x,O):this.outputPdf(x,O)},o.prototype.outputPdf=function(x,O){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).then(function(){return this.prop.pdf.output(x,O)})},o.prototype.outputImg=function(x,O){var T=[function(){return this.prop.img||this.toImg()}];return this.thenList(T).then(function(){switch(x){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 "'+x+'" is not supported.'}})},o.prototype.save=function(x){var O=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(O).set(x?{filename:x}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},o.prototype.set=function(x){if(h(x)!=="object")return this;var O=Object.keys(x||{}).map(function(T){if(T in o.template.prop)return function(){this.prop[T]=x[T]};switch(T){case"margin":return this.setMargin.bind(this,x.margin);case"jsPDF":return function(){return this.opt.jsPDF=x.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,x.pageSize);default:return function(){this.opt[T]=x[T]}}},this);return this.then(function(){return this.thenList(O)})},o.prototype.get=function(x,O){return this.then(function(){var w=x in o.template.prop?this.prop[x]:this.opt[x];return O?O(w):w})},o.prototype.setMargin=function(x){return this.then(function(){switch(h(x)){case"number":x=[x,x,x,x];case"array":if(x.length===2&&(x=[x[0],x[1],x[0],x[1]]),x.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=x}).then(this.setPageSize)},o.prototype.setPageSize=function(x){return this.then(function(){x=x||g.getPageSize(this.opt.jsPDF),x.hasOwnProperty("inner")||(x.inner={width:x.width-this.opt.margin[1]-this.opt.margin[3],height:x.height-this.opt.margin[0]-this.opt.margin[2]},x.inner.px={width:s(x.inner.width,x.k),height:s(x.inner.height,x.k)},x.inner.ratio=x.inner.height/x.inner.width),this.prop.pageSize=x})},o.prototype.setProgress=function(x,O,T,w){return x!=null&&(this.progress.val=x),O!=null&&(this.progress.state=O),T!=null&&(this.progress.n=T),w!=null&&(this.progress.stack=w),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(x,O,T,w){return this.setProgress(x?this.progress.val+x:null,O||null,T?this.progress.n+T:null,w?this.progress.stack.concat(w):null)},o.prototype.then=function(x,O){var T=this;return this.thenCore(x,O,function(C,N){return T.updateProgress(null,null,1,[C]),c.prototype.then.call(this,function(B){return T.updateProgress(null,C),B}).then(C,N).then(function(B){return T.updateProgress(1),B})})},o.prototype.thenCore=function(x,O,T){T=T||c.prototype.then;var w=this;x&&(x=x.bind(w)),O&&(O=O.bind(w));var C=c.toString().indexOf("[native code]")!==-1&&c.name==="Promise",N=C?w:o.convert(b({},w),c.prototype),D=T.call(N,x,O);return o.convert(D,w.__proto__)},o.prototype.thenExternal=function(x,O){return c.prototype.then.call(this,x,O)},o.prototype.thenList=function(x){var O=this;return x.forEach(function(w){O=O.thenCore(w)}),O},o.prototype.catch=function(S){S&&(S=S.bind(this));var x=c.prototype.catch.call(this,S);return o.convert(x,this)},o.prototype.catchExternal=function(x){return c.prototype.catch.call(this,x)},o.prototype.error=function(x){return this.then(function(){throw new Error(x)})},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,g.getPageSize=function(S,x,O){if((typeof S=="undefined"?"undefined":A(S))==="object"){var T=S;S=T.orientation,x=T.unit||x,O=T.format||O}x=x||"mm",O=O||"a4",S=(""+(S||"P")).toLowerCase();var w=(""+O).toLowerCase(),C={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(x){case"pt":var N=1;break;case"mm":var N=72/25.4;break;case"cm":var N=72/2.54;break;case"in":var N=72;break;case"px":var N=72/96;break;case"pc":var N=12;break;case"em":var N=12;break;case"ex":var N=6;break;default:throw"Invalid unit: "+x}if(C.hasOwnProperty(w))var D=C[w][1]/N,B=C[w][0]/N;else try{var D=O[1],B=O[0]}catch(M){throw new Error("Invalid format: "+O)}if(S==="p"||S==="portrait"){if(S="p",B>D){var R=B;B=D,D=R}}else if(S==="l"||S==="landscape"){if(S="l",D>B){var R=B;B=D,D=R}}else throw"Invalid orientation: "+S;var U={width:B,height:D,unit:x,k:N};return U};var f={toContainer:o.prototype.toContainer};o.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},o.prototype.toContainer=function(){return f.toContainer.call(this).then(function(){var O=this.prop.container,T=this.prop.pageSize.inner.px.height,w=[].concat(this.opt.pagebreak.mode),C={avoidAll:w.indexOf("avoid-all")!==-1,css:w.indexOf("css")!==-1,legacy:w.indexOf("legacy")!==-1},N={},D=this;["before","after","avoid"].forEach(function(U){var M=C.avoidAll&&U==="avoid";N[U]=M?[]:[].concat(D.opt.pagebreak[U]||[]),N[U].length>0&&(N[U]=Array.prototype.slice.call(O.querySelectorAll(N[U].join(", "))))});var B=O.querySelectorAll(".html2pdf__page-break");B=Array.prototype.slice.call(B);var R=O.querySelectorAll("*");Array.prototype.forEach.call(R,function(M){var j={before:!1,after:C.legacy&&B.indexOf(M)!==-1,avoid:C.avoidAll};if(C.css){var P=window.getComputedStyle(M),K=["always","page","left","right"],H=["avoid","avoid-page"];j={before:j.before||K.indexOf(P.breakBefore||P.pageBreakBefore)!==-1,after:j.after||K.indexOf(P.breakAfter||P.pageBreakAfter)!==-1,avoid:j.avoid||H.indexOf(P.breakInside||P.pageBreakInside)!==-1}}Object.keys(j).forEach(function(X){j[X]=j[X]||N[X].indexOf(M)!==-1});var k=M.getBoundingClientRect();if(j.avoid&&!j.before){var Z=Math.floor(k.top/T),Y=Math.floor(k.bottom/T),_=Math.abs(k.bottom-k.top)/T;Y!==Z&&_<=1&&(j.before=!0)}if(j.before){var Q=i("div",{style:{display:"block",height:T-k.top%T+"px"}});M.parentNode.insertBefore(Q,M)}if(j.after){var Q=i("div",{style:{display:"block",height:T-k.bottom%T+"px"}});M.parentNode.insertBefore(Q,M.nextSibling)}})})};var v=[],y={toContainer:o.prototype.toContainer,toPdf:o.prototype.toPdf};o.prototype.toContainer=function(){return y.toContainer.call(this).then(function(){if(this.opt.enableLinks){var O=this.prop.container,T=O.querySelectorAll("a"),w=a(O.getBoundingClientRect(),this.prop.pageSize.k);v=[],Array.prototype.forEach.call(T,function(C){for(var N=C.getClientRects(),D=0;D<N.length;D++){var B=a(N[D],this.prop.pageSize.k);B.left-=w.left,B.top-=w.top;var R=Math.floor(B.top/this.prop.pageSize.inner.height)+1,U=this.opt.margin[0]+B.top%this.prop.pageSize.inner.height,M=this.opt.margin[1]+B.left;v.push({page:R,top:U,left:M,clientRect:B,link:C})}},this)}})},o.prototype.toPdf=function(){return y.toPdf.call(this).then(function(){if(this.opt.enableLinks){v.forEach(function(T){this.prop.pdf.setPage(T.page),this.prop.pdf.link(T.left,T.top,T.clientRect.width,T.clientRect.height,{url:T.link.href})},this);var O=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(O)}})};var L=function S(x,O){var T=new S.Worker(O);return x?T.from(x).save():T};return L.Worker=o,L})}).call(this,e("yLpj"),e("Q2Ig"))},"1tlw":function(J,F,e){var d=e("MBQ8"),E=d.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(p){return p.stack=null,E.superApply(this,"getInitialData",arguments)}}),g=E;J.exports=g},"1u/T":function(J,F,e){var d=e("ProS"),E={type:"selectDataRange",event:"dataRangeSelected",update:"update"};d.registerAction(E,function(g,p){p.eachComponent({mainType:"visualMap",query:g},function(A){A.setSelected(g.selected)})})},"1vzs":function(J,F,e){"use strict";e.d(F,"a",function(){return t});var d=e("q1tI"),E=e.n(d),g=e("HQEm"),p=e.n(g),A=e("gZBC"),b=e.n(A),h=e("NAnI"),i=e.n(h),r=e("V/uB"),a=e.n(r),s=e("kbBi"),l=e.n(s),n=e("w6Tc"),u=e.n(n);function t(c){var o=c.suffixIcon,f=c.clearIcon,v=c.menuItemSelectedIcon,y=c.removeIcon,L=c.loading,S=c.multiple,x=c.prefixCls,O=f;f||(O=d.createElement(l.a,null));var T=null;if(o!==void 0)T=o;else if(L)T=d.createElement(b.a,{spin:!0});else{var w="".concat(x,"-suffix");T=function(B){var R=B.open,U=B.showSearch;return R&&U?d.createElement(u.a,{className:w}):d.createElement(p.a,{className:w})}}var C=null;v!==void 0?C=v:S?C=d.createElement(i.a,null):C=null;var N=null;return y!==void 0?N=y:N=d.createElement(a.a,null),{clearIcon:O,suffixIcon:T,itemIcon:C,removeIcon:N}}},"1xaR":function(J,F,e){var d=e("ProS"),E=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var g=e("mOdp"),p=e("y3NT"),A=e("0/Rx");d.registerVisual(E.curry(g,"sunburst")),d.registerLayout(E.curry(p,"sunburst")),d.registerProcessor(E.curry(A,"sunburst"))},"24YM":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.SensorTabIndex=F.SensorClassName=F.SizeSensorId=void 0;var d="size-sensor-id";F.SizeSensorId=d;var E="size-sensor-object";F.SensorClassName=E;var g="-1";F.SensorTabIndex=g},"2548":function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("6GrX"),p=e("IUWy"),A=e("IwbS"),b=e("Qxkt"),h=e("gPAo"),i=e("eRkO"),r=d.extendComponentView({type:"toolbox",render:function(s,l,n,u){var t=this.group;if(t.removeAll(),!s.get("show"))return;var c=+s.get("itemSize"),o=s.get("feature")||{},f=this._features||(this._features={}),v=[];E.each(o,function(S,x){v.push(x)}),new h(this._featureNames||[],v).add(y).update(y).remove(E.curry(y,null)).execute(),this._featureNames=v;function y(S,x){var O=v[S],T=v[x],w=o[O],C=new b(w,s,s.ecModel),N;if(u&&u.newTitle!=null&&u.featureName===O&&(w.title=u.newTitle),O&&!T){if(a(O))N={model:C,onclick:C.option.onclick,featureName:O};else{var D=p.get(O);if(!D)return;N=new D(C,l,n)}f[O]=N}else{if(N=f[T],!N)return;N.model=C,N.ecModel=l,N.api=n}if(!O&&T){N.dispose&&N.dispose(l,n);return}if(!C.get("show")||N.unusable){N.remove&&N.remove(l,n);return}L(C,N,O),C.setIconStatus=function(B,R){var U=this.option,M=this.iconPaths;U.iconStatus=U.iconStatus||{},U.iconStatus[B]=R,M[B]&&M[B].trigger(R)},N.render&&N.render(C,l,n,u)}function L(S,x,O){var T=S.getModel("iconStyle"),w=S.getModel("emphasis.iconStyle"),C=x.getIcons?x.getIcons():S.get("icon"),N=S.get("title")||{};if(typeof C=="string"){var D=C,B=N;C={},N={},C[O]=D,N[O]=B}var R=S.iconPaths={};E.each(C,function(U,M){var j=A.createIcon(U,{},{x:-c/2,y:-c/2,width:c,height:c});j.setStyle(T.getItemStyle()),j.hoverStyle=w.getItemStyle(),j.setStyle({text:N[M],textAlign:w.get("textAlign"),textBorderRadius:w.get("textBorderRadius"),textPadding:w.get("textPadding"),textFill:null});var P=s.getModel("tooltip");P&&P.get("show")&&j.attr("tooltip",E.extend({content:N[M],formatter:P.get("formatter",!0)||function(){return N[M]},formatterParams:{componentType:"toolbox",name:M,title:N[M],$vars:["name","title"]},position:P.get("position",!0)||"bottom"},P.option)),A.setHoverStyle(j),s.get("showTitle")&&(j.__title=N[M],j.on("mouseover",function(){var K=w.getItemStyle(),H=s.get("orient")==="vertical"?s.get("right")==null?"right":"left":s.get("bottom")==null?"bottom":"top";j.setStyle({textFill:w.get("textFill")||K.fill||K.stroke||"#000",textBackgroundColor:w.get("textBackgroundColor"),textPosition:w.get("textPosition")||H})}).on("mouseout",function(){j.setStyle({textFill:null,textBackgroundColor:null})})),j.trigger(S.get("iconStatus."+M)||"normal"),t.add(j),j.on("click",E.bind(x.onclick,x,l,n,M)),R[M]=j})}i.layout(t,s,n),t.add(i.makeBackground(t.getBoundingRect(),s)),t.eachChild(function(S){var x=S.__title,O=S.hoverStyle;if(O&&x){var T=g.getBoundingRect(x,g.makeFont(O)),w=S.position[0]+t.position[0],C=S.position[1]+t.position[1]+c,N=!1;C+T.height>n.getHeight()&&(O.textPosition="top",N=!0);var D=N?-5-T.height:c+8;w+T.width/2>n.getWidth()?(O.textPosition=["100%",D],O.textAlign="right"):w-T.width/2<0&&(O.textPosition=[0,D],O.textAlign="left")}})},updateView:function(s,l,n,u){E.each(this._features,function(t){t.updateView&&t.updateView(t.model,l,n,u)})},remove:function(s,l){E.each(this._features,function(n){n.remove&&n.remove(s,l)}),this.group.removeAll()},dispose:function(s,l){E.each(this._features,function(n){n.dispose&&n.dispose(s,l)})}});function a(s){return s.indexOf("my")===0}J.exports=r},"2B6p":function(J,F){function e(d,E,g){var p=d.getZoom(),A=d.getCenter(),b=E.zoom,h=d.dataToPoint(A);if(E.dx!=null&&E.dy!=null){h[0]-=E.dx,h[1]-=E.dy;var A=d.pointToData(h);d.setCenter(A)}if(b!=null){if(g){var i=g.min||0,r=g.max||Infinity;b=Math.max(Math.min(p*b,r),i)/p}d.scale[0]*=b,d.scale[1]*=b;var a=d.position,s=(E.originX-a[0])*(b-1),l=(E.originY-a[1])*(b-1);a[0]-=s,a[1]-=l,d.updateTransform();var A=d.pointToData(h);d.setCenter(A),d.setZoom(b*p)}return{center:d.getCenter(),zoom:d.getZoom()}}F.updateCenterAndZoom=e},"2BaD":function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="CloseCircleOutlined";var b=F.a=d.forwardRef(A)},"2DNl":function(J,F,e){var d=e("IMiH"),E=e("loD1"),g=e("59Ip"),p=e("aKvl"),A=e("n1HI"),b=e("hX1E"),h=b.normalizeRadian,i=e("Sj9i"),r=e("hyiK"),a=d.CMD,s=Math.PI*2,l=1e-4;function n(x,O){return Math.abs(x-O)<l}var u=[-1,-1,-1],t=[-1,-1];function c(){var x=t[0];t[0]=t[1],t[1]=x}function o(x,O,T,w,C,N,D,B,R,U){if(U>O&&U>w&&U>N&&U>B||U<O&&U<w&&U<N&&U<B)return 0;var M=i.cubicRootAt(O,w,N,B,U,u);if(M===0)return 0;for(var j=0,P=-1,K,H,k=0;k<M;k++){var Z=u[k],Y=Z===0||Z===1?.5:1,_=i.cubicAt(x,T,C,D,Z);if(_<R)continue;P<0&&(P=i.cubicExtrema(O,w,N,B,t),t[1]<t[0]&&P>1&&c(),K=i.cubicAt(O,w,N,B,t[0]),P>1&&(H=i.cubicAt(O,w,N,B,t[1]))),P===2?Z<t[0]?j+=K<O?Y:-Y:Z<t[1]?j+=H<K?Y:-Y:j+=B<H?Y:-Y:Z<t[0]?j+=K<O?Y:-Y:j+=B<K?Y:-Y}return j}function f(x,O,T,w,C,N,D,B){if(B>O&&B>w&&B>N||B<O&&B<w&&B<N)return 0;var R=i.quadraticRootAt(O,w,N,B,u);if(R===0)return 0;var U=i.quadraticExtremum(O,w,N);if(U>=0&&U<=1){for(var M=0,j=i.quadraticAt(O,w,N,U),P=0;P<R;P++){var K=u[P]===0||u[P]===1?.5:1,H=i.quadraticAt(x,T,C,u[P]);if(H<D)continue;u[P]<U?M+=j<O?K:-K:M+=N<j?K:-K}return M}else{var K=u[0]===0||u[0]===1?.5:1,H=i.quadraticAt(x,T,C,u[0]);return H<D?0:N<O?K:-K}}function v(x,O,T,w,C,N,D,B){if(B-=O,B>T||B<-T)return 0;var R=Math.sqrt(T*T-B*B);u[0]=-R,u[1]=R;var U=Math.abs(w-C);if(U<1e-4)return 0;if(U%s<1e-4){w=0,C=s;var M=N?1:-1;return D>=u[0]+x&&D<=u[1]+x?M:0}if(N){var R=w;w=h(C),C=h(R)}else w=h(w),C=h(C);w>C&&(C+=s);for(var j=0,P=0;P<2;P++){var K=u[P];if(K+x>D){var H=Math.atan2(B,K),M=N?1:-1;H<0&&(H=s+H),(H>=w&&H<=C||H+s>=w&&H+s<=C)&&(H>Math.PI/2&&H<Math.PI*1.5&&(M=-M),j+=M)}}return j}function y(x,O,T,w,C){for(var N=0,D=0,B=0,R=0,U=0,M=0;M<x.length;){var j=x[M++];j===a.M&&M>1&&(T||(N+=r(D,B,R,U,w,C))),M===1&&(D=x[M],B=x[M+1],R=D,U=B);switch(j){case a.M:R=x[M++],U=x[M++],D=R,B=U;break;case a.L:if(T){if(E.containStroke(D,B,x[M],x[M+1],O,w,C))return!0}else N+=r(D,B,x[M],x[M+1],w,C)||0;D=x[M++],B=x[M++];break;case a.C:if(T){if(g.containStroke(D,B,x[M++],x[M++],x[M++],x[M++],x[M],x[M+1],O,w,C))return!0}else N+=o(D,B,x[M++],x[M++],x[M++],x[M++],x[M],x[M+1],w,C)||0;D=x[M++],B=x[M++];break;case a.Q:if(T){if(p.containStroke(D,B,x[M++],x[M++],x[M],x[M+1],O,w,C))return!0}else N+=f(D,B,x[M++],x[M++],x[M],x[M+1],w,C)||0;D=x[M++],B=x[M++];break;case a.A:var P=x[M++],K=x[M++],H=x[M++],k=x[M++],Z=x[M++],Y=x[M++];M+=1;var _=1-x[M++],Q=Math.cos(Z)*H+P,X=Math.sin(Z)*k+K;M>1?N+=r(D,B,Q,X,w,C):(R=Q,U=X);var he=(w-P)*k/H+P;if(T){if(A.containStroke(P,K,k,Z,Z+Y,_,O,he,C))return!0}else N+=v(P,K,k,Z,Z+Y,_,he,C);D=Math.cos(Z+Y)*H+P,B=Math.sin(Z+Y)*k+K;break;case a.R:R=D=x[M++],U=B=x[M++];var te=x[M++],fe=x[M++],Q=R+te,X=U+fe;if(T){if(E.containStroke(R,U,Q,U,O,w,C)||E.containStroke(Q,U,Q,X,O,w,C)||E.containStroke(Q,X,R,X,O,w,C)||E.containStroke(R,X,R,U,O,w,C))return!0}else N+=r(Q,U,Q,X,w,C),N+=r(R,X,R,U,w,C);break;case a.Z:if(T){if(E.containStroke(D,B,R,U,O,w,C))return!0}else N+=r(D,B,R,U,w,C);D=R,B=U;break}}return!T&&!n(B,U)&&(N+=r(D,B,R,U,w,C)||0),N!==0}function L(x,O,T){return y(x,0,!1,O,T)}function S(x,O,T,w){return y(x,O,!0,T,w)}F.contain=L,F.containStroke=S},"2Qr1":function(J,F,e){"use strict";e.d(F,"d",function(){return n}),e.d(F,"c",function(){return t}),e.d(F,"e",function(){return c}),e.d(F,"b",function(){return v}),e.d(F,"f",function(){return y}),e.d(F,"g",function(){return L}),e.d(F,"a",function(){return S});var d=e("rePB"),E=e("KQm4"),g=e("DSFK"),p=e("25BE"),A=e("BsWD"),b=e("PYwp");function h(x){return Object(g.a)(x)||Object(p.a)(x)||Object(A.a)(x)||Object(b.a)()}var i=e("U8pU"),r=e("VTBJ"),a=e("Kwbf"),s=e("WKfj");function l(x,O){var T=x.key,w;return"value"in x&&(w=x.value),T!=null?T:w!==void 0?w:"rc-index-key-".concat(O)}function n(x){var O=[];function T(w,C){w.forEach(function(N){C||!("options"in N)?O.push({key:l(N,O.length),groupOption:C,data:N}):(O.push({key:l(N,O.length),group:!0,data:N}),T(N.options,!0))})}return T(x,!1),O}function u(x){var O=Object(r.a)({},x);return"props"in O||Object.defineProperty(O,"props",{get:function(){return Object(a.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),O}}),O}function t(x,O){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=T.prevValueOptions,C=w===void 0?[]:w,N=new Map;return O.forEach(function(D){if(!D.group){var B=D.data;N.set(B.value,B)}}),x.map(function(D){var B=N.get(D);return B||(B=Object(r.a)({},C.find(function(R){return R._INTERNAL_OPTION_VALUE_===D}))),u(B)})}var c=function(O,T){var w=T.options,C=T.prevValue,N=T.labelInValue,D=T.optionLabelProp,B=t([O],w)[0],R={value:O},U,M=Object(s.d)(C);return N&&(U=M.find(function(j){return Object(i.a)(j)==="object"&&"value"in j?j.value===O:j.key===O})),U&&Object(i.a)(U)==="object"&&"label"in U?(R.label=U.label,B&&typeof U.label=="string"&&typeof B[D]=="string"&&U.label.trim()!==B[D].trim()&&Object(a.a)(!1,"`label` of `value` is not same as `label` in Select options.")):B&&D in B?R.label=B[D]:R.label=O,R.key=R.value,R};function o(x){return Object(s.d)(x).join("")}function f(x){return function(O,T){var w=O.toLowerCase();if("options"in T)return o(T.label).toLowerCase().includes(w);var C=T[x],N=o(C).toLowerCase();return N.includes(w)&&!T.disabled}}function v(x,O,T){var w=T.optionFilterProp,C=T.filterOption,N=[],D;return C===!1?O:(typeof C=="function"?D=C:D=f(w),O.forEach(function(B){if("options"in B){var R=D(x,B);if(R)N.push(B);else{var U=B.options.filter(function(M){return D(x,M)});U.length&&N.push(Object(r.a)(Object(r.a)({},B),{},{options:U}))}return}D(x,u(B))&&N.push(B)}),N)}function y(x,O){if(!O||!O.length)return null;var T=!1;function w(N,D){var B=h(D),R=B[0],U=B.slice(1);if(!R)return[N];var M=N.split(R);return T=T||M.length>1,M.reduce(function(j,P){return[].concat(Object(E.a)(j),Object(E.a)(w(P,U)))},[]).filter(function(j){return j})}var C=w(x,O);return T?C:null}function L(x,O){var T=t([x],O)[0];return T.disabled}function S(x,O,T,w){var C=Object(s.d)(O).slice().sort(),N=Object(E.a)(x),D=new Set;return x.forEach(function(B){B.options?B.options.forEach(function(R){D.add(R.value)}):D.add(B.value)}),C.forEach(function(B){var R=w?B.value:B;if(!D.has(R)){var U;N.push(w?(U={},Object(d.a)(U,T,B.label),Object(d.a)(U,"value",R),U):{value:R})}}),N}},"2dDv":function(J,F,e){var d=e("bYtY"),E=e("Fofx"),g=e("+TT/"),p=e("aX7z"),A=e("D1WM"),b=e("IwbS"),h=e("OELB"),i=e("72pK"),r=d.each,a=Math.min,s=Math.max,l=Math.floor,n=Math.ceil,u=h.round,t=Math.PI;function c(L,S,x){this._axesMap=d.createHashMap(),this._axesLayout={},this.dimensions=L.dimensions,this._rect,this._model=L,this._init(L,S,x)}c.prototype={type:"parallel",constructor:c,_init:function(L,S,x){var O=L.dimensions,T=L.parallelAxisIndex;r(O,function(w,C){var N=T[C],D=S.getComponent("parallelAxis",N),B=this._axesMap.set(w,new A(w,p.createScaleByModel(D),[0,0],D.get("type"),N)),R=B.type==="category";B.onBand=R&&D.get("boundaryGap"),B.inverse=D.get("inverse"),D.axis=B,B.model=D,B.coordinateSystem=D.coordinateSystem=this},this)},update:function(L,S){this._updateAxesFromSeries(this._model,L)},containPoint:function(L){var S=this._makeLayoutInfo(),x=S.axisBase,O=S.layoutBase,T=S.pixelDimIndex,w=L[1-T],C=L[T];return w>=x&&w<=x+S.axisLength&&C>=O&&C<=O+S.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(L,S){S.eachSeries(function(x){if(!L.contains(x,S))return;var O=x.getData();r(this.dimensions,function(T){var w=this._axesMap.get(T);w.scale.unionExtentFromData(O,O.mapDimension(T)),p.niceScaleExtent(w.scale,w.model)},this)},this)},resize:function(L,S){this._rect=g.getLayoutRect(L.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var L=this._model,S=this._rect,x=["x","y"],O=["width","height"],T=L.get("layout"),w=T==="horizontal"?0:1,C=S[O[w]],N=[0,C],D=this.dimensions.length,B=o(L.get("axisExpandWidth"),N),R=o(L.get("axisExpandCount")||0,[0,D]),U=L.get("axisExpandable")&&D>3&&D>R&&R>1&&B>0&&C>0,M=L.get("axisExpandWindow"),j;if(M)j=o(M[1]-M[0],N),M[1]=M[0]+j;else{j=o(B*(R-1),N);var P=L.get("axisExpandCenter")||l(D/2);M=[B*P-j/2],M[1]=M[0]+j}var K=(C-j)/(D-R);K<3&&(K=0);var H=[l(u(M[0]/B,1))+1,n(u(M[1]/B,1))-1],k=K/B*M[0];return{layout:T,pixelDimIndex:w,layoutBase:S[x[w]],layoutLength:C,axisBase:S[x[1-w]],axisLength:S[O[1-w]],axisExpandable:U,axisExpandWidth:B,axisCollapseWidth:K,axisExpandWindow:M,axisCount:D,winInnerIndices:H,axisExpandWindow0Pos:k}},_layoutAxes:function(){var L=this._rect,S=this._axesMap,x=this.dimensions,O=this._makeLayoutInfo(),T=O.layout;S.each(function(w){var C=[0,O.axisLength],N=w.inverse?1:0;w.setExtent(C[N],C[1-N])}),r(x,function(w,C){var N=(O.axisExpandable?v:f)(C,O),D={horizontal:{x:N.position,y:O.axisLength},vertical:{x:0,y:N.position}},B={horizontal:t/2,vertical:0},R=[D[T].x+L.x,D[T].y+L.y],U=B[T],M=E.create();E.rotate(M,M,U),E.translate(M,M,R),this._axesLayout[w]={position:R,rotation:U,transform:M,axisNameAvailableWidth:N.axisNameAvailableWidth,axisLabelShow:N.axisLabelShow,nameTruncateMaxWidth:N.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(L){return this._axesMap.get(L)},dataToPoint:function(L,S){return this.axisCoordToPoint(this._axesMap.get(S).dataToCoord(L),S)},eachActiveState:function(L,S,x,O){x==null&&(x=0),O==null&&(O=L.count());var T=this._axesMap,w=this.dimensions,C=[],N=[];d.each(w,function(K){C.push(L.mapDimension(K)),N.push(T.get(K).model)});for(var D=this.hasAxisBrushed(),B=x;B<O;B++){var R;if(!D)R="normal";else{R="active";for(var U=L.getValues(C,B),M=0,j=w.length;M<j;M++){var P=N[M].getActiveState(U[M]);if(P==="inactive"){R="inactive";break}}}S(R,B)}},hasAxisBrushed:function(){for(var L=this.dimensions,S=this._axesMap,x=!1,O=0,T=L.length;O<T;O++)S.get(L[O]).model.getActiveState()!=="normal"&&(x=!0);return x},axisCoordToPoint:function(L,S){var x=this._axesLayout[S];return b.applyTransform([L,0],x.transform)},getAxisLayout:function(L){return d.clone(this._axesLayout[L])},getSlidedAxisExpandWindow:function(L){var S=this._makeLayoutInfo(),x=S.pixelDimIndex,O=S.axisExpandWindow.slice(),T=O[1]-O[0],w=[0,S.axisExpandWidth*(S.axisCount-1)];if(!this.containPoint(L))return{behavior:"none",axisExpandWindow:O};var C=L[x]-S.layoutBase-S.axisExpandWindow0Pos,N,D="slide",B=S.axisCollapseWidth,R=this._model.get("axisExpandSlideTriggerArea"),U=R[0]!=null;if(B)U&&B&&C<T*R[0]?(D="jump",N=C-T*R[2]):U&&B&&C>T*(1-R[0])?(D="jump",N=C-T*(1-R[2])):(N=C-T*R[1])>=0&&(N=C-T*(1-R[1]))<=0&&(N=0),N*=S.axisExpandWidth/B,N?i(N,O,w,"all"):D="none";else{var T=O[1]-O[0],M=w[1]*C/T;O=[s(0,M-T/2)],O[1]=a(w[1],O[0]+T),O[0]=O[1]-T}return{axisExpandWindow:O,behavior:D}}};function o(L,S){return a(s(L,S[0]),S[1])}function f(L,S){var x=S.layoutLength/(S.axisCount-1);return{position:x*L,axisNameAvailableWidth:x,axisLabelShow:!0}}function v(L,S){var x=S.layoutLength,O=S.axisExpandWidth,T=S.axisCount,w=S.axisCollapseWidth,C=S.winInnerIndices,N,D=w,B=!1,R;return L<C[0]?(N=L*w,R=w):L<=C[1]?(N=S.axisExpandWindow0Pos+L*O-S.axisExpandWindow[0],D=O,B=!0):(N=x-(T-1-L)*w,R=w),{position:N,axisNameAvailableWidth:D,axisLabelShow:B,nameTruncateMaxWidth:R}}var y=c;J.exports=y},"2fGM":function(J,F,e){var d=e("bYtY"),E=e("bLfw"),g=e("nkfE"),p=e("ICMv"),A=E.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});d.merge(A.prototype,p);var b={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function h(i,r){return r.type||(r.data?"category":"value")}g("angle",A,h,b.angle),g("radius",A,h,b.radius)},"2fM7":function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("7W2i"),a=e.n(r),s=e("LQ03"),l=e.n(s),n=e("q1tI"),u=e("BGR+"),t=e("TSYQ"),c=e.n(t),o=e("1OyB"),f=e("vuIU"),v=e("Ji7U"),y=e("LK+K"),L=e("rePB"),S=e("Ff2n"),x=e("ODXe"),O=e("4IlW"),T=e("bX4T"),w=e("YrtM"),C=e("+nKL"),N=e("8OUc"),D=function(St,ht){var vt=St.prefixCls,Ge=St.id,At=St.flattenOptions,_e=St.childrenAsData,De=St.values,Ie=St.searchValue,st=St.multiple,Et=St.defaultActiveFirstOption,Mt=St.height,Pt=St.itemHeight,ke=St.notFoundContent,zt=St.open,Ot=St.menuItemSelectedIcon,_t=St.virtual,Ve=St.onSelect,Qe=St.onToggleOpen,et=St.onActiveValue,dt=St.onScroll,Ze=St.onMouseEnter,oe="".concat(vt,"-item"),me=Object(w.a)(function(){return At},[zt,At],function(ue,se){return se[0]&&ue[1]!==se[1]}),ot=n.useRef(null),Pe=function(se){se.preventDefault()},pt=function(se){ot.current&&ot.current.scrollTo({index:se})},Rr=function(se){for(var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ye=me.length,Ce=0;Ce<ye;Ce+=1){var Oe=(se+Ce*ae+ye)%ye,Te=me[Oe],xe=Te.group,je=Te.data;if(!xe&&!je.disabled)return Oe}return-1},It=n.useState(function(){return Rr(0)}),nr=Object(x.a)(It,2),Gt=nr[0],Jt=nr[1],hr=function(se){Jt(se);var ae=me[se];if(!ae){et(null,-1);return}et(ae.data.value,se)};n.useEffect(function(){hr(Et!==!1?Rr(0):-1)},[me.length,Ie]),n.useEffect(function(){var ue=setTimeout(function(){if(!st&&zt&&De.size===1){var se=Array.from(De)[0],ae=me.findIndex(function(ye){var Ce=ye.data;return Ce.value===se});hr(ae),pt(ae)}});return function(){return clearTimeout(ue)}},[zt]);var Xt=function(se){se!==void 0&&Ve(se,{selected:!De.has(se)}),st||Qe(!1)};if(n.useImperativeHandle(ht,function(){return{onKeyDown:function(se){var ae=se.which;switch(ae){case O.a.UP:case O.a.DOWN:{var ye=0;if(ae===O.a.UP?ye=-1:ae===O.a.DOWN&&(ye=1),ye!==0){var Ce=Rr(Gt+ye,ye);pt(Ce),hr(Ce)}break}case O.a.ENTER:{var Oe=me[Gt];Oe&&!Oe.data.disabled?Xt(Oe.data.value):Xt(void 0),zt&&se.preventDefault();break}case O.a.ESC:Qe(!1)}},onKeyUp:function(){},scrollTo:function(se){pt(se)}}}),me.length===0)return n.createElement("div",{role:"listbox",id:"".concat(Ge,"_list"),className:"".concat(oe,"-empty"),onMouseDown:Pe},ke);function de(ue){var se=me[ue];if(!se)return null;var ae=se.data||{},ye=ae.value,Ce=ae.label,Oe=ae.children,Te=Object(T.a)(ae,!0),xe=_e?Oe:Ce;return se?n.createElement("div",Object.assign({"aria-label":typeof xe=="string"?xe:null},Te,{key:ue,role:"option",id:"".concat(Ge,"_list_").concat(ue),"aria-selected":De.has(ye)}),ye):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(Ge,"_list"),style:{height:0,width:0,overflow:"hidden"}},de(Gt-1),de(Gt),de(Gt+1)),n.createElement(C.a,{itemKey:"key",ref:ot,data:me,height:Mt,itemHeight:Pt,fullHeight:!1,onMouseDown:Pe,onScroll:dt,virtual:_t,onMouseEnter:Ze},function(ue,se){var ae,ye=ue.group,Ce=ue.groupOption,Oe=ue.data,Te=Oe.label,xe=Oe.key;if(ye)return n.createElement("div",{className:c()(oe,"".concat(oe,"-group"))},Te!==void 0?Te:xe);var je=Oe.disabled,ut=Oe.value,wt=Oe.title,ee=Oe.children,ie=Oe.style,z=Oe.className,$=Object(S.a)(Oe,["disabled","value","title","children","style","className"]),le=De.has(ut),ge="".concat(oe,"-option"),Ae=c()(oe,ge,z,(ae={},Object(L.a)(ae,"".concat(ge,"-grouped"),Ce),Object(L.a)(ae,"".concat(ge,"-active"),Gt===se&&!je),Object(L.a)(ae,"".concat(ge,"-disabled"),je),Object(L.a)(ae,"".concat(ge,"-selected"),le),ae)),Me=_e?ee:Te,$e=!Ot||typeof Ot=="function"||le;return n.createElement("div",Object.assign({},$,{"aria-selected":le,className:Ae,title:wt,onMouseMove:function(){if(Gt===se||je)return;hr(se)},onClick:function(){je||Xt(ut)},style:ie}),n.createElement("div",{className:"".concat(ge,"-content")},Me||ut),n.isValidElement(Ot)||le,$e&&n.createElement(N.a,{className:"".concat(oe,"-option-state"),customizeIcon:Ot,customizeIconProps:{isSelected:le}},le?"\u2713":null))}))},B=n.forwardRef(D);B.displayName="OptionList";var R=B,U=function(){return null};U.isSelectOption=!0;var M=U,j=function(){return null};j.isSelectOptGroup=!0;var P=j,K=e("VTBJ"),H=e("Zm9Q");function k(tt){var St=tt.key,ht=tt.props,vt=ht.children,Ge=ht.value,At=Object(S.a)(ht,["children","value"]);return Object(K.a)({key:St,value:Ge!==void 0?Ge:St,children:vt},At)}function Z(tt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(H.a)(tt).map(function(ht,vt){if(!n.isValidElement(ht)||!ht.type)return null;var Ge=ht.type.isSelectOptGroup,At=ht.key,_e=ht.props,De=_e.children,Ie=Object(S.a)(_e,["children"]);return St||!Ge?k(ht):Object(K.a)(Object(K.a)({key:"__RC_SELECT_GRP__".concat(At===null?vt:At,"__"),label:At},Ie),{},{options:Z(De)})}).filter(function(ht){return ht})}var Y=e("2Qr1"),_=e("qNPg"),Q=e("U8pU"),X=e("Kwbf"),he=e("WKfj");function te(tt){var St=tt.mode,ht=tt.options,vt=tt.children,Ge=tt.backfill,At=tt.allowClear,_e=tt.placeholder,De=tt.getInputElement,Ie=tt.showSearch,st=tt.onSearch,Et=tt.defaultOpen,Mt=tt.autoFocus,Pt=tt.labelInValue,ke=tt.value,zt=tt.inputValue,Ot=tt.optionLabelProp,_t=St==="multiple"||St==="tags",Ve=Ie!==void 0?Ie:_t||St==="combobox",Qe=ht||Z(vt);if(Object(X.a)(St!=="tags"||Qe.every(function(oe){return!oe.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),St==="tags"||St==="combobox"){var et=Qe.some(function(oe){return oe.options?oe.options.some(function(me){return typeof("value"in me?me.value:me.key)=="number"}):typeof("value"in oe?oe.value:oe.key)=="number"});Object(X.a)(!et,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(X.a)(St!=="combobox"||!Ot,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(X.a)(St==="combobox"||!Ge,"`backfill` only works with `combobox` mode."),Object(X.a)(St==="combobox"||!De,"`getInputElement` only work with `combobox` mode."),Object(X.b)(St!=="combobox"||!De||!At||!_e,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),st&&!Ve&&St!=="combobox"&&St!=="tags"&&Object(X.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(X.b)(!Et||Mt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ke!=null){var dt=Object(he.d)(ke);Object(X.a)(!Pt||dt.every(function(oe){return Object(Q.a)(oe)==="object"&&("key"in oe||"value"in oe)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(X.a)(!_t||Array.isArray(ke),"`value` should be array when `mode` is `multiple` or `tags`")}if(vt){var Ze=null;Object(H.a)(vt).some(function(oe){if(!n.isValidElement(oe)||!oe.type)return!1;var me=oe.type;if(me.isSelectOption)return!1;if(me.isSelectOptGroup){var ot=Object(H.a)(oe.props.children).every(function(Pe){return!n.isValidElement(Pe)||!oe.type||Pe.type.isSelectOption?!0:(Ze=Pe.type,!1)});return!ot}return Ze=me,!0}),Ze&&Object(X.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ze.displayName||Ze.name||Ze,"`.")),Object(X.a)(zt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var fe=te,be=Object(_.a)({prefixCls:"rc-select",components:{optionList:R},convertChildrenToData:Z,flattenOptions:Y.d,getLabeledValue:Y.e,filterOptions:Y.b,isValueDisabled:Y.g,findValueOption:Y.c,warningProps:fe,fillOptionsWithMissingValue:Y.a}),we=function(tt){Object(v.a)(ht,tt);var St=Object(y.a)(ht);function ht(){var vt;return Object(o.a)(this,ht),vt=St.apply(this,arguments),vt.selectRef=n.createRef(),vt.focus=function(){vt.selectRef.current.focus()},vt.blur=function(){vt.selectRef.current.blur()},vt}return Object(f.a)(ht,[{key:"render",value:function(){return n.createElement(be,Object.assign({ref:this.selectRef},this.props))}}]),ht}(n.Component);we.Option=M,we.OptGroup=P;var Ke=we,qe=Ke,xt=e("H84U"),Fe=e("1vzs"),Be=e("3Nzz"),bt=function(tt){a()(ht,tt);var St=l()(ht);function ht(){var vt;return b()(this,ht),vt=St.apply(this,arguments),vt.selectRef=n.createRef(),vt.focus=function(){vt.selectRef.current&&vt.selectRef.current.focus()},vt.blur=function(){vt.selectRef.current&&vt.selectRef.current.blur()},vt.getMode=function(){var Ge=vt.props.mode;return Ge==="combobox"?void 0:Ge===ht.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":Ge},vt.renderSelect=function(Ge){var At=Ge.getPopupContainer,_e=Ge.getPrefixCls,De=Ge.renderEmpty,Ie=Ge.direction,st=Ge.virtual,Et=Ge.dropdownMatchSelectWidth,Mt=vt.props,Pt=Mt.prefixCls,ke=Mt.notFoundContent,zt=Mt.className,Ot=Mt.size,_t=Mt.listHeight,Ve=_t===void 0?256:_t,Qe=Mt.listItemHeight,et=Qe===void 0?24:Qe,dt=Mt.getPopupContainer,Ze=Mt.dropdownClassName,oe=Mt.bordered,me=_e("select",Pt),ot=vt.getMode(),Pe=ot==="multiple"||ot==="tags",pt;ke!==void 0?pt=ke:ot==="combobox"?pt=null:pt=De("Select");var Rr=Object(Fe.a)(p()(p()({},vt.props),{multiple:Pe,prefixCls:me})),It=Rr.suffixIcon,nr=Rr.itemIcon,Gt=Rr.removeIcon,Jt=Rr.clearIcon,hr=Object(u.default)(vt.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Xt=c()(Ze,E()({},"".concat(me,"-dropdown-").concat(Ie),Ie==="rtl"));return n.createElement(Be.b.Consumer,null,function(de){var ue,se=Ot||de,ae=c()(zt,(ue={},E()(ue,"".concat(me,"-lg"),se==="large"),E()(ue,"".concat(me,"-sm"),se==="small"),E()(ue,"".concat(me,"-rtl"),Ie==="rtl"),E()(ue,"".concat(me,"-borderless"),!oe),ue));return n.createElement(qe,p()({ref:vt.selectRef,virtual:st,dropdownMatchSelectWidth:Et},hr,{listHeight:Ve,listItemHeight:et,mode:ot,prefixCls:me,direction:Ie,inputIcon:It,menuItemSelectedIcon:nr,removeIcon:Gt,clearIcon:Jt,notFoundContent:pt,className:ae,getPopupContainer:dt||At,dropdownClassName:Xt}))})},vt}return i()(ht,[{key:"render",value:function(){return n.createElement(xt.a,null,this.renderSelect)}}]),ht}(n.Component);bt.Option=M,bt.OptGroup=P,bt.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",bt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var lt=F.a=bt},"2fw6":function(J,F,e){var d=e("y+Vt"),E=d.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(p,A,b){b&&p.moveTo(A.cx+A.r,A.cy),p.arc(A.cx,A.cy,A.r,0,Math.PI*2,!0)}});J.exports=E},"2gN3":function(J,F,e){var d=e("Kz5y"),E=d["__core-js_shared__"];J.exports=E},"2jpz":function(J,F,e){"use strict";e.d(F,"a",function(){return f});var d=e("cDf5"),E=e.n(d),g=e("q1tI"),p=e.n(g),A=e("TSYQ"),b=e.n(A),h=e("gZBC"),i=e.n(h),r=e("vk+C"),a=e.n(r),s=e("pG52"),l=e.n(s),n=e("Csr3"),u=e.n(n),t=e("e5VY"),c=e.n(t),o=e("0n0R");function f(v,y,L,S){var x=S.isLeaf,O=S.expanded,T=S.loading;if(T)return g.createElement(i.a,{className:"".concat(v,"-switcher-loading-icon")});var w;if(L&&E()(L)==="object"&&(w=L.showLeafIcon),x)return L?E()(L)==="object"&&!w?g.createElement("span",{className:"".concat(v,"-switcher-leaf-line")}):g.createElement(a.a,{className:"".concat(v,"-switcher-line-icon")}):null;var C="".concat(v,"-switcher-icon");return Object(o.b)(y)?Object(o.a)(y,{className:b()(y.props.className||"",C)}):y||(L?O?g.createElement(l.a,{className:"".concat(v,"-switcher-line-icon")}):g.createElement(u.a,{className:"".concat(v,"-switcher-line-icon")}):g.createElement(c.a,{className:C}))}},"2oIt":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},"2uGb":function(J,F,e){var d=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var E=e("kMLO"),g=e("nKiI");d.registerVisual(E),d.registerLayout(g)},"2w7y":function(J,F,e){var d=e("ProS");e("qMZE"),e("g0SD"),d.registerPreprocessor(function(E){E.markPoint=E.markPoint||{}})},"33Ds":function(J,F,e){var d=e("ProS"),E=e("b9oc"),g=e("Kagy"),p=e("IUWy"),A=g.toolbox.restore;function b(r){this.model=r}b.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:A.title};var h=b.prototype;h.onclick=function(r,a,s){E.clear(r),a.dispatchAction({type:"restore",from:this.uid})},p.register("restore",b),d.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,a){a.resetOption("recreate")});var i=b;J.exports=i},"3A9y":function(J,F){function e(d){return this.__data__.has(d)}J.exports=e},"3C/r":function(J,F){var e=function(g,p){this.image=g,this.repeat=p,this.type="pattern"};e.prototype.getCanvasPattern=function(E){return E.createPattern(this.image,this.repeat||"repeat")};var d=e;J.exports=d},"3CBa":function(J,F,e){var d=e("hydK"),E=d.createElement,g=e("bYtY"),p=e("SUKs"),A=e("y+Vt"),b=e("Dagg"),h=e("dqUG"),i=e("DBLp"),r=e("sW+o"),a=e("n6Mw"),s=e("vKoX"),l=e("P47w"),n=l.path,u=l.image,t=l.text;function c(C){return parseInt(C,10)}function o(C){return C instanceof A?n:C instanceof b?u:C instanceof h?t:n}function f(C,N){return N&&C&&N.parentNode!==C}function v(C,N,D){if(f(C,N)&&D){var B=D.nextSibling;B?C.insertBefore(N,B):C.appendChild(N)}}function y(C,N){if(f(C,N)){var D=C.firstChild;D?C.insertBefore(N,D):C.appendChild(N)}}function L(C,N){N&&C&&N.parentNode===C&&C.removeChild(N)}function S(C){return C.__textSvgEl}function x(C){return C.__svgEl}var O=function(N,D,B,R){this.root=N,this.storage=D,this._opts=B=g.extend({},B||{});var U=E("svg");U.setAttribute("xmlns","http://www.w3.org/2000/svg"),U.setAttribute("version","1.1"),U.setAttribute("baseProfile","full"),U.style.cssText="user-select:none;position:absolute;left:0;top:0;";var M=E("g");U.appendChild(M);var j=E("g");U.appendChild(j),this.gradientManager=new r(R,j),this.clipPathManager=new a(R,j),this.shadowManager=new s(R,j);var P=document.createElement("div");P.style.cssText="overflow:hidden;position:relative",this._svgDom=U,this._svgRoot=j,this._backgroundRoot=M,this._viewport=P,N.appendChild(P),P.appendChild(U),this.resize(B.width,B.height),this._visibleList=[]};O.prototype={constructor:O,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var N=this.getViewportRoot();if(N)return{offsetLeft:N.offsetLeft||0,offsetTop:N.offsetTop||0}},refresh:function(){var N=this.storage.getDisplayList(!0);this._paintList(N)},setBackgroundColor:function(N){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var D=E("rect");D.setAttribute("width",this.getWidth()),D.setAttribute("height",this.getHeight()),D.setAttribute("x",0),D.setAttribute("y",0),D.setAttribute("id",0),D.style.fill=N,this._backgroundRoot.appendChild(D),this._backgroundNode=D},_paintList:function(N){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var D=this._svgRoot,B=this._visibleList,R=N.length,U=[],M;for(M=0;M<R;M++){var j=N[M],P=o(j),K=x(j)||S(j);j.invisible||(j.__dirty&&(P&&P.brush(j),this.clipPathManager.update(j),j.style&&(this.gradientManager.update(j.style.fill),this.gradientManager.update(j.style.stroke),this.shadowManager.update(K,j)),j.__dirty=!1),U.push(j))}var H=i(B,U),k;for(M=0;M<H.length;M++){var Z=H[M];if(Z.removed)for(var Y=0;Y<Z.count;Y++){var j=B[Z.indices[Y]],K=x(j),_=S(j);L(D,K),L(D,_)}}for(M=0;M<H.length;M++){var Z=H[M];if(Z.added)for(var Y=0;Y<Z.count;Y++){var j=U[Z.indices[Y]],K=x(j),_=S(j);k?v(D,K,k):y(D,K),K?v(D,_,K):k?v(D,_,k):y(D,_),v(D,_,K),k=_||K||k,this.gradientManager.addWithoutUpdate(K||_,j),this.shadowManager.addWithoutUpdate(K||_,j),this.clipPathManager.markUsed(j)}else if(!Z.removed)for(var Y=0;Y<Z.count;Y++){var j=U[Z.indices[Y]],K=x(j),_=S(j),K=x(j),_=S(j);this.gradientManager.markUsed(j),this.gradientManager.addWithoutUpdate(K||_,j),this.shadowManager.markUsed(j),this.shadowManager.addWithoutUpdate(K||_,j),this.clipPathManager.markUsed(j),_&&v(D,_,K),k=K||_||k}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=U},_getDefs:function(N){var D=this._svgDom,B=D.getElementsByTagName("defs");if(B.length===0)if(N){var B=D.insertBefore(E("defs"),D.firstChild);return B.contains||(B.contains=function(U){var M=B.children;if(!M)return!1;for(var j=M.length-1;j>=0;--j)if(M[j]===U)return!0;return!1}),B}else return null;else return B[0]},resize:function(N,D){var B=this._viewport;B.style.display="none";var R=this._opts;if(N!=null&&(R.width=N),D!=null&&(R.height=D),N=this._getSize(0),D=this._getSize(1),B.style.display="",this._width!==N||this._height!==D){this._width=N,this._height=D;var U=B.style;U.width=N+"px",U.height=D+"px";var M=this._svgDom;M.setAttribute("width",N),M.setAttribute("height",D)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",N),this._backgroundNode.setAttribute("height",D))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(N){var D=this._opts,B=["width","height"][N],R=["clientWidth","clientHeight"][N],U=["paddingLeft","paddingTop"][N],M=["paddingRight","paddingBottom"][N];if(D[B]!=null&&D[B]!=="auto")return parseFloat(D[B]);var j=this.root,P=document.defaultView.getComputedStyle(j);return(j[R]||c(P[B])||c(j.style[B]))-(c(P[U])||0)-(c(P[M])||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 N=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+N}};function T(C){return function(){p('In SVG mode painter not support method "'+C+'"')}}g.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){O.prototype[C]=T(C)});var w=O;J.exports=w},"3Fdi":function(J,F){var e=Function.prototype,d=e.toString;function E(g){if(g!=null){try{return d.call(g)}catch(p){}try{return g+""}catch(p){}}return""}J.exports=E},"3LNs":function(J,F,e){var d=e("bYtY"),E=e("Yl7c"),g=e("IwbS"),p=e("zTMp"),A=e("YH21"),b=e("iLNv"),h=e("4NO4"),i=h.makeInner,r=i(),a=d.clone,s=d.bind;function l(){}l.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(v,y,L,S){var x=y.get("value"),O=y.get("status");if(this._axisModel=v,this._axisPointerModel=y,this._api=L,!S&&this._lastValue===x&&this._lastStatus===O)return;this._lastValue=x,this._lastStatus=O;var T=this._group,w=this._handle;if(!O||O==="hide"){T&&T.hide(),w&&w.hide();return}T&&T.show(),w&&w.show();var C={};this.makeElOption(C,x,v,y,L);var N=C.graphicKey;N!==this._lastGraphicKey&&this.clear(L),this._lastGraphicKey=N;var D=this._moveAnimation=this.determineAnimation(v,y);if(!T)T=this._group=new g.Group,this.createPointerEl(T,C,v,y),this.createLabelEl(T,C,v,y),L.getZr().add(T);else{var B=d.curry(n,y,D);this.updatePointerEl(T,C,B,y),this.updateLabelEl(T,C,B,y)}o(T,y,!0),this._renderHandle(x)},remove:function(v){this.clear(v)},dispose:function(v){this.clear(v)},determineAnimation:function(v,y){var L=y.get("animation"),S=v.axis,x=S.type==="category",O=y.get("snap");if(!O&&!x)return!1;if(L==="auto"||L==null){var T=this.animationThreshold;if(x&&S.getBandWidth()>T)return!0;if(O){var w=p.getAxisInfo(v).seriesDataCount,C=S.getExtent();return Math.abs(C[0]-C[1])/w>T}return!1}return L===!0},makeElOption:function(v,y,L,S,x){},createPointerEl:function(v,y,L,S){var x=y.pointer;if(x){var O=r(v).pointerEl=new g[x.type](a(y.pointer));v.add(O)}},createLabelEl:function(v,y,L,S){if(y.label){var x=r(v).labelEl=new g.Rect(a(y.label));v.add(x),t(x,S)}},updatePointerEl:function(v,y,L){var S=r(v).pointerEl;S&&y.pointer&&(S.setStyle(y.pointer.style),L(S,{shape:y.pointer.shape}))},updateLabelEl:function(v,y,L,S){var x=r(v).labelEl;x&&(x.setStyle(y.label.style),L(x,{shape:y.label.shape,position:y.label.position}),t(x,S))},_renderHandle:function(v){if(this._dragging||!this.updateHandleTransform)return;var y=this._axisPointerModel,L=this._api.getZr(),S=this._handle,x=y.getModel("handle"),O=y.get("status");if(!x.get("show")||!O||O==="hide"){S&&L.remove(S),this._handle=null;return}var T;this._handle||(T=!0,S=this._handle=g.createIcon(x.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(N){A.stop(N.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),L.add(S)),o(S,y,!1);var w=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];S.setStyle(x.getItemStyle(null,w));var C=x.get("size");d.isArray(C)||(C=[C,C]),S.attr("scale",[C[0]/2,C[1]/2]),b.createOrUpdate(this,"_doDispatchAxisPointer",x.get("throttle")||0,"fixRate"),this._moveHandleToValue(v,T)},_moveHandleToValue:function(v,y){n(this._axisPointerModel,!y&&this._moveAnimation,this._handle,c(this.getHandleTransform(v,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(v,y){var L=this._handle;if(!L)return;this._dragging=!0;var S=this.updateHandleTransform(c(L),[v,y],this._axisModel,this._axisPointerModel);this._payloadInfo=S,L.stopAnimation(),L.attr(c(S)),r(L).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var v=this._handle;if(!v)return;var y=this._payloadInfo,L=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:y.cursorPoint[0],y:y.cursorPoint[1],tooltipOption:y.tooltipOption,axesInfo:[{axisDim:L.axis.dim,axisIndex:L.componentIndex}]})},_onHandleDragEnd:function(v){this._dragging=!1;var y=this._handle;if(!y)return;var L=this._axisPointerModel.get("value");this._moveHandleToValue(L),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(v){this._lastValue=null,this._lastStatus=null;var y=v.getZr(),L=this._group,S=this._handle;y&&L&&(this._lastGraphicKey=null,L&&y.remove(L),S&&y.remove(S),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(v,y,L){return L=L||0,{x:v[L],y:v[1-L],width:y[L],height:y[1-L]}}},l.prototype.constructor=l;function n(v,y,L,S){u(r(L).lastProp,S)||(r(L).lastProp=S,y?g.updateProps(L,S,v):(L.stopAnimation(),L.attr(S)))}function u(v,y){if(d.isObject(v)&&d.isObject(y)){var L=!0;return d.each(y,function(S,x){L=L&&u(v[x],S)}),!!L}else return v===y}function t(v,y){v[y.get("label.show")?"show":"hide"]()}function c(v){return{position:v.position.slice(),rotation:v.rotation||0}}function o(v,y,L){var S=y.get("z"),x=y.get("zlevel");v&&v.traverse(function(O){O.type!=="group"&&(S!=null&&(O.z=S),x!=null&&(O.zlevel=x),O.silent=L)})}E.enableClassExtend(l);var f=l;J.exports=f},"3OrL":function(J,F,e){var d=e("bYtY"),E=e("6Ic6"),g=e("IwbS"),p=e("y+Vt"),A=["itemStyle"],b=["emphasis","itemStyle"],h=E.extend({type:"boxplot",render:function(n,u,t){var c=n.getData(),o=this.group,f=this._data;this._data||o.removeAll();var v=n.get("layout")==="horizontal"?1:0;c.diff(f).add(function(y){if(c.hasValue(y)){var L=c.getItemLayout(y),S=r(L,c,y,v,!0);c.setItemGraphicEl(y,S),o.add(S)}}).update(function(y,L){var S=f.getItemGraphicEl(L);if(!c.hasValue(y)){o.remove(S);return}var x=c.getItemLayout(y);S?a(x,S,c,y):S=r(x,c,y,v),o.add(S),c.setItemGraphicEl(y,S)}).remove(function(y){var L=f.getItemGraphicEl(y);L&&o.remove(L)}).execute(),this._data=c},remove:function(n){var u=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(c){c&&u.remove(c)})},dispose:d.noop}),i=p.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,u){var t=u.points,c=0;for(n.moveTo(t[c][0],t[c][1]),c++;c<4;c++)n.lineTo(t[c][0],t[c][1]);for(n.closePath();c<t.length;c++)n.moveTo(t[c][0],t[c][1]),c++,n.lineTo(t[c][0],t[c][1])}});function r(n,u,t,c,o){var f=n.ends,v=new i({shape:{points:o?s(f,c,n):f}});return a(n,v,u,t,o),v}function a(n,u,t,c,o){var f=t.hostModel,v=g[o?"initProps":"updateProps"];v(u,{shape:{points:n.ends}},f,c);var y=t.getItemModel(c),L=y.getModel(A),S=t.getItemVisual(c,"color"),x=L.getItemStyle(["borderColor"]);x.stroke=S,x.strokeNoScale=!0,u.useStyle(x),u.z2=100;var O=y.getModel(b).getItemStyle();g.setHoverStyle(u,O)}function s(n,u,t){return d.map(n,function(c){return c=c.slice(),c[u]=t.initBaseline,c})}var l=h;J.exports=l},"3S7+":function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("J4zp"),p=e.n(g),A=e("pVnL"),b=e.n(A),h=e("q1tI"),i=e.n(h),r=e("uciX"),a={adjustX:1,adjustY:1},s=[0,0],l={left:{points:["cr","cl"],overflow:a,offset:[-4,0],targetOffset:s},right:{points:["cl","cr"],overflow:a,offset:[4,0],targetOffset:s},top:{points:["bc","tc"],overflow:a,offset:[0,-4],targetOffset:s},bottom:{points:["tc","bc"],overflow:a,offset:[0,4],targetOffset:s},topLeft:{points:["bl","tl"],overflow:a,offset:[0,-4],targetOffset:s},leftTop:{points:["tr","tl"],overflow:a,offset:[-4,0],targetOffset:s},topRight:{points:["br","tr"],overflow:a,offset:[0,-4],targetOffset:s},rightTop:{points:["tl","tr"],overflow:a,offset:[4,0],targetOffset:s},bottomRight:{points:["tr","br"],overflow:a,offset:[0,4],targetOffset:s},rightBottom:{points:["bl","br"],overflow:a,offset:[4,0],targetOffset:s},bottomLeft:{points:["tl","bl"],overflow:a,offset:[0,4],targetOffset:s},leftBottom:{points:["br","bl"],overflow:a,offset:[-4,0],targetOffset:s}},n=l,u=function(_){var Q=_.overlay,X=_.prefixCls,he=_.id,te=_.overlayInnerStyle;return i.a.createElement("div",{className:"".concat(X,"-inner"),id:he,role:"tooltip",style:te},typeof Q=="function"?Q():Q)},t=u;function c(Y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(Q){return typeof Q}:c=function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},c(Y)}function o(Y,_){var Q=Object.keys(Y);if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(Y);_&&(X=X.filter(function(he){return Object.getOwnPropertyDescriptor(Y,he).enumerable})),Q.push.apply(Q,X)}return Q}function f(Y){for(var _=1;_<arguments.length;_++){var Q=arguments[_]!=null?arguments[_]:{};_%2?o(Object(Q),!0).forEach(function(X){v(Y,X,Q[X])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(Q)):o(Object(Q)).forEach(function(X){Object.defineProperty(Y,X,Object.getOwnPropertyDescriptor(Q,X))})}return Y}function v(Y,_,Q){return _ in Y?Object.defineProperty(Y,_,{value:Q,enumerable:!0,configurable:!0,writable:!0}):Y[_]=Q,Y}function y(Y,_){if(Y==null)return{};var Q=L(Y,_),X,he;if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(Y);for(he=0;he<te.length;he++){if(X=te[he],_.indexOf(X)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Y,X))continue;Q[X]=Y[X]}}return Q}function L(Y,_){if(Y==null)return{};var Q={},X=Object.keys(Y),he,te;for(te=0;te<X.length;te++){if(he=X[te],_.indexOf(he)>=0)continue;Q[he]=Y[he]}return Q}var S=function(_,Q){var X=_.overlayClassName,he=_.trigger,te=he===void 0?["hover"]:he,fe=_.mouseEnterDelay,be=fe===void 0?0:fe,we=_.mouseLeaveDelay,Ke=we===void 0?.1:we,qe=_.overlayStyle,xt=_.prefixCls,Fe=xt===void 0?"rc-tooltip":xt,Be=_.children,bt=_.onVisibleChange,lt=_.afterVisibleChange,tt=_.transitionName,St=_.animation,ht=_.placement,vt=ht===void 0?"right":ht,Ge=_.align,At=Ge===void 0?{}:Ge,_e=_.destroyTooltipOnHide,De=_e===void 0?!1:_e,Ie=_.defaultVisible,st=_.getTooltipContainer,Et=_.overlayInnerStyle,Mt=y(_,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Pt=Object(h.useRef)(null);Object(h.useImperativeHandle)(Q,function(){return Pt.current});var ke=f({},Mt);"visible"in _&&(ke.popupVisible=_.visible);var zt=function(){var et=_.arrowContent,dt=et===void 0?null:et,Ze=_.overlay,oe=_.id;return[i.a.createElement("div",{className:"".concat(Fe,"-arrow"),key:"arrow"},dt),i.a.createElement(t,{key:"content",prefixCls:Fe,id:oe,overlay:Ze,overlayInnerStyle:Et})]},Ot=!1,_t=!1;if(typeof De=="boolean")Ot=De;else if(De&&c(De)==="object"){var Ve=De.keepParent;Ot=Ve===!0,_t=Ve===!1}return i.a.createElement(r.a,Object.assign({popupClassName:X,prefixCls:Fe,popup:zt,action:te,builtinPlacements:l,popupPlacement:vt,ref:Pt,popupAlign:At,getPopupContainer:st,onPopupVisibleChange:bt,afterPopupVisibleChange:lt,popupTransitionName:tt,popupAnimation:St,defaultPopupVisible:Ie,destroyPopupOnHide:Ot,autoDestroy:_t,mouseLeaveDelay:Ke,popupStyle:qe,mouseEnterDelay:be},ke),Be)},x=Object(h.forwardRef)(S),O=x,T=e("TSYQ"),w=e.n(T),C={adjustX:1,adjustY:1},N={adjustX:0,adjustY:0},D=[0,0];function B(Y){return typeof Y=="boolean"?Y?C:N:b()(b()({},N),Y)}function R(Y){var _=Y.arrowWidth,Q=_===void 0?5:_,X=Y.horizontalArrowShift,he=X===void 0?16:X,te=Y.verticalArrowShift,fe=te===void 0?8:te,be=Y.autoAdjustOverflow,we={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:[-(he+Q),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(fe+Q)]},topRight:{points:["br","tc"],offset:[he+Q,-4]},rightTop:{points:["tl","cr"],offset:[4,-(fe+Q)]},bottomRight:{points:["tr","bc"],offset:[he+Q,4]},rightBottom:{points:["bl","cr"],offset:[4,fe+Q]},bottomLeft:{points:["tl","bc"],offset:[-(he+Q),4]},leftBottom:{points:["br","cl"],offset:[-4,fe+Q]}};return Object.keys(we).forEach(function(Ke){we[Ke]=Y.arrowPointAtCenter?b()(b()({},we[Ke]),{overflow:B(be),targetOffset:D}):b()(b()({},l[Ke]),{overflow:B(be)}),we[Ke].ignoreShake=!0}),we}var U=e("0n0R"),M=e("H84U"),j=e("09Wf"),P=function(_,Q){var X={},he=b()({},_);return Q.forEach(function(te){_&&te in _&&(X[te]=_[te],delete he[te])}),{picked:X,omitted:he}},K=new RegExp("^(".concat(j.a.join("|"),")(-inverse)?$"));function H(Y,_){var Q=Y.type;if((Q.__ANT_BUTTON===!0||Q.__ANT_SWITCH===!0||Q.__ANT_CHECKBOX===!0||Y.type==="button")&&Y.props.disabled){var X=P(Y.props.style,["position","left","right","top","bottom","float","display","zIndex"]),he=X.picked,te=X.omitted,fe=b()(b()({display:"inline-block"},he),{cursor:"not-allowed",width:Y.props.block?"100%":null}),be=b()(b()({},te),{pointerEvents:"none"}),we=Object(U.a)(Y,{style:be,className:null});return h.createElement("span",{style:fe,className:w()(Y.props.className,"".concat(_,"-disabled-compatible-wrapper"))},we)}return Y}var k=h.forwardRef(function(Y,_){var Q,X=h.useContext(M.b),he=X.getPopupContainer,te=X.getPrefixCls,fe=X.direction,be=h.useState(!!Y.visible||!!Y.defaultVisible),we=p()(be,2),Ke=we[0],qe=we[1];h.useEffect(function(){"visible"in Y&&qe(Y.visible)},[Y.visible]);var xt=function(){var Ve=Y.title,Qe=Y.overlay;return!Ve&&!Qe&&Ve!==0},Fe=function(Ve){"visible"in Y||qe(xt()?!1:Ve),Y.onVisibleChange&&!xt()&&Y.onVisibleChange(Ve)},Be=function(){var Ve=Y.builtinPlacements,Qe=Y.arrowPointAtCenter,et=Y.autoAdjustOverflow;return Ve||R({arrowPointAtCenter:Qe,autoAdjustOverflow:et})},bt=function(Ve,Qe){var et=Be(),dt=Object.keys(et).filter(function(me){return et[me].points[0]===Qe.points[0]&&et[me].points[1]===Qe.points[1]})[0];if(!dt)return;var Ze=Ve.getBoundingClientRect(),oe={top:"50%",left:"50%"};dt.indexOf("top")>=0||dt.indexOf("Bottom")>=0?oe.top="".concat(Ze.height-Qe.offset[1],"px"):(dt.indexOf("Top")>=0||dt.indexOf("bottom")>=0)&&(oe.top="".concat(-Qe.offset[1],"px")),dt.indexOf("left")>=0||dt.indexOf("Right")>=0?oe.left="".concat(Ze.width-Qe.offset[0],"px"):(dt.indexOf("right")>=0||dt.indexOf("Left")>=0)&&(oe.left="".concat(-Qe.offset[0],"px")),Ve.style.transformOrigin="".concat(oe.left," ").concat(oe.top)},lt=function(){var Ve=Y.title,Qe=Y.overlay;return Ve===0?Ve:Qe||Ve||""},tt=Y.prefixCls,St=Y.openClassName,ht=Y.getPopupContainer,vt=Y.getTooltipContainer,Ge=Y.overlayClassName,At=Y.color,_e=Y.overlayInnerStyle,De=Y.children,Ie=te("tooltip",tt),st=Ke;!("visible"in Y)&&xt()&&(st=!1);var Et=H(Object(U.b)(De)?De:h.createElement("span",null,De),Ie),Mt=Et.props,Pt=w()(Mt.className,E()({},St||"".concat(Ie,"-open"),!0)),ke=w()(Ge,(Q={},E()(Q,"".concat(Ie,"-rtl"),fe==="rtl"),E()(Q,"".concat(Ie,"-").concat(At),At&&K.test(At)),Q)),zt,Ot;return At&&!K.test(At)&&(zt=b()(b()({},_e),{background:At}),Ot={background:At}),h.createElement(O,b()({},Y,{prefixCls:Ie,overlayClassName:ke,getTooltipContainer:ht||vt||he,ref:_,builtinPlacements:Be(),overlay:lt(),visible:st,onVisibleChange:Fe,onPopupAlign:bt,overlayInnerStyle:zt,arrowContent:h.createElement("span",{className:"".concat(Ie,"-arrow-content"),style:Ot})}),st?Object(U.a)(Et,{className:Pt}):Et)});k.displayName="Tooltip",k.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var Z=F.a=k},"3TkU":function(J,F,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(J,F,e){var d=e("bYtY"),E=e("7a+S"),g=e("OKJ2"),p=E.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:[]}});d.mixin(p,g);var A=p;J.exports=A},"3e3G":function(J,F,e){var d=e("bYtY"),E=e("QuXc"),g=function(b,h,i,r,a){this.x=b==null?.5:b,this.y=h==null?.5:h,this.r=i==null?.5:i,this.type="radial",this.global=a||!1,E.call(this,r)};g.prototype={constructor:g},d.inherits(g,E);var p=g;J.exports=p},"3gBT":function(J,F){var e=2311;function d(){return e++}J.exports=d},"3hzK":function(J,F){var e={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};J.exports=e},"3m61":function(J,F){function e(E){return E instanceof Array||(E=[E,E]),E}function d(E){E.eachSeriesByType("graph",function(g){var p=g.getGraph(),A=g.getEdgeData(),b=e(g.get("edgeSymbol")),h=e(g.get("edgeSymbolSize")),i="lineStyle.color".split("."),r="lineStyle.opacity".split(".");A.setVisual("fromSymbol",b&&b[0]),A.setVisual("toSymbol",b&&b[1]),A.setVisual("fromSymbolSize",h&&h[0]),A.setVisual("toSymbolSize",h&&h[1]),A.setVisual("color",g.get(i)),A.setVisual("opacity",g.get(r)),A.each(function(a){var s=A.getItemModel(a),l=p.getEdgeByIndex(a),n=e(s.getShallow("symbol",!0)),u=e(s.getShallow("symbolSize",!0)),t=s.get(i),c=s.get(r);switch(t){case"source":t=l.node1.getVisual("color");break;case"target":t=l.node2.getVisual("color");break}n[0]&&l.setVisual("fromSymbol",n[0]),n[1]&&l.setVisual("toSymbol",n[1]),u[0]&&l.setVisual("fromSymbolSize",u[0]),u[1]&&l.setVisual("toSymbolSize",u[1]),l.setVisual("color",t),l.setVisual("opacity",c)})})}J.exports=d},"3zoK":function(J,F,e){var d=e("bYtY"),E=e("bLfw"),g=e("KCsZ"),p=e("nkfE"),A=e("OELB"),b=e("ICMv"),h=E.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return g([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var l=this.activeIntervals=d.clone(s);if(l)for(var n=l.length-1;n>=0;n--)A.asc(l[n])},getActiveState:function(s){var l=this.activeIntervals;if(!l.length)return"normal";if(s==null||isNaN(s))return"inactive";if(l.length===1){var n=l[0];if(n[0]<=s&&s<=n[1])return"active"}else for(var u=0,t=l.length;u<t;u++)if(l[u][0]<=s&&s<=l[u][1])return"active";return"inactive"}}),i={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};d.merge(h.prototype,b);function r(s,l){return l.type||(l.data?"category":"value")}p("parallel",h,r,i);var a=h;J.exports=a},"4Feb":function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("IwbS"),A=e("x3X8"),b=A.getDefaultLabel,h=e("MwEJ"),i=e("nVfU"),r=i.getLayoutOnAxis,a=e("gPAo"),s=e("T4UG"),l=e("Qxkt"),n=e("6Ic6"),u=e("sK/D"),t=u.createClipPath,c=e("qj72"),o=e("ANjR"),f=e("MHtr"),v=e("6usn"),y=e("Rx6q"),L=p.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],x=["emphasis","itemStyle"],O=["label"],T=["emphasis","label"],w="e\0\0",C={cartesian2d:c,geo:o,singleAxis:f,polar:v,calendar:y};s.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(te,fe){return h(this.getSource(),this)},getDataParams:function(te,fe,be){var we=s.prototype.getDataParams.apply(this,arguments);return be&&(we.info=be.info),we}}),n.extend({type:"custom",_data:null,render:function(te,fe,be,we){var Ke=this._data,qe=te.getData(),xt=this.group,Fe=R(te,qe,fe,be);qe.diff(Ke).add(function(bt){M(null,bt,Fe(bt,we),te,xt,qe)}).update(function(bt,lt){var tt=Ke.getItemGraphicEl(lt);M(tt,bt,Fe(bt,we),te,xt,qe)}).remove(function(bt){var lt=Ke.getItemGraphicEl(bt);lt&&xt.remove(lt)}).execute();var Be=te.get("clip",!0)?t(te.coordinateSystem,!1,te):null;Be?xt.setClipPath(Be):xt.removeClipPath(),this._data=qe},incrementalPrepareRender:function(te,fe,be){this.group.removeAll(),this._data=null},incrementalRender:function(te,fe,be,we,Ke){var qe=fe.getData(),xt=R(fe,qe,be,we);function Fe(lt){lt.isGroup||(lt.incremental=!0,lt.useHoverLayer=!0)}for(var Be=te.start;Be<te.end;Be++){var bt=M(null,Be,xt(Be,Ke),fe,this.group,qe);bt.traverse(Fe)}},dispose:g.noop,filterForExposedEvent:function(te,fe,be,we){var Ke=fe.element;if(Ke==null||be.name===Ke)return!0;for(;(be=be.parent)&&be!==this.group;)if(be.name===Ke)return!0;return!1}});function N(te){var fe=te.type,be;if(fe==="path"){var we=te.shape,Ke=we.width!=null&&we.height!=null?{x:we.x||0,y:we.y||0,width:we.width,height:we.height}:null,qe=Q(we);be=p.makePath(qe,null,Ke,we.layout||"center"),be.__customPathData=qe}else if(fe==="image")be=new p.Image({}),be.__customImagePath=te.style.image;else if(fe==="text")be=new p.Text({}),be.__customText=te.style.text;else if(fe==="group")be=new p.Group;else{if(fe==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var xt=p.getShapeClass(fe);be=new xt}return be.__customGraphicType=fe,be.name=te.name,be}function D(te,fe,be,we,Ke,qe,xt){var Fe={},Be=be.style||{};if(be.shape&&(Fe.shape=g.clone(be.shape)),be.position&&(Fe.position=be.position.slice()),be.scale&&(Fe.scale=be.scale.slice()),be.origin&&(Fe.origin=be.origin.slice()),be.rotation&&(Fe.rotation=be.rotation),te.type==="image"&&be.style){var bt=Fe.style={};g.each(["x","y","width","height"],function(St){B(St,bt,Be,te.style,qe)})}if(te.type==="text"&&be.style){var bt=Fe.style={};g.each(["x","y"],function(ht){B(ht,bt,Be,te.style,qe)}),!Be.hasOwnProperty("textFill")&&Be.fill&&(Be.textFill=Be.fill),!Be.hasOwnProperty("textStroke")&&Be.stroke&&(Be.textStroke=Be.stroke)}if(te.type!=="group"&&(te.useStyle(Be),qe)){te.style.opacity=0;var lt=Be.opacity;lt==null&&(lt=1),p.initProps(te,{style:{opacity:lt}},we,fe)}qe?te.attr(Fe):p.updateProps(te,Fe,we,fe),be.hasOwnProperty("z2")&&te.attr("z2",be.z2||0),be.hasOwnProperty("silent")&&te.attr("silent",be.silent),be.hasOwnProperty("invisible")&&te.attr("invisible",be.invisible),be.hasOwnProperty("ignore")&&te.attr("ignore",be.ignore),be.hasOwnProperty("info")&&te.attr("info",be.info);var tt=be.styleEmphasis;p.setElementHoverStyle(te,tt),xt&&p.setAsHighDownDispatcher(te,tt!==!1)}function B(te,fe,be,we,Ke){be[te]!=null&&!Ke&&(fe[te]=be[te],be[te]=we[te])}function R(te,fe,be,we){var Ke=te.get("renderItem"),qe=te.coordinateSystem,xt={};qe&&(xt=qe.prepareCustoms?qe.prepareCustoms():C[qe.type](qe));var Fe=g.defaults({getWidth:we.getWidth,getHeight:we.getHeight,getZr:we.getZr,getDevicePixelRatio:we.getDevicePixelRatio,value:At,style:_e,styleEmphasis:De,visual:Ie,barLayout:st,currentSeriesIndices:Et,font:Mt},xt.api||{}),Be={context:{},seriesId:te.id,seriesName:te.name,seriesIndex:te.seriesIndex,coordSys:xt.coordSys,dataInsideLength:fe.count(),encode:U(te.getData())},bt,lt=!0,tt,St,ht,vt;return function(Pt,ke){return bt=Pt,lt=!0,Ke&&Ke(g.defaults({dataIndexInside:Pt,dataIndex:fe.getRawIndex(Pt),actionType:ke?ke.type:null},Be),Fe)};function Ge(Pt){Pt==null&&(Pt=bt),lt&&(tt=fe.getItemModel(Pt),St=tt.getModel(O),ht=tt.getModel(T),vt=fe.getItemVisual(Pt,"color"),lt=!1)}function At(Pt,ke){return ke==null&&(ke=bt),fe.get(fe.getDimension(Pt||0),ke)}function _e(Pt,ke){ke==null&&(ke=bt),Ge(ke);var zt=tt.getModel(S).getItemStyle();vt!=null&&(zt.fill=vt);var Ot=fe.getItemVisual(ke,"opacity");Ot!=null&&(zt.opacity=Ot);var _t=Pt?Z(Pt,St):St;return p.setTextStyle(zt,_t,null,{autoColor:vt,isRectText:!0}),zt.text=_t.getShallow("show")?g.retrieve2(te.getFormattedLabel(ke,"normal"),b(fe,ke)):null,Pt&&Y(zt,Pt),zt}function De(Pt,ke){ke==null&&(ke=bt),Ge(ke);var zt=tt.getModel(x).getItemStyle(),Ot=Pt?Z(Pt,ht):ht;return p.setTextStyle(zt,Ot,null,{isRectText:!0},!0),zt.text=Ot.getShallow("show")?g.retrieve3(te.getFormattedLabel(ke,"emphasis"),te.getFormattedLabel(ke,"normal"),b(fe,ke)):null,Pt&&Y(zt,Pt),zt}function Ie(Pt,ke){return ke==null&&(ke=bt),fe.getItemVisual(ke,Pt)}function st(Pt){if(qe.getBaseAxis){var ke=qe.getBaseAxis();return r(g.defaults({axis:ke},Pt),we)}}function Et(){return be.getCurrentSeriesIndices()}function Mt(Pt){return p.getFont(Pt,be)}}function U(te){var fe={};return g.each(te.dimensions,function(be,we){var Ke=te.getDimensionInfo(be);if(!Ke.isExtraCoord){var qe=Ke.coordDim,xt=fe[qe]=fe[qe]||[];xt[Ke.coordDimIndex]=we}}),fe}function M(te,fe,be,we,Ke,qe){return te=j(te,fe,be,we,Ke,qe,!0),te&&qe.setItemGraphicEl(fe,te),te}function j(te,fe,be,we,Ke,qe,xt){var Fe=!be;be=be||{};var Be=be.type,bt=be.shape,lt=be.style;if(te&&(Fe||Be!=null&&Be!==te.__customGraphicType||Be==="path"&&X(bt)&&Q(bt)!==te.__customPathData||Be==="image"&&he(lt,"image")&<.image!==te.__customImagePath||Be==="text"&&he(bt,"text")&<.text!==te.__customText)&&(Ke.remove(te),te=null),Fe)return;var tt=!te;return!te&&(te=N(be)),D(te,fe,be,we,qe,tt,xt),Be==="group"&&P(te,fe,be,we,qe),Ke.add(te),te}function P(te,fe,be,we,Ke){var qe=be.children,xt=qe?qe.length:0,Fe=be.$mergeChildren,Be=Fe==="byName"||be.diffChildrenByName,bt=Fe===!1;if(!xt&&!Be&&!bt)return;if(Be){K({oldChildren:te.children()||[],newChildren:qe||[],dataIndex:fe,animatableModel:we,group:te,data:Ke});return}bt&&te.removeAll();for(var lt=0;lt<xt;lt++)qe[lt]&&j(te.childAt(lt),fe,qe[lt],we,te,Ke)}function K(te){new a(te.oldChildren,te.newChildren,H,H,te).add(k).update(k).remove(_).execute()}function H(te,fe){var be=te&&te.name;return be!=null?be:w+fe}function k(te,fe){var be=this.context,we=te!=null?be.newChildren[te]:null,Ke=fe!=null?be.oldChildren[fe]:null;j(Ke,be.dataIndex,we,be.animatableModel,be.group,be.data)}function Z(te,fe){var be=new l({},fe);return g.each(L,function(we,Ke){te.hasOwnProperty(we)&&(be.option[Ke]=te[we])}),be}function Y(te,fe){for(var be in fe)(fe.hasOwnProperty(be)||!L.hasOwnProperty(be))&&(te[be]=fe[be])}function _(te){var fe=this.context,be=fe.oldChildren[te];be&&fe.group.remove(be)}function Q(te){return te&&(te.pathData||te.d)}function X(te){return te&&(te.hasOwnProperty("pathData")||te.hasOwnProperty("d"))}function he(te,fe){return te&&te.hasOwnProperty(fe)}},"4HMb":function(J,F,e){var d=e("bYtY"),E=e("6GrX"),g=e("4NO4"),p=g.makeInner,A=e("aX7z"),b=A.makeLabelFormatter,h=A.getOptionCategoryInterval,i=A.shouldShowAllLabels,r=p();function a(O){return O.type==="category"?l(O):t(O)}function s(O,T){return O.type==="category"?u(O,T):{ticks:O.scale.getTicks()}}function l(O){var T=O.getLabelModel(),w=n(O,T);return!T.get("show")||O.scale.isBlank()?{labels:[],labelCategoryInterval:w.labelCategoryInterval}:w}function n(O,T){var w=c(O,"labels"),C=h(T),N=o(w,C);if(N)return N;var D,B;return d.isFunction(C)?D=x(O,C):(B=C==="auto"?v(O):C,D=S(O,B)),f(w,C,{labels:D,labelCategoryInterval:B})}function u(O,T){var w=c(O,"ticks"),C=h(T),N=o(w,C);if(N)return N;var D,B;if((!T.get("show")||O.scale.isBlank())&&(D=[]),d.isFunction(C))D=x(O,C,!0);else if(C==="auto"){var R=n(O,O.getLabelModel());B=R.labelCategoryInterval,D=d.map(R.labels,function(U){return U.tickValue})}else B=C,D=S(O,B,!0);return f(w,C,{ticks:D,tickCategoryInterval:B})}function t(O){var T=O.scale.getTicks(),w=b(O);return{labels:d.map(T,function(C,N){return{formattedLabel:w(C,N),rawLabel:O.scale.getLabel(C),tickValue:C}})}}function c(O,T){return r(O)[T]||(r(O)[T]=[])}function o(O,T){for(var w=0;w<O.length;w++)if(O[w].key===T)return O[w].value}function f(O,T,w){return O.push({key:T,value:w}),w}function v(O){var T=r(O).autoInterval;return T!=null?T:r(O).autoInterval=O.calculateCategoryInterval()}function y(O){var T=L(O),w=b(O),C=(T.axisRotate-T.labelRotate)/180*Math.PI,N=O.scale,D=N.getExtent(),B=N.count();if(D[1]-D[0]<1)return 0;var R=1;B>40&&(R=Math.max(1,Math.floor(B/40)));for(var U=D[0],M=O.dataToCoord(U+1)-O.dataToCoord(U),j=Math.abs(M*Math.cos(C)),P=Math.abs(M*Math.sin(C)),K=0,H=0;U<=D[1];U+=R){var k=0,Z=0,Y=E.getBoundingRect(w(U),T.font,"center","top");k=Y.width*1.3,Z=Y.height*1.3,K=Math.max(K,k,7),H=Math.max(H,Z,7)}var _=K/j,Q=H/P;isNaN(_)&&(_=Infinity),isNaN(Q)&&(Q=Infinity);var X=Math.max(0,Math.floor(Math.min(_,Q))),he=r(O.model),te=O.getExtent(),fe=he.lastAutoInterval,be=he.lastTickCount;return fe!=null&&be!=null&&Math.abs(fe-X)<=1&&Math.abs(be-B)<=1&&fe>X&&he.axisExtend0===te[0]&&he.axisExtend1===te[1]?X=fe:(he.lastTickCount=B,he.lastAutoInterval=X,he.axisExtend0=te[0],he.axisExtend1=te[1]),X}function L(O){var T=O.getLabelModel();return{axisRotate:O.getRotate?O.getRotate():O.isHorizontal&&!O.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function S(O,T,w){var C=b(O),N=O.scale,D=N.getExtent(),B=O.getLabelModel(),R=[],U=Math.max((T||0)+1,1),M=D[0],j=N.count();M!==0&&U>1&&j/U>2&&(M=Math.round(Math.ceil(M/U)*U));var P=i(O),K=B.get("showMinLabel")||P,H=B.get("showMaxLabel")||P;K&&M!==D[0]&&Z(D[0]);for(var k=M;k<=D[1];k+=U)Z(k);H&&k-U!==D[1]&&Z(D[1]);function Z(Y){R.push(w?Y:{formattedLabel:C(Y),rawLabel:N.getLabel(Y),tickValue:Y})}return R}function x(O,T,w){var C=O.scale,N=b(O),D=[];return d.each(C.getTicks(),function(B){var R=C.getLabel(B);T(B,R)&&D.push(w?B:{formattedLabel:N(B),rawLabel:R,tickValue:B})}),D}F.createAxisLabels=a,F.createAxisTicks=s,F.calculateCategoryInterval=y},"4NO4":function(J,F,e){var d=e("bYtY"),E=e("ItGF"),g=d.each,p=d.isObject,A=d.isArray,b="series\0";function h(w){return w instanceof Array?w:w==null?[]:[w]}function i(w,C,N){if(w){w[C]=w[C]||{},w.emphasis=w.emphasis||{},w.emphasis[C]=w.emphasis[C]||{};for(var D=0,B=N.length;D<B;D++){var R=N[D];!w.emphasis[C].hasOwnProperty(R)&&w[C].hasOwnProperty(R)&&(w.emphasis[C][R]=w[C][R])}}}var r=["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 a(w){return p(w)&&!A(w)&&!(w instanceof Date)?w.value:w}function s(w){return p(w)&&!(w instanceof Array)}function l(w,C){C=(C||[]).slice();var N=d.map(w||[],function(D,B){return{exist:D}});return g(C,function(D,B){if(!p(D))return;for(var R=0;R<N.length;R++)if(!N[R].option&&D.id!=null&&N[R].exist.id===D.id+""){N[R].option=D,C[B]=null;return}for(var R=0;R<N.length;R++){var U=N[R].exist;if(!N[R].option&&(U.id==null||D.id==null)&&D.name!=null&&!t(D)&&!t(U)&&U.name===D.name+""){N[R].option=D,C[B]=null;return}}}),g(C,function(D,B){if(!p(D))return;for(var R=0;R<N.length;R++){var U=N[R].exist;if(!N[R].option&&!t(U)&&D.id==null){N[R].option=D;break}}R>=N.length&&N.push({option:D})}),N}function n(w){var C=d.createHashMap();g(w,function(N,D){var B=N.exist;B&&C.set(B.id,N)}),g(w,function(N,D){var B=N.option;d.assert(!B||B.id==null||!C.get(B.id)||C.get(B.id)===N,"id duplicates: "+(B&&B.id)),B&&B.id!=null&&C.set(B.id,N),!N.keyInfo&&(N.keyInfo={})}),g(w,function(N,D){var B=N.exist,R=N.option,U=N.keyInfo;if(!p(R))return;if(U.name=R.name!=null?R.name+"":B?B.name:b+D,B)U.id=B.id;else if(R.id!=null)U.id=R.id+"";else{var M=0;do U.id="\0"+U.name+"\0"+M++;while(C.get(U.id))}C.set(U.id,N)})}function u(w){var C=w.name;return!!(C&&C.indexOf(b))}function t(w){return p(w)&&w.id&&(w.id+"").indexOf("\0_ec_\0")===0}function c(w,C){var N={},D={};return B(w||[],N),B(C||[],D,N),[R(N),R(D)];function B(U,M,j){for(var P=0,K=U.length;P<K;P++)for(var H=U[P].seriesId,k=h(U[P].dataIndex),Z=j&&j[H],Y=0,_=k.length;Y<_;Y++){var Q=k[Y];Z&&Z[Q]?Z[Q]=null:(M[H]||(M[H]={}))[Q]=1}}function R(U,M){var j=[];for(var P in U)if(U.hasOwnProperty(P)&&U[P]!=null)if(M)j.push(+P);else{var K=R(U[P],!0);K.length&&j.push({seriesId:P,dataIndex:K})}return j}}function o(w,C){if(C.dataIndexInside!=null)return C.dataIndexInside;if(C.dataIndex!=null)return d.isArray(C.dataIndex)?d.map(C.dataIndex,function(N){return w.indexOfRawIndex(N)}):w.indexOfRawIndex(C.dataIndex);if(C.name!=null)return d.isArray(C.name)?d.map(C.name,function(N){return w.indexOfName(N)}):w.indexOfName(C.name)}function f(){var w="__\0ec_inner_"+v+++"_"+Math.random().toFixed(5);return function(C){return C[w]||(C[w]={})}}var v=0;function y(w,C,N){if(d.isString(C)){var D={};D[C+"Index"]=0,C=D}var B=N&&N.defaultMainType;B&&!L(C,B+"Index")&&!L(C,B+"Id")&&!L(C,B+"Name")&&(C[B+"Index"]=0);var R={};return g(C,function(U,M){var U=C[M];if(M==="dataIndex"||M==="dataIndexInside"){R[M]=U;return}var j=M.match(/^(\w+)(Index|Id|Name)$/)||[],P=j[1],K=(j[2]||"").toLowerCase();if(!P||!K||U==null||K==="index"&&U==="none"||N&&N.includeMainTypes&&d.indexOf(N.includeMainTypes,P)<0)return;var H={mainType:P};(K!=="index"||U!=="all")&&(H[K]=U);var k=w.queryComponents(H);R[P+"Models"]=k,R[P+"Model"]=k[0]}),R}function L(w,C){return w&&w.hasOwnProperty(C)}function S(w,C,N){w.setAttribute?w.setAttribute(C,N):w[C]=N}function x(w,C){return w.getAttribute?w.getAttribute(C):w[C]}function O(w){return w==="auto"?E.domSupported?"html":"richText":w||"html"}function T(w,C){var N=d.createHashMap(),D=[];return d.each(w,function(B){var R=C(B);(N.get(R)||(D.push(R),N.set(R,[]))).push(B)}),{keys:D,buckets:N}}F.normalizeToArray=h,F.defaultEmphasis=i,F.TEXT_STYLE_OPTIONS=r,F.getDataItemValue=a,F.isDataItemOption=s,F.mappingToExists=l,F.makeIdAndName=n,F.isNameSpecified=u,F.isIdInner=t,F.compressBatches=c,F.queryDataIndex=o,F.makeInner=f,F.parseFinder=y,F.setAttribute=S,F.getAttribute=x,F.getTooltipRenderMode=O,F.groupData=T},"4NgU":function(J,F,e){var d=e("Yl7c");function E(p){this._setting=p||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}E.prototype.parse=function(p){return p},E.prototype.getSetting=function(p){return this._setting[p]},E.prototype.contain=function(p){var A=this._extent;return p>=A[0]&&p<=A[1]},E.prototype.normalize=function(p){var A=this._extent;return A[1]===A[0]?.5:(p-A[0])/(A[1]-A[0])},E.prototype.scale=function(p){var A=this._extent;return p*(A[1]-A[0])+A[0]},E.prototype.unionExtent=function(p){var A=this._extent;p[0]<A[0]&&(A[0]=p[0]),p[1]>A[1]&&(A[1]=p[1])},E.prototype.unionExtentFromData=function(p,A){this.unionExtent(p.getApproximateExtent(A))},E.prototype.getExtent=function(){return this._extent.slice()},E.prototype.setExtent=function(p,A){var b=this._extent;isNaN(p)||(b[0]=p),isNaN(A)||(b[1]=A)},E.prototype.isBlank=function(){return this._isBlank},E.prototype.setBlank=function(p){this._isBlank=p},E.prototype.getLabel=null,d.enableClassExtend(E),d.enableClassManagement(E,{registerWhenExtend:!0});var g=E;J.exports=g},"4fz+":function(J,F,e){var d=e("bYtY"),E=e("1bdT"),g=e("mFDi"),p=function(h){h=h||{},E.call(this,h);for(var i in h)h.hasOwnProperty(i)&&(this[i]=h[i]);this._children=[],this.__storage=null,this.__dirty=!0};p.prototype={constructor:p,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(h){return this._children[h]},childOfName:function(h){for(var i=this._children,r=0;r<i.length;r++)if(i[r].name===h)return i[r]},childCount:function(){return this._children.length},add:function(h){return h&&h!==this&&h.parent!==this&&(this._children.push(h),this._doAdd(h)),this},addBefore:function(h,i){if(h&&h!==this&&h.parent!==this&&i&&i.parent===this){var r=this._children,a=r.indexOf(i);a>=0&&(r.splice(a,0,h),this._doAdd(h))}return this},_doAdd:function(h){h.parent&&h.parent.remove(h),h.parent=this;var i=this.__storage,r=this.__zr;i&&i!==h.__storage&&(i.addToStorage(h),h instanceof p&&h.addChildrenToStorage(i)),r&&r.refresh()},remove:function(h){var i=this.__zr,r=this.__storage,a=this._children,s=d.indexOf(a,h);return s<0?this:(a.splice(s,1),h.parent=null,r&&(r.delFromStorage(h),h instanceof p&&h.delChildrenFromStorage(r)),i&&i.refresh(),this)},removeAll:function(){var h=this._children,i=this.__storage,r,a;for(a=0;a<h.length;a++)r=h[a],i&&(i.delFromStorage(r),r instanceof p&&r.delChildrenFromStorage(i)),r.parent=null;return h.length=0,this},eachChild:function(h,i){for(var r=this._children,a=0;a<r.length;a++){var s=r[a];h.call(i,s,a)}return this},traverse:function(h,i){for(var r=0;r<this._children.length;r++){var a=this._children[r];h.call(i,a),a.type==="group"&&a.traverse(h,i)}return this},addChildrenToStorage:function(h){for(var i=0;i<this._children.length;i++){var r=this._children[i];h.addToStorage(r),r instanceof p&&r.addChildrenToStorage(h)}},delChildrenFromStorage:function(h){for(var i=0;i<this._children.length;i++){var r=this._children[i];h.delFromStorage(r),r instanceof p&&r.delChildrenFromStorage(h)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(h){for(var i=null,r=new g(0,0,0,0),a=h||this._children,s=[],l=0;l<a.length;l++){var n=a[l];if(n.ignore||n.invisible)continue;var u=n.getBoundingRect(),t=n.getLocalTransform(s);t?(r.copy(u),r.applyTransform(t),i=i||r.clone(),i.union(r)):(i=i||u.clone(),i.union(u))}return i||r}},d.inherits(p,E);var A=p;J.exports=A},"4i/N":function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="CloseOutlined";var b=F.a=d.forwardRef(A)},"4kuk":function(J,F,e){var d=e("SfRM"),E=e("Hvzi"),g=e("u8Dt"),p=e("ekgI"),A=e("JSQU");function b(h){var i=-1,r=h==null?0:h.length;for(this.clear();++i<r;){var a=h[i];this.set(a[0],a[1])}}b.prototype.clear=d,b.prototype.delete=E,b.prototype.get=g,b.prototype.has=p,b.prototype.set=A,J.exports=b},"4mN7":function(J,F,e){var d=e("QBsz"),E=e("Sj9i"),g=Math.min,p=Math.max,A=Math.sin,b=Math.cos,h=Math.PI*2,i=d.create(),r=d.create(),a=d.create();function s(f,v,y){if(f.length===0)return;var L=f[0],S=L[0],x=L[0],O=L[1],T=L[1],w;for(w=1;w<f.length;w++)L=f[w],S=g(S,L[0]),x=p(x,L[0]),O=g(O,L[1]),T=p(T,L[1]);v[0]=S,v[1]=O,y[0]=x,y[1]=T}function l(f,v,y,L,S,x){S[0]=g(f,y),S[1]=g(v,L),x[0]=p(f,y),x[1]=p(v,L)}var n=[],u=[];function t(f,v,y,L,S,x,O,T,w,C){var N=E.cubicExtrema,D=E.cubicAt,B,R=N(f,y,S,O,n);for(w[0]=Infinity,w[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,B=0;B<R;B++){var U=D(f,y,S,O,n[B]);w[0]=g(U,w[0]),C[0]=p(U,C[0])}for(R=N(v,L,x,T,u),B=0;B<R;B++){var M=D(v,L,x,T,u[B]);w[1]=g(M,w[1]),C[1]=p(M,C[1])}w[0]=g(f,w[0]),C[0]=p(f,C[0]),w[0]=g(O,w[0]),C[0]=p(O,C[0]),w[1]=g(v,w[1]),C[1]=p(v,C[1]),w[1]=g(T,w[1]),C[1]=p(T,C[1])}function c(f,v,y,L,S,x,O,T){var w=E.quadraticExtremum,C=E.quadraticAt,N=p(g(w(f,y,S),1),0),D=p(g(w(v,L,x),1),0),B=C(f,y,S,N),R=C(v,L,x,D);O[0]=g(f,S,B),O[1]=g(v,x,R),T[0]=p(f,S,B),T[1]=p(v,x,R)}function o(f,v,y,L,S,x,O,T,w){var C=d.min,N=d.max,D=Math.abs(S-x);if(D%h<1e-4&&D>1e-4){T[0]=f-y,T[1]=v-L,w[0]=f+y,w[1]=v+L;return}if(i[0]=b(S)*y+f,i[1]=A(S)*L+v,r[0]=b(x)*y+f,r[1]=A(x)*L+v,C(T,i,r),N(w,i,r),S=S%h,S<0&&(S=S+h),x=x%h,x<0&&(x=x+h),S>x&&!O?x+=h:S<x&&O&&(S+=h),O){var B=x;x=S,S=B}for(var R=0;R<x;R+=Math.PI/2)R>S&&(a[0]=b(R)*y+f,a[1]=A(R)*L+v,C(T,a,T),N(w,a,w))}F.fromPoints=s,F.fromLine=l,F.fromCubic=t,F.fromQuadratic=c,F.fromArc=o},"4vCz":function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("X2/X")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="PlusSquareOutlined";var h=g.forwardRef(b);F.default=h},"4xFK":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},"56rv":function(J,F,e){var d=e("IwbS"),E=e("x3X8"),g=E.getDefaultLabel;function p(b,h,i,r,a,s,l){var n=i.getModel("label"),u=i.getModel("emphasis.label");d.setLabelStyle(b,h,n,u,{labelFetcher:a,labelDataIndex:s,defaultText:g(a.getData(),s),isRectText:!0,autoColor:r}),A(b),A(h)}function A(b,h){b.textPosition==="outside"&&(b.textPosition=h)}F.setLabel=p},"59Ip":function(J,F,e){var d=e("Sj9i");function E(g,p,A,b,h,i,r,a,s,l,n){if(s===0)return!1;var u=s;if(n>p+u&&n>b+u&&n>i+u&&n>a+u||n<p-u&&n<b-u&&n<i-u&&n<a-u||l>g+u&&l>A+u&&l>h+u&&l>r+u||l<g-u&&l<A-u&&l<h-u&&l<r-u)return!1;var t=d.cubicProjectPoint(g,p,A,b,h,i,r,a,l,n,null);return t<=u/2}F.containStroke=E},"5Dmo":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("5YgA"),p=e.n(g)},"5GOC":function(J,F,e){"use strict";var d=e("cIOH"),E=e("b56q"),g=e("15/o")},"5GhG":function(J,F,e){var d=e("5GtS"),E=e("bYtY"),g=e("L0Ub"),p=g.getDimensionTypeByAxis,A=e("D5nY"),b=A.makeSeriesEncodeForAxisCoordSys,h={_baseAxisDim:null,getInitialData:function(i,r){var a,s=r.getComponent("xAxis",this.get("xAxisIndex")),l=r.getComponent("yAxis",this.get("yAxisIndex")),n=s.get("type"),u=l.get("type"),t;n==="category"?(i.layout="horizontal",a=s.getOrdinalMeta(),t=!0):u==="category"?(i.layout="vertical",a=l.getOrdinalMeta(),t=!0):i.layout=i.layout||"horizontal";var c=["x","y"],o=i.layout==="horizontal"?0:1,f=this._baseAxisDim=c[o],v=c[1-o],y=[s,l],L=y[o].get("type"),S=y[1-o].get("type"),x=i.data;if(x&&t){var O=[];E.each(x,function(C,N){var D;C.value&&E.isArray(C.value)?(D=C.value.slice(),C.value.unshift(N)):E.isArray(C)?(D=C.slice(),C.unshift(N)):D=C,O.push(D)}),i.data=O}var T=this.defaultValueDimensions,w=[{name:f,type:p(L),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:v,type:p(S),dimsDef:T.slice()}];return d(this,{coordDimensions:w,dimensionsCount:T.length+1,encodeDefaulter:E.curry(b,w,this)})},getBaseAxis:function(){var i=this._baseAxisDim;return this.ecModel.getComponent(i+"Axis",this.get(i+"AxisIndex")).axis}};F.seriesModelMixin=h},"5GtS":function(J,F,e){var d=e("sdST"),E=e("YXkt"),g=e("bYtY"),p=g.extend,A=g.isArray;function b(h,i,r){i=A(i)&&{coordDimensions:i}||p({},i);var a=h.getSource(),s=d(a,i),l=new E(s,h);return l.initData(a,r),l}J.exports=b},"5Hur":function(J,F,e){var d=e("4NO4"),E=d.makeInner,g=d.normalizeToArray,p=E();function A(h,i){for(var r=h.length,a=0;a<r;a++)if(h[a].length>i)return h[a];return h[r-1]}var b={clearColorPalette:function(){p(this).colorIdx=0,p(this).colorNameMap={}},getColorFromPalette:function(h,i,r){i=i||this;var a=p(i),s=a.colorIdx||0,l=a.colorNameMap=a.colorNameMap||{};if(l.hasOwnProperty(h))return l[h];var n=g(this.get("color",!0)),u=this.get("colorLayer",!0),t=r==null||!u?n:A(u,r);if(t=t||n,!t||!t.length)return;var c=t[s];return h&&(l[h]=c),a.colorIdx=(s+1)%t.length,c}};J.exports=b},"5NDa":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("OnYD"),p=e.n(g),A=e("+L6B")},"5NHt":function(J,F,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(J,F,e){"use strict";var d=e("J4zp"),E=e.n(d),g=e("q1tI"),p=e.n(g),A=e("ACnJ");function b(){var h=Object(g.useState)({}),i=E()(h,2),r=i[0],a=i[1];return Object(g.useEffect)(function(){var s=A.a.subscribe(function(l){a(l)});return function(){return A.a.unsubscribe(s)}},[]),r}F.a=b},"5RHE":function(J,F,e){(function(d){var E,g,g;!function(p){!(E=p,g=typeof E=="function"?E.call(F,e,F,J):E,g!==void 0&&(J.exports=g))}(function(){"use strict";/** @license
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
|
|
|
* CommitID d93d28db14
|
|
|
*
|
|
|
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, willow-systems.com
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Licensed under the MIT License
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/function p(de){return(p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue})(de)}!function(de){if(p(de.console)!=="object"){de.console={};for(var ue,se,ae=de.console,ye=function(){},Ce=["memory"],Oe="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");ue=Ce.pop();)ae[ue]||(ae[ue]={});for(;se=Oe.pop();)ae[se]||(ae[se]=ye)}var Te,xe,je,ut,wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";de.btoa===void 0&&(de.btoa=function(ee){var ie,z,$,le,ge,Ae=0,Me=0,$e="",kt=[];if(!ee)return ee;for(;ie=(ge=ee.charCodeAt(Ae++)<<16|ee.charCodeAt(Ae++)<<8|ee.charCodeAt(Ae++))>>18&63,z=ge>>12&63,$=ge>>6&63,le=63&ge,kt[Me++]=wt.charAt(ie)+wt.charAt(z)+wt.charAt($)+wt.charAt(le),Ae<ee.length;);$e=kt.join("");var $t=ee.length%3;return($t?$e.slice(0,$t-3):$e)+"===".slice($t||3)}),de.atob===void 0&&(de.atob=function(ee){var ie,z,$,le,ge,Ae,Me=0,$e=0,kt=[];if(!ee)return ee;for(ee+="";ie=(Ae=wt.indexOf(ee.charAt(Me++))<<18|wt.indexOf(ee.charAt(Me++))<<12|(le=wt.indexOf(ee.charAt(Me++)))<<6|(ge=wt.indexOf(ee.charAt(Me++))))>>16&255,z=Ae>>8&255,$=255&Ae,kt[$e++]=le==64?String.fromCharCode(ie):ge==64?String.fromCharCode(ie,z):String.fromCharCode(ie,z,$),Me<ee.length;);return kt.join("")}),Array.prototype.map||(Array.prototype.map=function(ee){if(this==null||typeof ee!="function")throw new TypeError;for(var ie=Object(this),z=ie.length>>>0,$=new Array(z),le=1<arguments.length?arguments[1]:void 0,ge=0;ge<z;ge++)ge in ie&&($[ge]=ee.call(le,ie[ge],ge,ie));return $}),Array.isArray||(Array.isArray=function(ee){return Object.prototype.toString.call(ee)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(ee,ie){if(this==null||typeof ee!="function")throw new TypeError;for(var z=Object(this),$=z.length>>>0,le=0;le<$;le++)le in z&&ee.call(ie,z[le],le,z)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(ie){if(this==null)throw new TypeError('"this" is null or not defined');var z=Object(this),$=z.length>>>0;if(typeof ie!="function")throw new TypeError("predicate must be a function");for(var le=arguments[1],ge=0;ge<$;){var Ae=z[ge];if(ie.call(le,Ae,ge,z))return Ae;ge++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(Te=Object.prototype.hasOwnProperty,xe=!{toString:null}.propertyIsEnumerable("toString"),ut=(je=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ee){if(p(ee)!=="object"&&(typeof ee!="function"||ee===null))throw new TypeError;var ie,z,$=[];for(ie in ee)Te.call(ee,ie)&&$.push(ie);if(xe)for(z=0;z<ut;z++)Te.call(ee,je[z])&&$.push(je[z]);return $})),typeof Object.assign!="function"&&(Object.assign=function(ee){if(ee==null)throw new TypeError("Cannot convert undefined or null to object");ee=Object(ee);for(var ie=1;ie<arguments.length;ie++){var z=arguments[ie];if(z!=null)for(var $ in z)Object.prototype.hasOwnProperty.call(z,$)&&(ee[$]=z[$])}return ee}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(ee){return typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());var A,b,h,i,r,a,s,l,n,u,t,c,o,f,v,y,L,S,x,O,T,w,C,N,D,B,R,U,M,j,P,K,H,k,Z,Y,_,Q,X,he,te,fe,be,we,Ke,qe,xt,Fe,Be,bt,lt,tt,St,ht,vt,Ge,At,_e,De,Ie,st,Et,Mt=function(de){function ue(ae){if(p(ae)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var ye={};this.subscribe=function(Ce,Oe,Te){if(Te=Te||!1,typeof Ce!="string"||typeof Oe!="function"||typeof Te!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");ye.hasOwnProperty(Ce)||(ye[Ce]={});var xe=Math.random().toString(35);return ye[Ce][xe]=[Oe,!!Te],xe},this.unsubscribe=function(Ce){for(var Oe in ye)if(ye[Oe][Ce])return delete ye[Oe][Ce],Object.keys(ye[Oe]).length===0&&delete ye[Oe],!0;return!1},this.publish=function(Ce){if(ye.hasOwnProperty(Ce)){var Oe=Array.prototype.slice.call(arguments,1),Te=[];for(var xe in ye[Ce]){var je=ye[Ce][xe];try{je[0].apply(ae,Oe)}catch(ut){de.console&&console.error("jsPDF PubSub Error",ut.message,ut)}je[1]&&Te.push(xe)}Te.length&&Te.forEach(this.unsubscribe)}},this.getTopics=function(){return ye}}function se(ae,ye,Ce,Oe){var Te={},xe=[],je=1;p(ae)==="object"&&(ae=(Te=ae).orientation,ye=Te.unit||ye,Ce=Te.format||Ce,Oe=Te.compress||Te.compressPdf||Oe,xe=Te.filters||(Oe===!0?["FlateEncode"]:xe),je=typeof Te.userUnit=="number"?Math.abs(Te.userUnit):1),ye=ye||"mm",ae=(""+(ae||"P")).toLowerCase();var ut=Te.putOnlyUsedFonts||!0,wt={},ee={internal:{},__private__:{}};ee.__private__.PubSub=ue;var ie="1.3",z=ee.__private__.getPdfVersion=function(){return ie},$=(ee.__private__.setPdfVersion=function(at){ie=at},{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]}),le=(ee.__private__.getPageFormats=function(){return $},ee.__private__.getPageFormat=function(at){return $[at]});typeof Ce=="string"&&(Ce=le(Ce)),Ce=Ce||le("a4");var ge,Ae=ee.f2=ee.__private__.f2=function(at){if(isNaN(at))throw new Error("Invalid argument passed to jsPDF.f2");return at.toFixed(2)},Me=ee.__private__.f3=function(at){if(isNaN(at))throw new Error("Invalid argument passed to jsPDF.f3");return at.toFixed(3)},$e="00000000000000000000000000000000",kt=ee.__private__.getFileId=function(){return $e},$t=ee.__private__.setFileId=function(at){return at=at||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),$e=at};ee.setFileId=function(at){return $t(at),this},ee.getFileId=function(){return kt()};var Lt=ee.__private__.convertDateToPDFDate=function(at){var Ht=at.getTimezoneOffset(),ar=Ht<0?"+":"-",yr=Math.floor(Math.abs(Ht/60)),Fr=Math.abs(Ht%60),Mr=[ar,mt(yr),"'",mt(Fr),"'"].join("");return["D:",at.getFullYear(),mt(at.getMonth()+1),mt(at.getDate()),mt(at.getHours()),mt(at.getMinutes()),mt(at.getSeconds()),Mr].join("")},Ut=ee.__private__.convertPDFDateToDate=function(at){var Ht=parseInt(at.substr(2,4),10),ar=parseInt(at.substr(6,2),10)-1,yr=parseInt(at.substr(8,2),10),Fr=parseInt(at.substr(10,2),10),Mr=parseInt(at.substr(12,2),10),rn=parseInt(at.substr(14,2),10);return parseInt(at.substr(16,2),10),parseInt(at.substr(20,2),10),new Date(Ht,ar,yr,Fr,Mr,rn,0)},Wt=ee.__private__.setCreationDate=function(at){var Ht;if(at===void 0&&(at=new Date),p(at)==="object"&&Object.prototype.toString.call(at)==="[object Date]")Ht=Lt(at);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(at))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Ht=at}return ge=Ht},Vt=ee.__private__.getCreationDate=function(at){var Ht=ge;return at==="jsDate"&&(Ht=Ut(ge)),Ht};ee.setCreationDate=function(at){return Wt(at),this},ee.getCreationDate=function(at){return Vt(at)};var Tt,ur,qt,ze,nt,Ye,Xe,yt,mt=ee.__private__.padd2=function(at){return("0"+parseInt(at)).slice(-2)},We=!1,rt=[],ft=[],Yt=0,Ft=(ee.__private__.setCustomOutputDestination=function(at){ur=at},ee.__private__.resetCustomOutputDestination=function(at){ur=void 0},ee.__private__.out=function(at){var Ht;return at=typeof at=="string"?at:at.toString(),(Ht=ur===void 0?We?rt[Tt]:ft:ur).push(at),We||(Yt+=at.length+1),Ht}),fr=ee.__private__.write=function(at){return Ft(arguments.length===1?at.toString():Array.prototype.join.call(arguments," "))},mr=ee.__private__.getArrayBuffer=function(at){for(var Ht=at.length,ar=new ArrayBuffer(Ht),yr=new Uint8Array(ar);Ht--;)yr[Ht]=at.charCodeAt(Ht);return ar},Er=[["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]],Lr=(ee.__private__.getStandardFonts=function(at){return Er},Te.fontSize||16),en=(ee.__private__.setFontSize=ee.setFontSize=function(at){return Lr=at,this},ee.__private__.getFontSize=ee.getFontSize=function(){return Lr}),Qr=Te.R2L||!1,Cr=(ee.__private__.setR2L=ee.setR2L=function(at){return Qr=at,this},ee.__private__.getR2L=ee.getR2L=function(at){return Qr},ee.__private__.setZoomMode=function(at){var Ht=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(at))qt=at;else if(isNaN(at)){if(Ht.indexOf(at)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+at+'" is not recognized.');qt=at}else qt=parseInt(at,10)}),Gr=(ee.__private__.getZoomMode=function(){return qt},ee.__private__.setPageMode=function(at){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(at)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+at+'" is not recognized.');ze=at}),Nr=(ee.__private__.getPageMode=function(){return ze},ee.__private__.setLayoutMode=function(at){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(at)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+at+'" is not recognized.');nt=at}),lr=(ee.__private__.getLayoutMode=function(){return nt},ee.__private__.setDisplayMode=ee.setDisplayMode=function(at,Ht,ar){return Cr(at),Nr(Ht),Gr(ar),this},{title:"",subject:"",author:"",keywords:"",creator:""}),pr=(ee.__private__.getDocumentProperty=function(at){if(Object.keys(lr).indexOf(at)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return lr[at]},ee.__private__.getDocumentProperties=function(at){return lr},ee.__private__.setDocumentProperties=ee.setProperties=ee.setDocumentProperties=function(at){for(var Ht in lr)lr.hasOwnProperty(Ht)&&at[Ht]&&(lr[Ht]=at[Ht]);return this},ee.__private__.setDocumentProperty=function(at,Ht){if(Object.keys(lr).indexOf(at)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return lr[at]=Ht},0),sr=[],dr={},Sr={},Xr=0,cn=[],Dn=[],jr=new ue(ee),On=Te.hotfixes||[],gn=ee.__private__.newObject=function(){var at=Un();return Wn(at,!0),at},Un=ee.__private__.newObjectDeferred=function(){return sr[++pr]=function(){return Yt},pr},Wn=function(Ht,ar){return ar=typeof ar=="boolean"&&ar,sr[Ht]=Yt,ar&&Ft(Ht+" 0 obj"),Ht},Jn=ee.__private__.newAdditionalObject=function(){var at={objId:Un(),content:""};return Dn.push(at),at},Qn=Un(),Vn=Un(),yn=ee.__private__.decodeColorString=function(at){var Ht=at.split(" ");if(Ht.length===2&&(Ht[1]==="g"||Ht[1]==="G")){var ar=parseFloat(Ht[0]);Ht=[ar,ar,ar,"r"]}for(var yr="#",Fr=0;Fr<3;Fr++)yr+=("0"+Math.floor(255*parseFloat(Ht[Fr])).toString(16)).slice(-2);return yr},on=ee.__private__.encodeColorString=function(at){var Ht;typeof at=="string"&&(at={ch1:at});var ar=at.ch1,yr=at.ch2,Fr=at.ch3,Mr=at.ch4,rn=(at.precision,at.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof ar=="string"&&ar.charAt(0)!=="#"){var fn=new RGBColor(ar);if(fn.ok)ar=fn.toHex();else if(!/^\d*\.?\d*$/.test(ar))throw new Error('Invalid color "'+ar+'" passed to jsPDF.encodeColorString.')}if(typeof ar=="string"&&/^#[0-9A-Fa-f]{3}$/.test(ar)&&(ar="#"+ar[1]+ar[1]+ar[2]+ar[2]+ar[3]+ar[3]),typeof ar=="string"&&/^#[0-9A-Fa-f]{6}$/.test(ar)){var wn=parseInt(ar.substr(1),16);ar=wn>>16&255,yr=wn>>8&255,Fr=255&wn}if(yr===void 0||Mr===void 0&&ar===yr&&yr===Fr)if(typeof ar=="string")Ht=ar+" "+rn[0];else switch(at.precision){case 2:Ht=Ae(ar/255)+" "+rn[0];break;case 3:default:Ht=Me(ar/255)+" "+rn[0]}else if(Mr===void 0||p(Mr)==="object"){if(Mr&&!isNaN(Mr.a)&&Mr.a===0)return Ht=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof ar=="string")Ht=[ar,yr,Fr,rn[1]].join(" ");else switch(at.precision){case 2:Ht=[Ae(ar/255),Ae(yr/255),Ae(Fr/255),rn[1]].join(" ");break;default:case 3:Ht=[Me(ar/255),Me(yr/255),Me(Fr/255),rn[1]].join(" ")}}else if(typeof ar=="string")Ht=[ar,yr,Fr,Mr,rn[2]].join(" ");else switch(at.precision){case 2:Ht=[Ae(ar/255),Ae(yr/255),Ae(Fr/255),Ae(Mr/255),rn[2]].join(" ");break;case 3:default:Ht=[Me(ar/255),Me(yr/255),Me(Fr/255),Me(Mr/255),rn[2]].join(" ")}return Ht},ia=ee.__private__.getFilters=function(){return xe},xa=ee.__private__.putStream=function(at){var Ht=(at=at||{}).data||"",ar=at.filters||ia(),yr=at.alreadyAppliedFilters||[],Fr=at.addLength1||!1,Mr=Ht.length,rn={};ar===!0&&(ar=["FlateEncode"]);var fn=at.additionalKeyValues||[],wn=(rn=se.API.processDataByFilters!==void 0?se.API.processDataByFilters(Ht,ar):{data:Ht,reverseChain:[]}).reverseChain+(Array.isArray(yr)?yr.join(" "):yr.toString());rn.data.length!==0&&(fn.push({key:"Length",value:rn.data.length}),Fr===!0&&fn.push({key:"Length1",value:Mr})),wn.length!=0&&(wn.split("/").length-1==1?fn.push({key:"Filter",value:wn}):fn.push({key:"Filter",value:"["+wn+"]"})),Ft("<<");for(var Hn=0;Hn<fn.length;Hn++)Ft("/"+fn[Hn].key+" "+fn[Hn].value);Ft(">>"),rn.data.length!==0&&(Ft("stream"),Ft(rn.data),Ft("endstream"))},ta=ee.__private__.putPage=function(at){at.mediaBox;var Ht=at.number,ar=at.data,yr=at.objId,Fr=at.contentsObjId;Wn(yr,!0),cn[Tt].mediaBox.topRightX,cn[Tt].mediaBox.bottomLeftX,cn[Tt].mediaBox.topRightY,cn[Tt].mediaBox.bottomLeftY,Ft("<</Type /Page"),Ft("/Parent "+at.rootDictionaryObjId+" 0 R"),Ft("/Resources "+at.resourceDictionaryObjId+" 0 R"),Ft("/MediaBox ["+parseFloat(Ae(at.mediaBox.bottomLeftX))+" "+parseFloat(Ae(at.mediaBox.bottomLeftY))+" "+Ae(at.mediaBox.topRightX)+" "+Ae(at.mediaBox.topRightY)+"]"),at.cropBox!==null&&Ft("/CropBox ["+Ae(at.cropBox.bottomLeftX)+" "+Ae(at.cropBox.bottomLeftY)+" "+Ae(at.cropBox.topRightX)+" "+Ae(at.cropBox.topRightY)+"]"),at.bleedBox!==null&&Ft("/BleedBox ["+Ae(at.bleedBox.bottomLeftX)+" "+Ae(at.bleedBox.bottomLeftY)+" "+Ae(at.bleedBox.topRightX)+" "+Ae(at.bleedBox.topRightY)+"]"),at.trimBox!==null&&Ft("/TrimBox ["+Ae(at.trimBox.bottomLeftX)+" "+Ae(at.trimBox.bottomLeftY)+" "+Ae(at.trimBox.topRightX)+" "+Ae(at.trimBox.topRightY)+"]"),at.artBox!==null&&Ft("/ArtBox ["+Ae(at.artBox.bottomLeftX)+" "+Ae(at.artBox.bottomLeftY)+" "+Ae(at.artBox.topRightX)+" "+Ae(at.artBox.topRightY)+"]"),typeof at.userUnit=="number"&&at.userUnit!==1&&Ft("/UserUnit "+at.userUnit),jr.publish("putPage",{objId:yr,pageContext:cn[Ht],pageNumber:Ht,page:ar}),Ft("/Contents "+Fr+" 0 R"),Ft(">>"),Ft("endobj");var Mr=ar.join(`
|
|
|
`);return Wn(Fr,!0),xa({data:Mr,filters:ia()}),Ft("endobj"),yr},Ni=ee.__private__.putPages=function(){var at,Ht,ar=[];for(at=1;at<=Xr;at++)cn[at].objId=Un(),cn[at].contentsObjId=Un();for(at=1;at<=Xr;at++)ar.push(ta({number:at,data:rt[at],objId:cn[at].objId,contentsObjId:cn[at].contentsObjId,mediaBox:cn[at].mediaBox,cropBox:cn[at].cropBox,bleedBox:cn[at].bleedBox,trimBox:cn[at].trimBox,artBox:cn[at].artBox,userUnit:cn[at].userUnit,rootDictionaryObjId:Qn,resourceDictionaryObjId:Vn}));Wn(Qn,!0),Ft("<</Type /Pages");var yr="/Kids [";for(Ht=0;Ht<Xr;Ht++)yr+=ar[Ht]+" 0 R ";Ft(yr+"]"),Ft("/Count "+Xr),Ft(">>"),Ft("endobj"),jr.publish("postPutPages")},Ci=function(){!function(){for(var Ht in dr)dr.hasOwnProperty(Ht)&&(ut===!1||ut===!0&&wt.hasOwnProperty(Ht))&&(ar=dr[Ht],jr.publish("putFont",{font:ar,out:Ft,newObject:gn,putStream:xa}),ar.isAlreadyPutted!==!0&&(ar.objectNumber=gn(),Ft("<<"),Ft("/Type /Font"),Ft("/BaseFont /"+ar.postScriptName),Ft("/Subtype /Type1"),typeof ar.encoding=="string"&&Ft("/Encoding /"+ar.encoding),Ft("/FirstChar 32"),Ft("/LastChar 255"),Ft(">>"),Ft("endobj")));var ar}(),jr.publish("putResources"),Wn(Vn,!0),Ft("<<"),function(){for(var Ht in Ft("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ft("/Font <<"),dr)dr.hasOwnProperty(Ht)&&(ut===!1||ut===!0&&wt.hasOwnProperty(Ht))&&Ft("/"+Ht+" "+dr[Ht].objectNumber+" 0 R");Ft(">>"),Ft("/XObject <<"),jr.publish("putXobjectDict"),Ft(">>")}(),Ft(">>"),Ft("endobj"),jr.publish("postPutResources")},Gn=function(Ht,ar,yr){Sr.hasOwnProperty(ar)||(Sr[ar]={}),Sr[ar][yr]=Ht},Ia=function(Ht,ar,yr,Fr,Mr){Mr=Mr||!1;var rn="F"+(Object.keys(dr).length+1).toString(10),fn={id:rn,postScriptName:Ht,fontName:ar,fontStyle:yr,encoding:Fr,isStandardFont:Mr,metadata:{}};return jr.publish("addFont",{font:fn,instance:this}),rn!==void 0&&(dr[rn]=fn,Gn(rn,ar,yr)),rn},mn=ee.__private__.pdfEscape=ee.pdfEscape=function(at,Ht){return function(ar,yr){var Fr,Mr,rn,fn,wn,Hn,Sn,bn,Bn;if(rn=(yr=yr||{}).sourceEncoding||"Unicode",wn=yr.outputEncoding,(yr.autoencode||wn)&&dr[Ye].metadata&&dr[Ye].metadata[rn]&&dr[Ye].metadata[rn].encoding&&(fn=dr[Ye].metadata[rn].encoding,!wn&&dr[Ye].encoding&&(wn=dr[Ye].encoding),!wn&&fn.codePages&&(wn=fn.codePages[0]),typeof wn=="string"&&(wn=fn[wn]),wn)){for(Sn=!1,Hn=[],Fr=0,Mr=ar.length;Fr<Mr;Fr++)(bn=wn[ar.charCodeAt(Fr)])?Hn.push(String.fromCharCode(bn)):Hn.push(ar[Fr]),Hn[Fr].charCodeAt(0)>>8&&(Sn=!0);ar=Hn.join("")}for(Fr=ar.length;Sn===void 0&&Fr!==0;)ar.charCodeAt(Fr-1)>>8&&(Sn=!0),Fr--;if(!Sn)return ar;for(Hn=yr.noBOM?[]:[254,255],Fr=0,Mr=ar.length;Fr<Mr;Fr++){if((Bn=(bn=ar.charCodeAt(Fr))>>8)>>8)throw new Error("Character at position "+Fr+" of string '"+ar+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Hn.push(Bn),Hn.push(bn-(Bn<<8))}return String.fromCharCode.apply(void 0,Hn)}(at,Ht).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},In=ee.__private__.beginPage=function(at,Ht){var ar,yr=typeof Ht=="string"&&Ht.toLowerCase();if(typeof at=="string"&&(ar=le(at.toLowerCase()))&&(at=ar[0],Ht=ar[1]),Array.isArray(at)&&(Ht=at[1],at=at[0]),(isNaN(at)||isNaN(Ht))&&(at=Ce[0],Ht=Ce[1]),yr){switch(yr.substr(0,1)){case"l":at<Ht&&(yr="s");break;case"p":Ht<at&&(yr="s")}yr==="s"&&(ar=at,at=Ht,Ht=ar)}(14400<at||14400<Ht)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),at=Math.min(14400,at),Ht=Math.min(14400,Ht)),Ce=[at,Ht],We=!0,rt[++Xr]=[],cn[Xr]={objId:0,contentsObjId:0,userUnit:Number(je),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(at),topRightY:Number(Ht)}},Nn(Xr)},Ln=function(){In.apply(this,arguments),Oo(eo),Ft(Bt),Wr!==0&&Ft(Wr+" J"),Zr!==0&&Ft(Zr+" j"),jr.publish("addPage",{pageNumber:Xr})},Nn=function(Ht){0<Ht&&Ht<=Xr&&(Tt=Ht)},jn=ee.__private__.getNumberOfPages=ee.getNumberOfPages=function(){return rt.length-1},ni=function(Ht,ar,yr){var Fr,Mr=void 0;return yr=yr||{},Ht=Ht!==void 0?Ht:dr[Ye].fontName,ar=ar!==void 0?ar:dr[Ye].fontStyle,Fr=Ht.toLowerCase(),Sr[Fr]!==void 0&&Sr[Fr][ar]!==void 0?Mr=Sr[Fr][ar]:Sr[Ht]!==void 0&&Sr[Ht][ar]!==void 0?Mr=Sr[Ht][ar]:yr.disableWarning===!1&&console.warn("Unable to look up font label for font '"+Ht+"', '"+ar+"'. Refer to getFontList() for available fonts."),Mr||yr.noFallback||(Mr=Sr.times[ar])==null&&(Mr=Sr.times.normal),Mr},di=ee.__private__.putInfo=function(){for(var at in gn(),Ft("<<"),Ft("/Producer (jsPDF "+se.version+")"),lr)lr.hasOwnProperty(at)&&lr[at]&&Ft("/"+at.substr(0,1).toUpperCase()+at.substr(1)+" ("+mn(lr[at])+")");Ft("/CreationDate ("+ge+")"),Ft(">>"),Ft("endobj")},Da=ee.__private__.putCatalog=function(at){var Ht=(at=at||{}).rootDictionaryObjId||Qn;switch(gn(),Ft("<<"),Ft("/Type /Catalog"),Ft("/Pages "+Ht+" 0 R"),qt||(qt="fullwidth"),qt){case"fullwidth":Ft("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Ft("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Ft("/OpenAction [3 0 R /Fit]");break;case"original":Ft("/OpenAction [3 0 R /XYZ null null 1]");break;default:var ar=""+qt;ar.substr(ar.length-1)==="%"&&(qt=parseInt(qt)/100),typeof qt=="number"&&Ft("/OpenAction [3 0 R /XYZ null null "+Ae(qt)+"]")}switch(nt||(nt="continuous"),nt){case"continuous":Ft("/PageLayout /OneColumn");break;case"single":Ft("/PageLayout /SinglePage");break;case"two":case"twoleft":Ft("/PageLayout /TwoColumnLeft");break;case"tworight":Ft("/PageLayout /TwoColumnRight")}ze&&Ft("/PageMode /"+ze),jr.publish("putCatalog"),Ft(">>"),Ft("endobj")},Xi=ee.__private__.putTrailer=function(){Ft("trailer"),Ft("<<"),Ft("/Size "+(pr+1)),Ft("/Root "+pr+" 0 R"),Ft("/Info "+(pr-1)+" 0 R"),Ft("/ID [ <"+$e+"> <"+$e+"> ]"),Ft(">>")},ma=ee.__private__.putHeader=function(){Ft("%PDF-"+ie),Ft("%\xBA\xDF\xAC\xE0")},_a=ee.__private__.putXRef=function(){var at=1,Ht="0000000000";for(Ft("xref"),Ft("0 "+(pr+1)),Ft("0000000000 65535 f "),at=1;at<=pr;at++)typeof sr[at]=="function"?Ft((Ht+sr[at]()).slice(-10)+" 00000 n "):sr[at]!==void 0?Ft((Ht+sr[at]).slice(-10)+" 00000 n "):Ft("0000000000 00000 n ")},Xa=ee.__private__.buildDocument=function(){We=!1,Yt=pr=0,ft=[],sr=[],Dn=[],Qn=Un(),Vn=Un(),jr.publish("buildDocument"),ma(),Ni(),function(){jr.publish("putAdditionalObjects");for(var Ht=0;Ht<Dn.length;Ht++){var ar=Dn[Ht];Wn(ar.objId,!0),Ft(ar.content),Ft("endobj")}jr.publish("postPutAdditionalObjects")}(),Ci(),di(),Da();var at=Yt;return _a(),Xi(),Ft("startxref"),Ft(""+at),Ft("%%EOF"),We=!0,ft.join(`
|
|
|
`)},Ki=ee.__private__.getBlob=function(at){return new Blob([mr(at)],{type:"application/pdf"})},Co=ee.output=ee.__private__.output=((yt=function(Ht,ar){ar=ar||{};var yr=Xa();switch(typeof ar=="string"?ar={filename:ar}:ar.filename=ar.filename||"generated.pdf",Ht){case void 0:return yr;case"save":ee.save(ar.filename);break;case"arraybuffer":return mr(yr);case"blob":return Ki(yr);case"bloburi":case"bloburl":if(de.URL!==void 0&&typeof de.URL.createObjectURL=="function")return de.URL&&de.URL.createObjectURL(Ki(yr))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+ar.filename+";base64,"+btoa(yr);case"dataurlnewwindow":var Fr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Mr=de.open();if(Mr!==null&&Mr.document.write(Fr),Mr||typeof safari=="undefined")return Mr;case"datauri":case"dataurl":return de.document.location.href="data:application/pdf;filename="+ar.filename+";base64,"+btoa(yr);default:return null}}).foo=function(){try{return yt.apply(this,arguments)}catch(ar){var at=ar.stack||"";~at.indexOf(" at ")&&(at=at.split(" at ")[1]);var Ht="Error in function "+at.split(`
|
|
|
`)[0].split("<")[0]+": "+ar.message;if(!de.console)throw new Error(Ht);de.console.error(Ht,ar),de.alert&&alert(Ht)}},(yt.foo.bar=yt).foo),aa=function(Ht){return Array.isArray(On)===!0&&-1<On.indexOf(Ht)};switch(ye){case"pt":Xe=1;break;case"mm":Xe=72/25.4;break;case"cm":Xe=72/2.54;break;case"in":Xe=72;break;case"px":Xe=aa("px_scaling")==1?.75:96/72;break;case"pc":case"em":Xe=12;break;case"ex":Xe=6;break;default:throw new Error("Invalid unit: "+ye)}Wt(),$t();var Hi=ee.__private__.getPageInfo=function(at){if(isNaN(at)||at%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:cn[at].objId,pageNumber:at,pageContext:cn[at]}},ga=ee.__private__.getPageInfoByObjId=function(at){for(var Ht in cn)if(cn[Ht].objId===at)break;if(isNaN(at)||at%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Hi(Ht)},ha=ee.__private__.getCurrentPageInfo=function(){return{objId:cn[Tt].objId,pageNumber:Tt,pageContext:cn[Tt]}};ee.addPage=function(){return Ln.apply(this,arguments),this},ee.setPage=function(){return Nn.apply(this,arguments),this},ee.insertPage=function(at){return this.addPage(),this.movePage(Tt,at),this},ee.movePage=function(at,Ht){if(Ht<at){for(var ar=rt[at],yr=cn[at],Fr=at;Ht<Fr;Fr--)rt[Fr]=rt[Fr-1],cn[Fr]=cn[Fr-1];rt[Ht]=ar,cn[Ht]=yr,this.setPage(Ht)}else if(at<Ht){for(ar=rt[at],yr=cn[at],Fr=at;Fr<Ht;Fr++)rt[Fr]=rt[Fr+1],cn[Fr]=cn[Fr+1];rt[Ht]=ar,cn[Ht]=yr,this.setPage(Ht)}return this},ee.deletePage=function(){return function(at){0<at&&at<=Xr&&(rt.splice(at,1),--Xr<Tt&&(Tt=Xr),this.setPage(Tt))}.apply(this,arguments),this},ee.__private__.text=ee.text=function(at,Ht,ar,yr){var Fr;typeof at!="number"||typeof Ht!="number"||typeof ar!="string"&&!Array.isArray(ar)||(Fr=ar,ar=Ht,Ht=at,at=Fr);var Mr=arguments[3],rn=arguments[4],fn=arguments[5];if(p(Mr)==="object"&&Mr!==null||(typeof rn=="string"&&(fn=rn,rn=null),typeof Mr=="string"&&(fn=Mr,Mr=null),typeof Mr=="number"&&(rn=Mr,Mr=null),yr={flags:Mr,angle:rn,align:fn}),(Mr=Mr||{}).noBOM=Mr.noBOM||!0,Mr.autoencode=Mr.autoencode||!0,isNaN(Ht)||isNaN(ar)||at==null)throw new Error("Invalid arguments passed to jsPDF.text");if(at.length===0)return bn;var wn,Hn="",Sn=typeof yr.lineHeightFactor=="number"?yr.lineHeightFactor:qi,bn=yr.scope||this;function Bn(ra){for(var Qi,Ya=ra.concat(),zi=[],Wi=Ya.length;Wi--;)typeof(Qi=Ya.shift())=="string"?zi.push(Qi):Array.isArray(ra)&&Qi.length===1?zi.push(Qi[0]):zi.push([Qi[0],Qi[1],Qi[2]]);return zi}function vn(ra,Qi){var Ya;if(typeof ra=="string")Ya=Qi(ra)[0];else if(Array.isArray(ra)){for(var zi,Wi,ba=ra.concat(),ka=[],wa=ba.length;wa--;)typeof(zi=ba.shift())=="string"?ka.push(Qi(zi)[0]):Array.isArray(zi)&&zi[0]==="string"&&(Wi=Qi(zi[0],zi[1],zi[2]),ka.push([Wi[0],Wi[1],Wi[2]]));Ya=ka}return Ya}var Mn=!1,En=!0;if(typeof at=="string")Mn=!0;else if(Array.isArray(at)){for(var Tn,Yn=at.concat(),ai=[],ri=Yn.length;ri--;)(typeof(Tn=Yn.shift())!="string"||Array.isArray(Tn)&&typeof Tn[0]!="string")&&(En=!1);Mn=En}if(Mn===!1)throw new Error('Type of text must be string or Array. "'+at+'" is not recognized.');var Ri=dr[Ye].encoding;Ri!=="WinAnsiEncoding"&&Ri!=="StandardEncoding"||(at=vn(at,function(ra,Qi,Ya){return[(zi=ra,zi=zi.split(" ").join(Array(yr.TabLen||9).join(" ")),mn(zi,Mr)),Qi,Ya];var zi})),typeof at=="string"&&(at=at.match(/[\r?\n]/)?at.split(/\r\n|\r|\n/g):[at]);var Ai=Lr/bn.internal.scaleFactor,xi=Ai*(qi-1);switch(yr.baseline){case"bottom":ar-=xi;break;case"top":ar+=Ai-xi;break;case"hanging":ar+=Ai-2*xi;break;case"middle":ar+=Ai/2-xi}0<(sa=yr.maxWidth||0)&&(typeof at=="string"?at=bn.splitTextToSize(at,sa):Object.prototype.toString.call(at)==="[object Array]"&&(at=bn.splitTextToSize(at.join(" "),sa)));var Li={text:at,x:Ht,y:ar,options:yr,mutex:{pdfEscape:mn,activeFontKey:Ye,fonts:dr,activeFontSize:Lr}};jr.publish("preProcessText",Li),at=Li.text,rn=(yr=Li.options).angle;var kn=bn.internal.scaleFactor,Mi=[];if(rn){rn*=Math.PI/180;var fa=Math.cos(rn),ki=Math.sin(rn);Mi=[Ae(fa),Ae(ki),Ae(-1*ki),Ae(fa)]}(oa=yr.charSpace)!==void 0&&(Hn+=Me(oa*kn)+` Tc
|
|
|
`),yr.lang;var Bi=-1,mi=yr.renderingMode!==void 0?yr.renderingMode:yr.stroke,hi=bn.internal.getCurrentPageInfo().pageContext;switch(mi){case 0:case!1:case"fill":Bi=0;break;case 1:case!0:case"stroke":Bi=1;break;case 2:case"fillThenStroke":Bi=2;break;case 3:case"invisible":Bi=3;break;case 4:case"fillAndAddForClipping":Bi=4;break;case 5:case"strokeAndAddPathForClipping":Bi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Bi=6;break;case 7:case"addToPathForClipping":Bi=7}var Ji=hi.usedRenderingMode!==void 0?hi.usedRenderingMode:-1;Bi!==-1?Hn+=Bi+` Tr
|
|
|
`:Ji!==-1&&(Hn+=`0 Tr
|
|
|
`),Bi!==-1&&(hi.usedRenderingMode=Bi),fn=yr.align||"left";var va=Lr*Sn,Ea=bn.internal.pageSize.getWidth(),Aa=(kn=bn.internal.scaleFactor,dr[Ye]),oa=yr.charSpace||br,sa=yr.maxWidth||0,Di=(Mr={},[]);if(Object.prototype.toString.call(at)==="[object Array]"){var qn,yi;ai=Bn(at),fn!=="left"&&(yi=ai.map(function(ra){return bn.getStringUnitWidth(ra,{font:Aa,charSpace:oa,fontSize:Lr})*Lr/kn}));var Ti,Vi=Math.max.apply(Math,yi),Yi=0;if(fn==="right"){Ht-=yi[0],at=[];var bi=0;for(ri=ai.length;bi<ri;bi++)Vi-yi[bi],qn=bi===0?(Ti=Ur(Ht),Kr(ar)):(Ti=(Yi-yi[bi])*kn,-va),at.push([ai[bi],Ti,qn]),Yi=yi[bi]}else if(fn==="center")for(Ht-=yi[0]/2,at=[],bi=0,ri=ai.length;bi<ri;bi++)(Vi-yi[bi])/2,qn=bi===0?(Ti=Ur(Ht),Kr(ar)):(Ti=(Yi-yi[bi])/2*kn,-va),at.push([ai[bi],Ti,qn]),Yi=yi[bi];else if(fn==="left")for(at=[],bi=0,ri=ai.length;bi<ri;bi++)qn=bi===0?Kr(ar):-va,Ti=bi===0?Ur(Ht):0,at.push(ai[bi]);else{if(fn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(at=[],sa=sa!==0?sa:Ea,bi=0,ri=ai.length;bi<ri;bi++)qn=bi===0?Kr(ar):-va,Ti=bi===0?Ur(Ht):0,bi<ri-1&&Di.push(((sa-yi[bi])/(ai[bi].split(" ").length-1)*kn).toFixed(2)),at.push([ai[bi],Ti,qn])}}(typeof yr.R2L=="boolean"?yr.R2L:Qr)===!0&&(at=vn(at,function(ra,Qi,Ya){return[ra.split("").reverse().join(""),Qi,Ya]})),Li={text:at,x:Ht,y:ar,options:yr,mutex:{pdfEscape:mn,activeFontKey:Ye,fonts:dr,activeFontSize:Lr}},jr.publish("postProcessText",Li),at=Li.text,wn=Li.mutex.isHex,ai=Bn(at),at=[];var ya,ua,la,gi=0,Ua=(ri=ai.length,"");for(bi=0;bi<ri;bi++)Ua="",Array.isArray(ai[bi])?(ya=parseFloat(ai[bi][1]),ua=parseFloat(ai[bi][2]),la=(wn?"<":"(")+ai[bi][0]+(wn?">":")"),gi=1):(ya=Ur(Ht),ua=Kr(ar),la=(wn?"<":"(")+ai[bi]+(wn?">":")")),Di!==void 0&&Di[bi]!==void 0&&(Ua=Di[bi]+` Tw
|
|
|
`),Mi.length!==0&&bi===0?at.push(Ua+Mi.join(" ")+" "+ya.toFixed(2)+" "+ua.toFixed(2)+` Tm
|
|
|
`+la):gi===1||gi===0&&bi===0?at.push(Ua+ya.toFixed(2)+" "+ua.toFixed(2)+` Td
|
|
|
`+la):at.push(Ua+la);at=gi===0?at.join(` Tj
|
|
|
T* `):at.join(` Tj
|
|
|
`),at+=` Tj
|
|
|
`;var Ba=`BT
|
|
|
/`+Ye+" "+Lr+` Tf
|
|
|
`+(Lr*Sn).toFixed(2)+` TL
|
|
|
`+rr+`
|
|
|
`;return Ba+=Hn,Ba+=at,Ft(Ba+="ET"),wt[Ye]=!0,bn},ee.__private__.lstext=ee.lstext=function(at,Ht,ar,yr){return console.warn("jsPDF.lstext is deprecated"),this.text(at,Ht,ar,{charSpace:yr})},ee.__private__.clip=ee.clip=function(at){Ft(at==="evenodd"?"W*":"W"),Ft("n")},ee.__private__.clip_fixed=ee.clip_fixed=function(at){console.log("clip_fixed is deprecated"),ee.clip(at)};var mo=ee.__private__.isValidStyle=function(at){var Ht=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(at)!==-1&&(Ht=!0),Ht},Pn=ee.__private__.getStyle=function(at){var Ht="S";return at==="F"?Ht="f":at==="FD"||at==="DF"?Ht="B":at!=="f"&&at!=="f*"&&at!=="B"&&at!=="B*"||(Ht=at),Ht};ee.__private__.line=ee.line=function(at,Ht,ar,yr){if(isNaN(at)||isNaN(Ht)||isNaN(ar)||isNaN(yr))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[ar-at,yr-Ht]],at,Ht)},ee.__private__.lines=ee.lines=function(at,Ht,ar,yr,Fr,Mr){var rn,fn,wn,Hn,Sn,bn,Bn,vn,Mn,En,Tn,Yn;if(typeof at=="number"&&(Yn=ar,ar=Ht,Ht=at,at=Yn),yr=yr||[1,1],Mr=Mr||!1,isNaN(Ht)||isNaN(ar)||!Array.isArray(at)||!Array.isArray(yr)||!mo(Fr)||typeof Mr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Ft(Me(Ur(Ht))+" "+Me(Kr(ar))+" m "),rn=yr[0],fn=yr[1],Hn=at.length,En=Ht,Tn=ar,wn=0;wn<Hn;wn++)(Sn=at[wn]).length===2?(En=Sn[0]*rn+En,Tn=Sn[1]*fn+Tn,Ft(Me(Ur(En))+" "+Me(Kr(Tn))+" l")):(bn=Sn[0]*rn+En,Bn=Sn[1]*fn+Tn,vn=Sn[2]*rn+En,Mn=Sn[3]*fn+Tn,En=Sn[4]*rn+En,Tn=Sn[5]*fn+Tn,Ft(Me(Ur(bn))+" "+Me(Kr(Bn))+" "+Me(Ur(vn))+" "+Me(Kr(Mn))+" "+Me(Ur(En))+" "+Me(Kr(Tn))+" c"));return Mr&&Ft(" h"),Fr!==null&&Ft(Pn(Fr)),this},ee.__private__.rect=ee.rect=function(at,Ht,ar,yr,Fr){if(isNaN(at)||isNaN(Ht)||isNaN(ar)||isNaN(yr)||!mo(Fr))throw new Error("Invalid arguments passed to jsPDF.rect");return Ft([Ae(Ur(at)),Ae(Kr(Ht)),Ae(ar*Xe),Ae(-yr*Xe),"re"].join(" ")),Fr!==null&&Ft(Pn(Fr)),this},ee.__private__.triangle=ee.triangle=function(at,Ht,ar,yr,Fr,Mr,rn){if(isNaN(at)||isNaN(Ht)||isNaN(ar)||isNaN(yr)||isNaN(Fr)||isNaN(Mr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[ar-at,yr-Ht],[Fr-ar,Mr-yr],[at-Fr,Ht-Mr]],at,Ht,[1,1],rn,!0),this},ee.__private__.roundedRect=ee.roundedRect=function(at,Ht,ar,yr,Fr,Mr,rn){if(isNaN(at)||isNaN(Ht)||isNaN(ar)||isNaN(yr)||isNaN(Fr)||isNaN(Mr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var fn=4/3*(Math.SQRT2-1);return this.lines([[ar-2*Fr,0],[Fr*fn,0,Fr,Mr-Mr*fn,Fr,Mr],[0,yr-2*Mr],[0,Mr*fn,-Fr*fn,Mr,-Fr,Mr],[2*Fr-ar,0],[-Fr*fn,0,-Fr,-Mr*fn,-Fr,-Mr],[0,2*Mr-yr],[0,-Mr*fn,Fr*fn,-Mr,Fr,-Mr]],at+Fr,Ht,[1,1],rn),this},ee.__private__.ellipse=ee.ellipse=function(at,Ht,ar,yr,Fr){if(isNaN(at)||isNaN(Ht)||isNaN(ar)||isNaN(yr)||!mo(Fr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Mr=4/3*(Math.SQRT2-1)*ar,rn=4/3*(Math.SQRT2-1)*yr;return Ft([Ae(Ur(at+ar)),Ae(Kr(Ht)),"m",Ae(Ur(at+ar)),Ae(Kr(Ht-rn)),Ae(Ur(at+Mr)),Ae(Kr(Ht-yr)),Ae(Ur(at)),Ae(Kr(Ht-yr)),"c"].join(" ")),Ft([Ae(Ur(at-Mr)),Ae(Kr(Ht-yr)),Ae(Ur(at-ar)),Ae(Kr(Ht-rn)),Ae(Ur(at-ar)),Ae(Kr(Ht)),"c"].join(" ")),Ft([Ae(Ur(at-ar)),Ae(Kr(Ht+rn)),Ae(Ur(at-Mr)),Ae(Kr(Ht+yr)),Ae(Ur(at)),Ae(Kr(Ht+yr)),"c"].join(" ")),Ft([Ae(Ur(at+Mr)),Ae(Kr(Ht+yr)),Ae(Ur(at+ar)),Ae(Kr(Ht+rn)),Ae(Ur(at+ar)),Ae(Kr(Ht)),"c"].join(" ")),Fr!==null&&Ft(Pn(Fr)),this},ee.__private__.circle=ee.circle=function(at,Ht,ar,yr){if(isNaN(at)||isNaN(Ht)||isNaN(ar)||!mo(yr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(at,Ht,ar,ar,yr)},ee.setFont=function(at,Ht){return Ye=ni(at,Ht,{disableWarning:!1}),this},ee.setFontStyle=ee.setFontType=function(at){return Ye=ni(void 0,at),this},ee.__private__.getFontList=ee.getFontList=function(){var at,Ht,ar,yr={};for(at in Sr)if(Sr.hasOwnProperty(at))for(Ht in yr[at]=ar=[],Sr[at])Sr[at].hasOwnProperty(Ht)&&ar.push(Ht);return yr},ee.addFont=function(at,Ht,ar,yr){Ia.call(this,at,Ht,ar,yr=yr||"Identity-H")};var qi,eo=Te.lineWidth||.200025,Oo=ee.__private__.setLineWidth=ee.setLineWidth=function(at){return Ft((at*Xe).toFixed(2)+" w"),this},co=(ee.__private__.setLineDash=se.API.setLineDash=function(at,Ht){if(at=at||[],Ht=Ht||0,isNaN(Ht)||!Array.isArray(at))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return at=at.map(function(ar){return(ar*Xe).toFixed(3)}).join(" "),Ht=parseFloat((Ht*Xe).toFixed(3)),Ft("["+at+"] "+Ht+" d"),this},ee.__private__.getLineHeight=ee.getLineHeight=function(){return Lr*qi}),tr=(co=ee.__private__.getLineHeight=ee.getLineHeight=function(){return Lr*qi},ee.__private__.setLineHeightFactor=ee.setLineHeightFactor=function(at){return typeof(at=at||1.15)=="number"&&(qi=at),this}),Ir=ee.__private__.getLineHeightFactor=ee.getLineHeightFactor=function(){return qi};tr(Te.lineHeight);var Ur=ee.__private__.getHorizontalCoordinate=function(at){return at*Xe},Kr=ee.__private__.getVerticalCoordinate=function(at){return cn[Tt].mediaBox.topRightY-cn[Tt].mediaBox.bottomLeftY-at*Xe},hn=ee.__private__.getHorizontalCoordinateString=function(at){return Ae(at*Xe)},Ue=ee.__private__.getVerticalCoordinateString=function(at){return Ae(cn[Tt].mediaBox.topRightY-cn[Tt].mediaBox.bottomLeftY-at*Xe)},Bt=Te.strokeColor||"0 G",Zt=(ee.__private__.getStrokeColor=ee.getDrawColor=function(){return yn(Bt)},ee.__private__.setStrokeColor=ee.setDrawColor=function(at,Ht,ar,yr){return Bt=on({ch1:at,ch2:Ht,ch3:ar,ch4:yr,pdfColorType:"draw",precision:2}),Ft(Bt),this},Te.fillColor||"0 g"),rr=(ee.__private__.getFillColor=ee.getFillColor=function(){return yn(Zt)},ee.__private__.setFillColor=ee.setFillColor=function(at,Ht,ar,yr){return Zt=on({ch1:at,ch2:Ht,ch3:ar,ch4:yr,pdfColorType:"fill",precision:2}),Ft(Zt),this},Te.textColor||"0 g"),Tr=ee.__private__.getTextColor=ee.getTextColor=function(){return yn(rr)},br=(ee.__private__.setTextColor=ee.setTextColor=function(at,Ht,ar,yr){return rr=on({ch1:at,ch2:Ht,ch3:ar,ch4:yr,pdfColorType:"text",precision:3}),this},Te.charSpace||0),xr=ee.__private__.getCharSpace=ee.getCharSpace=function(){return br},Wr=(ee.__private__.setCharSpace=ee.setCharSpace=function(at){if(isNaN(at))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return br=at,this},0);ee.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},ee.__private__.setLineCap=ee.setLineCap=function(at){var Ht=ee.CapJoinStyles[at];if(Ht===void 0)throw new Error("Line cap style of '"+at+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ft((Wr=Ht)+" J"),this};var $r,Zr=0;ee.__private__.setLineJoin=ee.setLineJoin=function(at){var Ht=ee.CapJoinStyles[at];if(Ht===void 0)throw new Error("Line join style of '"+at+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ft((Zr=Ht)+" j"),this},ee.__private__.setMiterLimit=ee.setMiterLimit=function(at){if(at=at||0,isNaN(at))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return $r=parseFloat(Ae(at*Xe)),Ft($r+" M"),this};for(var an in ee.save=function(at,Ht){if(at=at||"generated.pdf",(Ht=Ht||{}).returnPromise=Ht.returnPromise||!1,Ht.returnPromise!==!1)return new Promise(function(ar,yr){try{var Fr=Rr(Ki(Xa()),at);typeof Rr.unload=="function"&&de.setTimeout&&setTimeout(Rr.unload,911),ar(Fr)}catch(Mr){yr(Mr.message)}});Rr(Ki(Xa()),at),typeof Rr.unload=="function"&&de.setTimeout&&setTimeout(Rr.unload,911)},se.API)se.API.hasOwnProperty(an)&&(an==="events"&&se.API.events.length?function(at,Ht){var ar,yr,Fr;for(Fr=Ht.length-1;Fr!==-1;Fr--)ar=Ht[Fr][0],yr=Ht[Fr][1],at.subscribe.apply(at,[ar].concat(typeof yr=="function"?[yr]:yr))}(jr,se.API.events):ee[an]=se.API[an]);return ee.internal={pdfEscape:mn,getStyle:Pn,getFont:function(){return dr[ni.apply(ee,arguments)]},getFontSize:en,getCharSpace:xr,getTextColor:Tr,getLineHeight:co,getLineHeightFactor:Ir,write:fr,getHorizontalCoordinate:Ur,getVerticalCoordinate:Kr,getCoordinateString:hn,getVerticalCoordinateString:Ue,collections:{},newObject:gn,newAdditionalObject:Jn,newObjectDeferred:Un,newObjectDeferredBegin:Wn,getFilters:ia,putStream:xa,events:jr,scaleFactor:Xe,pageSize:{getWidth:function(){return(cn[Tt].mediaBox.topRightX-cn[Tt].mediaBox.bottomLeftX)/Xe},setWidth:function(Ht){cn[Tt].mediaBox.topRightX=Ht*Xe+cn[Tt].mediaBox.bottomLeftX},getHeight:function(){return(cn[Tt].mediaBox.topRightY-cn[Tt].mediaBox.bottomLeftY)/Xe},setHeight:function(Ht){cn[Tt].mediaBox.topRightY=Ht*Xe+cn[Tt].mediaBox.bottomLeftY}},output:Co,getNumberOfPages:jn,pages:rt,out:Ft,f2:Ae,f3:Me,getPageInfo:Hi,getPageInfoByObjId:ga,getCurrentPageInfo:ha,getPDFVersion:z,hasHotfix:aa},Object.defineProperty(ee.internal.pageSize,"width",{get:function(){return(cn[Tt].mediaBox.topRightX-cn[Tt].mediaBox.bottomLeftX)/Xe},set:function(Ht){cn[Tt].mediaBox.topRightX=Ht*Xe+cn[Tt].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(ee.internal.pageSize,"height",{get:function(){return(cn[Tt].mediaBox.topRightY-cn[Tt].mediaBox.bottomLeftY)/Xe},set:function(Ht){cn[Tt].mediaBox.topRightY=Ht*Xe+cn[Tt].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(at){for(var Ht=0,ar=Er.length;Ht<ar;Ht++){var yr=Ia(at[Ht][0],at[Ht][1],at[Ht][2],Er[Ht][3],!0);wt[yr]=!0;var Fr=at[Ht][0].split("-");Gn(yr,Fr[0],Fr[1]||"")}jr.publish("addFonts",{fonts:dr,dictionary:Sr})}(Er),Ye="F1",Ln(Ce,ae),jr.publish("initialized"),ee}return se.API={events:[]},se.version="1.5.3",!(g=function(){return se}.call(F,e,F,J),g!==void 0&&(J.exports=g)),se}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
|
|
|
* @license
|
|
|
* Copyright (c) 2016 Alexander Weidt,
|
|
|
* https://github.com/BiggA94
|
|
|
*
|
|
|
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
|
|
|
*/(function(de,ue){var se,ae=1,ye=function(lr){return lr.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ce=function(lr){return lr.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Oe=function(lr){if(isNaN(lr))throw new Error("Invalid argument passed to jsPDF.f2");return lr.toFixed(2)},Te=function(lr){if(isNaN(lr))throw new Error("Invalid argument passed to jsPDF.f2");return lr.toFixed(5)};de.__acroform__={};var xe=function(lr,pr){lr.prototype=Object.create(pr.prototype),lr.prototype.constructor=lr},je=function(lr){return lr*ae},ut=function(lr){return lr/ae},wt=function(lr){var pr=new Xe,sr=Cr.internal.getHeight(lr)||0,dr=Cr.internal.getWidth(lr)||0;return pr.BBox=[0,0,Number(Oe(dr)),Number(Oe(sr))],pr},ee=de.__acroform__.setBit=function(Nr,lr){if(Nr=Nr||0,lr=lr||0,isNaN(Nr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Nr|=1<<lr},ie=de.__acroform__.clearBit=function(Nr,lr){if(Nr=Nr||0,lr=lr||0,isNaN(Nr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Nr&=~(1<<lr)},z=de.__acroform__.getBit=function(Nr,lr){if(isNaN(Nr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Nr&1<<lr)==0?0:1},$=de.__acroform__.getBitForPdf=function(Nr,lr){if(isNaN(Nr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return z(Nr,lr-1)},le=de.__acroform__.setBitForPdf=function(Nr,lr){if(isNaN(Nr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return ee(Nr,lr-1)},ge=de.__acroform__.clearBitForPdf=function(Nr,lr,pr){if(isNaN(Nr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return ie(Nr,lr-1)},Ae=de.__acroform__.calculateCoordinates=function(Nr){var lr=this.internal.getHorizontalCoordinate,pr=this.internal.getVerticalCoordinate,sr=Nr[0],dr=Nr[1],Sr=Nr[2],Xr=Nr[3],cn={};return cn.lowerLeft_X=lr(sr)||0,cn.lowerLeft_Y=pr(dr+Xr)||0,cn.upperRight_X=lr(sr+Sr)||0,cn.upperRight_Y=pr(dr)||0,[Number(Oe(cn.lowerLeft_X)),Number(Oe(cn.lowerLeft_Y)),Number(Oe(cn.upperRight_X)),Number(Oe(cn.upperRight_Y))]},Me=function(lr){if(lr.appearanceStreamContent)return lr.appearanceStreamContent;if(lr.V||lr.DV){var pr=[],sr=lr.V||lr.DV,dr=$e(lr,sr),Sr=se.internal.getFont(lr.fontName,lr.fontStyle).id;pr.push("/Tx BMC"),pr.push("q"),pr.push("BT"),pr.push(se.__private__.encodeColorString(lr.color)),pr.push("/"+Sr+" "+Oe(dr.fontSize)+" Tf"),pr.push("1 0 0 1 0 0 Tm"),pr.push(dr.text),pr.push("ET"),pr.push("Q"),pr.push("EMC");var Xr=new wt(lr);return Xr.stream=pr.join(`
|
|
|
`),Xr}},$e=function(lr,pr){var sr=lr.maxFontSize||12,dr=(lr.fontName,{text:"",fontSize:""}),Sr=(pr=(pr=pr.substr(0,1)=="("?pr.substr(1):pr).substr(pr.length-1)==")"?pr.substr(0,pr.length-1):pr).split(" "),Xr=(se.__private__.encodeColorString(lr.color),sr),cn=Cr.internal.getHeight(lr)||0;cn=cn<0?-cn:cn;var Dn=Cr.internal.getWidth(lr)||0;Dn=Dn<0?-Dn:Dn;var jr=function(mn,In,Ln){if(mn+1<Sr.length){var Nn=In+" "+Sr[mn+1];return kt(Nn,lr,Ln).width<=Dn-4}return!1};Xr++;e:for(;;){pr="";var On=kt("3",lr,--Xr).height,gn=lr.multiline?cn-Xr:(cn-On)/2,Un=-2,Wn=gn+=2,Jn=0,Qn=0,Vn=0;if(Xr<=0){pr=`(...) Tj
|
|
|
`,pr+="% Width of Text: "+kt(pr,lr,Xr=12).width+", FieldWidth:"+Dn+`
|
|
|
`;break}Vn=kt(Sr[0]+" ",lr,Xr).width;var yn="",on=0;for(var ia in Sr)if(Sr.hasOwnProperty(ia)){yn=(yn+=Sr[ia]+" ").substr(yn.length-1)==" "?yn.substr(0,yn.length-1):yn;var xa=parseInt(ia);Vn=kt(yn+" ",lr,Xr).width;var ta=jr(xa,yn,Xr),Ni=ia>=Sr.length-1;if(ta&&!Ni){yn+=" ";continue}if(ta||Ni){if(Ni)Qn=xa;else if(lr.multiline&&cn<(On+2)*(on+2)+2)continue e}else{if(!lr.multiline)continue e;if(cn<(On+2)*(on+2)+2)continue e;Qn=xa}for(var Ci="",Gn=Jn;Gn<=Qn;Gn++)Ci+=Sr[Gn]+" ";switch(Ci=Ci.substr(Ci.length-1)==" "?Ci.substr(0,Ci.length-1):Ci,Vn=kt(Ci,lr,Xr).width,lr.textAlign){case"right":Un=Dn-Vn-2;break;case"center":Un=(Dn-Vn)/2;break;case"left":default:Un=2}pr+=Oe(Un)+" "+Oe(Wn)+` Td
|
|
|
`,pr+="("+ye(Ci)+`) Tj
|
|
|
`,pr+=-Oe(Un)+` 0 Td
|
|
|
`,Wn=-(Xr+2),Vn=0,Jn=Qn+1,on++,yn=""}break}return dr.text=pr,dr.fontSize=Xr,dr},kt=function(lr,pr,sr){var dr=se.internal.getFont(pr.fontName,pr.fontStyle),Sr=se.getStringUnitWidth(lr,{font:dr,fontSize:parseFloat(sr),charSpace:0})*parseFloat(sr);return{height:se.getStringUnitWidth("3",{font:dr,fontSize:parseFloat(sr),charSpace:0})*parseFloat(sr)*1.5,width:Sr}},$t={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Lt=function(){se.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var lr=se.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var pr in lr)if(lr.hasOwnProperty(pr)){var sr=lr[pr];sr.objId=void 0,sr.hasAnnotation&&Ut.call(se,sr)}},Ut=function(lr){var pr={type:"reference",object:lr};se.internal.getPageInfo(lr.page).pageContext.annotations.find(function(sr){return sr.type===pr.type&&sr.object===pr.object})===void 0&&se.internal.getPageInfo(lr.page).pageContext.annotations.push(pr)},Wt=function(){if(se.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");se.internal.write("/AcroForm "+se.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Vt=function(){se.internal.events.unsubscribe(se.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete se.internal.acroformPlugin.acroFormDictionaryRoot._eventID,se.internal.acroformPlugin.printedOut=!0},Tt=function(lr){var pr=!lr;lr||(se.internal.newObjectDeferredBegin(se.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),se.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),lr=lr||se.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var sr in lr)if(lr.hasOwnProperty(sr)){var dr=lr[sr],Sr=[],Xr=dr.Rect;if(dr.Rect&&(dr.Rect=Ae.call(this,dr.Rect)),se.internal.newObjectDeferredBegin(dr.objId,!0),dr.DA=Cr.createDefaultAppearanceStream(dr),p(dr)==="object"&&typeof dr.getKeyValueListForStream=="function"&&(Sr=dr.getKeyValueListForStream()),dr.Rect=Xr,dr.hasAppearanceStream&&!dr.appearanceStreamContent){var cn=Me.call(this,dr);Sr.push({key:"AP",value:"<</N "+cn+">>"}),se.internal.acroformPlugin.xForms.push(cn)}if(dr.appearanceStreamContent){var Dn="";for(var jr in dr.appearanceStreamContent)if(dr.appearanceStreamContent.hasOwnProperty(jr)){var On=dr.appearanceStreamContent[jr];if(Dn+="/"+jr+" ",Dn+="<<",1<=Object.keys(On).length||Array.isArray(On))for(var sr in On){var gn;On.hasOwnProperty(sr)&&(typeof(gn=On[sr])=="function"&&(gn=gn.call(this,dr)),Dn+="/"+sr+" "+gn+" ",0<=se.internal.acroformPlugin.xForms.indexOf(gn)||se.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=On)=="function"&&(gn=gn.call(this,dr)),Dn+="/"+sr+" "+gn,0<=se.internal.acroformPlugin.xForms.indexOf(gn)||se.internal.acroformPlugin.xForms.push(gn);Dn+=">>"}Sr.push({key:"AP",value:`<<
|
|
|
`+Dn+">>"})}se.internal.putStream({additionalKeyValues:Sr}),se.internal.out("endobj")}pr&&ur.call(this,se.internal.acroformPlugin.xForms)},ur=function(lr){for(var pr in lr)if(lr.hasOwnProperty(pr)){var sr=pr,dr=lr[pr];se.internal.newObjectDeferredBegin(dr&&dr.objId,!0),p(dr)==="object"&&typeof dr.putStream=="function"&&dr.putStream(),delete lr[sr]}},qt=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(se=this,mt.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify($t)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");ae=se.internal.scaleFactor,se.internal.acroformPlugin.acroFormDictionaryRoot=new yt,se.internal.acroformPlugin.acroFormDictionaryRoot._eventID=se.internal.events.subscribe("postPutResources",Vt),se.internal.events.subscribe("buildDocument",Lt),se.internal.events.subscribe("putCatalog",Wt),se.internal.events.subscribe("postPutPages",Tt),se.internal.acroformPlugin.isInitialized=!0}},ze=de.__acroform__.arrayToPdfArray=function(Nr){if(Array.isArray(Nr)){for(var lr="[",pr=0;pr<Nr.length;pr++)switch(pr!==0&&(lr+=" "),p(Nr[pr])){case"boolean":case"number":case"object":lr+=Nr[pr].toString();break;case"string":Nr[pr].substr(0,1)!=="/"?lr+="("+ye(Nr[pr].toString())+")":lr+=Nr[pr].toString()}return lr+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},nt=function(lr){return(lr=lr||"").toString(),lr="("+ye(lr)+")"},Ye=function(){var lr;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(lr||(lr=se.internal.newObjectDeferred()),!lr)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return lr},set:function(sr){lr=sr}})};Ye.prototype.toString=function(){return this.objId+" 0 R"},Ye.prototype.putStream=function(){var Nr=this.getKeyValueListForStream();se.internal.putStream({data:this.stream,additionalKeyValues:Nr}),se.internal.out("endobj")},Ye.prototype.getKeyValueListForStream=function(){return function(Nr){var lr=[],pr=Object.getOwnPropertyNames(Nr).filter(function(Xr){return Xr!="content"&&Xr!="appearanceStreamContent"&&Xr.substring(0,1)!="_"});for(var sr in pr)if(Object.getOwnPropertyDescriptor(Nr,pr[sr]).configurable===!1){var dr=pr[sr],Sr=Nr[dr];Sr&&(Array.isArray(Sr)?lr.push({key:dr,value:ze(Sr)}):Sr instanceof Ye?lr.push({key:dr,value:Sr.objId+" 0 R"}):typeof Sr!="function"&&lr.push({key:dr,value:Sr}))}return lr}(this)};var Xe=function(){Ye.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var lr,pr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return pr},set:function(dr){pr=dr}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(dr){lr=dr.trim()},get:function(){return lr||null}})};xe(Xe,Ye);var yt=function(){Ye.call(this);var lr,pr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<pr.length?pr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return pr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(lr)return"("+lr+")"},set:function(dr){lr=dr}})};xe(yt,Ye);var mt=function Nr(){Ye.call(this);var lr=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return lr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute F supplied.');lr=on}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean($(lr,3))},set:function(on){Boolean(on)===!0?this.F=le(lr,3):this.F=ge(lr,3)}});var pr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return pr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute Ff supplied.');pr=on}});var sr=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(sr.length!==0)return sr},set:function(on){sr=on!==void 0?on:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!sr||isNaN(sr[0])?0:ut(sr[0])},set:function(on){sr[0]=je(on)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!sr||isNaN(sr[1])?0:ut(sr[1])},set:function(on){sr[1]=je(on)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!sr||isNaN(sr[2])?0:ut(sr[2])},set:function(on){sr[2]=je(on)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!sr||isNaN(sr[3])?0:ut(sr[3])},set:function(on){sr[3]=je(on)}});var dr="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return dr},set:function(on){switch(on){case"/Btn":case"/Tx":case"/Ch":case"/Sig":dr=on;break;default:throw new Error('Invalid value "'+on+'" for attribute FT supplied.')}}});var Sr=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Sr||Sr.length<1){if(this instanceof Er)return;Sr="FieldObject"+Nr.FieldNum++}return"("+ye(Sr)+")"},set:function(on){Sr=on.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Sr},set:function(on){Sr=on}});var Xr="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Xr},set:function(on){Xr=on}});var cn="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return cn},set:function(on){cn=on}});var Dn=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ut(Dn)},set:function(on){Dn=je(on)}});var jr=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return ut(jr)},set:function(on){jr=je(on)}});var On="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return On},set:function(on){On=on}});var gn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!gn||this instanceof Er||this instanceof en))return nt(gn)},set:function(on){on=on.toString(),gn=on}});var Un=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Un)return this instanceof Ft==!1?nt(Un):Un},set:function(on){on=on.toString(),Un=this instanceof Ft==!1?on.substr(0,1)==="("?Ce(on.substr(1,on.length-2)):Ce(on):on}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ft==!0?Ce(Un.substr(1,Un.length-1)):Un},set:function(on){on=on.toString(),Un=this instanceof Ft==!0?"/"+on:on}});var Wn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Wn)return this instanceof Ft==!1?nt(Wn):Wn},set:function(on){on=on.toString(),Wn=this instanceof Ft==!1?on.substr(0,1)==="("?Ce(on.substr(1,on.length-2)):Ce(on):on}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ft==!0?Ce(Wn.substr(1,Wn.length-1)):Wn},set:function(on){on=on.toString(),Wn=this instanceof Ft==!0?"/"+on:on}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var Jn,Qn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return Qn},set:function(on){on=Boolean(on),Qn=on}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(Jn)return Jn},set:function(on){Jn=on}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,1))},set:function(on){Boolean(on)===!0?this.Ff=le(this.Ff,1):this.Ff=ge(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,2))},set:function(on){Boolean(on)===!0?this.Ff=le(this.Ff,2):this.Ff=ge(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,3))},set:function(on){Boolean(on)===!0?this.Ff=le(this.Ff,3):this.Ff=ge(this.Ff,3)}});var Vn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vn!==null)return Vn},set:function(on){if([0,1,2].indexOf(on)===-1)throw new Error('Invalid value "'+on+'" for attribute Q supplied.');Vn=on}}),Object.defineProperty(this,"textAlign",{get:function(){var on="left";switch(Vn){case 0:default:on="left";break;case 1:on="center";break;case 2:on="right"}return on},configurable:!0,enumerable:!0,set:function(on){switch(on){case"right":case 2:Vn=2;break;case"center":case 1:Vn=1;break;case"left":case 0:default:Vn=0}}})};xe(mt,Ye);var We=function(){mt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var lr=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return lr},set:function(dr){lr=dr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return lr},set:function(dr){lr=dr}});var pr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ze(pr)},set:function(dr){var Sr,Xr;Xr=[],typeof(Sr=dr)=="string"&&(Xr=function(cn,Dn,jr){jr||(jr=1);for(var On,gn=[];On=Dn.exec(cn);)gn.push(On[jr]);return gn}(Sr,/\((.*?)\)/g)),pr=Xr}}),this.getOptions=function(){return pr},this.setOptions=function(sr){pr=sr,this.sort&&pr.sort()},this.addOption=function(sr){sr=(sr=sr||"").toString(),pr.push(sr),this.sort&&pr.sort()},this.removeOption=function(sr,dr){for(dr=dr||!1,sr=(sr=sr||"").toString();pr.indexOf(sr)!==-1&&(pr.splice(pr.indexOf(sr),1),dr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,18))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,18):this.Ff=ge(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,19))},set:function(dr){this.combo===!0&&(Boolean(dr)===!0?this.Ff=le(this.Ff,19):this.Ff=ge(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,20))},set:function(dr){Boolean(dr)===!0?(this.Ff=le(this.Ff,20),pr.sort()):this.Ff=ge(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,22))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,22):this.Ff=ge(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,23):this.Ff=ge(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,27))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,27):this.Ff=ge(this.Ff,27)}}),this.hasAppearanceStream=!1};xe(We,mt);var rt=function(){We.call(this),this.fontName="helvetica",this.combo=!1};xe(rt,We);var ft=function(){rt.call(this),this.combo=!0};xe(ft,rt);var Yt=function(){ft.call(this),this.edit=!0};xe(Yt,ft);var Ft=function(){mt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,15))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,15):this.Ff=ge(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,16))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,16):this.Ff=ge(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,17))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,17):this.Ff=ge(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,26):this.Ff=ge(this.Ff,26)}});var lr,pr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(pr).length!==0){var dr,Sr=[];for(dr in Sr.push("<<"),pr)Sr.push("/"+dr+" ("+pr[dr]+")");return Sr.push(">>"),Sr.join(`
|
|
|
`)}},set:function(dr){p(dr)==="object"&&(pr=dr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return pr.CA||""},set:function(dr){typeof dr=="string"&&(pr.CA=dr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return lr},set:function(dr){lr=dr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return lr.substr(1,lr.length-1)},set:function(dr){lr="/"+dr}})};xe(Ft,mt);var fr=function(){Ft.call(this),this.pushButton=!0};xe(fr,Ft);var mr=function(){Ft.call(this),this.radio=!0,this.pushButton=!1;var lr=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return lr},set:function(sr){lr=sr!==void 0?sr:[]}})};xe(mr,Ft);var Er=function(){var lr,pr;mt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return lr},set:function(Xr){lr=Xr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return pr},set:function(Xr){pr=Xr}});var sr,dr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Xr,cn=[];for(Xr in cn.push("<<"),dr)cn.push("/"+Xr+" ("+dr[Xr]+")");return cn.push(">>"),cn.join(`
|
|
|
`)},set:function(Xr){p(Xr)==="object"&&(dr=Xr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return dr.CA||""},set:function(Xr){typeof Xr=="string"&&(dr.CA=Xr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return sr},set:function(Xr){sr=Xr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return sr.substr(1,sr.length-1)},set:function(Xr){sr="/"+Xr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=Cr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};xe(Er,mt),mr.prototype.setAppearance=function(Nr){if(!("createAppearanceStream"in Nr&&"getCA"in Nr))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var lr in this.Kids)if(this.Kids.hasOwnProperty(lr)){var pr=this.Kids[lr];pr.appearanceStreamContent=Nr.createAppearanceStream(pr.optionName),pr.caption=Nr.getCA()}},mr.prototype.createOption=function(Nr){this.Kids.length;var lr=new Er;return lr.Parent=this,lr.optionName=Nr,this.Kids.push(lr),Gr.call(this,lr),lr};var Lr=function(){Ft.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Cr.CheckBox.createAppearanceStream()};xe(Lr,Ft);var en=function(){mt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,13))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,13):this.Ff=ge(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,21))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,21):this.Ff=ge(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,23):this.Ff=ge(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,24))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,24):this.Ff=ge(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,25))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,25):this.Ff=ge(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,26):this.Ff=ge(this.Ff,26)}});var lr=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return lr},set:function(sr){lr=sr}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return lr},set:function(sr){Number.isInteger(sr)&&(lr=sr)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};xe(en,mt);var Qr=function(){en.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,14))},set:function(pr){Boolean(pr)===!0?this.Ff=le(this.Ff,14):this.Ff=ge(this.Ff,14)}}),this.password=!0};xe(Qr,en);var Cr={CheckBox:{createAppearanceStream:function(){return{N:{On:Cr.CheckBox.YesNormal},D:{On:Cr.CheckBox.YesPushDown,Off:Cr.CheckBox.OffPushDown}}},YesPushDown:function(lr){var pr=wt(lr),sr=[],dr=se.internal.getFont(lr.fontName,lr.fontStyle).id,Sr=se.__private__.encodeColorString(lr.color),Xr=$e(lr,lr.caption);return sr.push("0.749023 g"),sr.push("0 0 "+Oe(Cr.internal.getWidth(lr))+" "+Oe(Cr.internal.getHeight(lr))+" re"),sr.push("f"),sr.push("BMC"),sr.push("q"),sr.push("0 0 1 rg"),sr.push("/"+dr+" "+Oe(Xr.fontSize)+" Tf "+Sr),sr.push("BT"),sr.push(Xr.text),sr.push("ET"),sr.push("Q"),sr.push("EMC"),pr.stream=sr.join(`
|
|
|
`),pr},YesNormal:function(lr){var pr=wt(lr),sr=se.internal.getFont(lr.fontName,lr.fontStyle).id,dr=se.__private__.encodeColorString(lr.color),Sr=[],Xr=Cr.internal.getHeight(lr),cn=Cr.internal.getWidth(lr),Dn=$e(lr,lr.caption);return Sr.push("1 g"),Sr.push("0 0 "+Oe(cn)+" "+Oe(Xr)+" re"),Sr.push("f"),Sr.push("q"),Sr.push("0 0 1 rg"),Sr.push("0 0 "+Oe(cn-1)+" "+Oe(Xr-1)+" re"),Sr.push("W"),Sr.push("n"),Sr.push("0 g"),Sr.push("BT"),Sr.push("/"+sr+" "+Oe(Dn.fontSize)+" Tf "+dr),Sr.push(Dn.text),Sr.push("ET"),Sr.push("Q"),pr.stream=Sr.join(`
|
|
|
`),pr},OffPushDown:function(lr){var pr=wt(lr),sr=[];return sr.push("0.749023 g"),sr.push("0 0 "+Oe(Cr.internal.getWidth(lr))+" "+Oe(Cr.internal.getHeight(lr))+" re"),sr.push("f"),pr.stream=sr.join(`
|
|
|
`),pr}},RadioButton:{Circle:{createAppearanceStream:function(lr){var pr={D:{Off:Cr.RadioButton.Circle.OffPushDown},N:{}};return pr.N[lr]=Cr.RadioButton.Circle.YesNormal,pr.D[lr]=Cr.RadioButton.Circle.YesPushDown,pr},getCA:function(){return"l"},YesNormal:function(lr){var pr=wt(lr),sr=[],dr=Cr.internal.getWidth(lr)<=Cr.internal.getHeight(lr)?Cr.internal.getWidth(lr)/4:Cr.internal.getHeight(lr)/4;dr=Number((.9*dr).toFixed(5));var Sr=Cr.internal.Bezier_C,Xr=Number((dr*Sr).toFixed(5));return sr.push("q"),sr.push("1 0 0 1 "+Te(Cr.internal.getWidth(lr)/2)+" "+Te(Cr.internal.getHeight(lr)/2)+" cm"),sr.push(dr+" 0 m"),sr.push(dr+" "+Xr+" "+Xr+" "+dr+" 0 "+dr+" c"),sr.push("-"+Xr+" "+dr+" -"+dr+" "+Xr+" -"+dr+" 0 c"),sr.push("-"+dr+" -"+Xr+" -"+Xr+" -"+dr+" 0 -"+dr+" c"),sr.push(Xr+" -"+dr+" "+dr+" -"+Xr+" "+dr+" 0 c"),sr.push("f"),sr.push("Q"),pr.stream=sr.join(`
|
|
|
`),pr},YesPushDown:function(lr){var pr=wt(lr),sr=[],dr=Cr.internal.getWidth(lr)<=Cr.internal.getHeight(lr)?Cr.internal.getWidth(lr)/4:Cr.internal.getHeight(lr)/4,Sr=(dr=Number((.9*dr).toFixed(5)),Number((2*dr).toFixed(5))),Xr=Number((Sr*Cr.internal.Bezier_C).toFixed(5)),cn=Number((dr*Cr.internal.Bezier_C).toFixed(5));return sr.push("0.749023 g"),sr.push("q"),sr.push("1 0 0 1 "+Te(Cr.internal.getWidth(lr)/2)+" "+Te(Cr.internal.getHeight(lr)/2)+" cm"),sr.push(Sr+" 0 m"),sr.push(Sr+" "+Xr+" "+Xr+" "+Sr+" 0 "+Sr+" c"),sr.push("-"+Xr+" "+Sr+" -"+Sr+" "+Xr+" -"+Sr+" 0 c"),sr.push("-"+Sr+" -"+Xr+" -"+Xr+" -"+Sr+" 0 -"+Sr+" c"),sr.push(Xr+" -"+Sr+" "+Sr+" -"+Xr+" "+Sr+" 0 c"),sr.push("f"),sr.push("Q"),sr.push("0 g"),sr.push("q"),sr.push("1 0 0 1 "+Te(Cr.internal.getWidth(lr)/2)+" "+Te(Cr.internal.getHeight(lr)/2)+" cm"),sr.push(dr+" 0 m"),sr.push(dr+" "+cn+" "+cn+" "+dr+" 0 "+dr+" c"),sr.push("-"+cn+" "+dr+" -"+dr+" "+cn+" -"+dr+" 0 c"),sr.push("-"+dr+" -"+cn+" -"+cn+" -"+dr+" 0 -"+dr+" c"),sr.push(cn+" -"+dr+" "+dr+" -"+cn+" "+dr+" 0 c"),sr.push("f"),sr.push("Q"),pr.stream=sr.join(`
|
|
|
`),pr},OffPushDown:function(lr){var pr=wt(lr),sr=[],dr=Cr.internal.getWidth(lr)<=Cr.internal.getHeight(lr)?Cr.internal.getWidth(lr)/4:Cr.internal.getHeight(lr)/4,Sr=(dr=Number((.9*dr).toFixed(5)),Number((2*dr).toFixed(5))),Xr=Number((Sr*Cr.internal.Bezier_C).toFixed(5));return sr.push("0.749023 g"),sr.push("q"),sr.push("1 0 0 1 "+Te(Cr.internal.getWidth(lr)/2)+" "+Te(Cr.internal.getHeight(lr)/2)+" cm"),sr.push(Sr+" 0 m"),sr.push(Sr+" "+Xr+" "+Xr+" "+Sr+" 0 "+Sr+" c"),sr.push("-"+Xr+" "+Sr+" -"+Sr+" "+Xr+" -"+Sr+" 0 c"),sr.push("-"+Sr+" -"+Xr+" -"+Xr+" -"+Sr+" 0 -"+Sr+" c"),sr.push(Xr+" -"+Sr+" "+Sr+" -"+Xr+" "+Sr+" 0 c"),sr.push("f"),sr.push("Q"),pr.stream=sr.join(`
|
|
|
`),pr}},Cross:{createAppearanceStream:function(lr){var pr={D:{Off:Cr.RadioButton.Cross.OffPushDown},N:{}};return pr.N[lr]=Cr.RadioButton.Cross.YesNormal,pr.D[lr]=Cr.RadioButton.Cross.YesPushDown,pr},getCA:function(){return"8"},YesNormal:function(lr){var pr=wt(lr),sr=[],dr=Cr.internal.calculateCross(lr);return sr.push("q"),sr.push("1 1 "+Oe(Cr.internal.getWidth(lr)-2)+" "+Oe(Cr.internal.getHeight(lr)-2)+" re"),sr.push("W"),sr.push("n"),sr.push(Oe(dr.x1.x)+" "+Oe(dr.x1.y)+" m"),sr.push(Oe(dr.x2.x)+" "+Oe(dr.x2.y)+" l"),sr.push(Oe(dr.x4.x)+" "+Oe(dr.x4.y)+" m"),sr.push(Oe(dr.x3.x)+" "+Oe(dr.x3.y)+" l"),sr.push("s"),sr.push("Q"),pr.stream=sr.join(`
|
|
|
`),pr},YesPushDown:function(lr){var pr=wt(lr),sr=Cr.internal.calculateCross(lr),dr=[];return dr.push("0.749023 g"),dr.push("0 0 "+Oe(Cr.internal.getWidth(lr))+" "+Oe(Cr.internal.getHeight(lr))+" re"),dr.push("f"),dr.push("q"),dr.push("1 1 "+Oe(Cr.internal.getWidth(lr)-2)+" "+Oe(Cr.internal.getHeight(lr)-2)+" re"),dr.push("W"),dr.push("n"),dr.push(Oe(sr.x1.x)+" "+Oe(sr.x1.y)+" m"),dr.push(Oe(sr.x2.x)+" "+Oe(sr.x2.y)+" l"),dr.push(Oe(sr.x4.x)+" "+Oe(sr.x4.y)+" m"),dr.push(Oe(sr.x3.x)+" "+Oe(sr.x3.y)+" l"),dr.push("s"),dr.push("Q"),pr.stream=dr.join(`
|
|
|
`),pr},OffPushDown:function(lr){var pr=wt(lr),sr=[];return sr.push("0.749023 g"),sr.push("0 0 "+Oe(Cr.internal.getWidth(lr))+" "+Oe(Cr.internal.getHeight(lr))+" re"),sr.push("f"),pr.stream=sr.join(`
|
|
|
`),pr}}},createDefaultAppearanceStream:function(lr){var pr=se.internal.getFont(lr.fontName,lr.fontStyle).id,sr=se.__private__.encodeColorString(lr.color);return"/"+pr+" "+lr.fontSize+" Tf "+sr}};Cr.internal={Bezier_C:.551915024494,calculateCross:function(lr){var pr=Cr.internal.getWidth(lr),sr=Cr.internal.getHeight(lr),dr=Math.min(pr,sr);return{x1:{x:(pr-dr)/2,y:(sr-dr)/2+dr},x2:{x:(pr-dr)/2+dr,y:(sr-dr)/2},x3:{x:(pr-dr)/2,y:(sr-dr)/2},x4:{x:(pr-dr)/2+dr,y:(sr-dr)/2+dr}}}},Cr.internal.getWidth=function(Nr){var lr=0;return p(Nr)==="object"&&(lr=je(Nr.Rect[2])),lr},Cr.internal.getHeight=function(Nr){var lr=0;return p(Nr)==="object"&&(lr=je(Nr.Rect[3])),lr};var Gr=de.addField=function(Nr){if(qt.call(this),!(Nr instanceof mt))throw new Error("Invalid argument passed to jsPDF.addField.");return function(lr){se.internal.acroformPlugin.printedOut&&(se.internal.acroformPlugin.printedOut=!1,se.internal.acroformPlugin.acroFormDictionaryRoot=null),se.internal.acroformPlugin.acroFormDictionaryRoot||qt.call(se),se.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(lr)}.call(this,Nr),Nr.page=se.internal.getCurrentPageInfo().pageNumber,this};de.addButton=function(Nr){if(Nr instanceof Ft==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Gr.call(this,Nr)},de.addTextField=function(Nr){if(Nr instanceof en==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Gr.call(this,Nr)},de.addChoiceField=function(Nr){if(Nr instanceof We==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Gr.call(this,Nr)},p(ue)=="object"&&ue.ChoiceField===void 0&&ue.ListBox===void 0&&ue.ComboBox===void 0&&ue.EditBox===void 0&&ue.Button===void 0&&ue.PushButton===void 0&&ue.RadioButton===void 0&&ue.CheckBox===void 0&&ue.TextField===void 0&&ue.PasswordField===void 0?(ue.ChoiceField=We,ue.ListBox=rt,ue.ComboBox=ft,ue.EditBox=Yt,ue.Button=Ft,ue.PushButton=fr,ue.RadioButton=mr,ue.CheckBox=Lr,ue.TextField=en,ue.PasswordField=Qr,ue.AcroForm={Appearance:Cr}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),de.AcroFormChoiceField=We,de.AcroFormListBox=rt,de.AcroFormComboBox=ft,de.AcroFormEditBox=Yt,de.AcroFormButton=Ft,de.AcroFormPushButton=fr,de.AcroFormRadioButton=mr,de.AcroFormCheckBox=Lr,de.AcroFormTextField=en,de.AcroFormPasswordField=Qr,de.AcroFormAppearance=Cr,de.AcroForm={ChoiceField:We,ListBox:rt,ComboBox:ft,EditBox:Yt,Button:Ft,PushButton:fr,RadioButton:mr,CheckBox:Lr,TextField:en,PasswordField:Qr,Appearance:Cr}})((window.tmp=Mt).API,typeof window!="undefined"&&window||typeof d!="undefined"&&d),function(de){var ue="addImage_",se={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},ae=de.getImageFileTypeByImageData=function(ee,ie){var z,$;ie=ie||"UNKNOWN";var le,ge,Ae,Me="UNKNOWN";for(Ae in de.isArrayBufferView(ee)&&(ee=de.arrayBufferToBinaryString(ee)),se)for(le=se[Ae],z=0;z<le.length;z+=1){for(ge=!0,$=0;$<le[z].length;$+=1)if(le[z][$]!==void 0&&le[z][$]!==ee.charCodeAt($)){ge=!1;break}if(ge===!0){Me=Ae;break}}return Me==="UNKNOWN"&&ie!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+ie+'".'),Me=ie),Me},ye=function ee(ie){for(var z=this.internal.newObject(),$=this.internal.write,le=this.internal.putStream,ge=(0,this.internal.getFilters)();ge.indexOf("FlateEncode")!==-1;)ge.splice(ge.indexOf("FlateEncode"),1);ie.n=z;var Ae=[];if(Ae.push({key:"Type",value:"/XObject"}),Ae.push({key:"Subtype",value:"/Image"}),Ae.push({key:"Width",value:ie.w}),Ae.push({key:"Height",value:ie.h}),ie.cs===this.color_spaces.INDEXED?Ae.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(ie.pal.length/3-1)+" "+("smask"in ie?z+2:z+1)+" 0 R]"}):(Ae.push({key:"ColorSpace",value:"/"+ie.cs}),ie.cs===this.color_spaces.DEVICE_CMYK&&Ae.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Ae.push({key:"BitsPerComponent",value:ie.bpc}),"dp"in ie&&Ae.push({key:"DecodeParms",value:"<<"+ie.dp+">>"}),"trns"in ie&&ie.trns.constructor==Array){for(var Me="",$e=0,kt=ie.trns.length;$e<kt;$e++)Me+=ie.trns[$e]+" "+ie.trns[$e]+" ";Ae.push({key:"Mask",value:"["+Me+"]"})}"smask"in ie&&Ae.push({key:"SMask",value:z+1+" 0 R"});var $t=ie.f!==void 0?["/"+ie.f]:void 0;if(le({data:ie.data,additionalKeyValues:Ae,alreadyAppliedFilters:$t}),$("endobj"),"smask"in ie){var Lt="/Predictor "+ie.p+" /Colors 1 /BitsPerComponent "+ie.bpc+" /Columns "+ie.w,Ut={w:ie.w,h:ie.h,cs:"DeviceGray",bpc:ie.bpc,dp:Lt,data:ie.smask};"f"in ie&&(Ut.f=ie.f),ee.call(this,Ut)}ie.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),le({data:this.arrayBufferToBinaryString(new Uint8Array(ie.pal))}),$("endobj"))},Ce=function(){var ie=this.internal.collections[ue+"images"];for(var z in ie)ye.call(this,ie[z])},Oe=function(){var ie,z=this.internal.collections[ue+"images"],$=this.internal.write;for(var le in z)$("/I"+(ie=z[le]).i,ie.n,"0","R")},Te=function(ie){return typeof de["process"+ie.toUpperCase()]=="function"},xe=function(ie){return p(ie)==="object"&&ie.nodeType===1},je=function(ie,z){if(ie.nodeName==="IMG"&&ie.hasAttribute("src")){var $=""+ie.getAttribute("src");if($.indexOf("data:image/")===0)return unescape($);var le=de.loadFile($);if(le!==void 0)return btoa(le)}if(ie.nodeName==="CANVAS"){var ge=ie;return ie.toDataURL("image/jpeg",1)}(ge=document.createElement("canvas")).width=ie.clientWidth||ie.width,ge.height=ie.clientHeight||ie.height;var Ae=ge.getContext("2d");if(!Ae)throw"addImage requires canvas to be supported by browser.";return Ae.drawImage(ie,0,0,ge.width,ge.height),ge.toDataURL((""+z).toLowerCase()=="png"?"image/png":"image/jpeg")},ut=function(ie,z){var $;if(z){for(var le in z)if(ie===z[le].alias){$=z[le];break}}return $};de.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"},de.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"},de.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},de.sHashCode=function(ee){var ie,z=0;if((ee=ee||"").length===0)return z;for(ie=0;ie<ee.length;ie++)z=(z<<5)-z+ee.charCodeAt(ie),z|=0;return z},de.isString=function(ee){return typeof ee=="string"},de.validateStringAsBase64=function(ee){(ee=ee||"").toString().trim();var ie=!0;return ee.length===0&&(ie=!1),ee.length%4!=0&&(ie=!1),/^[A-Za-z0-9+\/]+$/.test(ee.substr(0,ee.length-2))===!1&&(ie=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(ee.substr(-2))===!1&&(ie=!1),ie},de.extractInfoFromBase64DataURI=function(ee){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(ee)},de.extractImageFromDataUrl=function(ee){var ie=(ee=ee||"").split("base64,"),z=null;if(ie.length===2){var $=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(ie[0]);Array.isArray($)&&(z={mimeType:$[1],charset:$[2],data:ie[1]})}return z},de.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},de.isArrayBuffer=function(ee){return!!this.supportsArrayBuffer()&&ee instanceof ArrayBuffer},de.isArrayBufferView=function(ee){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(ee instanceof Int8Array||ee instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&ee instanceof Uint8ClampedArray||ee instanceof Int16Array||ee instanceof Uint16Array||ee instanceof Int32Array||ee instanceof Uint32Array||ee instanceof Float32Array||ee instanceof Float64Array)},de.binaryStringToUint8Array=function(ee){for(var ie=ee.length,z=new Uint8Array(ie),$=0;$<ie;$++)z[$]=ee.charCodeAt($);return z},de.arrayBufferToBinaryString=function(ee){if(typeof atob=="function")return atob(this.arrayBufferToBase64(ee))},de.arrayBufferToBase64=function(ee){for(var ie,z="",$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=new Uint8Array(ee),ge=le.byteLength,Ae=ge%3,Me=ge-Ae,$e=0;$e<Me;$e+=3)z+=$[(16515072&(ie=le[$e]<<16|le[$e+1]<<8|le[$e+2]))>>18]+$[(258048&ie)>>12]+$[(4032&ie)>>6]+$[63&ie];return Ae==1?z+=$[(252&(ie=le[Me]))>>2]+$[(3&ie)<<4]+"==":Ae==2&&(z+=$[(64512&(ie=le[Me]<<8|le[Me+1]))>>10]+$[(1008&ie)>>4]+$[(15&ie)<<2]+"="),z},de.createImageInfo=function(ee,ie,z,$,le,ge,Ae,Me,$e,kt,$t,Lt,Ut){var Wt={alias:Me,w:ie,h:z,cs:$,bpc:le,i:Ae,data:ee};return ge&&(Wt.f=ge),$e&&(Wt.dp=$e),kt&&(Wt.trns=kt),$t&&(Wt.pal=$t),Lt&&(Wt.smask=Lt),Ut&&(Wt.p=Ut),Wt},de.addImage=function(ee,ie,z,$,le,ge,Ae,Me,$e){var kt="";if(typeof ie!="string"){var $t=ge;ge=le,le=$,$=z,z=ie,ie=$t}if(p(ee)==="object"&&!xe(ee)&&"imageData"in ee){var Lt=ee;ee=Lt.imageData,ie=Lt.format||ie||"UNKNOWN",z=Lt.x||z||0,$=Lt.y||$||0,le=Lt.w||le,ge=Lt.h||ge,Ae=Lt.alias||Ae,Me=Lt.compression||Me,$e=Lt.rotation||Lt.angle||$e}var Ut=this.internal.getFilters();if(Me===void 0&&Ut.indexOf("FlateEncode")!==-1&&(Me="SLOW"),typeof ee=="string"&&(ee=unescape(ee)),isNaN(z)||isNaN($))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Wt,Vt,Tt,ur,qt,ze,nt,Ye=function(){var Xe=this.internal.collections[ue+"images"];return Xe||(this.internal.collections[ue+"images"]=Xe={},this.internal.events.subscribe("putResources",Ce),this.internal.events.subscribe("putXobjectDict",Oe)),Xe}.call(this);if(!((Wt=ut(ee,Ye))||(xe(ee)&&(ee=je(ee,ie)),((nt=Ae)==null||nt.length===0)&&(Ae=typeof(ze=ee)=="string"?de.sHashCode(ze):de.isArrayBufferView(ze)?de.sHashCode(de.arrayBufferToBinaryString(ze)):null),Wt=ut(Ae,Ye)))){if(this.isString(ee)&&((kt=this.convertStringToImageData(ee))!==""||(kt=de.loadFile(ee))!==void 0)&&(ee=kt),ie=this.getImageFileTypeByImageData(ee,ie),!Te(ie))throw new Error("addImage does not support files of type '"+ie+"', please ensure that a plugin for '"+ie+"' support is added.");if(this.supportsArrayBuffer()&&(ee instanceof Uint8Array||(Vt=ee,ee=this.binaryStringToUint8Array(ee))),!(Wt=this["process"+ie.toUpperCase()](ee,(qt=0,(ur=Ye)&&(qt=Object.keys?Object.keys(ur).length:function(Xe){var yt=0;for(var mt in Xe)Xe.hasOwnProperty(mt)&&yt++;return yt}(ur)),qt),Ae,((Tt=Me)&&typeof Tt=="string"&&(Tt=Tt.toUpperCase()),Tt in de.image_compression?Tt:de.image_compression.NONE),Vt)))throw new Error("An unknown error occurred whilst processing the image")}return function(Xe,yt,mt,We,rt,ft,Yt,Ft){var fr=function(Gr,Nr,lr){return Gr||Nr||(Nr=Gr=-96),Gr<0&&(Gr=-1*lr.w*72/Gr/this.internal.scaleFactor),Nr<0&&(Nr=-1*lr.h*72/Nr/this.internal.scaleFactor),Gr===0&&(Gr=Nr*lr.w/lr.h),Nr===0&&(Nr=Gr*lr.h/lr.w),[Gr,Nr]}.call(this,mt,We,rt),mr=this.internal.getCoordinateString,Er=this.internal.getVerticalCoordinateString;if(mt=fr[0],We=fr[1],Yt[ft]=rt,Ft){Ft*=Math.PI/180;var Lr=Math.cos(Ft),en=Math.sin(Ft),Qr=function(Nr){return Nr.toFixed(4)},Cr=[Qr(Lr),Qr(en),Qr(-1*en),Qr(Lr),0,0,"cm"]}this.internal.write("q"),Ft?(this.internal.write([1,"0","0",1,mr(Xe),Er(yt+We),"cm"].join(" ")),this.internal.write(Cr.join(" ")),this.internal.write([mr(mt),"0","0",mr(We),"0","0","cm"].join(" "))):this.internal.write([mr(mt),"0","0",mr(We),mr(Xe),Er(yt+We),"cm"].join(" ")),this.internal.write("/I"+rt.i+" Do"),this.internal.write("Q")}.call(this,z,$,le,ge,Wt,Wt.i,Ye,$e),this},de.convertStringToImageData=function(ee){var ie,z="";if(this.isString(ee)){var $;ie=($=this.extractImageFromDataUrl(ee))!==null?$.data:ee;try{z=atob(ie)}catch(le){throw de.validateStringAsBase64(ie)?new Error("atob-Error in jsPDF.convertStringToImageData "+le.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return z};var wt=function(ie,z){return ie.subarray(z,z+5)};de.processJPEG=function(ee,ie,z,$,le,ge){var Ae,Me=this.decode.DCT_DECODE;if(!this.isString(ee)&&!this.isArrayBuffer(ee)&&!this.isArrayBufferView(ee))return null;if(this.isString(ee)&&(Ae=function($e){var kt;if(ae($e)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var $t=256*$e.charCodeAt(4)+$e.charCodeAt(5),Lt=4,Ut=$e.length;Lt<Ut;){if(Lt+=$t,$e.charCodeAt(Lt)!==255)throw new Error("getJpegSize could not find the size of the image");if($e.charCodeAt(Lt+1)===192||$e.charCodeAt(Lt+1)===193||$e.charCodeAt(Lt+1)===194||$e.charCodeAt(Lt+1)===195||$e.charCodeAt(Lt+1)===196||$e.charCodeAt(Lt+1)===197||$e.charCodeAt(Lt+1)===198||$e.charCodeAt(Lt+1)===199)return kt=256*$e.charCodeAt(Lt+5)+$e.charCodeAt(Lt+6),[256*$e.charCodeAt(Lt+7)+$e.charCodeAt(Lt+8),kt,$e.charCodeAt(Lt+9)];Lt+=2,$t=256*$e.charCodeAt(Lt)+$e.charCodeAt(Lt+1)}}(ee)),this.isArrayBuffer(ee)&&(ee=new Uint8Array(ee)),this.isArrayBufferView(ee)&&(Ae=function($e){if(($e[0]<<8|$e[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var kt,$t=$e.length,Lt=($e[4]<<8)+$e[5],Ut=4;Ut<$t;){if(Lt=((kt=wt($e,Ut+=Lt))[2]<<8)+kt[3],(kt[1]===192||kt[1]===194)&&kt[0]===255&&7<Lt)return{width:((kt=wt($e,Ut+5))[2]<<8)+kt[3],height:(kt[0]<<8)+kt[1],numcomponents:kt[4]};Ut+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(ee),ee=le||this.arrayBufferToBinaryString(ee)),ge===void 0)switch(Ae.numcomponents){case 1:ge=this.color_spaces.DEVICE_GRAY;break;case 4:ge=this.color_spaces.DEVICE_CMYK;break;default:case 3:ge=this.color_spaces.DEVICE_RGB}return this.createImageInfo(ee,Ae.width,Ae.height,ge,8,Me,ie,z)},de.processJPG=function(){return this.processJPEG.apply(this,arguments)},de.getImageProperties=function(ee){var ie,z,$="";if(xe(ee)&&(ee=je(ee)),this.isString(ee)&&(($=this.convertStringToImageData(ee))!==""||($=de.loadFile(ee))!==void 0)&&(ee=$),z=this.getImageFileTypeByImageData(ee),!Te(z))throw new Error("addImage does not support files of type '"+z+"', please ensure that a plugin for '"+z+"' support is added.");if(this.supportsArrayBuffer()&&(ee instanceof Uint8Array||(ee=this.binaryStringToUint8Array(ee))),!(ie=this["process"+z.toUpperCase()](ee)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:z,width:ie.w,height:ie.h,colorSpace:ie.cs,compressionMode:ie.f,bitsPerComponent:ie.bpc}}}(Mt.API),A=Mt.API,Mt.API.events.push(["addPage",function(de){this.internal.getPageInfo(de.pageNumber).pageContext.annotations=[]}]),A.events.push(["putPage",function(de){for(var ue=this.internal.getPageInfoByObjId(de.objId),se=de.pageContext.annotations,ae=function(Me){if(Me!==void 0&&Me!="")return!0},ye=!1,Ce=0;Ce<se.length&&!ye;Ce++)switch((xe=se[Ce]).type){case"link":if(ae(xe.options.url)||ae(xe.options.pageNumber)){ye=!0;break}case"reference":case"text":case"freetext":ye=!0}if(ye!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var Oe=this.internal.getCoordinateString,Te=this.internal.getVerticalCoordinateString;for(Ce=0;Ce<se.length;Ce++){var xe;switch((xe=se[Ce]).type){case"reference":this.internal.write(" "+xe.object.objId+" 0 R ");break;case"text":var je=this.internal.newAdditionalObject(),ut=this.internal.newAdditionalObject(),wt=xe.title||"Note";le="<</Type /Annot /Subtype /Text "+(ie="/Rect ["+Oe(xe.bounds.x)+" "+Te(xe.bounds.y+xe.bounds.h)+" "+Oe(xe.bounds.x+xe.bounds.w)+" "+Te(xe.bounds.y)+"] ")+"/Contents ("+xe.contents+")",le+=" /Popup "+ut.objId+" 0 R",le+=" /P "+ue.objId+" 0 R",le+=" /T ("+wt+") >>",je.content=le;var ee=je.objId+" 0 R";le="<</Type /Annot /Subtype /Popup "+(ie="/Rect ["+Oe(xe.bounds.x+30)+" "+Te(xe.bounds.y+xe.bounds.h)+" "+Oe(xe.bounds.x+xe.bounds.w+30)+" "+Te(xe.bounds.y)+"] ")+" /Parent "+ee,xe.open&&(le+=" /Open true"),le+=" >>",ut.content=le,this.internal.write(je.objId,"0 R",ut.objId,"0 R");break;case"freetext":var ie="/Rect ["+Oe(xe.bounds.x)+" "+Te(xe.bounds.y)+" "+Oe(xe.bounds.x+xe.bounds.w)+" "+Te(xe.bounds.y+xe.bounds.h)+"] ",z=xe.color||"#000000";le="<</Type /Annot /Subtype /FreeText "+ie+"/Contents ("+xe.contents+")",le+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+z+")",le+=" /Border [0 0 0]",le+=" >>",this.internal.write(le);break;case"link":if(xe.options.name){var $=this.annotations._nameMap[xe.options.name];xe.options.pageNumber=$.page,xe.options.top=$.y}else xe.options.top||(xe.options.top=0);ie="/Rect ["+Oe(xe.x)+" "+Te(xe.y)+" "+Oe(xe.x+xe.w)+" "+Te(xe.y+xe.h)+"] ";var le="";if(xe.options.url)le="<</Type /Annot /Subtype /Link "+ie+"/Border [0 0 0] /A <</S /URI /URI ("+xe.options.url+") >>";else if(xe.options.pageNumber)switch(le="<</Type /Annot /Subtype /Link "+ie+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(xe.options.pageNumber).objId+" 0 R",xe.options.magFactor=xe.options.magFactor||"XYZ",xe.options.magFactor){case"Fit":le+=" /Fit]";break;case"FitH":le+=" /FitH "+xe.options.top+"]";break;case"FitV":xe.options.left=xe.options.left||0,le+=" /FitV "+xe.options.left+"]";break;case"XYZ":default:var ge=Te(xe.options.top);xe.options.left=xe.options.left||0,xe.options.zoom===void 0&&(xe.options.zoom=0),le+=" /XYZ "+xe.options.left+" "+ge+" "+xe.options.zoom+"]"}le!=""&&(le+=" >>",this.internal.write(le))}}this.internal.write("]")}}]),A.createAnnotation=function(de){var ue=this.internal.getCurrentPageInfo();switch(de.type){case"link":this.link(de.bounds.x,de.bounds.y,de.bounds.w,de.bounds.h,de);break;case"text":case"freetext":ue.pageContext.annotations.push(de)}},A.link=function(de,ue,se,ae,ye){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:de,y:ue,w:se,h:ae,options:ye,type:"link"})},A.textWithLink=function(de,ue,se,ae){var ye=this.getTextWidth(de),Ce=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(de,ue,se),se+=.2*Ce,this.link(ue,se-Ce,ye,Ce,ae),ye},A.getTextWidth=function(de){var ue=this.internal.getFontSize();return this.getStringUnitWidth(de)*ue/this.internal.scaleFactor},function(de){var ue={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]},se={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}},ae={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},ye=[1570,1571,1573,1575];de.__arabicParser__={};var Ce=de.__arabicParser__.isInArabicSubstitutionA=function(z){return ue[z.charCodeAt(0)]!==void 0},Oe=de.__arabicParser__.isArabicLetter=function(z){return typeof z=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(z)},Te=de.__arabicParser__.isArabicEndLetter=function(z){return Oe(z)&&Ce(z)&&ue[z.charCodeAt(0)].length<=2},xe=de.__arabicParser__.isArabicAlfLetter=function(z){return Oe(z)&&0<=ye.indexOf(z.charCodeAt(0))},je=(de.__arabicParser__.arabicLetterHasIsolatedForm=function(z){return Oe(z)&&Ce(z)&&1<=ue[z.charCodeAt(0)].length},de.__arabicParser__.arabicLetterHasFinalForm=function(z){return Oe(z)&&Ce(z)&&2<=ue[z.charCodeAt(0)].length}),ut=(de.__arabicParser__.arabicLetterHasInitialForm=function(z){return Oe(z)&&Ce(z)&&3<=ue[z.charCodeAt(0)].length},de.__arabicParser__.arabicLetterHasMedialForm=function(z){return Oe(z)&&Ce(z)&&ue[z.charCodeAt(0)].length==4}),wt=de.__arabicParser__.resolveLigatures=function(z){var $=0,le=se,ge=0,Ae="",Me=0;for($=0;$<z.length;$+=1)le[z.charCodeAt($)]!==void 0?(Me++,typeof(le=le[z.charCodeAt($)])=="number"&&(ge=(ge=ee(z.charAt($),z.charAt($-Me),z.charAt($+1)))!==-1?ge:0,Ae+=String.fromCharCode(le),le=se,Me=0),$===z.length-1&&(le=se,Ae+=z.charAt($-(Me-1)),$-=Me-1,Me=0)):(le=se,Ae+=z.charAt($-Me),$-=Me,Me=0);return Ae},ee=(de.__arabicParser__.isArabicDiacritic=function(z){return z!==void 0&&ae[z.charCodeAt(0)]!==void 0},de.__arabicParser__.getCorrectForm=function(z,$,le){return Oe(z)?Ce(z)===!1?-1:!je(z)||!Oe($)&&!Oe(le)||!Oe(le)&&Te($)||Te(z)&&!Oe($)||Te(z)&&xe($)||Te(z)&&Te($)?0:ut(z)&&Oe($)&&!Te($)&&Oe(le)&&je(le)?3:Te(z)||!Oe(le)?1:2:-1}),ie=de.__arabicParser__.processArabic=de.processArabic=function(z){var $=0,le=0,ge=0,Ae="",Me="",$e="",kt=(z=z||"").split("\\s+"),$t=[];for($=0;$<kt.length;$+=1){for($t.push(""),le=0;le<kt[$].length;le+=1)Ae=kt[$][le],Me=kt[$][le-1],$e=kt[$][le+1],Oe(Ae)?(ge=ee(Ae,Me,$e),$t[$]+=ge!==-1?String.fromCharCode(ue[Ae.charCodeAt(0)][ge]):Ae):$t[$]+=Ae;$t[$]=wt($t[$])}return $t.join(" ")};de.events.push(["preProcessText",function(z){var $=z.text,le=(z.x,z.y,z.options||{}),ge=(z.mutex,le.lang,[]);if(Object.prototype.toString.call($)==="[object Array]"){var Ae=0;for(ge=[],Ae=0;Ae<$.length;Ae+=1)Object.prototype.toString.call($[Ae])==="[object Array]"?ge.push([ie($[Ae][0]),$[Ae][1],$[Ae][2]]):ge.push([ie($[Ae])]);z.text=ge}else z.text=ie($)}])}(Mt.API),Mt.API.autoPrint=function(de){var ue;switch((de=de||{}).variant=de.variant||"non-conform",de.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){ue=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 "+ue+" 0 R")})}return this},b=Mt.API,(h=function(){var ue=void 0;Object.defineProperty(this,"pdf",{get:function(){return ue},set:function(Te){ue=Te}});var se=150;Object.defineProperty(this,"width",{get:function(){return se},set:function(Te){se=isNaN(Te)||Number.isInteger(Te)===!1||Te<0?150:Te,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=se+1)}});var ae=300;Object.defineProperty(this,"height",{get:function(){return ae},set:function(Te){ae=isNaN(Te)||Number.isInteger(Te)===!1||Te<0?300:Te,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ae+1)}});var ye=[];Object.defineProperty(this,"childNodes",{get:function(){return ye},set:function(Te){ye=Te}});var Ce={};Object.defineProperty(this,"style",{get:function(){return Ce},set:function(Te){Ce=Te}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(de,ue){var se;if((de=de||"2d")!=="2d")return null;for(se in ue)this.pdf.context2d.hasOwnProperty(se)&&(this.pdf.context2d[se]=ue[se]);return(this.pdf.context2d._canvas=this).pdf.context2d},h.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},b.events.push(["initialized",function(){this.canvas=new h,this.canvas.pdf=this}]),i=Mt.API,a={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,l=function(ue,se,ae,ye,Ce){a={x:ue,y:se,w:ae,h:ye,ln:Ce}},n=function(){return a},u={left:0,top:0,bottom:0},i.setHeaderFunction=function(de){r=de},i.getTextDimensions=function(de,ue){var se=this.table_font_size||this.internal.getFontSize(),ae=(this.internal.getFont().fontStyle,(ue=ue||{}).scaleFactor||this.internal.scaleFactor),ye=0,Ce=0,Oe=0;if(typeof de=="string")(ye=this.getStringUnitWidth(de)*se)!=0&&(Ce=1);else{if(Object.prototype.toString.call(de)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var Te=0;Te<de.length;Te++)ye<(Oe=this.getStringUnitWidth(de[Te])*se)&&(ye=Oe);ye!==0&&(Ce=de.length)}return{w:ye/=ae,h:Math.max((Ce*se*this.getLineHeightFactor()-se*(this.getLineHeightFactor()-1))/ae,0)}},i.cellAddPage=function(){var de=this.margins||u;this.addPage(),l(de.left,de.top,void 0,void 0),s+=1},i.cellInitialize=function(){a={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1},i.cell=function(de,ue,se,ae,ye,Ce,Oe){var Te=n(),xe=!1;if(Te.ln!==void 0)if(Te.ln===Ce)de=Te.x+Te.w,ue=Te.y;else{var je=this.margins||u;Te.y+Te.h+ae+13>=this.internal.pageSize.getHeight()-je.bottom&&(this.cellAddPage(),xe=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(Ce,!0)),ue=n().y+n().h,xe&&(ue=23)}if(ye[0]!==void 0)if(this.printingHeaderRow?this.rect(de,ue,se,ae,"FD"):this.rect(de,ue,se,ae),Oe==="right"){ye instanceof Array||(ye=[ye]);for(var ut=0;ut<ye.length;ut++){var wt=ye[ut],ee=this.getStringUnitWidth(wt)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(wt,de+se-ee-3,ue+this.internal.getLineHeight()*(ut+1))}}else this.text(ye,de+3,ue+this.internal.getLineHeight());return l(de,ue,se,ae,Ce),this},i.arrayMax=function(de,ue){var se,ae,ye,Ce=de[0];for(se=0,ae=de.length;se<ae;se+=1)ye=de[se],ue?ue(Ce,ye)===-1&&(Ce=ye):Ce<ye&&(Ce=ye);return Ce},i.table=function(de,ue,se,ae,ye){if(!se)throw"No data for PDF table";var Ce,Oe,Te,xe,je,ut,wt,ee,ie,z,$=[],le=[],ge={},Ae={},Me=[],$e=[],kt=!1,$t=!0,Lt=12,Ut=u;if(Ut.width=this.internal.pageSize.getWidth(),ye&&(ye.autoSize===!0&&(kt=!0),ye.printHeaders===!1&&($t=!1),ye.fontSize&&(Lt=ye.fontSize),ye.css&&ye.css["font-size"]!==void 0&&(Lt=16*ye.css["font-size"]),ye.margins&&(Ut=ye.margins)),this.lnMod=0,a={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,this.printHeaders=$t,this.margins=Ut,this.setFontSize(Lt),this.table_font_size=Lt,ae==null)$=Object.keys(se[0]);else if(ae[0]&&typeof ae[0]!="string")for(Oe=0,Te=ae.length;Oe<Te;Oe+=1)Ce=ae[Oe],$.push(Ce.name),le.push(Ce.prompt),Ae[Ce.name]=Ce.width*(19.049976/25.4);else $=ae;if(kt)for(z=function(Tt){return Tt[Ce]},Oe=0,Te=$.length;Oe<Te;Oe+=1){for(ge[Ce=$[Oe]]=se.map(z),Me.push(this.getTextDimensions(le[Oe]||Ce,{scaleFactor:1}).w),wt=0,xe=(ut=ge[Ce]).length;wt<xe;wt+=1)je=ut[wt],Me.push(this.getTextDimensions(je,{scaleFactor:1}).w);Ae[Ce]=i.arrayMax(Me),Me=[]}if($t){var Wt=this.calculateLineHeight($,Ae,le.length?le:$);for(Oe=0,Te=$.length;Oe<Te;Oe+=1)Ce=$[Oe],$e.push([de,ue,Ae[Ce],Wt,String(le.length?le[Oe]:Ce)]);this.setTableHeaderRow($e),this.printHeaderRow(1,!1)}for(Oe=0,Te=se.length;Oe<Te;Oe+=1)for(ee=se[Oe],Wt=this.calculateLineHeight($,Ae,ee),wt=0,ie=$.length;wt<ie;wt+=1)Ce=$[wt],this.cell(de,ue,Ae[Ce],Wt,ee[Ce],Oe+2,Ce.align);return this.lastCellPos=a,this.table_x=de,this.table_y=ue,this},i.calculateLineHeight=function(de,ue,se){for(var ae,ye=0,Ce=0;Ce<de.length;Ce++){se[ae=de[Ce]]=this.splitTextToSize(String(se[ae]),ue[ae]-3);var Oe=this.internal.getLineHeight()*se[ae].length+3;ye<Oe&&(ye=Oe)}return ye},i.setTableHeaderRow=function(de){this.tableHeaderRow=de},i.printHeaderRow=function(de,ue){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var se,ae,ye,Ce;if(this.printingHeaderRow=!0,r!==void 0){var Oe=r(this,s);l(Oe[0],Oe[1],Oe[2],Oe[3],-1)}this.setFontStyle("bold");var Te=[];for(ye=0,Ce=this.tableHeaderRow.length;ye<Ce;ye+=1)this.setFillColor(200,200,200),se=this.tableHeaderRow[ye],ue&&(this.margins.top=13,se[1]=this.margins&&this.margins.top||0,Te.push(se)),ae=[].concat(se),this.cell.apply(this,ae.concat(de));0<Te.length&&this.setTableHeaderRow(Te),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(de,ue){var se,ae,ye,Ce,Oe,Te=function(We){return We=We||{},this.isStrokeTransparent=We.isStrokeTransparent||!1,this.strokeOpacity=We.strokeOpacity||1,this.strokeStyle=We.strokeStyle||"#000000",this.fillStyle=We.fillStyle||"#000000",this.isFillTransparent=We.isFillTransparent||!1,this.fillOpacity=We.fillOpacity||1,this.font=We.font||"10px sans-serif",this.textBaseline=We.textBaseline||"alphabetic",this.textAlign=We.textAlign||"left",this.lineWidth=We.lineWidth||1,this.lineJoin=We.lineJoin||"miter",this.lineCap=We.lineCap||"butt",this.path=We.path||[],this.transform=We.transform!==void 0?We.transform.clone():new yt,this.globalCompositeOperation=We.globalCompositeOperation||"normal",this.globalAlpha=We.globalAlpha||1,this.clip_path=We.clip_path||[],this.currentPoint=We.currentPoint||new Ye,this.miterLimit=We.miterLimit||10,this.lastPoint=We.lastPoint||new Ye,this.ignoreClearRect=typeof We.ignoreClearRect!="boolean"||We.ignoreClearRect,this};de.events.push(["initialized",function(){this.context2d=new xe(this),se=this.internal.f2,this.internal.f3,ae=this.internal.getCoordinateString,ye=this.internal.getVerticalCoordinateString,Ce=this.internal.getHorizontalCoordinate,Oe=this.internal.getVerticalCoordinate}]);var xe=function(We){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return We}});var rt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return rt},set:function(Cr){rt=Boolean(Cr)}});var ft=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return ft},set:function(Cr){ft=Boolean(Cr)}});var Yt=0;Object.defineProperty(this,"posX",{get:function(){return Yt},set:function(Cr){isNaN(Cr)||(Yt=Cr)}});var Ft=0;Object.defineProperty(this,"posY",{get:function(){return Ft},set:function(Cr){isNaN(Cr)||(Ft=Cr)}});var fr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return fr},set:function(Cr){fr=Boolean(Cr)}});var mr=0;Object.defineProperty(this,"lastBreak",{get:function(){return mr},set:function(Cr){mr=Cr}});var Er=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Er},set:function(Cr){Er=Cr}});var Lr=new Te;Object.defineProperty(this,"ctx",{get:function(){return Lr},set:function(Cr){Cr instanceof Te&&(Lr=Cr)}}),Object.defineProperty(this,"path",{get:function(){return Lr.path},set:function(Cr){Lr.path=Cr}});var en=[];Object.defineProperty(this,"ctxStack",{get:function(){return en},set:function(Cr){en=Cr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Cr){var Gr;Gr=je(Cr),this.ctx.fillStyle=Gr.style,this.ctx.isFillTransparent=Gr.a===0,this.ctx.fillOpacity=Gr.a,this.pdf.setFillColor(Gr.r,Gr.g,Gr.b,{a:Gr.a}),this.pdf.setTextColor(Gr.r,Gr.g,Gr.b,{a:Gr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Cr){var Gr=je(Cr);this.ctx.strokeStyle=Gr.style,this.ctx.isStrokeTransparent=Gr.a===0,this.ctx.strokeOpacity=Gr.a,Gr.a===0?this.pdf.setDrawColor(255,255,255):(Gr.a,this.pdf.setDrawColor(Gr.r,Gr.g,Gr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Cr){["butt","round","square"].indexOf(Cr)!==-1&&(this.ctx.lineCap=Cr,this.pdf.setLineCap(Cr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Cr){isNaN(Cr)||(this.ctx.lineWidth=Cr,this.pdf.setLineWidth(Cr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Cr){["bevel","round","miter"].indexOf(Cr)!==-1&&(this.ctx.lineJoin=Cr,this.pdf.setLineJoin(Cr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Cr){isNaN(Cr)||(this.ctx.miterLimit=Cr,this.pdf.setMiterLimit(Cr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Cr){this.ctx.textBaseline=Cr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Cr){["right","end","center","left","start"].indexOf(Cr)!==-1&&(this.ctx.textAlign=Cr)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Cr){var Gr;if(this.ctx.font=Cr,(Gr=/^\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(Cr))!==null){var Nr=Gr[1],lr=(Gr[2],Gr[3]),pr=Gr[4],sr=Gr[5],dr=Gr[6];pr=sr==="px"?Math.floor(parseFloat(pr)):sr==="em"?Math.floor(parseFloat(pr)*this.pdf.getFontSize()):Math.floor(parseFloat(pr)),this.pdf.setFontSize(pr);var Sr="";(lr==="bold"||700<=parseInt(lr,10)||Nr==="bold")&&(Sr="bold"),Nr==="italic"&&(Sr+="italic"),Sr.length===0&&(Sr="normal");for(var Xr="",cn=dr.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),Dn={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},jr=0;jr<cn.length;jr++){if(this.pdf.internal.getFont(cn[jr],Sr,{noFallback:!0,disableWarning:!0})!==void 0){Xr=cn[jr];break}if(Sr==="bolditalic"&&this.pdf.internal.getFont(cn[jr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Xr=cn[jr],Sr="bold";else if(this.pdf.internal.getFont(cn[jr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Xr=cn[jr],Sr="normal";break}}if(Xr===""){for(jr=0;jr<cn.length;jr++)if(Dn[cn[jr]]){Xr=Dn[cn[jr]];break}}Xr=Xr===""?"Times":Xr,this.pdf.setFont(Xr,Sr)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Cr){this.ctx.globalCompositeOperation=Cr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Cr){this.ctx.globalAlpha=Cr}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Cr){this.ctx.ignoreClearRect=Boolean(Cr)}})};xe.prototype.fill=function(){$.call(this,"fill",!1)},xe.prototype.stroke=function(){$.call(this,"stroke",!1)},xe.prototype.beginPath=function(){this.path=[{type:"begin"}]},xe.prototype.moveTo=function(mt,We){if(isNaN(mt)||isNaN(We))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var rt=this.ctx.transform.applyToPoint(new Ye(mt,We));this.path.push({type:"mt",x:rt.x,y:rt.y}),this.ctx.lastPoint=new Ye(mt,We)},xe.prototype.closePath=function(){var mt=new Ye(0,0),We=0;for(We=this.path.length-1;We!==-1;We--)if(this.path[We].type==="begin"&&p(this.path[We+1])==="object"&&typeof this.path[We+1].x=="number"){mt=new Ye(this.path[We+1].x,this.path[We+1].y),this.path.push({type:"lt",x:mt.x,y:mt.y});break}p(this.path[We+2])==="object"&&typeof this.path[We+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[We+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new Ye(mt.x,mt.y)},xe.prototype.lineTo=function(mt,We){if(isNaN(mt)||isNaN(We))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var rt=this.ctx.transform.applyToPoint(new Ye(mt,We));this.path.push({type:"lt",x:rt.x,y:rt.y}),this.ctx.lastPoint=new Ye(rt.x,rt.y)},xe.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),$.call(this,null,!0)},xe.prototype.quadraticCurveTo=function(mt,We,rt,ft){if(isNaN(rt)||isNaN(ft)||isNaN(mt)||isNaN(We))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Yt=this.ctx.transform.applyToPoint(new Ye(rt,ft)),Ft=this.ctx.transform.applyToPoint(new Ye(mt,We));this.path.push({type:"qct",x1:Ft.x,y1:Ft.y,x:Yt.x,y:Yt.y}),this.ctx.lastPoint=new Ye(Yt.x,Yt.y)},xe.prototype.bezierCurveTo=function(mt,We,rt,ft,Yt,Ft){if(isNaN(Yt)||isNaN(Ft)||isNaN(mt)||isNaN(We)||isNaN(rt)||isNaN(ft))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var fr=this.ctx.transform.applyToPoint(new Ye(Yt,Ft)),mr=this.ctx.transform.applyToPoint(new Ye(mt,We)),Er=this.ctx.transform.applyToPoint(new Ye(rt,ft));this.path.push({type:"bct",x1:mr.x,y1:mr.y,x2:Er.x,y2:Er.y,x:fr.x,y:fr.y}),this.ctx.lastPoint=new Ye(fr.x,fr.y)},xe.prototype.arc=function(mt,We,rt,ft,Yt,Ft){if(isNaN(mt)||isNaN(We)||isNaN(rt)||isNaN(ft)||isNaN(Yt))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Ft=Boolean(Ft),!this.ctx.transform.isIdentity){var fr=this.ctx.transform.applyToPoint(new Ye(mt,We));mt=fr.x,We=fr.y;var mr=this.ctx.transform.applyToPoint(new Ye(0,rt)),Er=this.ctx.transform.applyToPoint(new Ye(0,0));rt=Math.sqrt(Math.pow(mr.x-Er.x,2)+Math.pow(mr.y-Er.y,2))}Math.abs(Yt-ft)>=2*Math.PI&&(ft=0,Yt=2*Math.PI),this.path.push({type:"arc",x:mt,y:We,radius:rt,startAngle:ft,endAngle:Yt,counterclockwise:Ft})},xe.prototype.arcTo=function(mt,We,rt,ft,Yt){throw new Error("arcTo not implemented.")},xe.prototype.rect=function(mt,We,rt,ft){if(isNaN(mt)||isNaN(We)||isNaN(rt)||isNaN(ft))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(mt,We),this.lineTo(mt+rt,We),this.lineTo(mt+rt,We+ft),this.lineTo(mt,We+ft),this.lineTo(mt,We),this.lineTo(mt+rt,We),this.lineTo(mt,We)},xe.prototype.fillRect=function(mt,We,rt,ft){if(isNaN(mt)||isNaN(We)||isNaN(rt)||isNaN(ft))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ut.call(this)){var Yt={};this.lineCap!=="butt"&&(Yt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Yt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(mt,We,rt,ft),this.fill(),Yt.hasOwnProperty("lineCap")&&(this.lineCap=Yt.lineCap),Yt.hasOwnProperty("lineJoin")&&(this.lineJoin=Yt.lineJoin)}},xe.prototype.strokeRect=function(mt,We,rt,ft){if(isNaN(mt)||isNaN(We)||isNaN(rt)||isNaN(ft))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");wt.call(this)||(this.beginPath(),this.rect(mt,We,rt,ft),this.stroke())},xe.prototype.clearRect=function(mt,We,rt,ft){if(isNaN(mt)||isNaN(We)||isNaN(rt)||isNaN(ft))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(mt,We,rt,ft))},xe.prototype.save=function(mt){mt=typeof mt!="boolean"||mt;for(var We=this.pdf.internal.getCurrentPageInfo().pageNumber,rt=0;rt<this.pdf.internal.getNumberOfPages();rt++)this.pdf.setPage(rt+1),this.pdf.internal.out("q");if(this.pdf.setPage(We),mt){this.ctx.fontSize=this.pdf.internal.getFontSize();var ft=new Te(this.ctx);this.ctxStack.push(this.ctx),this.ctx=ft}},xe.prototype.restore=function(mt){mt=typeof mt!="boolean"||mt;for(var We=this.pdf.internal.getCurrentPageInfo().pageNumber,rt=0;rt<this.pdf.internal.getNumberOfPages();rt++)this.pdf.setPage(rt+1),this.pdf.internal.out("Q");this.pdf.setPage(We),mt&&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)},xe.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var je=function(We){var rt,ft,Yt,Ft;if(We.isCanvasGradient===!0&&(We=We.getColor()),!We)return{r:0,g:0,b:0,a:0,style:We};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(We))Ft=Yt=ft=rt=0;else{var fr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(We);if(fr!==null)rt=parseInt(fr[1]),ft=parseInt(fr[2]),Yt=parseInt(fr[3]),Ft=1;else if((fr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(We))!==null)rt=parseInt(fr[1]),ft=parseInt(fr[2]),Yt=parseInt(fr[3]),Ft=parseFloat(fr[4]);else{if(Ft=1,typeof We=="string"&&We.charAt(0)!=="#"){var mr=new RGBColor(We);We=mr.ok?mr.toHex():"#000000"}We.length===4?(rt=We.substring(1,2),rt+=rt,ft=We.substring(2,3),ft+=ft,Yt=We.substring(3,4),Yt+=Yt):(rt=We.substring(1,3),ft=We.substring(3,5),Yt=We.substring(5,7)),rt=parseInt(rt,16),ft=parseInt(ft,16),Yt=parseInt(Yt,16)}}return{r:rt,g:ft,b:Yt,a:Ft,style:We}},ut=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},wt=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};xe.prototype.fillText=function(mt,We,rt,ft){if(isNaN(We)||isNaN(rt)||typeof mt!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(ft=isNaN(ft)?void 0:ft,!ut.call(this)){rt=ge.call(this,rt);var Yt=ur(this.ctx.transform.rotation),Ft=this.ctx.transform.scaleX;$t.call(this,{text:mt,x:We,y:rt,scale:Ft,angle:Yt,align:this.textAlign,maxWidth:ft})}},xe.prototype.strokeText=function(mt,We,rt,ft){if(isNaN(We)||isNaN(rt)||typeof mt!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!wt.call(this)){ft=isNaN(ft)?void 0:ft,rt=ge.call(this,rt);var Yt=ur(this.ctx.transform.rotation),Ft=this.ctx.transform.scaleX;$t.call(this,{text:mt,x:We,y:rt,scale:Ft,renderingMode:"stroke",angle:Yt,align:this.textAlign,maxWidth:ft})}},xe.prototype.measureText=function(mt){if(typeof mt!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var We=this.pdf,rt=this.pdf.internal.scaleFactor,ft=We.internal.getFontSize(),Yt=We.getStringUnitWidth(mt)*ft/We.internal.scaleFactor;return new function(Ft){var fr=(Ft=Ft||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return fr}}),this}({width:Yt*=Math.round(96*rt/72*1e4)/1e4})},xe.prototype.scale=function(mt,We){if(isNaN(mt)||isNaN(We))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var rt=new yt(mt,0,0,We,0,0);this.ctx.transform=this.ctx.transform.multiply(rt)},xe.prototype.rotate=function(mt){if(isNaN(mt))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var We=new yt(Math.cos(mt),Math.sin(mt),-Math.sin(mt),Math.cos(mt),0,0);this.ctx.transform=this.ctx.transform.multiply(We)},xe.prototype.translate=function(mt,We){if(isNaN(mt)||isNaN(We))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var rt=new yt(1,0,0,1,mt,We);this.ctx.transform=this.ctx.transform.multiply(rt)},xe.prototype.transform=function(mt,We,rt,ft,Yt,Ft){if(isNaN(mt)||isNaN(We)||isNaN(rt)||isNaN(ft)||isNaN(Yt)||isNaN(Ft))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var fr=new yt(mt,We,rt,ft,Yt,Ft);this.ctx.transform=this.ctx.transform.multiply(fr)},xe.prototype.setTransform=function(mt,We,rt,ft,Yt,Ft){mt=isNaN(mt)?1:mt,We=isNaN(We)?0:We,rt=isNaN(rt)?0:rt,ft=isNaN(ft)?1:ft,Yt=isNaN(Yt)?0:Yt,Ft=isNaN(Ft)?0:Ft,this.ctx.transform=new yt(mt,We,rt,ft,Yt,Ft)},xe.prototype.drawImage=function(mt,We,rt,ft,Yt,Ft,fr,mr,Er){var Lr=this.pdf.getImageProperties(mt),en=1,Qr=1,Cr=1,Gr=1;ft!==void 0&&mr!==void 0&&(Cr=mr/ft,Gr=Er/Yt,en=Lr.width/ft*mr/ft,Qr=Lr.height/Yt*Er/Yt),Ft===void 0&&(Ft=We,fr=rt,rt=We=0),ft!==void 0&&mr===void 0&&(mr=ft,Er=Yt),ft===void 0&&mr===void 0&&(mr=Lr.width,Er=Lr.height);var Nr=this.ctx.transform.decompose(),lr=ur(Nr.rotate.shx);Nr.scale.sx,Nr.scale.sy;for(var pr,sr=new yt,dr=((sr=(sr=(sr=sr.multiply(Nr.translate)).multiply(Nr.skew)).multiply(Nr.scale)).applyToPoint(new Ye(mr,Er)),sr.applyToRectangle(new Xe(Ft-We*Cr,fr-rt*Gr,ft*en,Yt*Qr))),Sr=ee.call(this,dr),Xr=[],cn=0;cn<Sr.length;cn+=1)Xr.indexOf(Sr[cn])===-1&&Xr.push(Sr[cn]);if(Xr.sort(),this.autoPaging)for(var Dn=Xr[0],jr=Xr[Xr.length-1],On=Dn;On<jr+1;On++){if(this.pdf.setPage(On),this.ctx.clip_path.length!==0){var gn=this.path;pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=z(pr,this.posX,-1*this.pdf.internal.pageSize.height*(On-1)+this.posY),le.call(this,"fill",!0),this.path=gn}var Un=JSON.parse(JSON.stringify(dr));Un=z([Un],this.posX,-1*this.pdf.internal.pageSize.height*(On-1)+this.posY)[0],this.pdf.addImage(mt,"jpg",Un.x,Un.y,Un.w,Un.h,null,null,lr)}else this.pdf.addImage(mt,"jpg",dr.x,dr.y,dr.w,dr.h,null,null,lr)};var ee=function(We,rt,ft){var Yt=[];switch(rt=rt||this.pdf.internal.pageSize.width,ft=ft||this.pdf.internal.pageSize.height,We.type){default:case"mt":case"lt":Yt.push(Math.floor((We.y+this.posY)/ft)+1);break;case"arc":Yt.push(Math.floor((We.y+this.posY-We.radius)/ft)+1),Yt.push(Math.floor((We.y+this.posY+We.radius)/ft)+1);break;case"qct":var Ft=ze(this.ctx.lastPoint.x,this.ctx.lastPoint.y,We.x1,We.y1,We.x,We.y);Yt.push(Math.floor(Ft.y/ft)+1),Yt.push(Math.floor((Ft.y+Ft.h)/ft)+1);break;case"bct":var fr=nt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,We.x1,We.y1,We.x2,We.y2,We.x,We.y);Yt.push(Math.floor(fr.y/ft)+1),Yt.push(Math.floor((fr.y+fr.h)/ft)+1);break;case"rect":Yt.push(Math.floor((We.y+this.posY)/ft)+1),Yt.push(Math.floor((We.y+We.h+this.posY)/ft)+1)}for(var mr=0;mr<Yt.length;mr+=1)for(;this.pdf.internal.getNumberOfPages()<Yt[mr];)ie.call(this);return Yt},ie=function(){var We=this.fillStyle,rt=this.strokeStyle,ft=this.font,Yt=this.lineCap,Ft=this.lineWidth,fr=this.lineJoin;this.pdf.addPage(),this.fillStyle=We,this.strokeStyle=rt,this.font=ft,this.lineCap=Yt,this.lineWidth=Ft,this.lineJoin=fr},z=function(We,rt,ft){for(var Yt=0;Yt<We.length;Yt++)switch(We[Yt].type){case"bct":We[Yt].x2+=rt,We[Yt].y2+=ft;case"qct":We[Yt].x1+=rt,We[Yt].y1+=ft;case"mt":case"lt":case"arc":default:We[Yt].x+=rt,We[Yt].y+=ft}return We},$=function(We,rt){for(var ft,Yt,Ft=this.fillStyle,fr=this.strokeStyle,mr=(this.font,this.lineCap),Er=this.lineWidth,Lr=this.lineJoin,en=JSON.parse(JSON.stringify(this.path)),Qr=JSON.parse(JSON.stringify(this.path)),Cr=[],Gr=0;Gr<Qr.length;Gr++)if(Qr[Gr].x!==void 0)for(var Nr=ee.call(this,Qr[Gr]),lr=0;lr<Nr.length;lr+=1)Cr.indexOf(Nr[lr])===-1&&Cr.push(Nr[lr]);for(Gr=0;Gr<Cr.length;Gr++)for(;this.pdf.internal.getNumberOfPages()<Cr[Gr];)ie.call(this);if(Cr.sort(),this.autoPaging){var pr=Cr[0],sr=Cr[Cr.length-1];for(Gr=pr;Gr<sr+1;Gr++){if(this.pdf.setPage(Gr),this.fillStyle=Ft,this.strokeStyle=fr,this.lineCap=mr,this.lineWidth=Er,this.lineJoin=Lr,this.ctx.clip_path.length!==0){var dr=this.path;ft=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=z(ft,this.posX,-1*this.pdf.internal.pageSize.height*(Gr-1)+this.posY),le.call(this,We,!0),this.path=dr}Yt=JSON.parse(JSON.stringify(en)),this.path=z(Yt,this.posX,-1*this.pdf.internal.pageSize.height*(Gr-1)+this.posY),rt!==!1&&Gr!==0||le.call(this,We,rt)}}else le.call(this,We,rt);this.path=en},le=function(We,rt){if((We!=="stroke"||rt||!wt.call(this))&&(We==="stroke"||rt||!ut.call(this))){var ft=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var Yt,Ft=this.path,fr=0;fr<Ft.length;fr++){var mr=Ft[fr];switch(mr.type){case"begin":ft.push({begin:!0});break;case"close":ft.push({close:!0});break;case"mt":ft.push({start:mr,deltas:[],abs:[]});break;case"lt":var Er=ft.length;if(!isNaN(Ft[fr-1].x)){var Lr=[mr.x-Ft[fr-1].x,mr.y-Ft[fr-1].y];if(0<Er){for(;0<=Er;Er--)if(ft[Er-1].close!==!0&&ft[Er-1].begin!==!0){ft[Er-1].deltas.push(Lr),ft[Er-1].abs.push(mr);break}}}break;case"bct":Lr=[mr.x1-Ft[fr-1].x,mr.y1-Ft[fr-1].y,mr.x2-Ft[fr-1].x,mr.y2-Ft[fr-1].y,mr.x-Ft[fr-1].x,mr.y-Ft[fr-1].y],ft[ft.length-1].deltas.push(Lr);break;case"qct":var en=Ft[fr-1].x+2/3*(mr.x1-Ft[fr-1].x),Qr=Ft[fr-1].y+2/3*(mr.y1-Ft[fr-1].y),Cr=mr.x+2/3*(mr.x1-mr.x),Gr=mr.y+2/3*(mr.y1-mr.y),Nr=mr.x,lr=mr.y;Lr=[en-Ft[fr-1].x,Qr-Ft[fr-1].y,Cr-Ft[fr-1].x,Gr-Ft[fr-1].y,Nr-Ft[fr-1].x,lr-Ft[fr-1].y],ft[ft.length-1].deltas.push(Lr);break;case"arc":ft.push({deltas:[],abs:[],arc:!0}),Array.isArray(ft[ft.length-1].abs)&&ft[ft.length-1].abs.push(mr)}}for(Yt=rt?null:We==="stroke"?"stroke":"fill",fr=0;fr<ft.length;fr++){if(ft[fr].arc)for(var pr=ft[fr].abs,sr=0;sr<pr.length;sr++){var dr=pr[sr];if(dr.startAngle!==void 0){var Sr=ur(dr.startAngle),Xr=ur(dr.endAngle),cn=dr.x,Dn=dr.y;Ae.call(this,cn,Dn,dr.radius,Sr,Xr,dr.counterclockwise,Yt,rt)}else Lt.call(this,dr.x,dr.y)}!ft[fr].arc&&ft[fr].close!==!0&&ft[fr].begin!==!0&&(cn=ft[fr].start.x,Dn=ft[fr].start.y,Ut.call(this,ft[fr].deltas,cn,Dn,null,null))}Yt&&Me.call(this,Yt),rt&&$e.call(this)}},ge=function(We){var rt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,ft=rt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return We-ft;case"top":return We+rt-ft;case"hanging":return We+rt-2*ft;case"middle":return We+rt/2-ft;case"ideographic":return We;case"alphabetic":default:return We}};xe.prototype.createLinearGradient=function(){var mt=function(){};return mt.colorStops=[],mt.addColorStop=function(We,rt){this.colorStops.push([We,rt])},mt.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},mt.isCanvasGradient=!0,mt},xe.prototype.createPattern=function(){return this.createLinearGradient()},xe.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Ae=function(We,rt,ft,Yt,Ft,fr,mr,Er){this.pdf.internal.scaleFactor;for(var Lr=qt(Yt),en=qt(Ft),Qr=Vt.call(this,ft,Lr,en,fr),Cr=0;Cr<Qr.length;Cr++){var Gr=Qr[Cr];Cr===0&&kt.call(this,Gr.x1+We,Gr.y1+rt),Wt.call(this,We,rt,Gr.x2,Gr.y2,Gr.x3,Gr.y3,Gr.x4,Gr.y4)}Er?$e.call(this):Me.call(this,mr)},Me=function(We){switch(We){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},$e=function(){this.pdf.clip()},kt=function(We,rt){this.pdf.internal.out(ae(We)+" "+ye(rt)+" m")},$t=function(We){var rt;switch(We.align){case"right":case"end":rt="right";break;case"center":rt="center";break;case"left":case"start":default:rt="left"}var ft=this.ctx.transform.applyToPoint(new Ye(We.x,We.y)),Yt=this.ctx.transform.decompose(),Ft=new yt;Ft=(Ft=(Ft=Ft.multiply(Yt.translate)).multiply(Yt.skew)).multiply(Yt.scale);for(var fr,mr=this.pdf.getTextDimensions(We.text),Er=this.ctx.transform.applyToRectangle(new Xe(We.x,We.y,mr.w,mr.h)),Lr=Ft.applyToRectangle(new Xe(We.x,We.y-mr.h,mr.w,mr.h)),en=ee.call(this,Lr),Qr=[],Cr=0;Cr<en.length;Cr+=1)Qr.indexOf(en[Cr])===-1&&Qr.push(en[Cr]);if(Qr.sort(),this.autoPaging===!0)for(var Gr=Qr[0],Nr=Qr[Qr.length-1],lr=Gr;lr<Nr+1;lr++){if(this.pdf.setPage(lr),this.ctx.clip_path.length!==0){var pr=this.path;fr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=z(fr,this.posX,-1*this.pdf.internal.pageSize.height*(lr-1)+this.posY),le.call(this,"fill",!0),this.path=pr}var sr=JSON.parse(JSON.stringify(Er));if(sr=z([sr],this.posX,-1*this.pdf.internal.pageSize.height*(lr-1)+this.posY)[0],.01<=We.scale){var dr=this.pdf.internal.getFontSize();this.pdf.setFontSize(dr*We.scale)}this.pdf.text(We.text,sr.x,sr.y,{angle:We.angle,align:rt,renderingMode:We.renderingMode,maxWidth:We.maxWidth}),.01<=We.scale&&this.pdf.setFontSize(dr)}else .01<=We.scale&&(dr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(dr*We.scale)),this.pdf.text(We.text,ft.x+this.posX,ft.y+this.posY,{angle:We.angle,align:rt,renderingMode:We.renderingMode,maxWidth:We.maxWidth}),.01<=We.scale&&this.pdf.setFontSize(dr)},Lt=function(We,rt,ft,Yt){ft=ft||0,Yt=Yt||0,this.pdf.internal.out(ae(We+ft)+" "+ye(rt+Yt)+" l")},Ut=function(We,rt,ft){return this.pdf.lines(We,rt,ft,null,null)},Wt=function(We,rt,ft,Yt,Ft,fr,mr,Er){this.pdf.internal.out([se(Ce(ft+We)),se(Oe(Yt+rt)),se(Ce(Ft+We)),se(Oe(fr+rt)),se(Ce(mr+We)),se(Oe(Er+rt)),"c"].join(" "))},Vt=function(We,rt,ft,Yt){var Ft=2*Math.PI,fr=rt;(fr<Ft||Ft<fr)&&(fr%=Ft);var mr=ft;(mr<Ft||Ft<mr)&&(mr%=Ft);for(var Er=[],Lr=Math.PI/2,en=Yt?-1:1,Qr=rt,Cr=Math.min(Ft,Math.abs(mr-fr));1e-5<Cr;){var Gr=Qr+en*Math.min(Cr,Lr);Er.push(Tt.call(this,We,Qr,Gr)),Cr-=Math.abs(Gr-Qr),Qr=Gr}return Er},Tt=function(We,rt,ft){var Yt=(ft-rt)/2,Ft=We*Math.cos(Yt),fr=We*Math.sin(Yt),mr=Ft,Er=-fr,Lr=mr*mr+Er*Er,en=Lr+mr*Ft+Er*fr,Qr=4/3*(Math.sqrt(2*Lr*en)-en)/(mr*fr-Er*Ft),Cr=mr-Qr*Er,Gr=Er+Qr*mr,Nr=Cr,lr=-Gr,pr=Yt+rt,sr=Math.cos(pr),dr=Math.sin(pr);return{x1:We*Math.cos(rt),y1:We*Math.sin(rt),x2:Cr*sr-Gr*dr,y2:Cr*dr+Gr*sr,x3:Nr*sr-lr*dr,y3:Nr*dr+lr*sr,x4:We*Math.cos(ft),y4:We*Math.sin(ft)}},ur=function(We){return 180*We/Math.PI},qt=function(We){return We*Math.PI/180},ze=function(We,rt,ft,Yt,Ft,fr){var mr=We+.5*(ft-We),Er=rt+.5*(Yt-rt),Lr=Ft+.5*(ft-Ft),en=fr+.5*(Yt-fr),Qr=Math.min(We,Ft,mr,Lr),Cr=Math.max(We,Ft,mr,Lr),Gr=Math.min(rt,fr,Er,en),Nr=Math.max(rt,fr,Er,en);return new Xe(Qr,Gr,Cr-Qr,Nr-Gr)},nt=function(We,rt,ft,Yt,Ft,fr,mr,Er){for(var Lr,en,Qr,Cr,Gr,Nr,lr,pr,sr,dr,Sr,Xr,cn,Dn=ft-We,jr=Yt-rt,On=Ft-ft,gn=fr-Yt,Un=mr-Ft,Wn=Er-fr,Jn=0;Jn<41;Jn++)pr=(Nr=(en=We+(Lr=Jn/40)*Dn)+Lr*((Cr=ft+Lr*On)-en))+Lr*(Cr+Lr*(Ft+Lr*Un-Cr)-Nr),sr=(lr=(Qr=rt+Lr*jr)+Lr*((Gr=Yt+Lr*gn)-Qr))+Lr*(Gr+Lr*(fr+Lr*Wn-Gr)-lr),cn=Jn==0?(Xr=dr=pr,Sr=sr):(dr=Math.min(dr,pr),Sr=Math.min(Sr,sr),Xr=Math.max(Xr,pr),Math.max(cn,sr));return new Xe(Math.round(dr),Math.round(Sr),Math.round(Xr-dr),Math.round(cn-Sr))},Ye=function(We,rt){var ft=We||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ft},set:function(mr){isNaN(mr)||(ft=parseFloat(mr))}});var Yt=rt||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Yt},set:function(mr){isNaN(mr)||(Yt=parseFloat(mr))}});var Ft="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Ft},set:function(mr){Ft=mr.toString()}}),this},Xe=function(We,rt,ft,Yt){Ye.call(this,We,rt),this.type="rect";var Ft=ft||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Ft},set:function(Er){isNaN(Er)||(Ft=parseFloat(Er))}});var fr=Yt||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return fr},set:function(Er){isNaN(Er)||(fr=parseFloat(Er))}}),this},yt=function(We,rt,ft,Yt,Ft,fr){var mr=[];return Object.defineProperty(this,"sx",{get:function(){return mr[0]},set:function(Lr){mr[0]=Math.round(1e5*Lr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return mr[1]},set:function(Lr){mr[1]=Math.round(1e5*Lr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return mr[2]},set:function(Lr){mr[2]=Math.round(1e5*Lr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return mr[3]},set:function(Lr){mr[3]=Math.round(1e5*Lr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return mr[4]},set:function(Lr){mr[4]=Math.round(1e5*Lr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return mr[5]},set:function(Lr){mr[5]=Math.round(1e5*Lr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(We)?1:We,this.shy=isNaN(rt)?0:rt,this.shx=isNaN(ft)?0:ft,this.sy=isNaN(Yt)?1:Yt,this.tx=isNaN(Ft)?0:Ft,this.ty=isNaN(fr)?0:fr,this};yt.prototype.multiply=function(mt){var We=mt.sx*this.sx+mt.shy*this.shx,rt=mt.sx*this.shy+mt.shy*this.sy,ft=mt.shx*this.sx+mt.sy*this.shx,Yt=mt.shx*this.shy+mt.sy*this.sy,Ft=mt.tx*this.sx+mt.ty*this.shx+this.tx,fr=mt.tx*this.shy+mt.ty*this.sy+this.ty;return new yt(We,rt,ft,Yt,Ft,fr)},yt.prototype.decompose=function(){var mt=this.sx,We=this.shy,rt=this.shx,ft=this.sy,Yt=this.tx,Ft=this.ty,fr=Math.sqrt(mt*mt+We*We),mr=(mt/=fr)*rt+(We/=fr)*ft;rt-=mt*mr,ft-=We*mr;var Er=Math.sqrt(rt*rt+ft*ft);return mr/=Er,mt*(ft/=Er)<We*(rt/=Er)&&(mt=-mt,We=-We,mr=-mr,fr=-fr),{scale:new yt(fr,0,0,Er,0,0),translate:new yt(1,0,0,1,Yt,Ft),rotate:new yt(mt,We,-We,mt,0,0),skew:new yt(1,0,mr,1,0,0)}},yt.prototype.applyToPoint=function(mt){var We=mt.x*this.sx+mt.y*this.shx+this.tx,rt=mt.x*this.shy+mt.y*this.sy+this.ty;return new Ye(We,rt)},yt.prototype.applyToRectangle=function(mt){var We=this.applyToPoint(mt),rt=this.applyToPoint(new Ye(mt.x+mt.w,mt.y+mt.h));return new Xe(We.x,We.y,rt.x-We.x,rt.y-We.y)},yt.prototype.clone=function(){var mt=this.sx,We=this.shy,rt=this.shx,ft=this.sy,Yt=this.tx,Ft=this.ty;return new yt(mt,We,rt,ft,Yt,Ft)}}(Mt.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()),t=Mt.API,c=function(ue){var se,ae,ye,Ce,Oe,Te,xe,je,ut,wt;for(/[^\x00-\xFF]/.test(ue),ae=[],ye=0,Ce=(ue+=se="\0\0\0\0".slice(ue.length%4||4)).length;ye<Ce;ye+=4)(Oe=(ue.charCodeAt(ye)<<24)+(ue.charCodeAt(ye+1)<<16)+(ue.charCodeAt(ye+2)<<8)+ue.charCodeAt(ye+3))!==0?(Te=(Oe=((Oe=((Oe=((Oe=(Oe-(wt=Oe%85))/85)-(ut=Oe%85))/85)-(je=Oe%85))/85)-(xe=Oe%85))/85)%85,ae.push(Te+33,xe+33,je+33,ut+33,wt+33)):ae.push(122);return function(ee,ie){for(var z=se.length;0<z;z--)ee.pop()}(ae),String.fromCharCode.apply(String,ae)+"~>"},o=function(ue){var se,ae,ye,Ce,Oe,Te=String,xe="length",je="charCodeAt",ut="slice",wt="replace";for(ue[ut](-2),ue=ue[ut](0,-2)[wt](/\s/g,"")[wt]("z","!!!!!"),ye=[],Ce=0,Oe=(ue+=se="uuuuu"[ut](ue[xe]%5||5))[xe];Ce<Oe;Ce+=5)ae=52200625*(ue[je](Ce)-33)+614125*(ue[je](Ce+1)-33)+7225*(ue[je](Ce+2)-33)+85*(ue[je](Ce+3)-33)+(ue[je](Ce+4)-33),ye.push(255&ae>>24,255&ae>>16,255&ae>>8,255&ae);return function(ee,ie){for(var z=se[xe];0<z;z--)ee.pop()}(ye),Te.fromCharCode.apply(Te,ye)},f=function(ue){for(var se="",ae=0;ae<ue.length;ae+=1)se+=("0"+ue.charCodeAt(ae).toString(16)).slice(-2);return se+=">"},v=function(ue){var se=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ue=ue.replace(/\s/g,"")).indexOf(">")!==-1&&(ue=ue.substr(0,ue.indexOf(">"))),ue.length%2&&(ue+="0"),se.test(ue)===!1)return"";for(var ae="",ye=0;ye<ue.length;ye+=2)ae+=String.fromCharCode("0x"+(ue[ye]+ue[ye+1]));return ae},y=function(ue,se){se=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},se);for(var ae,ye,Ce=[],Oe=ue.length;Oe--;)Ce[Oe]=ue.charCodeAt(Oe);return ae=t.adler32cs.from(ue),(ye=new Deflater(6)).append(new Uint8Array(Ce)),ue=ye.flush(),(Ce=new Uint8Array(ue.length+6)).set(new Uint8Array([120,156])),Ce.set(ue,2),Ce.set(new Uint8Array([255&ae,ae>>8&255,ae>>16&255,ae>>24&255]),ue.length+2),ue=String.fromCharCode.apply(null,Ce)},t.processDataByFilters=function(de,ue){var se=0,ae=de||"",ye=[];for(typeof(ue=ue||[])=="string"&&(ue=[ue]),se=0;se<ue.length;se+=1)switch(ue[se]){case"ASCII85Decode":case"/ASCII85Decode":ae=o(ae),ye.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ae=c(ae),ye.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ae=v(ae),ye.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ae=f(ae),ye.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ae=y(ae),ye.push("/FlateDecode");break;default:throw'The filter: "'+ue[se]+'" is not implemented'}return{data:ae,reverseChain:ye.reverse().join(" ")}},(L=Mt.API).loadFile=function(de,ue,se){var ae;ue=ue||!0,se=se||function(){};try{ae=function(ye,Ce,Oe){var Te=new XMLHttpRequest,xe=[],je=0,ut=function(ee){var ie=ee.length,z=String.fromCharCode;for(je=0;je<ie;je+=1)xe.push(z(255&ee.charCodeAt(je)));return xe.join("")};if(Te.open("GET",ye,!Ce),Te.overrideMimeType("text/plain; charset=x-user-defined"),Ce===!1&&(Te.onload=function(){return ut(this.responseText)}),Te.send(null),Te.status===200)return Ce?ut(Te.responseText):void 0;console.warn('Unable to load file "'+ye+'"')}(de,ue)}catch(ye){ae=void 0}return ae},L.loadImageFile=L.loadFile,S=Mt.API,x=typeof window!="undefined"&&window||typeof d!="undefined"&&d,O=function(ue){var se=p(ue);return se==="undefined"?"undefined":se==="string"||ue instanceof String?"string":se==="number"||ue instanceof Number?"number":se==="function"||ue instanceof Function?"function":ue&&ue.constructor===Array?"array":ue&&ue.nodeType===1?"element":se==="object"?"object":"unknown"},T=function(ue,se){var ae=document.createElement(ue);if(se.className&&(ae.className=se.className),se.innerHTML){ae.innerHTML=se.innerHTML;for(var ye=ae.getElementsByTagName("script"),Ce=ye.length;0<Ce--;null)ye[Ce].parentNode.removeChild(ye[Ce])}for(var Oe in se.style)ae.style[Oe]=se.style[Oe];return ae},(((w=function de(ue){var se=Object.assign(de.convert(Promise.resolve()),JSON.parse(JSON.stringify(de.template))),ae=de.convert(Promise.resolve(),se);return ae=(ae=ae.setProgress(1,de,1,[de])).set(ue)}).prototype=Object.create(Promise.prototype)).constructor=w).convert=function(de,ue){return de.__proto__=ue||w.prototype,de},w.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:{}}},w.prototype.from=function(de,ue){return this.then(function(){switch(ue=ue||function(se){switch(O(se)){case"string":return"string";case"element":return se.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(de)){case"string":return this.set({src:T("div",{innerHTML:de})});case"element":return this.set({src:de});case"canvas":return this.set({canvas:de});case"img":return this.set({img:de});default:return this.error("Unknown source type.")}})},w.prototype.to=function(de){switch(de){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.")}},w.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 de={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},ue=function se(ae,ye){for(var Ce=ae.nodeType===3?document.createTextNode(ae.nodeValue):ae.cloneNode(!1),Oe=ae.firstChild;Oe;Oe=Oe.nextSibling)ye!==!0&&Oe.nodeType===1&&Oe.nodeName==="SCRIPT"||Ce.appendChild(se(Oe,ye));return ae.nodeType===1&&(ae.nodeName==="CANVAS"?(Ce.width=ae.width,Ce.height=ae.height,Ce.getContext("2d").drawImage(ae,0,0)):ae.nodeName!=="TEXTAREA"&&ae.nodeName!=="SELECT"||(Ce.value=ae.value),Ce.addEventListener("load",function(){Ce.scrollTop=ae.scrollTop,Ce.scrollLeft=ae.scrollLeft},!0)),Ce}(this.prop.src,this.opt.html2canvas.javascriptEnabled);ue.tagName==="BODY"&&(de.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=T("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=T("div",{className:"html2pdf__container",style:de}),this.prop.container.appendChild(ue),this.prop.container.firstChild.appendChild(T("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"})},w.prototype.toCanvas=function(){var de=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(de).then(function(){var ue=Object.assign({},this.opt.html2canvas);if(delete ue.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,ue)}).then(function(ue){(this.opt.html2canvas.onrendered||function(){})(ue),this.prop.canvas=ue,document.body.removeChild(this.prop.overlay)})},w.prototype.toContext2d=function(){var de=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(de).then(function(){var ue=this.opt.jsPDF,se=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete se.onrendered,ue.context2d.autoPaging=!0,ue.context2d.posX=this.opt.x,ue.context2d.posY=this.opt.y,se.windowHeight=se.windowHeight||0,se.windowHeight=se.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):se.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,se)}).then(function(ue){(this.opt.html2canvas.onrendered||function(){})(ue),this.prop.canvas=ue,document.body.removeChild(this.prop.overlay)})},w.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var de=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=de})},w.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},w.prototype.output=function(de,ue,se){return(se=se||"pdf").toLowerCase()==="img"||se.toLowerCase()==="image"?this.outputImg(de,ue):this.outputPdf(de,ue)},w.prototype.outputPdf=function(de,ue){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(de,ue)})},w.prototype.outputImg=function(de,ue){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(de){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 "'+de+'" is not supported.'}})},w.prototype.isHtml2CanvasLoaded=function(){var de=x.html2canvas!==void 0;return de||console.error("html2canvas not loaded."),de},w.prototype.save=function(de){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(de?{filename:de}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},w.prototype.doCallback=function(de){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},w.prototype.set=function(de){if(O(de)!=="object")return this;var ue=Object.keys(de||{}).map(function(se){if(se in w.template.prop)return function(){this.prop[se]=de[se]};switch(se){case"margin":return this.setMargin.bind(this,de.margin);case"jsPDF":return function(){return this.opt.jsPDF=de.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,de.pageSize);default:return function(){this.opt[se]=de[se]}}},this);return this.then(function(){return this.thenList(ue)})},w.prototype.get=function(de,ue){return this.then(function(){var se=de in w.template.prop?this.prop[de]:this.opt[de];return ue?ue(se):se})},w.prototype.setMargin=function(de){return this.then(function(){switch(O(de)){case"number":de=[de,de,de,de];case"array":if(de.length===2&&(de=[de[0],de[1],de[0],de[1]]),de.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=de}).then(this.setPageSize)},w.prototype.setPageSize=function(de){function ue(se,ae){return Math.floor(se*ae/72*96)}return this.then(function(){(de=de||Mt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(de.inner={width:de.width-this.opt.margin[1]-this.opt.margin[3],height:de.height-this.opt.margin[0]-this.opt.margin[2]},de.inner.px={width:ue(de.inner.width,de.k),height:ue(de.inner.height,de.k)},de.inner.ratio=de.inner.height/de.inner.width),this.prop.pageSize=de})},w.prototype.setProgress=function(de,ue,se,ae){return de!=null&&(this.progress.val=de),ue!=null&&(this.progress.state=ue),se!=null&&(this.progress.n=se),ae!=null&&(this.progress.stack=ae),this.progress.ratio=this.progress.val/this.progress.state,this},w.prototype.updateProgress=function(de,ue,se,ae){return this.setProgress(de?this.progress.val+de:null,ue||null,se?this.progress.n+se:null,ae?this.progress.stack.concat(ae):null)},w.prototype.then=function(de,ue){var se=this;return this.thenCore(de,ue,function(ae,ye){return se.updateProgress(null,null,1,[ae]),Promise.prototype.then.call(this,function(Ce){return se.updateProgress(null,ae),Ce}).then(ae,ye).then(function(Ce){return se.updateProgress(1),Ce})})},w.prototype.thenCore=function(de,ue,se){se=se||Promise.prototype.then;var ae=this;de&&(de=de.bind(ae)),ue&&(ue=ue.bind(ae));var ye=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?ae:w.convert(Object.assign({},ae),Promise.prototype),Ce=se.call(ye,de,ue);return w.convert(Ce,ae.__proto__)},w.prototype.thenExternal=function(de,ue){return Promise.prototype.then.call(this,de,ue)},w.prototype.thenList=function(de){var ue=this;return de.forEach(function(se){ue=ue.thenCore(se)}),ue},w.prototype.catch=function(de){de&&(de=de.bind(this));var ue=Promise.prototype.catch.call(this,de);return w.convert(ue,this)},w.prototype.catchExternal=function(de){return Promise.prototype.catch.call(this,de)},w.prototype.error=function(de){return this.then(function(){throw new Error(de)})},w.prototype.using=w.prototype.set,w.prototype.saveAs=w.prototype.save,w.prototype.export=w.prototype.output,w.prototype.run=w.prototype.then,Mt.getPageSize=function(de,ue,se){if(p(de)==="object"){var ae=de;de=ae.orientation,ue=ae.unit||ue,se=ae.format||se}ue=ue||"mm",se=se||"a4",de=(""+(de||"P")).toLowerCase();var ye=(""+se).toLowerCase(),Ce={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(ue){case"pt":var Oe=1;break;case"mm":Oe=72/25.4;break;case"cm":Oe=72/2.54;break;case"in":Oe=72;break;case"px":Oe=.75;break;case"pc":case"em":Oe=12;break;case"ex":Oe=6;break;default:throw"Invalid unit: "+ue}if(Ce.hasOwnProperty(ye))var Te=Ce[ye][1]/Oe,xe=Ce[ye][0]/Oe;else try{Te=se[1],xe=se[0]}catch(ut){throw new Error("Invalid format: "+se)}if(de==="p"||de==="portrait"){if(de="p",Te<xe){var je=xe;xe=Te,Te=je}}else{if(de!=="l"&&de!=="landscape")throw"Invalid orientation: "+de;de="l",xe<Te&&(je=xe,xe=Te,Te=je)}return{width:xe,height:Te,unit:ue,k:Oe}},S.html=function(de,ue){(ue=ue||{}).callback=ue.callback||function(){},ue.html2canvas=ue.html2canvas||{},ue.html2canvas.canvas=ue.html2canvas.canvas||this.canvas,ue.jsPDF=ue.jsPDF||this,ue.jsPDF;var se=new w(ue);return ue.worker?se:se.from(de).doCallback()},Mt.API.addJS=function(de){return D=de,this.internal.events.subscribe("postPutResources",function(ue){C=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(C+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),N=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+D+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){C!==void 0&&N!==void 0&&this.internal.out("/Names <</JavaScript "+C+" 0 R>>")}),this},(B=Mt.API).events.push(["postPutResources",function(){var de=this,ue=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var se=de.outline.render().split(/\r\n/),ae=0;ae<se.length;ae++){var ye=se[ae],Ce=ue.exec(ye);if(Ce!=null){var Oe=Ce[1];de.internal.newObjectDeferredBegin(Oe,!1)}de.internal.write(ye)}if(this.outline.createNamedDestinations){var Te=this.internal.pages.length,xe=[];for(ae=0;ae<Te;ae++){var je=de.internal.newObject();xe.push(je);var ut=de.internal.getPageInfo(ae+1);de.internal.write("<< /D["+ut.objId+" 0 R /XYZ null null null]>> endobj")}var wt=de.internal.newObject();for(de.internal.write("<< /Names [ "),ae=0;ae<xe.length;ae++)de.internal.write("(page_"+(ae+1)+")"+xe[ae]+" 0 R");de.internal.write(" ] >>","endobj"),de.internal.newObject(),de.internal.write("<< /Dests "+wt+" 0 R"),de.internal.write(">>","endobj")}}]),B.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),B.events.push(["initialized",function(){var de=this;de.outline={createNamedDestinations:!1,root:{children:[]}},de.outline.add=function(ue,se,ae){var ye={title:se,options:ae,children:[]};return ue==null&&(ue=this.root),ue.children.push(ye),ye},de.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=de,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},de.outline.genIds_r=function(ue){ue.id=de.internal.newObjectDeferred();for(var se=0;se<ue.children.length;se++)this.genIds_r(ue.children[se])},de.outline.renderRoot=function(ue){this.objStart(ue),this.line("/Type /Outlines"),0<ue.children.length&&(this.line("/First "+this.makeRef(ue.children[0])),this.line("/Last "+this.makeRef(ue.children[ue.children.length-1]))),this.line("/Count "+this.count_r({count:0},ue)),this.objEnd()},de.outline.renderItems=function(ue){this.ctx.pdf.internal.getCoordinateString;for(var se=this.ctx.pdf.internal.getVerticalCoordinateString,ae=0;ae<ue.children.length;ae++){var ye=ue.children[ae];this.objStart(ye),this.line("/Title "+this.makeString(ye.title)),this.line("/Parent "+this.makeRef(ue)),0<ae&&this.line("/Prev "+this.makeRef(ue.children[ae-1])),ae<ue.children.length-1&&this.line("/Next "+this.makeRef(ue.children[ae+1])),0<ye.children.length&&(this.line("/First "+this.makeRef(ye.children[0])),this.line("/Last "+this.makeRef(ye.children[ye.children.length-1])));var Ce=this.count=this.count_r({count:0},ye);if(0<Ce&&this.line("/Count "+Ce),ye.options&&ye.options.pageNumber){var Oe=de.internal.getPageInfo(ye.options.pageNumber);this.line("/Dest ["+Oe.objId+" 0 R /XYZ 0 "+se(0)+" 0]")}this.objEnd()}for(ae=0;ae<ue.children.length;ae++)ye=ue.children[ae],this.renderItems(ye)},de.outline.line=function(ue){this.ctx.val+=ue+`\r
|
|
|
`},de.outline.makeRef=function(ue){return ue.id+" 0 R"},de.outline.makeString=function(ue){return"("+de.internal.pdfEscape(ue)+")"},de.outline.objStart=function(ue){this.ctx.val+=`\r
|
|
|
`+ue.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},de.outline.objEnd=function(ue){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},de.outline.count_r=function(ue,se){for(var ae=0;ae<se.children.length;ae++)ue.count++,this.count_r(ue,se.children[ae]);return ue.count}}]),R=Mt.API,U=function(){var ue=typeof Deflater=="function";if(!ue)throw new Error("requires deflate.js for compression");return ue},M=function(ue,se,ae,ye){var Ce=5,Oe=Z;switch(ye){case R.image_compression.FAST:Ce=3,Oe=k;break;case R.image_compression.MEDIUM:Ce=6,Oe=Y;break;case R.image_compression.SLOW:Ce=9,Oe=_}ue=K(ue,se,ae,Oe);var Te=new Uint8Array(j(Ce)),xe=P(ue),je=new Deflater(Ce),ut=je.append(ue),wt=je.flush(),ee=Te.length+ut.length+wt.length,ie=new Uint8Array(ee+4);return ie.set(Te),ie.set(ut,Te.length),ie.set(wt,Te.length+ut.length),ie[ee++]=xe>>>24&255,ie[ee++]=xe>>>16&255,ie[ee++]=xe>>>8&255,ie[ee++]=255&xe,R.arrayBufferToBinaryString(ie)},j=function(ue,se){var ae=Math.LOG2E*Math.log(32768)-8<<4|8,ye=ae<<8;return ye|=Math.min(3,(se-1&255)>>1)<<6,ye|=0,[ae,255&(ye+=31-ye%31)]},P=function(ue,se){for(var ae,ye=1,Ce=0,Oe=ue.length,Te=0;0<Oe;){for(Oe-=ae=se<Oe?se:Oe;Ce+=ye+=ue[Te++],--ae;);ye%=65521,Ce%=65521}return(Ce<<16|ye)>>>0},K=function(ue,se,ae,ye){for(var Ce,Oe,Te,xe=ue.length/se,je=new Uint8Array(ue.length+xe),ut=X(),wt=0;wt<xe;wt++){if(Te=wt*se,Ce=ue.subarray(Te,Te+se),ye)je.set(ye(Ce,ae,Oe),Te+wt);else{for(var ee=0,ie=ut.length,z=[];ee<ie;ee++)z[ee]=ut[ee](Ce,ae,Oe);var $=he(z.concat());je.set(z[$],Te+wt)}Oe=Ce}return je},H=function(ue,se,ae){var ye=Array.apply([],ue);return ye.unshift(0),ye},k=function(ue,se,ae){var ye,Ce=[],Oe=0,Te=ue.length;for(Ce[0]=1;Oe<Te;Oe++)ye=ue[Oe-se]||0,Ce[Oe+1]=ue[Oe]-ye+256&255;return Ce},Z=function(ue,se,ae){var ye,Ce=[],Oe=0,Te=ue.length;for(Ce[0]=2;Oe<Te;Oe++)ye=ae&&ae[Oe]||0,Ce[Oe+1]=ue[Oe]-ye+256&255;return Ce},Y=function(ue,se,ae){var ye,Ce,Oe=[],Te=0,xe=ue.length;for(Oe[0]=3;Te<xe;Te++)ye=ue[Te-se]||0,Ce=ae&&ae[Te]||0,Oe[Te+1]=ue[Te]+256-(ye+Ce>>>1)&255;return Oe},_=function(ue,se,ae){var ye,Ce,Oe,Te,xe=[],je=0,ut=ue.length;for(xe[0]=4;je<ut;je++)ye=ue[je-se]||0,Ce=ae&&ae[je]||0,Oe=ae&&ae[je-se]||0,Te=Q(ye,Ce,Oe),xe[je+1]=ue[je]-Te+256&255;return xe},Q=function(ue,se,ae){var ye=ue+se-ae,Ce=Math.abs(ye-ue),Oe=Math.abs(ye-se),Te=Math.abs(ye-ae);return Ce<=Oe&&Ce<=Te?ue:Oe<=Te?se:ae},X=function(){return[H,k,Z,Y,_]},he=function(ue){for(var se,ae,ye,Ce=0,Oe=ue.length;Ce<Oe;)((se=te(ue[Ce].slice(1)))<ae||!ae)&&(ae=se,ye=Ce),Ce++;return ye},te=function(ue){for(var se=0,ae=ue.length,ye=0;se<ae;)ye+=Math.abs(ue[se++]);return ye},R.processPNG=function(de,ue,se,ae,ye){var Ce,Oe,Te,xe,je,ut,wt=this.color_spaces.DEVICE_RGB,ee=this.decode.FLATE_DECODE,ie=8;if(this.isArrayBuffer(de)&&(de=new Uint8Array(de)),this.isArrayBufferView(de)){if(typeof PNG!="function"||typeof Xt!="function")throw new Error("PNG support requires png.js and zlib.js");if(de=(Ce=new PNG(de)).imgData,ie=Ce.bits,wt=Ce.colorSpace,xe=Ce.colors,[4,6].indexOf(Ce.colorType)!==-1){if(Ce.bits===8)for(var z,$=(Vt=Ce.pixelBitlength==32?new Uint32Array(Ce.decodePixels().buffer):Ce.pixelBitlength==16?new Uint16Array(Ce.decodePixels().buffer):new Uint8Array(Ce.decodePixels().buffer)).length,le=new Uint8Array($*Ce.colors),ge=new Uint8Array($),Ae=Ce.pixelBitlength-Ce.bits,Me=0,$e=0;Me<$;Me++){for(kt=Vt[Me],z=0;z<Ae;)le[$e++]=kt>>>z&255,z+=Ce.bits;ge[Me]=kt>>>z&255}if(Ce.bits===16){$=(Vt=new Uint32Array(Ce.decodePixels().buffer)).length,le=new Uint8Array($*(32/Ce.pixelBitlength)*Ce.colors),ge=new Uint8Array($*(32/Ce.pixelBitlength));for(var kt,$t=1<Ce.colors,Lt=$e=Me=0;Me<$;)kt=Vt[Me++],le[$e++]=kt>>>0&255,$t&&(le[$e++]=kt>>>16&255,kt=Vt[Me++],le[$e++]=kt>>>0&255),ge[Lt++]=kt>>>16&255;ie=8}ae!==R.image_compression.NONE&&U()?(de=M(le,Ce.width*Ce.colors,Ce.colors,ae),ut=M(ge,Ce.width,1,ae)):(de=le,ut=ge,ee=null)}if(Ce.colorType===3&&(wt=this.color_spaces.INDEXED,je=Ce.palette,Ce.transparency.indexed)){var Ut=Ce.transparency.indexed,Wt=0;for(Me=0,$=Ut.length;Me<$;++Me)Wt+=Ut[Me];if((Wt/=255)==$-1&&Ut.indexOf(0)!==-1)Te=[Ut.indexOf(0)];else if(Wt!==$){var Vt=Ce.decodePixels();for(ge=new Uint8Array(Vt.length),Me=0,$=Vt.length;Me<$;Me++)ge[Me]=Ut[Vt[Me]];ut=M(ge,Ce.width,1)}}var Tt=function(ur){var qt;switch(ur){case R.image_compression.FAST:qt=11;break;case R.image_compression.MEDIUM:qt=13;break;case R.image_compression.SLOW:qt=14;break;default:qt=12}return qt}(ae);return Oe=ee===this.decode.FLATE_DECODE?"/Predictor "+Tt+" /Colors "+xe+" /BitsPerComponent "+ie+" /Columns "+Ce.width:"/Colors "+xe+" /BitsPerComponent "+ie+" /Columns "+Ce.width,(this.isArrayBuffer(de)||this.isArrayBufferView(de))&&(de=this.arrayBufferToBinaryString(de)),(ut&&this.isArrayBuffer(ut)||this.isArrayBufferView(ut))&&(ut=this.arrayBufferToBinaryString(ut)),this.createImageInfo(de,Ce.width,Ce.height,wt,ie,ee,ue,se,Oe,Te,je,ut,Tt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(fe=Mt.API).processGIF89A=function(de,ue,se,ae,ye){var Ce=new It(de),Oe=Ce.width,Te=Ce.height,xe=[];Ce.decodeAndBlitFrameRGBA(0,xe);var je={data:xe,width:Oe,height:Te},ut=new Gt(100).encode(je,100);return fe.processJPEG.call(this,ut,ue,se,ae)},fe.processGIF87A=fe.processGIF89A,(be=Mt.API).processBMP=function(de,ue,se,ae,ye){var Ce=new Jt(de,!1),Oe=Ce.width,Te=Ce.height,xe={data:Ce.getData(),width:Oe,height:Te},je=new Gt(100).encode(xe,100);return be.processJPEG.call(this,je,ue,se,ae)},Mt.API.setLanguage=function(de){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[de]!==void 0&&(this.internal.languageSettings.languageCode=de,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},we=Mt.API,Ke=we.getCharWidthsArray=function(de,ue){var se,ae,ye,Ce=(ue=ue||{}).font||this.internal.getFont(),Oe=ue.fontSize||this.internal.getFontSize(),Te=ue.charSpace||this.internal.getCharSpace(),xe=ue.widths?ue.widths:Ce.metadata.Unicode.widths,je=xe.fof?xe.fof:1,ut=ue.kerning?ue.kerning:Ce.metadata.Unicode.kerning,wt=ut.fof?ut.fof:1,ee=0,ie=xe[0]||je,z=[];for(se=0,ae=de.length;se<ae;se++)ye=de.charCodeAt(se),typeof Ce.metadata.widthOfString=="function"?z.push((Ce.metadata.widthOfGlyph(Ce.metadata.characterToGlyph(ye))+Te*(1e3/Oe)||0)/1e3):z.push((xe[ye]||ie)/je+(ut[ye]&&ut[ye][ee]||0)/wt),ee=ye;return z},qe=we.getArraySum=function(de){for(var ue=de.length,se=0;ue;)se+=de[--ue];return se},xt=we.getStringUnitWidth=function(de,ue){var se=(ue=ue||{}).fontSize||this.internal.getFontSize(),ae=ue.font||this.internal.getFont(),ye=ue.charSpace||this.internal.getCharSpace();return typeof ae.metadata.widthOfString=="function"?ae.metadata.widthOfString(de,se,ye)/se:qe(Ke.apply(this,arguments))},Fe=function(ue,se,ae,ye){for(var Ce=[],Oe=0,Te=ue.length,xe=0;Oe!==Te&&xe+se[Oe]<ae;)xe+=se[Oe],Oe++;Ce.push(ue.slice(0,Oe));var je=Oe;for(xe=0;Oe!==Te;)xe+se[Oe]>ye&&(Ce.push(ue.slice(je,Oe)),xe=0,je=Oe),xe+=se[Oe],Oe++;return je!==Oe&&Ce.push(ue.slice(je,Oe)),Ce},Be=function(ue,se,ae){ae||(ae={});var ye,Ce,Oe,Te,xe,je,ut=[],wt=[ut],ee=ae.textIndent||0,ie=0,z=0,$=ue.split(" "),le=Ke.apply(this,[" ",ae])[0];if(je=ae.lineIndent===-1?$[0].length+2:ae.lineIndent||0){var ge=Array(je).join(" "),Ae=[];$.map(function(kt){1<(kt=kt.split(/\s*\n/)).length?Ae=Ae.concat(kt.map(function($t,Lt){return(Lt&&$t.length?`
|
|
|
`:"")+$t})):Ae.push(kt[0])}),$=Ae,je=xt.apply(this,[ge,ae])}for(Oe=0,Te=$.length;Oe<Te;Oe++){var Me=0;if(ye=$[Oe],je&&ye[0]==`
|
|
|
`&&(ye=ye.substr(1),Me=1),Ce=Ke.apply(this,[ye,ae]),se<ee+ie+(z=qe(Ce))||Me){if(se<z){for(xe=Fe.apply(this,[ye,Ce,se-(ee+ie),se]),ut.push(xe.shift()),ut=[xe.pop()];xe.length;)wt.push([xe.shift()]);z=qe(Ce.slice(ye.length-(ut[0]?ut[0].length:0)))}else ut=[ye];wt.push(ut),ee=z+je,ie=le}else ut.push(ye),ee+=ie+z,ie=le}if(je)var $e=function($t,Lt){return(Lt?ge:"")+$t.join(" ")};else $e=function($t){return $t.join(" ")};return wt.map($e)},we.splitTextToSize=function(de,ue,se){var ae,ye=(se=se||{}).fontSize||this.internal.getFontSize(),Ce=function(ut){var wt={0:1},ee={};if(ut.widths&&ut.kerning)return{widths:ut.widths,kerning:ut.kerning};var ie=this.internal.getFont(ut.fontName,ut.fontStyle),z="Unicode";return ie.metadata[z]?{widths:ie.metadata[z].widths||wt,kerning:ie.metadata[z].kerning||ee}:{font:ie.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,se);ae=Array.isArray(de)?de:de.split(/\r?\n/);var Oe=1*this.internal.scaleFactor*ue/ye;Ce.textIndent=se.textIndent?1*se.textIndent*this.internal.scaleFactor/ye:0,Ce.lineIndent=se.lineIndent;var Te,xe,je=[];for(Te=0,xe=ae.length;Te<xe;Te++)je=je.concat(Be.apply(this,[ae[Te],Oe,Ce]));return je},bt=Mt.API,tt={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(lt=function(ue){for(var se="klmnopqrstuvwxyz",ae={},ye=0;ye<se.length;ye++)ae[se[ye]]="0123456789abcdef"[ye];var Ce,Oe,Te,xe,je,ut={},wt=1,ee=ut,ie=[],z="",$="",le=ue.length-1;for(ye=1;ye!=le;)je=ue[ye],ye+=1,je=="'"?Oe=Oe?(xe=Oe.join(""),Ce):[]:Oe?Oe.push(je):je=="{"?(ie.push([ee,xe]),ee={},xe=Ce):je=="}"?((Te=ie.pop())[0][Te[1]]=ee,xe=Ce,ee=Te[0]):je=="-"?wt=-1:xe===Ce?ae.hasOwnProperty(je)?(z+=ae[je],xe=parseInt(z,16)*wt,wt=1,z=""):z+=je:ae.hasOwnProperty(je)?($+=ae[je],ee[xe]=parseInt($,16)*wt,wt=1,xe=Ce,$=""):$+=je;return ut})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},St={Unicode:{Courier:tt,"Courier-Bold":tt,"Courier-BoldOblique":tt,"Courier-Oblique":tt,Helvetica:tt,"Helvetica-Bold":tt,"Helvetica-BoldOblique":tt,"Helvetica-Oblique":tt,"Times-Roman":tt,"Times-Bold":tt,"Times-BoldItalic":tt,"Times-Italic":tt}},ht={Unicode:{"Courier-Oblique":lt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":lt("{'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":lt("{'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:lt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":lt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":lt("{'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:lt("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:lt("{'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":lt("{'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:lt("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":lt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":lt("{'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":lt("{'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":lt("{'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}}}")}},bt.events.push(["addFont",function(de){var ue,se,ae,ye=de.font,Ce="Unicode";(ue=ht[Ce][ye.postScriptName])&&((se=ye.metadata[Ce]?ye.metadata[Ce]:ye.metadata[Ce]={}).widths=ue.widths,se.kerning=ue.kerning),(ae=St[Ce][ye.postScriptName])&&((se=ye.metadata[Ce]?ye.metadata[Ce]:ye.metadata[Ce]={}).encoding=ae).codePages&&ae.codePages.length&&(ye.encoding=ae.codePages[0])}]),vt=Mt,typeof self!="undefined"&&self||typeof d!="undefined"&&d||typeof window!="undefined"&&window||Function("return this")(),vt.API.events.push(["addFont",function(de){var ue=de.font,se=de.instance;if(se!==void 0&&se.existsFileInVFS(ue.postScriptName)){var ae=se.getFileFromVFS(ue.postScriptName);if(typeof ae!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ue.postScriptName+"').");ue.metadata=vt.API.TTFFont.open(ue.postScriptName,ue.fontName,ae,ue.encoding),ue.metadata.Unicode=ue.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ue.metadata.glyIdsUsed=[0]}else if(ue.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ue.postScriptName+"').")}]),(Ge=Mt.API).addSvg=function(de,ue,se,ae,ye){if(ue===void 0||se===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function Ce(Ut){for(var Wt=parseFloat(Ut[1]),Vt=parseFloat(Ut[2]),Tt=[],ur=3,qt=Ut.length;ur<qt;)Ut[ur]==="c"?(Tt.push([parseFloat(Ut[ur+1]),parseFloat(Ut[ur+2]),parseFloat(Ut[ur+3]),parseFloat(Ut[ur+4]),parseFloat(Ut[ur+5]),parseFloat(Ut[ur+6])]),ur+=7):Ut[ur]==="l"?(Tt.push([parseFloat(Ut[ur+1]),parseFloat(Ut[ur+2])]),ur+=3):ur+=1;return[Wt,Vt,Tt]}var Oe,Te,xe,je,ut,wt,ee,ie,z=(je=document,ie=je.createElement("iframe"),ut=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(ee=(wt=je).createElement("style")).type="text/css",ee.styleSheet?ee.styleSheet.cssText=ut:ee.appendChild(wt.createTextNode(ut)),wt.getElementsByTagName("head")[0].appendChild(ee),ie.name="childframe",ie.setAttribute("width",0),ie.setAttribute("height",0),ie.setAttribute("frameborder","0"),ie.setAttribute("scrolling","no"),ie.setAttribute("seamless","seamless"),ie.setAttribute("class","jsPDF_sillysvg_iframe"),je.body.appendChild(ie),ie),$=(Oe=de,(xe=((Te=z).contentWindow||Te.contentDocument).document).write(Oe),xe.close(),xe.getElementsByTagName("svg")[0]),le=[1,1],ge=parseFloat($.getAttribute("width")),Ae=parseFloat($.getAttribute("height"));ge&&Ae&&(ae&&ye?le=[ae/ge,ye/Ae]:ae?le=[ae/ge,ae/ge]:ye&&(le=[ye/Ae,ye/Ae]));var Me,$e,kt,$t,Lt=$.childNodes;for(Me=0,$e=Lt.length;Me<$e;Me++)(kt=Lt[Me]).tagName&&kt.tagName.toUpperCase()==="PATH"&&(($t=Ce(kt.getAttribute("d").split(" ")))[0]=$t[0]*le[0]+ue,$t[1]=$t[1]*le[1]+se,this.lines.call(this,$t[2],$t[0],$t[1],le));return this},Ge.addSVG=Ge.addSvg,Ge.addSvgAsImage=function(de,ue,se,ae,ye,Ce,Oe,Te){if(isNaN(ue)||isNaN(se))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(ae)||isNaN(ye))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var xe=document.createElement("canvas");xe.width=ae,xe.height=ye;var je=xe.getContext("2d");return je.fillStyle="#fff",je.fillRect(0,0,xe.width,xe.height),canvg(xe,de,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(xe.toDataURL("image/jpeg",1),ue,se,ae,ye,Oe,Te),this},Mt.API.putTotalPages=function(de){var ue,se=0;se=parseInt(this.internal.getFont().id.substr(1),10)<15?(ue=new RegExp(de,"g"),this.internal.getNumberOfPages()):(ue=new RegExp(this.pdfEscape16(de,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var ae=1;ae<=this.internal.getNumberOfPages();ae++)for(var ye=0;ye<this.internal.pages[ae].length;ye++)this.internal.pages[ae][ye]=this.internal.pages[ae][ye].replace(ue,se);return this},Mt.API.viewerPreferences=function(de,ue){var se;de=de||{},ue=ue||!1;var ae,ye,Ce={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}},Oe=Object.keys(Ce),Te=[],xe=0,je=0,ut=0,wt=!0;function ee(z,$){var le,ge=!1;for(le=0;le<z.length;le+=1)z[le]===$&&(ge=!0);return ge}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ce)),this.internal.viewerpreferences.isSubscribed=!1),se=this.internal.viewerpreferences.configuration,de==="reset"||ue===!0){var ie=Oe.length;for(ut=0;ut<ie;ut+=1)se[Oe[ut]].value=se[Oe[ut]].defaultValue,se[Oe[ut]].explicitSet=!1}if(p(de)==="object"){for(ae in de)if(ye=de[ae],ee(Oe,ae)&&ye!==void 0){if(se[ae].type==="boolean"&&typeof ye=="boolean")se[ae].value=ye;else if(se[ae].type==="name"&&ee(se[ae].valueSet,ye))se[ae].value=ye;else if(se[ae].type==="integer"&&Number.isInteger(ye))se[ae].value=ye;else if(se[ae].type==="array"){for(xe=0;xe<ye.length;xe+=1)if(wt=!0,ye[xe].length===1&&typeof ye[xe][0]=="number")Te.push(String(ye[xe]-1));else if(1<ye[xe].length){for(je=0;je<ye[xe].length;je+=1)typeof ye[xe][je]!="number"&&(wt=!1);wt===!0&&Te.push([ye[xe][0]-1,ye[xe][1]-1].join(" "))}se[ae].value="["+Te.join(" ")+"]"}else se[ae].value=se[ae].defaultValue;se[ae].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var z,$=[];for(z in se)se[z].explicitSet===!0&&(se[z].type==="name"?$.push("/"+z+" /"+se[z].value):$.push("/"+z+" "+se[z].value));$.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+$.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=se,this},At=Mt.API,Ie=De=_e="",At.addMetadata=function(de,ue){return De=ue||"http://jspdf.default.namespaceuri/",_e=de,this.internal.events.subscribe("postPutResources",function(){if(_e){var se='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+De+'"><jspdf:metadata>',ae=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),ye=unescape(encodeURIComponent(se)),Ce=unescape(encodeURIComponent(_e)),Oe=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Te=unescape(encodeURIComponent("</x:xmpmeta>")),xe=ye.length+Ce.length+Oe.length+ae.length+Te.length;Ie=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+xe+" >>"),this.internal.write("stream"),this.internal.write(ae+ye+Ce+Oe+Te),this.internal.write("endstream"),this.internal.write("endobj")}else Ie=""}),this.internal.events.subscribe("putCatalog",function(){Ie&&this.internal.write("/Metadata "+Ie+" 0 R")}),this},function(de,ue){var se=de.API,ae=se.pdfEscape16=function(Oe,Te){for(var xe,je=Te.metadata.Unicode.widths,ut=["","0","00","000","0000"],wt=[""],ee=0,ie=Oe.length;ee<ie;++ee){if(xe=Te.metadata.characterToGlyph(Oe.charCodeAt(ee)),Te.metadata.glyIdsUsed.push(xe),Te.metadata.toUnicode[xe]=Oe.charCodeAt(ee),je.indexOf(xe)==-1&&(je.push(xe),je.push([parseInt(Te.metadata.widthOfGlyph(xe),10)])),xe=="0")return wt.join("");xe=xe.toString(16),wt.push(ut[4-xe.length],xe)}return wt.join("")},ye=function(Te){var xe,je,ut,wt,ee,ie,z;for(ee=`/CIDInit /ProcSet findresource begin
|
|
|
12 dict begin
|
|
|
begincmap
|
|
|
/CIDSystemInfo <<
|
|
|
/Registry (Adobe)
|
|
|
/Ordering (UCS)
|
|
|
/Supplement 0
|
|
|
>> def
|
|
|
/CMapName /Adobe-Identity-UCS def
|
|
|
/CMapType 2 def
|
|
|
1 begincodespacerange
|
|
|
<0000><ffff>
|
|
|
endcodespacerange`,ut=[],ie=0,z=(je=Object.keys(Te).sort(function($,le){return $-le})).length;ie<z;ie++)xe=je[ie],100<=ut.length&&(ee+=`
|
|
|
`+ut.length+` beginbfchar
|
|
|
`+ut.join(`
|
|
|
`)+`
|
|
|
endbfchar`,ut=[]),wt=("0000"+Te[xe].toString(16)).slice(-4),xe=("0000"+(+xe).toString(16)).slice(-4),ut.push("<"+xe+"><"+wt+">");return ut.length&&(ee+=`
|
|
|
`+ut.length+` beginbfchar
|
|
|
`+ut.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),ee+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};se.events.push(["putFont",function(Oe){!function(Te,xe,je,ut){if(Te.metadata instanceof de.API.TTFFont&&Te.encoding==="Identity-H"){for(var wt=Te.metadata.Unicode.widths,ee=Te.metadata.subset.encode(Te.metadata.glyIdsUsed,1),ie="",z=0;z<ee.length;z++)ie+=String.fromCharCode(ee[z]);var $=je();ut({data:ie,addLength1:!0}),xe("endobj");var le=je();ut({data:ye(Te.metadata.toUnicode),addLength1:!0}),xe("endobj");var ge=je();xe("<<"),xe("/Type /FontDescriptor"),xe("/FontName /"+Te.fontName),xe("/FontFile2 "+$+" 0 R"),xe("/FontBBox "+de.API.PDFObject.convert(Te.metadata.bbox)),xe("/Flags "+Te.metadata.flags),xe("/StemV "+Te.metadata.stemV),xe("/ItalicAngle "+Te.metadata.italicAngle),xe("/Ascent "+Te.metadata.ascender),xe("/Descent "+Te.metadata.decender),xe("/CapHeight "+Te.metadata.capHeight),xe(">>"),xe("endobj");var Ae=je();xe("<<"),xe("/Type /Font"),xe("/BaseFont /"+Te.fontName),xe("/FontDescriptor "+ge+" 0 R"),xe("/W "+de.API.PDFObject.convert(wt)),xe("/CIDToGIDMap /Identity"),xe("/DW 1000"),xe("/Subtype /CIDFontType2"),xe("/CIDSystemInfo"),xe("<<"),xe("/Supplement 0"),xe("/Registry (Adobe)"),xe("/Ordering ("+Te.encoding+")"),xe(">>"),xe(">>"),xe("endobj"),Te.objectNumber=je(),xe("<<"),xe("/Type /Font"),xe("/Subtype /Type0"),xe("/ToUnicode "+le+" 0 R"),xe("/BaseFont /"+Te.fontName),xe("/Encoding /"+Te.encoding),xe("/DescendantFonts ["+Ae+" 0 R]"),xe(">>"),xe("endobj"),Te.isAlreadyPutted=!0}}(Oe.font,Oe.out,Oe.newObject,Oe.putStream)}]),se.events.push(["putFont",function(Oe){!function(Te,xe,je,ut){if(Te.metadata instanceof de.API.TTFFont&&Te.encoding==="WinAnsiEncoding"){Te.metadata.Unicode.widths;for(var wt=Te.metadata.rawData,ee="",ie=0;ie<wt.length;ie++)ee+=String.fromCharCode(wt[ie]);var z=je();ut({data:ee,addLength1:!0}),xe("endobj");var $=je();ut({data:ye(Te.metadata.toUnicode),addLength1:!0}),xe("endobj");var le=je();for(xe("<<"),xe("/Descent "+Te.metadata.decender),xe("/CapHeight "+Te.metadata.capHeight),xe("/StemV "+Te.metadata.stemV),xe("/Type /FontDescriptor"),xe("/FontFile2 "+z+" 0 R"),xe("/Flags 96"),xe("/FontBBox "+de.API.PDFObject.convert(Te.metadata.bbox)),xe("/FontName /"+Te.fontName),xe("/ItalicAngle "+Te.metadata.italicAngle),xe("/Ascent "+Te.metadata.ascender),xe(">>"),xe("endobj"),Te.objectNumber=je(),ie=0;ie<Te.metadata.hmtx.widths.length;ie++)Te.metadata.hmtx.widths[ie]=parseInt(Te.metadata.hmtx.widths[ie]*(1e3/Te.metadata.head.unitsPerEm));xe("<</Subtype/TrueType/Type/Font/ToUnicode "+$+" 0 R/BaseFont/"+Te.fontName+"/FontDescriptor "+le+" 0 R/Encoding/"+Te.encoding+" /FirstChar 29 /LastChar 255 /Widths "+de.API.PDFObject.convert(Te.metadata.hmtx.widths)+">>"),xe("endobj"),Te.isAlreadyPutted=!0}}(Oe.font,Oe.out,Oe.newObject,Oe.putStream)}]);var Ce=function(Te){var xe,je,ut=Te.text||"",wt=Te.x,ee=Te.y,ie=Te.options||{},z=Te.mutex||{},$=z.pdfEscape,le=z.activeFontKey,ge=z.fonts,Ae=(z.activeFontSize,""),Me=0,$e="",kt=ge[je=le].encoding;if(ge[je].encoding!=="Identity-H")return{text:ut,x:wt,y:ee,options:ie,mutex:z};for($e=ut,je=le,Object.prototype.toString.call(ut)==="[object Array]"&&($e=ut[0]),Me=0;Me<$e.length;Me+=1)ge[je].metadata.hasOwnProperty("cmap")&&(xe=ge[je].metadata.cmap.unicode.codeMap[$e[Me].charCodeAt(0)]),xe||$e[Me].charCodeAt(0)<256&&ge[je].metadata.hasOwnProperty("Unicode")?Ae+=$e[Me]:Ae+="";var $t="";return parseInt(je.slice(1))<14||kt==="WinAnsiEncoding"?$t=function(Lt){for(var Ut="",Wt=0;Wt<Lt.length;Wt++)Ut+=""+Lt.charCodeAt(Wt).toString(16);return Ut}($(Ae,je)):kt==="Identity-H"&&($t=ae(Ae,ge[je])),z.isHex=!0,{text:$t,x:wt,y:ee,options:ie,mutex:z}};se.events.push(["postProcessText",function(Oe){var Te=Oe.text||"",xe=Oe.x,je=Oe.y,ut=Oe.options,wt=Oe.mutex,ee=(ut.lang,[]),ie={text:Te,x:xe,y:je,options:ut,mutex:wt};if(Object.prototype.toString.call(Te)==="[object Array]"){var z=0;for(z=0;z<Te.length;z+=1)Object.prototype.toString.call(Te[z])==="[object Array]"&&Te[z].length===3?ee.push([Ce(Object.assign({},ie,{text:Te[z][0]})).text,Te[z][1],Te[z][2]]):ee.push(Ce(Object.assign({},ie,{text:Te[z]})).text);Oe.text=ee}else Oe.text=Ce(Object.assign({},ie,{text:Te})).text}])}(Mt,typeof self!="undefined"&&self||typeof d!="undefined"&&d||typeof window!="undefined"&&window||Function("return this")()),st=Mt.API,Et=function(ue){return ue!==void 0&&(ue.vFS===void 0&&(ue.vFS={}),!0)},st.existsFileInVFS=function(de){return!!Et(this.internal)&&this.internal.vFS[de]!==void 0},st.addFileToVFS=function(de,ue){return Et(this.internal),this.internal.vFS[de]=ue,this},st.getFileFromVFS=function(de){return Et(this.internal),this.internal.vFS[de]!==void 0?this.internal.vFS[de]:null},Mt.API.addHTML=function(de,ue,se,ae,ye){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof ue!="number"&&(ae=ue,ye=se),typeof ae=="function"&&(ye=ae,ae=null),typeof ye!="function"&&(ye=function(){});var Ce=this.internal,Oe=Ce.scaleFactor,Te=Ce.pageSize.getWidth(),xe=Ce.pageSize.getHeight();if((ae=ae||{}).onrendered=function(ut){ue=parseInt(ue)||0,se=parseInt(se)||0;var wt=ae.dim||{},ee=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},ae.margin),ie=wt.h||Math.min(xe,ut.height/Oe),z=wt.w||Math.min(Te,ut.width/Oe)-ue,$=ae.format||"JPEG",le=ae.imageCompression||"SLOW";if(ut.height>xe-ee.top-ee.bottom&&ae.pagesplit){var ge=function(Lt,Ut,Wt,Vt,Tt){var ur=document.createElement("canvas");ur.height=Tt,ur.width=Vt;var qt=ur.getContext("2d");return qt.mozImageSmoothingEnabled=!1,qt.webkitImageSmoothingEnabled=!1,qt.msImageSmoothingEnabled=!1,qt.imageSmoothingEnabled=!1,qt.fillStyle=ae.backgroundColor||"#ffffff",qt.fillRect(0,0,Vt,Tt),qt.drawImage(Lt,Ut,Wt,Vt,Tt,0,0,Vt,Tt),ur},Ae=function(){for(var $t,Lt,Ut=0,Wt=0,Vt={},Tt=!1;;){var ur;if(Wt=0,Vt.top=Ut!==0?ee.top:se,Vt.left=Ut!==0?ee.left:ue,Tt=(Te-ee.left-ee.right)*Oe<ut.width,ee.useFor==="content"?Ut===0?($t=Math.min((Te-ee.left)*Oe,ut.width),Lt=Math.min((xe-ee.top)*Oe,ut.height-Ut)):($t=Math.min(Te*Oe,ut.width),Lt=Math.min(xe*Oe,ut.height-Ut),Vt.top=0):($t=Math.min((Te-ee.left-ee.right)*Oe,ut.width),Lt=Math.min((xe-ee.bottom-ee.top)*Oe,ut.height-Ut)),Tt)for(;;){ee.useFor==="content"&&(Wt===0?$t=Math.min((Te-ee.left)*Oe,ut.width):($t=Math.min(Te*Oe,ut.width-Wt),Vt.left=0));var qt=[ur=ge(ut,Wt,Ut,$t,Lt),Vt.left,Vt.top,ur.width/Oe,ur.height/Oe,$,null,le];if(this.addImage.apply(this,qt),(Wt+=$t)>=ut.width)break;this.addPage()}else qt=[ur=ge(ut,0,Ut,$t,Lt),Vt.left,Vt.top,ur.width/Oe,ur.height/Oe,$,null,le],this.addImage.apply(this,qt);if((Ut+=Lt)>=ut.height)break;this.addPage()}ye(z,Ut,null,qt)}.bind(this);if(ut.nodeName==="CANVAS"){var Me=new Image;Me.onload=Ae,Me.src=ut.toDataURL("image/png"),ut=Me}else Ae()}else{var $e=Math.random().toString(35),kt=[ut,ue,se,z,ie,$,$e,le];this.addImage.apply(this,kt),ye(z,ie,$e,kt)}}.bind(this),typeof html2canvas!="undefined"&&!ae.rstz)return html2canvas(de,ae);if(typeof rasterizeHTML=="undefined")return null;var je="drawDocument";return typeof de=="string"&&(je=/^http/.test(de)?"drawURL":"drawHTML"),ae.width=ae.width||Te*Oe,rasterizeHTML[je](de,void 0,ae).then(function(ut){ae.onrendered(ut.image)},function(ut){ye(null,ut)})},function(de){var ue,se,ae,ye,Ce,Oe,Te,xe,je,ut,wt,ee,ie,z,$,le,ge,Ae,Me,$e;ue=function(){return function(Ut){return Lt.prototype=Ut,new Lt};function Lt(){}}(),ut=function(Ut){var Wt,Vt,Tt,ur,qt,ze,nt;for(Vt=0,Tt=Ut.length,Wt=void 0,ze=ur=!1;!ur&&Vt!==Tt;)(Wt=Ut[Vt]=Ut[Vt].trimLeft())&&(ur=!0),Vt++;for(Vt=Tt-1;Tt&&!ze&&Vt!==-1;)(Wt=Ut[Vt]=Ut[Vt].trimRight())&&(ze=!0),Vt--;for(qt=/\s+$/g,nt=!0,Vt=0;Vt!==Tt;)Ut[Vt]!="\u2028"&&(Wt=Ut[Vt].replace(/\s+/g," "),nt&&(Wt=Wt.trimLeft()),Wt&&(nt=qt.test(Wt)),Ut[Vt]=Wt),Vt++;return Ut},ee=function(Ut){var Wt,Vt,Tt;for(Wt=void 0,Vt=(Tt=Ut.split(",")).shift();!Wt&&Vt;)Wt=ae[Vt.trim().toLowerCase()],Vt=Tt.shift();return Wt},ie=function(Ut){var Wt;return-1<(Ut=Ut==="auto"?"0px":Ut).indexOf("em")&&!isNaN(Number(Ut.replace("em","")))&&(Ut=18.719*Number(Ut.replace("em",""))+"px"),-1<Ut.indexOf("pt")&&!isNaN(Number(Ut.replace("pt","")))&&(Ut=1.333*Number(Ut.replace("pt",""))+"px"),(Wt=z[Ut])?Wt:(Wt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[Ut])!==void 0||(Wt=parseFloat(Ut))?z[Ut]=Wt/16:(Wt=Ut.match(/([\d\.]+)(px)/),Array.isArray(Wt)&&Wt.length===3?z[Ut]=parseFloat(Wt[1])/16:z[Ut]=1)},je=function(Ut){var Wt,Vt,Tt,ur,qt;return qt=Ut,ur=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(qt,null):qt.currentStyle?qt.currentStyle:qt.style,Vt=void 0,(Wt={})["font-family"]=ee((Tt=function(nt){return nt=nt.replace(/-\D/g,function(Ye){return Ye.charAt(1).toUpperCase()}),ur[nt]})("font-family"))||"times",Wt["font-style"]=ye[Tt("font-style")]||"normal",Wt["text-align"]=Ce[Tt("text-align")]||"left",(Vt=Oe[Tt("font-weight")]||"normal")==="bold"&&(Wt["font-style"]==="normal"?Wt["font-style"]=Vt:Wt["font-style"]=Vt+Wt["font-style"]),Wt["font-size"]=ie(Tt("font-size"))||1,Wt["line-height"]=ie(Tt("line-height"))||1,Wt.display=Tt("display")==="inline"?"inline":"block",Vt=Wt.display==="block",Wt["margin-top"]=Vt&&ie(Tt("margin-top"))||0,Wt["margin-bottom"]=Vt&&ie(Tt("margin-bottom"))||0,Wt["padding-top"]=Vt&&ie(Tt("padding-top"))||0,Wt["padding-bottom"]=Vt&&ie(Tt("padding-bottom"))||0,Wt["margin-left"]=Vt&&ie(Tt("margin-left"))||0,Wt["margin-right"]=Vt&&ie(Tt("margin-right"))||0,Wt["padding-left"]=Vt&&ie(Tt("padding-left"))||0,Wt["padding-right"]=Vt&&ie(Tt("padding-right"))||0,Wt["page-break-before"]=Tt("page-break-before")||"auto",Wt.float=Te[Tt("cssFloat")]||"none",Wt.clear=xe[Tt("clear")]||"none",Wt.color=Tt("color"),Wt},$=function(Ut,Wt,Vt){var Tt,ur,qt,ze,nt;if(qt=!1,ze=ur=void 0,Tt=Vt["#"+Ut.id])if(typeof Tt=="function")qt=Tt(Ut,Wt);else for(ur=0,ze=Tt.length;!qt&&ur!==ze;)qt=Tt[ur](Ut,Wt),ur++;if(Tt=Vt[Ut.nodeName],!qt&&Tt)if(typeof Tt=="function")qt=Tt(Ut,Wt);else for(ur=0,ze=Tt.length;!qt&&ur!==ze;)qt=Tt[ur](Ut,Wt),ur++;for(nt=typeof Ut.className=="string"?Ut.className.split(" "):[],ur=0;ur<nt.length;ur++)if(Tt=Vt["."+nt[ur]],!qt&&Tt)if(typeof Tt=="function")qt=Tt(Ut,Wt);else for(ur=0,ze=Tt.length;!qt&&ur!==ze;)qt=Tt[ur](Ut,Wt),ur++;return qt},$e=function(Ut,Wt){var Vt,Tt,ur,qt,ze,nt,Ye,Xe,yt;for(Vt=[],Tt=[],ur=0,yt=Ut.rows[0].cells.length,Ye=Ut.clientWidth;ur<yt;)Xe=Ut.rows[0].cells[ur],Tt[ur]={name:Xe.textContent.toLowerCase().replace(/\s+/g,""),prompt:Xe.textContent.replace(/\r?\n/g,""),width:Xe.clientWidth/Ye*Wt.pdf.internal.pageSize.getWidth()},ur++;for(ur=1;ur<Ut.rows.length;){for(nt=Ut.rows[ur],ze={},qt=0;qt<nt.cells.length;)ze[Tt[qt].name]=nt.cells[qt].textContent.replace(/\r?\n/g,""),qt++;Vt.push(ze),ur++}return{rows:Vt,headers:Tt}};var kt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},$t=1;se=function(Ut,Wt,Vt){var Tt,ur,qt,ze,nt,Ye,Xe,yt;for(ur=Ut.childNodes,Tt=void 0,(nt=(qt=je(Ut)).display==="block")&&(Wt.setBlockBoundary(),Wt.setBlockStyle(qt)),ze=0,Ye=ur.length;ze<Ye;){if(p(Tt=ur[ze])==="object"){if(Wt.executeWatchFunctions(Tt),Tt.nodeType===1&&Tt.nodeName==="HEADER"){var mt=Tt,We=Wt.pdf.margins_doc.top;Wt.pdf.internal.events.subscribe("addPage",function(sr){Wt.y=We,se(mt,Wt,Vt),Wt.pdf.margins_doc.top=Wt.y+10,Wt.y+=10},!1)}if(Tt.nodeType===8&&Tt.nodeName==="#comment")~Tt.textContent.indexOf("ADD_PAGE")&&(Wt.pdf.addPage(),Wt.y=Wt.pdf.margins_doc.top);else if(Tt.nodeType!==1||kt[Tt.nodeName])if(Tt.nodeType===3){var rt=Tt.nodeValue;if(Tt.nodeValue&&Tt.parentNode.nodeName==="LI")if(Tt.parentNode.parentNode.nodeName==="OL")rt=$t+++". "+rt;else{var ft=qt["font-size"],Yt=(3-.75*ft)*Wt.pdf.internal.scaleFactor,Ft=.75*ft*Wt.pdf.internal.scaleFactor,fr=1.74*ft/Wt.pdf.internal.scaleFactor;yt=function(dr,Sr){this.pdf.circle(dr+Yt,Sr+Ft,fr,"FD")}}16&Tt.ownerDocument.body.compareDocumentPosition(Tt)&&Wt.addText(rt,qt)}else typeof Tt=="string"&&Wt.addText(Tt,qt);else{var mr;if(Tt.nodeName==="IMG"){var Er=Tt.getAttribute("src");mr=le[Wt.pdf.sHashCode(Er)||Er]}if(mr){Wt.pdf.internal.pageSize.getHeight()-Wt.pdf.margins_doc.bottom<Wt.y+Tt.height&&Wt.y>Wt.pdf.margins_doc.top&&(Wt.pdf.addPage(),Wt.y=Wt.pdf.margins_doc.top,Wt.executeWatchFunctions(Tt));var Lr=je(Tt),en=Wt.x,Qr=12/Wt.pdf.internal.scaleFactor,Cr=(Lr["margin-left"]+Lr["padding-left"])*Qr,Gr=(Lr["margin-right"]+Lr["padding-right"])*Qr,Nr=(Lr["margin-top"]+Lr["padding-top"])*Qr,lr=(Lr["margin-bottom"]+Lr["padding-bottom"])*Qr;Lr.float!==void 0&&Lr.float==="right"?en+=Wt.settings.width-Tt.width-Gr:en+=Cr,Wt.pdf.addImage(mr,en,Wt.y+Nr,Tt.width,Tt.height),mr=void 0,Lr.float==="right"||Lr.float==="left"?(Wt.watchFunctions.push(function(sr,dr,Sr,Xr){return Wt.y>=dr?(Wt.x+=sr,Wt.settings.width+=Sr,!0):!!(Xr&&Xr.nodeType===1&&!kt[Xr.nodeName]&&Wt.x+Xr.width>Wt.pdf.margins_doc.left+Wt.pdf.margins_doc.width)&&(Wt.x+=sr,Wt.y=dr,Wt.settings.width+=Sr,!0)}.bind(this,Lr.float==="left"?-Tt.width-Cr-Gr:0,Wt.y+Tt.height+Nr+lr,Tt.width)),Wt.watchFunctions.push(function(sr,dr,Sr){return!(Wt.y<sr&&dr===Wt.pdf.internal.getNumberOfPages())||Sr.nodeType===1&&je(Sr).clear==="both"&&(Wt.y=sr,!0)}.bind(this,Wt.y+Tt.height,Wt.pdf.internal.getNumberOfPages())),Wt.settings.width-=Tt.width+Cr+Gr,Lr.float==="left"&&(Wt.x+=Tt.width+Cr+Gr)):Wt.y+=Tt.height+Nr+lr}else if(Tt.nodeName==="TABLE")Xe=$e(Tt,Wt),Wt.y+=10,Wt.pdf.table(Wt.x,Wt.y,Xe.rows,Xe.headers,{autoSize:!1,printHeaders:Vt.printHeaders,margins:Wt.pdf.margins_doc,css:je(Tt)}),Wt.y=Wt.pdf.lastCellPos.y+Wt.pdf.lastCellPos.h+20;else if(Tt.nodeName==="OL"||Tt.nodeName==="UL")$t=1,$(Tt,Wt,Vt)||se(Tt,Wt,Vt),Wt.y+=10;else if(Tt.nodeName==="LI"){var pr=Wt.x;Wt.x+=20/Wt.pdf.internal.scaleFactor,Wt.y+=3,$(Tt,Wt,Vt)||se(Tt,Wt,Vt),Wt.x=pr}else Tt.nodeName==="BR"?(Wt.y+=qt["font-size"]*Wt.pdf.internal.scaleFactor,Wt.addText("\u2028",ue(qt))):$(Tt,Wt,Vt)||se(Tt,Wt,Vt)}}ze++}if(Vt.outY=Wt.y,nt)return Wt.setBlockBoundary(yt)},le={},ge=function(Ut,Wt,Vt,Tt){var ur,qt=Ut.getElementsByTagName("img"),ze=qt.length,nt=0;function Ye(){Wt.pdf.internal.events.publish("imagesLoaded"),Tt(ur)}function Xe(yt,mt,We){if(yt){var rt=new Image;ur=++nt,rt.crossOrigin="",rt.onerror=rt.onload=function(){if(rt.complete&&(rt.src.indexOf("data:image/")===0&&(rt.width=mt||rt.width||0,rt.height=We||rt.height||0),rt.width+rt.height)){var ft=Wt.pdf.sHashCode(yt)||yt;le[ft]=le[ft]||rt}--nt||Ye()},rt.src=yt}}for(;ze--;)Xe(qt[ze].getAttribute("src"),qt[ze].width,qt[ze].height);return nt||Ye()},Ae=function(Ut,Wt,Vt){var Tt=Ut.getElementsByTagName("footer");if(0<Tt.length){Tt=Tt[0];var ur=Wt.pdf.internal.write,qt=Wt.y;Wt.pdf.internal.write=function(){},se(Tt,Wt,Vt);var ze=Math.ceil(Wt.y-qt)+5;Wt.y=qt,Wt.pdf.internal.write=ur,Wt.pdf.margins_doc.bottom+=ze;for(var nt=function(mt){var We=mt!==void 0?mt.pageNumber:1,rt=Wt.y;Wt.y=Wt.pdf.internal.pageSize.getHeight()-Wt.pdf.margins_doc.bottom,Wt.pdf.margins_doc.bottom-=ze;for(var ft=Tt.getElementsByTagName("span"),Yt=0;Yt<ft.length;++Yt)-1<(" "+ft[Yt].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(ft[Yt].innerHTML=We),-1<(" "+ft[Yt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(ft[Yt].innerHTML="###jsPDFVarTotalPages###");se(Tt,Wt,Vt),Wt.pdf.margins_doc.bottom+=ze,Wt.y=rt},Ye=Tt.getElementsByTagName("span"),Xe=0;Xe<Ye.length;++Xe)-1<(" "+Ye[Xe].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Wt.pdf.internal.events.subscribe("htmlRenderingFinished",Wt.pdf.putTotalPages.bind(Wt.pdf,"###jsPDFVarTotalPages###"),!0);Wt.pdf.internal.events.subscribe("addPage",nt,!1),nt(),kt.FOOTER=1}},Me=function(Ut,Wt,Vt,Tt,ur,qt){if(!Wt)return!1;var ze,nt,Ye,Xe;typeof Wt=="string"||Wt.parentNode||(Wt=""+Wt.innerHTML),typeof Wt=="string"&&(ze=Wt.replace(/<\/?script[^>]*?>/gi,""),Xe="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(Ye=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",Ye.innerHTML='<iframe style="height:1px;width:1px" name="'+Xe+'" />',document.body.appendChild(Ye),(nt=window.frames[Xe]).document.open(),nt.document.writeln(ze),nt.document.close(),Wt=nt.document.body);var yt,mt=new wt(Ut,Vt,Tt,ur);return ge.call(this,Wt,mt,ur.elementHandlers,function(We){Ae(Wt,mt,ur.elementHandlers),se(Wt,mt,ur.elementHandlers),mt.pdf.internal.events.publish("htmlRenderingFinished"),yt=mt.dispose(),typeof qt=="function"?qt(yt):We&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),yt||{x:mt.x,y:mt.y}},(wt=function(Ut,Wt,Vt,Tt){return this.pdf=Ut,this.x=Wt,this.y=Vt,this.settings=Tt,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},wt.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},wt.prototype.executeWatchFunctions=function(Lt){var Ut=!1,Wt=[];if(0<this.watchFunctions.length){for(var Vt=0;Vt<this.watchFunctions.length;++Vt)this.watchFunctions[Vt](Lt)===!0?Ut=!0:Wt.push(this.watchFunctions[Vt]);this.watchFunctions=Wt}return Ut},wt.prototype.splitFragmentsIntoLines=function(Lt,Ut){var Wt,Vt,Tt,ur,qt,ze,nt,Ye,Xe,yt,mt,We,rt,ft;for(yt=this.pdf.internal.scaleFactor,ur={},ze=nt=Ye=ft=qt=Tt=Xe=Vt=void 0,We=[mt=[]],Wt=0,rt=this.settings.width;Lt.length;)if(qt=Lt.shift(),ft=Ut.shift(),qt)if((Tt=ur[(Vt=ft["font-family"])+(Xe=ft["font-style"])])||(Tt=this.pdf.internal.getFont(Vt,Xe).metadata.Unicode,ur[Vt+Xe]=Tt),Ye={widths:Tt.widths,kerning:Tt.kerning,fontSize:12*ft["font-size"],textIndent:Wt},nt=this.pdf.getStringUnitWidth(qt,Ye)*Ye.fontSize/yt,qt=="\u2028")mt=[],We.push(mt);else if(rt<Wt+nt){for(ze=this.pdf.splitTextToSize(qt,rt,Ye),mt.push([ze.shift(),ft]);ze.length;)mt=[[ze.shift(),ft]],We.push(mt);Wt=this.pdf.getStringUnitWidth(mt[0][0],Ye)*Ye.fontSize/yt}else mt.push([qt,ft]),Wt+=nt;if(ft["text-align"]!==void 0&&(ft["text-align"]==="center"||ft["text-align"]==="right"||ft["text-align"]==="justify"))for(var Yt=0;Yt<We.length;++Yt){var Ft=this.pdf.getStringUnitWidth(We[Yt][0][0],Ye)*Ye.fontSize/yt;0<Yt&&(We[Yt][0][1]=ue(We[Yt][0][1]));var fr=rt-Ft;if(ft["text-align"]==="right")We[Yt][0][1]["margin-left"]=fr;else if(ft["text-align"]==="center")We[Yt][0][1]["margin-left"]=fr/2;else if(ft["text-align"]==="justify"){var mr=We[Yt][0][0].split(" ").length-1;We[Yt][0][1]["word-spacing"]=fr/mr,Yt===We.length-1&&(We[Yt][0][1]["word-spacing"]=0)}}return We},wt.prototype.RenderTextFragment=function(Lt,Ut){var Wt,Vt;Vt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(Ut.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Vt=Math.max(Vt,Ut["line-height"],Ut["font-size"]),this.pdf.internal.write(0,(-12*Vt).toFixed(2),"Td")),Wt=this.pdf.internal.getFont(Ut["font-family"],Ut["font-style"]);var Tt=this.getPdfColor(Ut.color);Tt!==this.lastTextColor&&(this.pdf.internal.write(Tt),this.lastTextColor=Tt),Ut["word-spacing"]!==void 0&&0<Ut["word-spacing"]&&this.pdf.internal.write(Ut["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Wt.id,(12*Ut["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Lt)+") Tj"),Ut["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},wt.prototype.getPdfColor=function(Lt){var Ut,Wt,Vt,Tt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Lt);if(Tt!=null)Ut=parseInt(Tt[1]),Wt=parseInt(Tt[2]),Vt=parseInt(Tt[3]);else{if(typeof Lt=="string"&&Lt.charAt(0)!="#"){var ur=new RGBColor(Lt);Lt=ur.ok?ur.toHex():"#000000"}Ut=Lt.substring(1,3),Ut=parseInt(Ut,16),Wt=Lt.substring(3,5),Wt=parseInt(Wt,16),Vt=Lt.substring(5,7),Vt=parseInt(Vt,16)}if(typeof Ut=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ut)){var qt=parseInt(Ut.substr(1),16);Ut=qt>>16&255,Wt=qt>>8&255,Vt=255&qt}var ze=this.f3;return Ut===0&&Wt===0&&Vt===0||Wt===void 0?ze(Ut/255)+" g":[ze(Ut/255),ze(Wt/255),ze(Vt/255),"rg"].join(" ")},wt.prototype.f3=function(Lt){return Lt.toFixed(3)},wt.prototype.renderParagraph=function(Lt){var Ut,Wt,Vt,Tt,ur,qt,ze,nt,Ye,Xe,yt,mt,We;if(Vt=ut(this.paragraph.text),mt=this.paragraph.style,Ut=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:Ut},Vt.join("").trim()){ze=this.splitFragmentsIntoLines(Vt,mt),nt=qt=void 0,Wt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,yt=(Math.max((Ut["margin-top"]||0)-this.priorMarginBottom,0)+(Ut["padding-top"]||0))*Wt,Xe=((Ut["margin-bottom"]||0)+(Ut["padding-bottom"]||0))*Wt,this.priorMarginBottom=Ut["margin-bottom"]||0,Ut["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,yt=((Ut["margin-top"]||0)+(Ut["padding-top"]||0))*Wt),Ye=this.pdf.internal.write,ur=Tt=void 0,this.y+=yt,Ye("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var rt=0;ze.length;){for(Tt=nt=0,ur=(qt=ze.shift()).length;Tt!==ur;)qt[Tt][0].trim()&&(nt=Math.max(nt,qt[Tt][1]["line-height"],qt[Tt][1]["font-size"]),We=7*qt[Tt][1]["font-size"]),Tt++;var ft=0,Yt=0;for(qt[0][1]["margin-left"]!==void 0&&0<qt[0][1]["margin-left"]&&(ft=(Yt=this.pdf.internal.getCoordinateString(qt[0][1]["margin-left"]))-rt,rt=Yt),Ye(ft+Math.max(Ut["margin-left"]||0,0)*Wt,(-12*nt).toFixed(2),"Td"),Tt=0,ur=qt.length;Tt!==ur;)qt[Tt][0]&&this.RenderTextFragment(qt[Tt][0],qt[Tt][1]),Tt++;if(this.y+=nt*Wt,this.executeWatchFunctions(qt[0][1])&&0<ze.length){var Ft=[],fr=[];ze.forEach(function(mr){for(var Er=0,Lr=mr.length;Er!==Lr;)mr[Er][0]&&(Ft.push(mr[Er][0]+" "),fr.push(mr[Er][1])),++Er}),ze=this.splitFragmentsIntoLines(ut(Ft),fr),Ye("ET","Q"),Ye("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Lt&&typeof Lt=="function"&&Lt.call(this,this.x-9,this.y-We/2),Ye("ET","Q"),this.y+=Xe}},wt.prototype.setBlockBoundary=function(Lt){return this.renderParagraph(Lt)},wt.prototype.setBlockStyle=function(Lt){return this.paragraph.blockstyle=Lt},wt.prototype.addText=function(Lt,Ut){return this.paragraph.text.push(Lt),this.paragraph.style.push(Ut)},ae={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},Oe={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},ye={normal:"normal",italic:"italic",oblique:"italic"},Ce={left:"left",right:"right",center:"center",justify:"justify"},Te={none:"none",right:"right",left:"left"},xe={none:"none",both:"both"},z={normal:1},de.fromHTML=function(Lt,Ut,Wt,Vt,Tt,ur){return this.margins_doc=ur||{top:0,bottom:0},Vt||(Vt={}),Vt.elementHandlers||(Vt.elementHandlers={}),Me(this,Lt,isNaN(Ut)?4:Ut,isNaN(Wt)?4:Wt,Vt,Tt)}}(Mt.API),Mt.API,(typeof window!="undefined"&&window||typeof d!="undefined"&&d).html2pdf=function(de,ue,se){var ae=ue.canvas;if(ae){var ye,Ce;if((ae.pdf=ue).annotations={_nameMap:[],createAnnotation:function(wt,ee){var ie,z=ue.context2d._wrapX(ee.left),$=ue.context2d._wrapY(ee.top),le=(ue.context2d._page(ee.top),wt.indexOf("#"));ie=0<=le?{name:wt.substring(le+1)}:{url:wt},ue.link(z,$,ee.right-ee.left,ee.bottom-ee.top,ie)},setName:function(wt,ee){var ie=ue.context2d._wrapX(ee.left),z=ue.context2d._wrapY(ee.top),$=ue.context2d._page(ee.top);this._nameMap[wt]={page:$,x:ie,y:z}}},ae.annotations=ue.annotations,ue.context2d._pageBreakAt=function(ut){this.pageBreaks.push(ut)},ue.context2d._gotoPage=function(ut){for(;ue.internal.getNumberOfPages()<ut;)ue.addPage();ue.setPage(ut)},typeof de=="string"){de=de.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var Oe,Te,xe=document.createElement("iframe");document.body.appendChild(xe),(Oe=xe.contentDocument)!=null&&Oe!=null||(Oe=xe.contentWindow.document),Oe.open(),Oe.write(de),Oe.close(),ye=Oe.body,Te=Oe.body||{},de=Oe.documentElement||{},Ce=Math.max(Te.scrollHeight,Te.offsetHeight,de.clientHeight,de.scrollHeight,de.offsetHeight)}else Te=(ye=de).body||{},Ce=Math.max(Te.scrollHeight,Te.offsetHeight,de.clientHeight,de.scrollHeight,de.offsetHeight);var je={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:ae,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:Ce=ue.internal.pageSize.getHeight(),scrollY:Ce};ue.context2d.pageWrapYEnabled=!0,ue.context2d.pageWrapY=ue.internal.pageSize.getHeight(),html2canvas(ye,je).then(function(ut){se&&(xe&&xe.parentElement.removeChild(xe),se(ue))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(de){var ue=de.BlobBuilder||de.WebKitBlobBuilder||de.MSBlobBuilder||de.MozBlobBuilder;de.URL=de.URL||de.webkitURL||function(z,$){return($=document.createElement("a")).href=z,$};var se=de.Blob,ae=URL.createObjectURL,ye=URL.revokeObjectURL,Ce=de.Symbol&&de.Symbol.toStringTag,Oe=!1,Te=!1,xe=!!de.ArrayBuffer,je=ue&&ue.prototype.append&&ue.prototype.getBlob;try{Oe=new Blob(["\xE4"]).size===2,Te=new Blob([new Uint8Array([1,2])]).size===2}catch(z){}function ut(z){return z.map(function($){if($.buffer instanceof ArrayBuffer){var le=$.buffer;if($.byteLength!==le.byteLength){var ge=new Uint8Array($.byteLength);ge.set(new Uint8Array(le,$.byteOffset,$.byteLength)),le=ge.buffer}return le}return $})}function wt(z,$){$=$||{};var le=new ue;return ut(z).forEach(function(ge){le.append(ge)}),$.type?le.getBlob($.type):le.getBlob()}function ee(z,$){return new se(ut(z),$||{})}if(de.Blob&&(wt.prototype=Blob.prototype,ee.prototype=Blob.prototype),Ce)try{File.prototype[Ce]="File",Blob.prototype[Ce]="Blob",FileReader.prototype[Ce]="FileReader"}catch(z){}function ie(){var z=!!de.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,$=de.XMLHttpRequest&&de.XMLHttpRequest.prototype.send;z&&$&&(XMLHttpRequest.prototype.send=function(ge){ge instanceof Blob&&this.setRequestHeader("Content-Type",ge.type),$.call(this,ge)});try{new File([],"")}catch(ge){try{var le=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();de.File=le}catch(Ae){le=function($e,kt,$t){var Lt=new Blob($e,$t),Ut=$t&&$t.lastModified!==void 0?new Date($t.lastModified):new Date;return Lt.name=kt,Lt.lastModifiedDate=Ut,Lt.lastModified=+Ut,Lt.toString=function(){return"[object File]"},Ce&&(Lt[Ce]="File"),Lt},de.File=le}}}Oe?(ie(),de.Blob=Te?de.Blob:ee):je?(ie(),de.Blob=wt):function(){function z(Vt){for(var Tt=[],ur=0;ur<Vt.length;ur++){var qt=Vt.charCodeAt(ur);qt<128?Tt.push(qt):qt<2048?Tt.push(192|qt>>6,128|63&qt):qt<55296||57344<=qt?Tt.push(224|qt>>12,128|qt>>6&63,128|63&qt):(ur++,qt=65536+((1023&qt)<<10|1023&Vt.charCodeAt(ur)),Tt.push(240|qt>>18,128|qt>>12&63,128|qt>>6&63,128|63&qt))}return Tt}function $(Vt){var Tt,ur,qt,ze,nt,Ye;for(Tt="",qt=Vt.length,ur=0;ur<qt;)switch((ze=Vt[ur++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Tt+=String.fromCharCode(ze);break;case 12:case 13:nt=Vt[ur++],Tt+=String.fromCharCode((31&ze)<<6|63&nt);break;case 14:nt=Vt[ur++],Ye=Vt[ur++],Tt+=String.fromCharCode((15&ze)<<12|(63&nt)<<6|(63&Ye)<<0)}return Tt}function le(Vt){for(var Tt=new Array(Vt.byteLength),ur=new Uint8Array(Vt),qt=Tt.length;qt--;)Tt[qt]=ur[qt];return Tt}function ge(Vt){for(var Tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",ur=[],qt=0;qt<Vt.length;qt+=3){var ze=Vt[qt],nt=qt+1<Vt.length,Ye=nt?Vt[qt+1]:0,Xe=qt+2<Vt.length,yt=Xe?Vt[qt+2]:0,mt=ze>>2,We=(3&ze)<<4|Ye>>4,rt=(15&Ye)<<2|yt>>6,ft=63&yt;Xe||(ft=64,nt||(rt=64)),ur.push(Tt[mt],Tt[We],Tt[rt],Tt[ft])}return ur.join("")}var Ae=Object.create||function(Vt){function Tt(){}return Tt.prototype=Vt,new Tt};if(xe)var Me=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$e=ArrayBuffer.isView||function(Vt){return Vt&&-1<Me.indexOf(Object.prototype.toString.call(Vt))};function kt(Vt,Tt){for(var ur=0,qt=(Vt=Vt||[]).length;ur<qt;ur++){var ze=Vt[ur];ze instanceof kt?Vt[ur]=ze._buffer:typeof ze=="string"?Vt[ur]=z(ze):xe&&(ArrayBuffer.prototype.isPrototypeOf(ze)||$e(ze))?Vt[ur]=le(ze):xe&&(nt=ze)&&DataView.prototype.isPrototypeOf(nt)?Vt[ur]=le(ze.buffer):Vt[ur]=z(String(ze))}var nt;this._buffer=[].concat.apply([],Vt),this.size=this._buffer.length,this.type=Tt&&Tt.type||""}function $t(Vt,Tt,ur){var qt=kt.call(this,Vt,ur=ur||{})||this;return qt.name=Tt,qt.lastModifiedDate=ur.lastModified?new Date(ur.lastModified):new Date,qt.lastModified=+qt.lastModifiedDate,qt}if(kt.prototype.slice=function(Vt,Tt,ur){return new kt([this._buffer.slice(Vt||0,Tt||this._buffer.length)],{type:ur})},kt.prototype.toString=function(){return"[object Blob]"},($t.prototype=Ae(kt.prototype)).constructor=$t,Object.setPrototypeOf)Object.setPrototypeOf($t,kt);else try{$t.__proto__=kt}catch(Vt){}function Lt(){if(!(this instanceof Lt))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Vt=document.createDocumentFragment();this.addEventListener=Vt.addEventListener,this.dispatchEvent=function(Tt){var ur=this["on"+Tt.type];typeof ur=="function"&&ur(Tt),Vt.dispatchEvent(Tt)},this.removeEventListener=Vt.removeEventListener}function Ut(Vt,Tt,ur){if(!(Tt instanceof kt))throw new TypeError("Failed to execute '"+ur+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Vt.result="",setTimeout(function(){this.readyState=Lt.LOADING,Vt.dispatchEvent(new Event("load")),Vt.dispatchEvent(new Event("loadend"))})}$t.prototype.toString=function(){return"[object File]"},Lt.EMPTY=0,Lt.LOADING=1,Lt.DONE=2,Lt.prototype.error=null,Lt.prototype.onabort=null,Lt.prototype.onerror=null,Lt.prototype.onload=null,Lt.prototype.onloadend=null,Lt.prototype.onloadstart=null,Lt.prototype.onprogress=null,Lt.prototype.readAsDataURL=function(Vt){Ut(this,Vt,"readAsDataURL"),this.result="data:"+Vt.type+";base64,"+ge(Vt._buffer)},Lt.prototype.readAsText=function(Vt){Ut(this,Vt,"readAsText"),this.result=$(Vt._buffer)},Lt.prototype.readAsArrayBuffer=function(Vt){Ut(this,Vt,"readAsText"),this.result=Vt._buffer.slice()},Lt.prototype.abort=function(){},URL.createObjectURL=function(Vt){return Vt instanceof kt?"data:"+Vt.type+";base64,"+ge(Vt._buffer):ae.call(URL,Vt)},URL.revokeObjectURL=function(Vt){ye&&ye.call(URL,Vt)};var Wt=de.XMLHttpRequest&&de.XMLHttpRequest.prototype.send;Wt&&(XMLHttpRequest.prototype.send=function(Vt){Vt instanceof kt?(this.setRequestHeader("Content-Type",Vt.type),Wt.call(this,$(Vt._buffer))):Wt.call(this,Vt)}),de.FileReader=Lt,de.File=$t,de.Blob=kt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());var Pt,ke,zt,Ot,_t,Ve,Qe,et,dt,Ze,oe,me,ot,Pe,pt,Rr=Rr||function(de){if(!(de===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var ue=de.document,se=function(){return de.URL||de.webkitURL||de},ae=ue.createElementNS("http://www.w3.org/1999/xhtml","a"),ye="download"in ae,Ce=/constructor/i.test(de.HTMLElement)||de.safari,Oe=/CriOS\/[\d]+/.test(navigator.userAgent),Te=de.setImmediate||de.setTimeout,xe=function(z){Te(function(){throw z},0)},je=function(z){setTimeout(function(){typeof z=="string"?se().revokeObjectURL(z):z.remove()},4e4)},ut=function(z){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(z.type)?new Blob([String.fromCharCode(65279),z],{type:z.type}):z},wt=function(z,$,le){le||(z=ut(z));var ge,Ae=this,Me=z.type==="application/octet-stream",$e=function(){!function($t,Lt,Ut){for(var Wt=(Lt=[].concat(Lt)).length;Wt--;){var Vt=$t["on"+Lt[Wt]];if(typeof Vt=="function")try{Vt.call($t,Ut||$t)}catch(Tt){xe(Tt)}}}(Ae,"writestart progress write writeend".split(" "))};if(Ae.readyState=Ae.INIT,ye)return ge=se().createObjectURL(z),void Te(function(){var kt,$t;ae.href=ge,ae.download=$,kt=ae,$t=new MouseEvent("click"),kt.dispatchEvent($t),$e(),je(ge),Ae.readyState=Ae.DONE},0);!function(){if((Oe||Me&&Ce)&&de.FileReader){var kt=new FileReader;return kt.onloadend=function(){var $t=Oe?kt.result:kt.result.replace(/^data:[^;]*;/,"data:attachment/file;");de.open($t,"_blank")||(de.location.href=$t),$t=void 0,Ae.readyState=Ae.DONE,$e()},kt.readAsDataURL(z),Ae.readyState=Ae.INIT}ge||(ge=se().createObjectURL(z)),Me?de.location.href=ge:de.open(ge,"_blank")||(de.location.href=ge),Ae.readyState=Ae.DONE,$e(),je(ge)}()},ee=wt.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(ie,z,$){return z=z||ie.name||"download",$||(ie=ut(ie)),navigator.msSaveOrOpenBlob(ie,z)}:(ee.abort=function(){},ee.readyState=ee.INIT=0,ee.WRITING=1,ee.DONE=2,ee.error=ee.onwritestart=ee.onprogress=ee.onwrite=ee.onabort=ee.onerror=ee.onwriteend=null,function(ie,z,$){return new wt(ie,z||ie.name||"download",$)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function It(de){var ue=0;if(de[ue++]!==71||de[ue++]!==73||de[ue++]!==70||de[ue++]!==56||(de[ue++]+1&253)!=56||de[ue++]!==97)throw"Invalid GIF 87a/89a header.";var se=de[ue++]|de[ue++]<<8,ae=de[ue++]|de[ue++]<<8,ye=de[ue++],Ce=ye>>7,Oe=1<<(7&ye)+1;de[ue++],de[ue++];var Te=null;Ce&&(Te=ue,ue+=3*Oe);var xe=!0,je=[],ut=0,wt=null,ee=0,ie=null;for(this.width=se,this.height=ae;xe&&ue<de.length;)switch(de[ue++]){case 33:switch(de[ue++]){case 255:if(de[ue]!==11||de[ue+1]==78&&de[ue+2]==69&&de[ue+3]==84&&de[ue+4]==83&&de[ue+5]==67&&de[ue+6]==65&&de[ue+7]==80&&de[ue+8]==69&&de[ue+9]==50&&de[ue+10]==46&&de[ue+11]==48&&de[ue+12]==3&&de[ue+13]==1&&de[ue+16]==0)ue+=14,ie=de[ue++]|de[ue++]<<8,ue++;else for(ue+=12;!((Ut=de[ue++])===0);)ue+=Ut;break;case 249:if(de[ue++]!==4||de[ue+4]!==0)throw"Invalid graphics extension block.";var z=de[ue++];ut=de[ue++]|de[ue++]<<8,wt=de[ue++],(1&z)==0&&(wt=null),ee=z>>2&7,ue++;break;case 254:for(;!((Ut=de[ue++])===0);)ue+=Ut;break;default:throw"Unknown graphic control label: 0x"+de[ue-1].toString(16)}break;case 44:var $=de[ue++]|de[ue++]<<8,le=de[ue++]|de[ue++]<<8,ge=de[ue++]|de[ue++]<<8,Ae=de[ue++]|de[ue++]<<8,Me=de[ue++],$e=Me>>6&1,kt=Te,$t=!1;Me>>7&&($t=!0,kt=ue,ue+=3*(1<<(7&Me)+1));var Lt=ue;for(ue++;;){var Ut;if((Ut=de[ue++])===0)break;ue+=Ut}je.push({x:$,y:le,width:ge,height:Ae,has_local_palette:$t,palette_offset:kt,data_offset:Lt,data_length:ue-Lt,transparent_index:wt,interlaced:!!$e,delay:ut,disposal:ee});break;case 59:xe=!1;break;default:throw"Unknown gif block: 0x"+de[ue-1].toString(16)}this.numFrames=function(){return je.length},this.loopCount=function(){return ie},this.frameInfo=function(Wt){if(Wt<0||Wt>=je.length)throw"Frame index out of range.";return je[Wt]},this.decodeAndBlitFrameBGRA=function(Wt,Vt){var Tt=this.frameInfo(Wt),ur=Tt.width*Tt.height,qt=new Uint8Array(ur);nr(de,Tt.data_offset,qt,ur);var ze=Tt.palette_offset,nt=Tt.transparent_index;nt===null&&(nt=256);var Ye=Tt.width,Xe=se-Ye,yt=Ye,mt=4*(Tt.y*se+Tt.x),We=4*((Tt.y+Tt.height)*se+Tt.x),rt=mt,ft=4*Xe;Tt.interlaced===!0&&(ft+=4*(Ye+Xe)*7);for(var Yt=8,Ft=0,fr=qt.length;Ft<fr;++Ft){var mr=qt[Ft];if(yt===0&&(yt=Ye,We<=(rt+=ft)&&(ft=Xe+4*(Ye+Xe)*(Yt-1),rt=mt+(Ye+Xe)*(Yt<<1),Yt>>=1)),mr===nt)rt+=4;else{var Er=de[ze+3*mr],Lr=de[ze+3*mr+1],en=de[ze+3*mr+2];Vt[rt++]=en,Vt[rt++]=Lr,Vt[rt++]=Er,Vt[rt++]=255}--yt}},this.decodeAndBlitFrameRGBA=function(Wt,Vt){var Tt=this.frameInfo(Wt),ur=Tt.width*Tt.height,qt=new Uint8Array(ur);nr(de,Tt.data_offset,qt,ur);var ze=Tt.palette_offset,nt=Tt.transparent_index;nt===null&&(nt=256);var Ye=Tt.width,Xe=se-Ye,yt=Ye,mt=4*(Tt.y*se+Tt.x),We=4*((Tt.y+Tt.height)*se+Tt.x),rt=mt,ft=4*Xe;Tt.interlaced===!0&&(ft+=4*(Ye+Xe)*7);for(var Yt=8,Ft=0,fr=qt.length;Ft<fr;++Ft){var mr=qt[Ft];if(yt===0&&(yt=Ye,We<=(rt+=ft)&&(ft=Xe+4*(Ye+Xe)*(Yt-1),rt=mt+(Ye+Xe)*(Yt<<1),Yt>>=1)),mr===nt)rt+=4;else{var Er=de[ze+3*mr],Lr=de[ze+3*mr+1],en=de[ze+3*mr+2];Vt[rt++]=Er,Vt[rt++]=Lr,Vt[rt++]=en,Vt[rt++]=255}--yt}}}function nr(de,ue,se,ae){for(var ye=de[ue++],Ce=1<<ye,Oe=Ce+1,Te=Oe+1,xe=ye+1,je=(1<<xe)-1,ut=0,wt=0,ee=0,ie=de[ue++],z=new Int32Array(4096),$=null;;){for(;ut<16&&ie!==0;)wt|=de[ue++]<<ut,ut+=8,ie===1?ie=de[ue++]:--ie;if(ut<xe)break;var le=wt&je;if(wt>>=xe,ut-=xe,le!==Ce){if(le===Oe)break;for(var ge=le<Te?le:$,Ae=0,Me=ge;Ce<Me;)Me=z[Me]>>8,++Ae;var $e=Me;if(ae<ee+Ae+(ge!==le?1:0))return void console.log("Warning, gif stream longer than expected.");se[ee++]=$e;var kt=ee+=Ae;for(ge!==le&&(se[ee++]=$e),Me=ge;Ae--;)Me=z[Me],se[--kt]=255&Me,Me>>=8;$!==null&&Te<4096&&(z[Te++]=$<<8|$e,je+1<=Te&&xe<12&&(++xe,je=je<<1|1)),$=le}else Te=Oe+1,je=(1<<(xe=ye+1))-1,$=null}return ee!==ae&&console.log("Warning, gif stream shorter than expected."),se}try{F.GifWriter=function(de,ue,se,ae){var ye=0,Ce=(ae=ae===void 0?{}:ae).loop===void 0?null:ae.loop,Oe=ae.palette===void 0?null:ae.palette;if(ue<=0||se<=0||65535<ue||65535<se)throw"Width/Height invalid.";function Te($){var le=$.length;if(le<2||256<le||le&le-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return le}de[ye++]=71,de[ye++]=73,de[ye++]=70,de[ye++]=56,de[ye++]=57,de[ye++]=97;var xe=0,je=0;if(Oe!==null){for(var ut=Te(Oe);ut>>=1;)++xe;if(ut=1<<xe,--xe,ae.background!==void 0){if(ut<=(je=ae.background))throw"Background index out of range.";if(je===0)throw"Background index explicitly passed as 0."}}if(de[ye++]=255&ue,de[ye++]=ue>>8&255,de[ye++]=255&se,de[ye++]=se>>8&255,de[ye++]=(Oe!==null?128:0)|xe,de[ye++]=je,de[ye++]=0,Oe!==null)for(var wt=0,ee=Oe.length;wt<ee;++wt){var ie=Oe[wt];de[ye++]=ie>>16&255,de[ye++]=ie>>8&255,de[ye++]=255&ie}if(Ce!==null){if(Ce<0||65535<Ce)throw"Loop count invalid.";de[ye++]=33,de[ye++]=255,de[ye++]=11,de[ye++]=78,de[ye++]=69,de[ye++]=84,de[ye++]=83,de[ye++]=67,de[ye++]=65,de[ye++]=80,de[ye++]=69,de[ye++]=50,de[ye++]=46,de[ye++]=48,de[ye++]=3,de[ye++]=1,de[ye++]=255&Ce,de[ye++]=Ce>>8&255,de[ye++]=0}var z=!1;this.addFrame=function($,le,ge,Ae,Me,$e){if(z===!0&&(--ye,z=!1),$e=$e===void 0?{}:$e,$<0||le<0||65535<$||65535<le)throw"x/y invalid.";if(ge<=0||Ae<=0||65535<ge||65535<Ae)throw"Width/Height invalid.";if(Me.length<ge*Ae)throw"Not enough pixels for the frame size.";var kt=!0,$t=$e.palette;if($t==null&&(kt=!1,$t=Oe),$t==null)throw"Must supply either a local or global palette.";for(var Lt=Te($t),Ut=0;Lt>>=1;)++Ut;Lt=1<<Ut;var Wt=$e.delay===void 0?0:$e.delay,Vt=$e.disposal===void 0?0:$e.disposal;if(Vt<0||3<Vt)throw"Disposal out of range.";var Tt=!1,ur=0;if($e.transparent!==void 0&&$e.transparent!==null&&(Tt=!0,(ur=$e.transparent)<0||Lt<=ur))throw"Transparent color index.";if((Vt!==0||Tt||Wt!==0)&&(de[ye++]=33,de[ye++]=249,de[ye++]=4,de[ye++]=Vt<<2|(Tt===!0?1:0),de[ye++]=255&Wt,de[ye++]=Wt>>8&255,de[ye++]=ur,de[ye++]=0),de[ye++]=44,de[ye++]=255&$,de[ye++]=$>>8&255,de[ye++]=255&le,de[ye++]=le>>8&255,de[ye++]=255&ge,de[ye++]=ge>>8&255,de[ye++]=255&Ae,de[ye++]=Ae>>8&255,de[ye++]=kt===!0?128|Ut-1:0,kt===!0)for(var qt=0,ze=$t.length;qt<ze;++qt){var nt=$t[qt];de[ye++]=nt>>16&255,de[ye++]=nt>>8&255,de[ye++]=255&nt}ye=function(Ye,Xe,yt,mt){Ye[Xe++]=yt;var We=Xe++,rt=1<<yt,ft=rt-1,Yt=rt+1,Ft=Yt+1,fr=yt+1,mr=0,Er=0;function Lr(dr){for(;dr<=mr;)Ye[Xe++]=255&Er,Er>>=8,mr-=8,Xe===We+256&&(Ye[We]=255,We=Xe++)}function en(dr){Er|=dr<<mr,mr+=fr,Lr(8)}var Qr=mt[0]&ft,Cr={};en(rt);for(var Gr=1,Nr=mt.length;Gr<Nr;++Gr){var lr=mt[Gr]&ft,pr=Qr<<8|lr,sr=Cr[pr];if(sr===void 0){for(Er|=Qr<<mr,mr+=fr;8<=mr;)Ye[Xe++]=255&Er,Er>>=8,mr-=8,Xe===We+256&&(Ye[We]=255,We=Xe++);Ft===4096?(en(rt),Ft=Yt+1,fr=yt+1,Cr={}):(1<<fr<=Ft&&++fr,Cr[pr]=Ft++),Qr=lr}else Qr=sr}return en(Qr),en(Yt),Lr(1),We+1===Xe?Ye[We]=0:(Ye[We]=Xe-We-1,Ye[Xe++]=0),Xe}(de,ye,Ut<2?2:Ut,Me)},this.end=function(){return z===!1&&(de[ye++]=59,z=!0),ye}},F.GifReader=It}catch(de){}function Gt(de){var ue,se,ae,ye,Ce,Oe=Math.floor,Te=new Array(64),xe=new Array(64),je=new Array(64),ut=new Array(64),wt=new Array(65535),ee=new Array(65535),ie=new Array(64),z=new Array(64),$=[],le=0,ge=7,Ae=new Array(64),Me=new Array(64),$e=new Array(64),kt=new Array(256),$t=new Array(2048),Lt=[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],Ut=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Wt=[0,1,2,3,4,5,6,7,8,9,10,11],Vt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Tt=[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],qt=[0,1,2,3,4,5,6,7,8,9,10,11],ze=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],nt=[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 Ye(ft,Yt){for(var Ft=0,fr=0,mr=new Array,Er=1;Er<=16;Er++){for(var Lr=1;Lr<=ft[Er];Lr++)mr[Yt[fr]]=[],mr[Yt[fr]][0]=Ft,mr[Yt[fr]][1]=Er,fr++,Ft++;Ft*=2}return mr}function Xe(ft){for(var Yt=ft[0],Ft=ft[1]-1;0<=Ft;)Yt&1<<Ft&&(le|=1<<ge),Ft--,--ge<0&&(le==255?(yt(255),yt(0)):yt(le),ge=7,le=0)}function yt(ft){$.push(ft)}function mt(ft){yt(ft>>8&255),yt(255&ft)}function We(ft,Yt,Ft,fr,mr){for(var Er,Lr=mr[0],en=mr[240],Qr=function(Xr,cn){var Dn,jr,On,gn,Un,Wn,Jn,Qn,Vn,yn,on=0;for(Vn=0;Vn<8;++Vn){Dn=Xr[on],jr=Xr[on+1],On=Xr[on+2],gn=Xr[on+3],Un=Xr[on+4],Wn=Xr[on+5],Jn=Xr[on+6];var ia=Dn+(Qn=Xr[on+7]),xa=Dn-Qn,ta=jr+Jn,Ni=jr-Jn,Ci=On+Wn,Gn=On-Wn,Ia=gn+Un,mn=gn-Un,In=ia+Ia,Ln=ia-Ia,Nn=ta+Ci,jn=ta-Ci;Xr[on]=In+Nn,Xr[on+4]=In-Nn;var ni=.707106781*(jn+Ln);Xr[on+2]=Ln+ni,Xr[on+6]=Ln-ni;var di=.382683433*((In=mn+Gn)-(jn=Ni+xa)),Da=.5411961*In+di,Xi=1.306562965*jn+di,ma=.707106781*(Nn=Gn+Ni),_a=xa+ma,Xa=xa-ma;Xr[on+5]=Xa+Da,Xr[on+3]=Xa-Da,Xr[on+1]=_a+Xi,Xr[on+7]=_a-Xi,on+=8}for(Vn=on=0;Vn<8;++Vn){Dn=Xr[on],jr=Xr[on+8],On=Xr[on+16],gn=Xr[on+24],Un=Xr[on+32],Wn=Xr[on+40],Jn=Xr[on+48];var Ki=Dn+(Qn=Xr[on+56]),Co=Dn-Qn,aa=jr+Jn,Hi=jr-Jn,ga=On+Wn,ha=On-Wn,mo=gn+Un,Pn=gn-Un,qi=Ki+mo,eo=Ki-mo,Oo=aa+ga,co=aa-ga;Xr[on]=qi+Oo,Xr[on+32]=qi-Oo;var tr=.707106781*(co+eo);Xr[on+16]=eo+tr,Xr[on+48]=eo-tr;var Ir=.382683433*((qi=Pn+ha)-(co=Hi+Co)),Ur=.5411961*qi+Ir,Kr=1.306562965*co+Ir,hn=.707106781*(Oo=ha+Hi),Ue=Co+hn,Bt=Co-hn;Xr[on+40]=Bt+Ur,Xr[on+24]=Bt-Ur,Xr[on+8]=Ue+Kr,Xr[on+56]=Ue-Kr,on++}for(Vn=0;Vn<64;++Vn)yn=Xr[Vn]*cn[Vn],ie[Vn]=0<yn?yn+.5|0:yn-.5|0;return ie}(ft,Yt),Cr=0;Cr<64;++Cr)z[Lt[Cr]]=Qr[Cr];var Gr=z[0]-Ft;Ft=z[0],Gr==0?Xe(fr[0]):(Xe(fr[ee[Er=32767+Gr]]),Xe(wt[Er]));for(var Nr=63;0<Nr&&z[Nr]==0;Nr--);if(Nr==0)return Xe(Lr),Ft;for(var lr,pr=1;pr<=Nr;){for(var sr=pr;z[pr]==0&&pr<=Nr;++pr);var dr=pr-sr;if(16<=dr){lr=dr>>4;for(var Sr=1;Sr<=lr;++Sr)Xe(en);dr&=15}Er=32767+z[pr],Xe(mr[(dr<<4)+ee[Er]]),Xe(wt[Er]),pr++}return Nr!=63&&Xe(Lr),Ft}function rt(ft){(ft<=0&&(ft=1),100<ft&&(ft=100),Ce!=ft)&&(function(Yt){for(var Ft=[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],fr=0;fr<64;fr++){var mr=Oe((Ft[fr]*Yt+50)/100);mr<1?mr=1:255<mr&&(mr=255),Te[Lt[fr]]=mr}for(var Er=[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],Lr=0;Lr<64;Lr++){var en=Oe((Er[Lr]*Yt+50)/100);en<1?en=1:255<en&&(en=255),xe[Lt[Lr]]=en}for(var Qr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Cr=0,Gr=0;Gr<8;Gr++)for(var Nr=0;Nr<8;Nr++)je[Cr]=1/(Te[Lt[Cr]]*Qr[Gr]*Qr[Nr]*8),ut[Cr]=1/(xe[Lt[Cr]]*Qr[Gr]*Qr[Nr]*8),Cr++}(ft<50?Math.floor(5e3/ft):Math.floor(200-2*ft)),Ce=ft)}this.encode=function(ft,Yt){var Ft,fr;new Date().getTime(),Yt&&rt(Yt),$=new Array,le=0,ge=7,mt(65496),mt(65504),mt(16),yt(74),yt(70),yt(73),yt(70),yt(0),yt(1),yt(1),yt(0),mt(1),mt(1),yt(0),yt(0),function(){mt(65499),mt(132),yt(0);for(var gn=0;gn<64;gn++)yt(Te[gn]);yt(1);for(var Un=0;Un<64;Un++)yt(xe[Un])}(),Ft=ft.width,fr=ft.height,mt(65472),mt(17),yt(8),mt(fr),mt(Ft),yt(3),yt(1),yt(17),yt(0),yt(2),yt(17),yt(1),yt(3),yt(17),yt(1),function(){mt(65476),mt(418),yt(0);for(var gn=0;gn<16;gn++)yt(Ut[gn+1]);for(var Un=0;Un<=11;Un++)yt(Wt[Un]);yt(16);for(var Wn=0;Wn<16;Wn++)yt(Vt[Wn+1]);for(var Jn=0;Jn<=161;Jn++)yt(Tt[Jn]);yt(1);for(var Qn=0;Qn<16;Qn++)yt(ur[Qn+1]);for(var Vn=0;Vn<=11;Vn++)yt(qt[Vn]);yt(17);for(var yn=0;yn<16;yn++)yt(ze[yn+1]);for(var on=0;on<=161;on++)yt(nt[on])}(),mt(65498),mt(12),yt(3),yt(1),yt(0),yt(2),yt(17),yt(3),yt(17),yt(0),yt(63),yt(0);var mr=0,Er=0,Lr=0;le=0,ge=7,this.encode.displayName="_encode_";for(var en,Qr,Cr,Gr,Nr,lr,pr,sr,dr,Sr=ft.data,Xr=ft.width,cn=ft.height,Dn=4*Xr,jr=0;jr<cn;){for(en=0;en<Dn;){for(lr=Nr=Dn*jr+en,pr=-1,dr=sr=0;dr<64;dr++)lr=Nr+(sr=dr>>3)*Dn+(pr=4*(7&dr)),cn<=jr+sr&&(lr-=Dn*(jr+1+sr-cn)),Dn<=en+pr&&(lr-=en+pr-Dn+4),Qr=Sr[lr++],Cr=Sr[lr++],Gr=Sr[lr++],Ae[dr]=($t[Qr]+$t[Cr+256>>0]+$t[Gr+512>>0]>>16)-128,Me[dr]=($t[Qr+768>>0]+$t[Cr+1024>>0]+$t[Gr+1280>>0]>>16)-128,$e[dr]=($t[Qr+1280>>0]+$t[Cr+1536>>0]+$t[Gr+1792>>0]>>16)-128;mr=We(Ae,je,mr,ue,ae),Er=We(Me,ut,Er,se,ye),Lr=We($e,ut,Lr,se,ye),en+=32}jr+=8}if(0<=ge){var On=[];On[1]=ge+1,On[0]=(1<<ge+1)-1,Xe(On)}return mt(65497),new Uint8Array($)},function(){new Date().getTime(),de||(de=50),function(){for(var ft=String.fromCharCode,Yt=0;Yt<256;Yt++)kt[Yt]=ft(Yt)}(),ue=Ye(Ut,Wt),se=Ye(ur,qt),ae=Ye(Vt,Tt),ye=Ye(ze,nt),function(){for(var ft=1,Yt=2,Ft=1;Ft<=15;Ft++){for(var fr=ft;fr<Yt;fr++)ee[32767+fr]=Ft,wt[32767+fr]=[],wt[32767+fr][1]=Ft,wt[32767+fr][0]=fr;for(var mr=-(Yt-1);mr<=-ft;mr++)ee[32767+mr]=Ft,wt[32767+mr]=[],wt[32767+mr][1]=Ft,wt[32767+mr][0]=Yt-1+mr;ft<<=1,Yt<<=1}}(),function(){for(var ft=0;ft<256;ft++)$t[ft]=19595*ft,$t[ft+256>>0]=38470*ft,$t[ft+512>>0]=7471*ft+32768,$t[ft+768>>0]=-11059*ft,$t[ft+1024>>0]=-21709*ft,$t[ft+1280>>0]=32768*ft+8421375,$t[ft+1536>>0]=-27439*ft,$t[ft+1792>>0]=-5329*ft}(),rt(de),new Date().getTime()}()}function Jt(de,ue){if(this.pos=0,this.buffer=de,this.datav=new DataView(de.buffer),this.is_with_alpha=!!ue,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=It,Mt.API.adler32cs=(Ve=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",Qe=null,et=function(){if(!Ve)return function(){return!1};try{var de={};typeof de.Buffer=="function"&&(Qe=de.Buffer)}catch(ue){}return function(ue){return ue instanceof ArrayBuffer||Qe!==null&&ue instanceof Qe}}(),dt=Qe!==null?function(de){return new Qe(de,"utf8").toString("binary")}:function(de){return unescape(encodeURIComponent(de))},Ze=function(ue,se){for(var ae=65535&ue,ye=ue>>>16,Ce=0,Oe=se.length;Ce<Oe;Ce++)ae=(ae+(255&se.charCodeAt(Ce)))%65521,ye=(ye+ae)%65521;return(ye<<16|ae)>>>0},oe=function(ue,se){for(var ae=65535&ue,ye=ue>>>16,Ce=0,Oe=se.length;Ce<Oe;Ce++)ae=(ae+se[Ce])%65521,ye=(ye+ae)%65521;return(ye<<16|ae)>>>0},ot=(me={}).Adler32=(((_t=(Ot=function(ue){if(!(this instanceof Ot))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(ue=ue==null?1:+ue))throw new Error("First arguments needs to be a finite number.");this.checksum=ue>>>0}).prototype={}).constructor=Ot).from=((Pt=function(ue){if(!(this instanceof Ot))throw new TypeError("Constructor cannot called be as a function.");if(ue==null)throw new Error("First argument needs to be a string.");this.checksum=Ze(1,ue.toString())}).prototype=_t,Pt),Ot.fromUtf8=((ke=function(ue){if(!(this instanceof Ot))throw new TypeError("Constructor cannot called be as a function.");if(ue==null)throw new Error("First argument needs to be a string.");var se=dt(ue.toString());this.checksum=Ze(1,se)}).prototype=_t,ke),Ve&&(Ot.fromBuffer=((zt=function(ue){if(!(this instanceof Ot))throw new TypeError("Constructor cannot called be as a function.");if(!et(ue))throw new Error("First argument needs to be ArrayBuffer.");var se=new Uint8Array(ue);return this.checksum=oe(1,se)}).prototype=_t,zt)),_t.update=function(de){if(de==null)throw new Error("First argument needs to be a string.");return de=de.toString(),this.checksum=Ze(this.checksum,de)},_t.updateUtf8=function(de){if(de==null)throw new Error("First argument needs to be a string.");var ue=dt(de.toString());return this.checksum=Ze(this.checksum,ue)},Ve&&(_t.updateBuffer=function(de){if(!et(de))throw new Error("First argument needs to be ArrayBuffer.");var ue=new Uint8Array(de);return this.checksum=oe(this.checksum,ue)}),_t.clone=function(){return new ot(this.checksum)},Ot),me.from=function(de){if(de==null)throw new Error("First argument needs to be a string.");return Ze(1,de.toString())},me.fromUtf8=function(de){if(de==null)throw new Error("First argument needs to be a string.");var ue=dt(de.toString());return Ze(1,ue)},Ve&&(me.fromBuffer=function(de){if(!et(de))throw new Error("First argument need to be ArrayBuffer.");var ue=new Uint8Array(de);return oe(1,ue)}),me),function(de){de.__bidiEngine__=de.prototype.__bidiEngine__=function(ae){var ye,Ce,Oe,Te,xe,je,ut,wt=ue,ee=[[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]],ie=[[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]],z={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},$={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},le=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],ge=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)$/),Ae=!1,Me=0;this.__bidiEngine__={};var $e=function(ur){var qt=ur.charCodeAt(),ze=qt>>8,nt=$[ze];return nt!==void 0?wt[256*nt+(255&qt)]:ze===252||ze===253?"AL":ge.test(ze)?"L":ze===8?"R":"N"},kt=function(ur){for(var qt,ze=0;ze<ur.length;ze++){if((qt=$e(ur.charAt(ze)))==="L")return!1;if(qt==="R")return!0}return!1},$t=function(ur,qt,ze,nt){var Ye,Xe,yt,mt,We=qt[nt];switch(We){case"L":case"R":Ae=!1;break;case"N":case"AN":break;case"EN":Ae&&(We="AN");break;case"AL":Ae=!0,We="R";break;case"WS":We="N";break;case"CS":nt<1||nt+1>=qt.length||(Ye=ze[nt-1])!=="EN"&&Ye!=="AN"||(Xe=qt[nt+1])!=="EN"&&Xe!=="AN"?We="N":Ae&&(Xe="AN"),We=Xe===Ye?Xe:"N";break;case"ES":We=(Ye=0<nt?ze[nt-1]:"B")==="EN"&&nt+1<qt.length&&qt[nt+1]==="EN"?"EN":"N";break;case"ET":if(0<nt&&ze[nt-1]==="EN"){We="EN";break}if(Ae){We="N";break}for(yt=nt+1,mt=qt.length;yt<mt&&qt[yt]==="ET";)yt++;We=yt<mt&&qt[yt]==="EN"?"EN":"N";break;case"NSM":if(Oe&&!Te){for(mt=qt.length,yt=nt+1;yt<mt&&qt[yt]==="NSM";)yt++;if(yt<mt){var rt=ur[nt],ft=1425<=rt&&rt<=2303||rt===64286;if(Ye=qt[yt],ft&&(Ye==="R"||Ye==="AL")){We="R";break}}}We=nt<1||(Ye=qt[nt-1])==="B"?"N":ze[nt-1];break;case"B":ye=!(Ae=!1),We=Me;break;case"S":Ce=!0,We="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Ae=!1;break;case"BN":We="N"}return We},Lt=function(ur,qt,ze){var nt=ur.split("");return ze&&Ut(nt,ze,{hiLevel:Me}),nt.reverse(),qt&&qt.reverse(),nt.join("")},Ut=function(ur,qt,ze){var nt,Ye,Xe,yt,mt,We=-1,rt=ur.length,ft=0,Yt=[],Ft=Me?ie:ee,fr=[];for(Ce=ye=Ae=!1,Ye=0;Ye<rt;Ye++)fr[Ye]=$e(ur[Ye]);for(Xe=0;Xe<rt;Xe++){if(mt=ft,Yt[Xe]=$t(ur,fr,Yt,Xe),nt=240&(ft=Ft[mt][z[Yt[Xe]]]),ft&=15,qt[Xe]=yt=Ft[ft][5],0<nt)if(nt===16){for(Ye=We;Ye<Xe;Ye++)qt[Ye]=1;We=-1}else We=-1;if(Ft[ft][6])We===-1&&(We=Xe);else if(-1<We){for(Ye=We;Ye<Xe;Ye++)qt[Ye]=yt;We=-1}fr[Xe]==="B"&&(qt[Xe]=0),ze.hiLevel|=yt}Ce&&function(mr,Er,Lr){for(var en=0;en<Lr;en++)if(mr[en]==="S"){Er[en]=Me;for(var Qr=en-1;0<=Qr&&mr[Qr]==="WS";Qr--)Er[Qr]=Me}}(fr,qt,rt)},Wt=function(ur,qt,ze,nt,Ye){if(!(Ye.hiLevel<ur)){if(ur===1&&Me===1&&!ye)return qt.reverse(),void(ze&&ze.reverse());for(var Xe,yt,mt,We,rt=qt.length,ft=0;ft<rt;){if(nt[ft]>=ur){for(mt=ft+1;mt<rt&&nt[mt]>=ur;)mt++;for(We=ft,yt=mt-1;We<yt;We++,yt--)Xe=qt[We],qt[We]=qt[yt],qt[yt]=Xe,ze&&(Xe=ze[We],ze[We]=ze[yt],ze[yt]=Xe);ft=mt}ft++}}},Vt=function(ur,qt,ze){var nt=ur.split(""),Ye={hiLevel:Me};return ze||(ze=[]),Ut(nt,ze,Ye),function(Xe,yt,mt){if(mt.hiLevel!==0&&ut)for(var We,rt=0;rt<Xe.length;rt++)yt[rt]===1&&0<=(We=le.indexOf(Xe[rt]))&&(Xe[rt]=le[We+1])}(nt,ze,Ye),Wt(2,nt,qt,ze,Ye),Wt(1,nt,qt,ze,Ye),nt.join("")};return this.__bidiEngine__.doBidiReorder=function(Tt,ur,qt){if(function(nt,Ye){if(Ye)for(var Xe=0;Xe<nt.length;Xe++)Ye[Xe]=Xe;Te===void 0&&(Te=kt(nt)),je===void 0&&(je=kt(nt))}(Tt,ur),Oe||!xe||je)if(Oe&&xe&&Te^je)Me=Te?1:0,Tt=Lt(Tt,ur,qt);else if(!Oe&&xe&&je)Me=Te?1:0,Tt=Vt(Tt,ur,qt),Tt=Lt(Tt,ur);else if(!Oe||Te||xe||je){if(Oe&&!xe&&Te^je)Tt=Lt(Tt,ur),Tt=Te?(Me=0,Vt(Tt,ur,qt)):(Me=1,Tt=Vt(Tt,ur,qt),Lt(Tt,ur));else if(Oe&&Te&&!xe&&je)Me=1,Tt=Vt(Tt,ur,qt),Tt=Lt(Tt,ur);else if(!Oe&&!xe&&Te^je){var ze=ut;Te?(Me=1,Tt=Vt(Tt,ur,qt),Me=0,ut=!1,Tt=Vt(Tt,ur,qt),ut=ze):(Me=0,Tt=Vt(Tt,ur,qt),Tt=Lt(Tt,ur),ut=!(Me=1),Tt=Vt(Tt,ur,qt),ut=ze,Tt=Lt(Tt,ur))}}else Me=0,Tt=Vt(Tt,ur,qt);else Me=Te?1:0,Tt=Vt(Tt,ur,qt);return Tt},this.__bidiEngine__.setOptions=function(Tt){Tt&&(Oe=Tt.isInputVisual,xe=Tt.isOutputVisual,Te=Tt.isInputRtl,je=Tt.isOutputRtl,ut=Tt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(ae),this.__bidiEngine__};var ue=["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"],se=new de.__bidiEngine__({isInputVisual:!0});de.API.events.push(["postProcessText",function(ae){var ye=ae.text,Ce=(ae.x,ae.y,ae.options||{}),Oe=(ae.mutex,Ce.lang,[]);if(Object.prototype.toString.call(ye)==="[object Array]"){var Te=0;for(Oe=[],Te=0;Te<ye.length;Te+=1)Object.prototype.toString.call(ye[Te])==="[object Array]"?Oe.push([se.doBidiReorder(ye[Te][0]),ye[Te][1],ye[Te][2]]):Oe.push([se.doBidiReorder(ye[Te])]);ae.text=Oe}else ae.text=se.doBidiReorder(ye)}])}(Mt),window.tmp=Gt,Jt.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 de=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(de);for(var ue=0;ue<de;ue++){var se=this.datav.getUint8(this.pos++,!0),ae=this.datav.getUint8(this.pos++,!0),ye=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0);this.palette[ue]={red:ye,green:ae,blue:se,quad:Ce}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Jt.prototype.parseBGR=function(){this.pos=this.offset;try{var de="bit"+this.bitPP,ue=this.width*this.height*4;this.data=new Uint8Array(ue),this[de]()}catch(se){console.log("bit decode error:"+se)}},Jt.prototype.bit1=function(){var de=Math.ceil(this.width/8),ue=de%4,se=0<=this.height?this.height-1:-this.height;for(se=this.height-1;0<=se;se--){for(var ae=this.bottom_up?se:this.height-1-se,ye=0;ye<de;ye++)for(var Ce=this.datav.getUint8(this.pos++,!0),Oe=ae*this.width*4+8*ye*4,Te=0;Te<8&&8*ye+Te<this.width;Te++){var xe=this.palette[Ce>>7-Te&1];this.data[Oe+4*Te]=xe.blue,this.data[Oe+4*Te+1]=xe.green,this.data[Oe+4*Te+2]=xe.red,this.data[Oe+4*Te+3]=255}ue!=0&&(this.pos+=4-ue)}},Jt.prototype.bit4=function(){for(var de=Math.ceil(this.width/2),ue=de%4,se=this.height-1;0<=se;se--){for(var ae=this.bottom_up?se:this.height-1-se,ye=0;ye<de;ye++){var Ce=this.datav.getUint8(this.pos++,!0),Oe=ae*this.width*4+2*ye*4,Te=Ce>>4,xe=15&Ce,je=this.palette[Te];if(this.data[Oe]=je.blue,this.data[Oe+1]=je.green,this.data[Oe+2]=je.red,this.data[Oe+3]=255,2*ye+1>=this.width)break;je=this.palette[xe],this.data[Oe+4]=je.blue,this.data[Oe+4+1]=je.green,this.data[Oe+4+2]=je.red,this.data[Oe+4+3]=255}ue!=0&&(this.pos+=4-ue)}},Jt.prototype.bit8=function(){for(var de=this.width%4,ue=this.height-1;0<=ue;ue--){for(var se=this.bottom_up?ue:this.height-1-ue,ae=0;ae<this.width;ae++){var ye=this.datav.getUint8(this.pos++,!0),Ce=se*this.width*4+4*ae;if(ye<this.palette.length){var Oe=this.palette[ye];this.data[Ce]=Oe.red,this.data[Ce+1]=Oe.green,this.data[Ce+2]=Oe.blue,this.data[Ce+3]=255}else this.data[Ce]=255,this.data[Ce+1]=255,this.data[Ce+2]=255,this.data[Ce+3]=255}de!=0&&(this.pos+=4-de)}},Jt.prototype.bit15=function(){for(var de=this.width%3,ue=parseInt("11111",2),se=this.height-1;0<=se;se--){for(var ae=this.bottom_up?se:this.height-1-se,ye=0;ye<this.width;ye++){var Ce=this.datav.getUint16(this.pos,!0);this.pos+=2;var Oe=(Ce&ue)/ue*255|0,Te=(Ce>>5&ue)/ue*255|0,xe=(Ce>>10&ue)/ue*255|0,je=Ce>>15?255:0,ut=ae*this.width*4+4*ye;this.data[ut]=xe,this.data[ut+1]=Te,this.data[ut+2]=Oe,this.data[ut+3]=je}this.pos+=de}},Jt.prototype.bit16=function(){for(var de=this.width%3,ue=parseInt("11111",2),se=parseInt("111111",2),ae=this.height-1;0<=ae;ae--){for(var ye=this.bottom_up?ae:this.height-1-ae,Ce=0;Ce<this.width;Ce++){var Oe=this.datav.getUint16(this.pos,!0);this.pos+=2;var Te=(Oe&ue)/ue*255|0,xe=(Oe>>5&se)/se*255|0,je=(Oe>>11)/ue*255|0,ut=ye*this.width*4+4*Ce;this.data[ut]=je,this.data[ut+1]=xe,this.data[ut+2]=Te,this.data[ut+3]=255}this.pos+=de}},Jt.prototype.bit24=function(){for(var de=this.height-1;0<=de;de--){for(var ue=this.bottom_up?de:this.height-1-de,se=0;se<this.width;se++){var ae=this.datav.getUint8(this.pos++,!0),ye=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0),Oe=ue*this.width*4+4*se;this.data[Oe]=Ce,this.data[Oe+1]=ye,this.data[Oe+2]=ae,this.data[Oe+3]=255}this.pos+=this.width%4}},Jt.prototype.bit32=function(){for(var de=this.height-1;0<=de;de--)for(var ue=this.bottom_up?de:this.height-1-de,se=0;se<this.width;se++){var ae=this.datav.getUint8(this.pos++,!0),ye=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0),Oe=this.datav.getUint8(this.pos++,!0),Te=ue*this.width*4+4*se;this.data[Te]=Ce,this.data[Te+1]=ye,this.data[Te+2]=ae,this.data[Te+3]=Oe}},Jt.prototype.getData=function(){return this.data},window.tmp=Jt,function(de){var ue=15,se=573,ae=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function ye(){var ie=this;function z($,le){for(var ge=0;ge|=1&$,$>>>=1,ge<<=1,0<--le;);return ge>>>1}ie.build_tree=function($){var le,ge,Ae,Me=ie.dyn_tree,$e=ie.stat_desc.static_tree,kt=ie.stat_desc.elems,$t=-1;for($.heap_len=0,$.heap_max=se,le=0;le<kt;le++)Me[2*le]!==0?($.heap[++$.heap_len]=$t=le,$.depth[le]=0):Me[2*le+1]=0;for(;$.heap_len<2;)Me[2*(Ae=$.heap[++$.heap_len]=$t<2?++$t:0)]=1,$.depth[Ae]=0,$.opt_len--,$e&&($.static_len-=$e[2*Ae+1]);for(ie.max_code=$t,le=Math.floor($.heap_len/2);1<=le;le--)$.pqdownheap(Me,le);for(Ae=kt;le=$.heap[1],$.heap[1]=$.heap[$.heap_len--],$.pqdownheap(Me,1),ge=$.heap[1],$.heap[--$.heap_max]=le,$.heap[--$.heap_max]=ge,Me[2*Ae]=Me[2*le]+Me[2*ge],$.depth[Ae]=Math.max($.depth[le],$.depth[ge])+1,Me[2*le+1]=Me[2*ge+1]=Ae,$.heap[1]=Ae++,$.pqdownheap(Me,1),2<=$.heap_len;);$.heap[--$.heap_max]=$.heap[1],function(Lt){var Ut,Wt,Vt,Tt,ur,qt,ze=ie.dyn_tree,nt=ie.stat_desc.static_tree,Ye=ie.stat_desc.extra_bits,Xe=ie.stat_desc.extra_base,yt=ie.stat_desc.max_length,mt=0;for(Tt=0;Tt<=ue;Tt++)Lt.bl_count[Tt]=0;for(ze[2*Lt.heap[Lt.heap_max]+1]=0,Ut=Lt.heap_max+1;Ut<se;Ut++)yt<(Tt=ze[2*ze[2*(Wt=Lt.heap[Ut])+1]+1]+1)&&(Tt=yt,mt++),ze[2*Wt+1]=Tt,Wt>ie.max_code||(Lt.bl_count[Tt]++,ur=0,Xe<=Wt&&(ur=Ye[Wt-Xe]),qt=ze[2*Wt],Lt.opt_len+=qt*(Tt+ur),nt&&(Lt.static_len+=qt*(nt[2*Wt+1]+ur)));if(mt!==0){do{for(Tt=yt-1;Lt.bl_count[Tt]===0;)Tt--;Lt.bl_count[Tt]--,Lt.bl_count[Tt+1]+=2,Lt.bl_count[yt]--,mt-=2}while(0<mt);for(Tt=yt;Tt!==0;Tt--)for(Wt=Lt.bl_count[Tt];Wt!==0;)(Vt=Lt.heap[--Ut])>ie.max_code||(ze[2*Vt+1]!=Tt&&(Lt.opt_len+=(Tt-ze[2*Vt+1])*ze[2*Vt],ze[2*Vt+1]=Tt),Wt--)}}($),function(Lt,Ut,Wt){var Vt,Tt,ur,qt=[],ze=0;for(Vt=1;Vt<=ue;Vt++)qt[Vt]=ze=ze+Wt[Vt-1]<<1;for(Tt=0;Tt<=Ut;Tt++)(ur=Lt[2*Tt+1])!==0&&(Lt[2*Tt]=z(qt[ur]++,ur))}(Me,ie.max_code,$.bl_count)}}function Ce(ie,z,$,le,ge){this.static_tree=ie,this.extra_bits=z,this.extra_base=$,this.elems=le,this.max_length=ge}ye._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],ye.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],ye.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],ye.d_code=function(ie){return ie<256?ae[ie]:ae[256+(ie>>>7)]},ye.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ye.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ye.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ye.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ce.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],Ce.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],Ce.static_l_desc=new Ce(Ce.static_ltree,ye.extra_lbits,257,286,ue),Ce.static_d_desc=new Ce(Ce.static_dtree,ye.extra_dbits,0,30,ue),Ce.static_bl_desc=new Ce(null,ye.extra_blbits,0,19,7);function Oe(ie,z,$,le,ge){this.good_length=ie,this.max_lazy=z,this.nice_length=$,this.max_chain=le,this.func=ge}var Te=[new Oe(0,0,0,0,0),new Oe(4,4,8,4,1),new Oe(4,5,16,8,1),new Oe(4,6,32,32,1),new Oe(4,4,16,16,2),new Oe(8,16,32,32,2),new Oe(8,16,128,128,2),new Oe(8,32,128,256,2),new Oe(32,128,258,1024,2),new Oe(32,258,258,4096,2)],xe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function je(ie,z,$,le){var ge=ie[2*z],Ae=ie[2*$];return ge<Ae||ge==Ae&&le[z]<=le[$]}function ut(){var ie,z,$,le,ge,Ae,Me,$e,kt,$t,Lt,Ut,Wt,Vt,Tt,ur,qt,ze,nt,Ye,Xe,yt,mt,We,rt,ft,Yt,Ft,fr,mr,Er,Lr,en,Qr,Cr,Gr,Nr,lr,pr,sr,dr,Sr=this,Xr=new ye,cn=new ye,Dn=new ye;function jr(){var mn;for(mn=0;mn<286;mn++)Er[2*mn]=0;for(mn=0;mn<30;mn++)Lr[2*mn]=0;for(mn=0;mn<19;mn++)en[2*mn]=0;Er[512]=1,Sr.opt_len=Sr.static_len=0,Gr=lr=0}function On(mn,In){var Ln,Nn,jn=-1,ni=mn[1],di=0,Da=7,Xi=4;for(ni===0&&(Da=138,Xi=3),mn[2*(In+1)+1]=65535,Ln=0;Ln<=In;Ln++)Nn=ni,ni=mn[2*(Ln+1)+1],++di<Da&&Nn==ni||(di<Xi?en[2*Nn]+=di:Nn!==0?(Nn!=jn&&en[2*Nn]++,en[32]++):di<=10?en[34]++:en[36]++,jn=Nn,Xi=(di=0)===ni?(Da=138,3):Nn==ni?(Da=6,3):(Da=7,4))}function gn(mn){Sr.pending_buf[Sr.pending++]=mn}function Un(mn){gn(255&mn),gn(mn>>>8&255)}function Wn(mn,In){var Ln,Nn=In;16-Nn<dr?(Un(sr|=(Ln=mn)<<dr&65535),sr=Ln>>>16-dr,dr+=Nn-16):(sr|=mn<<dr&65535,dr+=Nn)}function Jn(mn,In){var Ln=2*mn;Wn(65535&In[Ln],65535&In[Ln+1])}function Qn(mn,In){var Ln,Nn,jn=-1,ni=mn[1],di=0,Da=7,Xi=4;for(ni===0&&(Da=138,Xi=3),Ln=0;Ln<=In;Ln++)if(Nn=ni,ni=mn[2*(Ln+1)+1],!(++di<Da&&Nn==ni)){if(di<Xi)for(;Jn(Nn,en),--di!=0;);else Nn!==0?(Nn!=jn&&(Jn(Nn,en),di--),Jn(16,en),Wn(di-3,2)):di<=10?(Jn(17,en),Wn(di-3,3)):(Jn(18,en),Wn(di-11,7));jn=Nn,Xi=(di=0)===ni?(Da=138,3):Nn==ni?(Da=6,3):(Da=7,4)}}function Vn(){dr==16?(Un(sr),dr=sr=0):8<=dr&&(gn(255&sr),sr>>>=8,dr-=8)}function yn(mn,In){var Ln,Nn,jn;if(Sr.pending_buf[Nr+2*Gr]=mn>>>8&255,Sr.pending_buf[Nr+2*Gr+1]=255&mn,Sr.pending_buf[Qr+Gr]=255&In,Gr++,mn===0?Er[2*In]++:(lr++,mn--,Er[2*(ye._length_code[In]+256+1)]++,Lr[2*ye.d_code(mn)]++),(8191&Gr)==0&&2<Yt){for(Ln=8*Gr,Nn=Xe-qt,jn=0;jn<30;jn++)Ln+=Lr[2*jn]*(5+ye.extra_dbits[jn]);if(Ln>>>=3,lr<Math.floor(Gr/2)&&Ln<Math.floor(Nn/2))return!0}return Gr==Cr-1}function on(mn,In){var Ln,Nn,jn,ni,di=0;if(Gr!==0)for(;Ln=Sr.pending_buf[Nr+2*di]<<8&65280|255&Sr.pending_buf[Nr+2*di+1],Nn=255&Sr.pending_buf[Qr+di],di++,Ln===0?Jn(Nn,mn):(Jn((jn=ye._length_code[Nn])+256+1,mn),(ni=ye.extra_lbits[jn])!==0&&Wn(Nn-=ye.base_length[jn],ni),Jn(jn=ye.d_code(--Ln),In),(ni=ye.extra_dbits[jn])!==0&&Wn(Ln-=ye.base_dist[jn],ni)),di<Gr;);Jn(256,mn),pr=mn[513]}function ia(){8<dr?Un(sr):0<dr&&gn(255&sr),dr=sr=0}function xa(mn,In,Ln){var Nn,jn,ni;Wn(0+(Ln?1:0),3),Nn=mn,jn=In,ni=!0,ia(),pr=8,ni&&(Un(jn),Un(~jn)),Sr.pending_buf.set($e.subarray(Nn,Nn+jn),Sr.pending),Sr.pending+=jn}function ta(mn,In,Ln){var Nn,jn,ni=0;0<Yt?(Xr.build_tree(Sr),cn.build_tree(Sr),ni=function(){var di;for(On(Er,Xr.max_code),On(Lr,cn.max_code),Dn.build_tree(Sr),di=18;3<=di&&en[2*ye.bl_order[di]+1]===0;di--);return Sr.opt_len+=3*(di+1)+5+5+4,di}(),Nn=Sr.opt_len+3+7>>>3,(jn=Sr.static_len+3+7>>>3)<=Nn&&(Nn=jn)):Nn=jn=In+5,In+4<=Nn&&mn!=-1?xa(mn,In,Ln):jn==Nn?(Wn(2+(Ln?1:0),3),on(Ce.static_ltree,Ce.static_dtree)):(Wn(4+(Ln?1:0),3),function(di,Da,Xi){var ma;for(Wn(di-257,5),Wn(Da-1,5),Wn(Xi-4,4),ma=0;ma<Xi;ma++)Wn(en[2*ye.bl_order[ma]+1],3);Qn(Er,di-1),Qn(Lr,Da-1)}(Xr.max_code+1,cn.max_code+1,ni+1),on(Er,Lr)),jr(),Ln&&ia()}function Ni(mn){ta(0<=qt?qt:-1,Xe-qt,mn),qt=Xe,ie.flush_pending()}function Ci(){var mn,In,Ln,Nn;do{if((Nn=kt-mt-Xe)===0&&Xe===0&&mt===0)Nn=ge;else if(Nn==-1)Nn--;else if(ge+ge-262<=Xe){for($e.set($e.subarray(ge,ge+ge),0),yt-=ge,Xe-=ge,qt-=ge,Ln=mn=Wt;In=65535&Lt[--Ln],Lt[Ln]=ge<=In?In-ge:0,--mn!=0;);for(Ln=mn=ge;In=65535&$t[--Ln],$t[Ln]=ge<=In?In-ge:0,--mn!=0;);Nn+=ge}if(ie.avail_in===0)return;mn=ie.read_buf($e,Xe+mt,Nn),3<=(mt+=mn)&&(Ut=((Ut=255&$e[Xe])<<ur^255&$e[Xe+1])&Tt)}while(mt<262&&ie.avail_in!==0)}function Gn(mn){var In,Ln,Nn=rt,jn=Xe,ni=We,di=ge-262<Xe?Xe-(ge-262):0,Da=mr,Xi=Me,ma=Xe+258,_a=$e[jn+ni-1],Xa=$e[jn+ni];fr<=We&&(Nn>>=2),mt<Da&&(Da=mt);do if($e[(In=mn)+ni]==Xa&&$e[In+ni-1]==_a&&$e[In]==$e[jn]&&$e[++In]==$e[jn+1]){jn+=2,In++;do;while($e[++jn]==$e[++In]&&$e[++jn]==$e[++In]&&$e[++jn]==$e[++In]&&$e[++jn]==$e[++In]&&$e[++jn]==$e[++In]&&$e[++jn]==$e[++In]&&$e[++jn]==$e[++In]&&$e[++jn]==$e[++In]&&jn<ma);if(Ln=258-(ma-jn),jn=ma-258,ni<Ln){if(yt=mn,Da<=(ni=Ln))break;_a=$e[jn+ni-1],Xa=$e[jn+ni]}}while((mn=65535&$t[mn&Xi])>di&&--Nn!=0);return ni<=mt?ni:mt}function Ia(mn){return mn.total_in=mn.total_out=0,mn.msg=null,Sr.pending=0,Sr.pending_out=0,z=113,le=0,Xr.dyn_tree=Er,Xr.stat_desc=Ce.static_l_desc,cn.dyn_tree=Lr,cn.stat_desc=Ce.static_d_desc,Dn.dyn_tree=en,Dn.stat_desc=Ce.static_bl_desc,dr=sr=0,pr=8,jr(),function(){var In;for(kt=2*ge,In=Lt[Wt-1]=0;In<Wt-1;In++)Lt[In]=0;ft=Te[Yt].max_lazy,fr=Te[Yt].good_length,mr=Te[Yt].nice_length,rt=Te[Yt].max_chain,ze=We=2,Ut=Ye=mt=qt=Xe=0}(),0}Sr.depth=[],Sr.bl_count=[],Sr.heap=[],Er=[],Lr=[],en=[],Sr.pqdownheap=function(mn,In){for(var Ln=Sr.heap,Nn=Ln[In],jn=In<<1;jn<=Sr.heap_len&&(jn<Sr.heap_len&&je(mn,Ln[jn+1],Ln[jn],Sr.depth)&&jn++,!je(mn,Nn,Ln[jn],Sr.depth));)Ln[In]=Ln[jn],In=jn,jn<<=1;Ln[In]=Nn},Sr.deflateInit=function(mn,In,Ln,Nn,jn,ni){return Nn||(Nn=8),jn||(jn=8),ni||(ni=0),mn.msg=null,In==-1&&(In=6),jn<1||9<jn||Nn!=8||Ln<9||15<Ln||In<0||9<In||ni<0||2<ni?-2:(mn.dstate=Sr,Me=(ge=1<<(Ae=Ln))-1,Tt=(Wt=1<<(Vt=jn+7))-1,ur=Math.floor((Vt+3-1)/3),$e=new Uint8Array(2*ge),$t=[],Lt=[],Cr=1<<jn+6,Sr.pending_buf=new Uint8Array(4*Cr),$=4*Cr,Nr=Math.floor(Cr/2),Qr=3*Cr,Yt=In,Ft=ni,Ia(mn))},Sr.deflateEnd=function(){return z!=42&&z!=113&&z!=666?-2:(Sr.pending_buf=null,$e=$t=Lt=null,Sr.dstate=null,z==113?-3:0)},Sr.deflateParams=function(mn,In,Ln){var Nn=0;return In==-1&&(In=6),In<0||9<In||Ln<0||2<Ln?-2:(Te[Yt].func!=Te[In].func&&mn.total_in!==0&&(Nn=mn.deflate(1)),Yt!=In&&(ft=Te[Yt=In].max_lazy,fr=Te[Yt].good_length,mr=Te[Yt].nice_length,rt=Te[Yt].max_chain),Ft=Ln,Nn)},Sr.deflateSetDictionary=function(mn,In,Ln){var Nn,jn=Ln,ni=0;if(!In||z!=42)return-2;if(jn<3)return 0;for(ge-262<jn&&(ni=Ln-(jn=ge-262)),$e.set(In.subarray(ni,ni+jn),0),qt=Xe=jn,Ut=((Ut=255&$e[0])<<ur^255&$e[1])&Tt,Nn=0;Nn<=jn-3;Nn++)Ut=(Ut<<ur^255&$e[Nn+2])&Tt,$t[Nn&Me]=Lt[Ut],Lt[Ut]=Nn;return 0},Sr.deflate=function(mn,In){var Ln,Nn,jn,ni,di,Da;if(4<In||In<0)return-2;if(!mn.next_out||!mn.next_in&&mn.avail_in!==0||z==666&&In!=4)return mn.msg=xe[4],-2;if(mn.avail_out===0)return mn.msg=xe[7],-5;if(ie=mn,ni=le,le=In,z==42&&(Nn=8+(Ae-8<<4)<<8,3<(jn=(Yt-1&255)>>1)&&(jn=3),Nn|=jn<<6,Xe!==0&&(Nn|=32),z=113,gn((Da=Nn+=31-Nn%31)>>8&255),gn(255&Da)),Sr.pending!==0){if(ie.flush_pending(),ie.avail_out===0)return le=-1,0}else if(ie.avail_in===0&&In<=ni&&In!=4)return ie.msg=xe[7],-5;if(z==666&&ie.avail_in!==0)return mn.msg=xe[7],-5;if(ie.avail_in!==0||mt!==0||In!=0&&z!=666){switch(di=-1,Te[Yt].func){case 0:di=function(Xi){var ma,_a=65535;for($-5<_a&&(_a=$-5);;){if(mt<=1){if(Ci(),mt===0&&Xi==0)return 0;if(mt===0)break}if(Xe+=mt,ma=qt+_a,((mt=0)===Xe||ma<=Xe)&&(mt=Xe-ma,Xe=ma,Ni(!1),ie.avail_out===0))return 0;if(ge-262<=Xe-qt&&(Ni(!1),ie.avail_out===0))return 0}return Ni(Xi==4),ie.avail_out===0?Xi==4?2:0:Xi==4?3:1}(In);break;case 1:di=function(Xi){for(var ma,_a=0;;){if(mt<262){if(Ci(),mt<262&&Xi==0)return 0;if(mt===0)break}if(3<=mt&&(Ut=(Ut<<ur^255&$e[Xe+2])&Tt,_a=65535&Lt[Ut],$t[Xe&Me]=Lt[Ut],Lt[Ut]=Xe),_a!==0&&(Xe-_a&65535)<=ge-262&&Ft!=2&&(ze=Gn(_a)),3<=ze)if(ma=yn(Xe-yt,ze-3),mt-=ze,ze<=ft&&3<=mt){for(ze--;Ut=(Ut<<ur^255&$e[++Xe+2])&Tt,_a=65535&Lt[Ut],$t[Xe&Me]=Lt[Ut],Lt[Ut]=Xe,--ze!=0;);Xe++}else Xe+=ze,ze=0,Ut=((Ut=255&$e[Xe])<<ur^255&$e[Xe+1])&Tt;else ma=yn(0,255&$e[Xe]),mt--,Xe++;if(ma&&(Ni(!1),ie.avail_out===0))return 0}return Ni(Xi==4),ie.avail_out===0?Xi==4?2:0:Xi==4?3:1}(In);break;case 2:di=function(Xi){for(var ma,_a,Xa=0;;){if(mt<262){if(Ci(),mt<262&&Xi==0)return 0;if(mt===0)break}if(3<=mt&&(Ut=(Ut<<ur^255&$e[Xe+2])&Tt,Xa=65535&Lt[Ut],$t[Xe&Me]=Lt[Ut],Lt[Ut]=Xe),We=ze,nt=yt,ze=2,Xa!==0&&We<ft&&(Xe-Xa&65535)<=ge-262&&(Ft!=2&&(ze=Gn(Xa)),ze<=5&&(Ft==1||ze==3&&4096<Xe-yt)&&(ze=2)),3<=We&&ze<=We){for(_a=Xe+mt-3,ma=yn(Xe-1-nt,We-3),mt-=We-1,We-=2;++Xe<=_a&&(Ut=(Ut<<ur^255&$e[Xe+2])&Tt,Xa=65535&Lt[Ut],$t[Xe&Me]=Lt[Ut],Lt[Ut]=Xe),--We!=0;);if(Ye=0,ze=2,Xe++,ma&&(Ni(!1),ie.avail_out===0))return 0}else if(Ye!==0){if((ma=yn(0,255&$e[Xe-1]))&&Ni(!1),Xe++,mt--,ie.avail_out===0)return 0}else Ye=1,Xe++,mt--}return Ye!==0&&(ma=yn(0,255&$e[Xe-1]),Ye=0),Ni(Xi==4),ie.avail_out===0?Xi==4?2:0:Xi==4?3:1}(In)}if(di!=2&&di!=3||(z=666),di==0||di==2)return ie.avail_out===0&&(le=-1),0;if(di==1){if(In==1)Wn(2,3),Jn(256,Ce.static_ltree),Vn(),1+pr+10-dr<9&&(Wn(2,3),Jn(256,Ce.static_ltree),Vn()),pr=7;else if(xa(0,0,!1),In==3)for(Ln=0;Ln<Wt;Ln++)Lt[Ln]=0;if(ie.flush_pending(),ie.avail_out===0)return le=-1,0}}return In!=4?0:1}}function wt(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}wt.prototype={deflateInit:function(z,$){return this.dstate=new ut,$||($=ue),this.dstate.deflateInit(this,z,$)},deflate:function(z){return this.dstate?this.dstate.deflate(this,z):-2},deflateEnd:function(){if(!this.dstate)return-2;var z=this.dstate.deflateEnd();return this.dstate=null,z},deflateParams:function(z,$){return this.dstate?this.dstate.deflateParams(this,z,$):-2},deflateSetDictionary:function(z,$){return this.dstate?this.dstate.deflateSetDictionary(this,z,$):-2},read_buf:function(z,$,le){var ge=this.avail_in;return le<ge&&(ge=le),ge===0?0:(this.avail_in-=ge,z.set(this.next_in.subarray(this.next_in_index,this.next_in_index+ge),$),this.next_in_index+=ge,this.total_in+=ge,ge)},flush_pending:function(){var z=this,$=z.dstate.pending;$>z.avail_out&&($=z.avail_out),$!==0&&(z.next_out.set(z.dstate.pending_buf.subarray(z.dstate.pending_out,z.dstate.pending_out+$),z.next_out_index),z.next_out_index+=$,z.dstate.pending_out+=$,z.total_out+=$,z.avail_out-=$,z.dstate.pending-=$,z.dstate.pending===0&&(z.dstate.pending_out=0))}};var ee=de.zip||de;ee.Deflater=ee._jzlib_Deflater=function(ie){var z=new wt,$=new Uint8Array(512),le=ie?ie.level:-1;le===void 0&&(le=-1),z.deflateInit(le),z.next_out=$,this.append=function(ge,Ae){var Me,$e=[],kt=0,$t=0,Lt=0;if(ge.length){z.next_in_index=0,z.next_in=ge,z.avail_in=ge.length;do{if(z.next_out_index=0,z.avail_out=512,z.deflate(0)!=0)throw new Error("deflating: "+z.msg);z.next_out_index&&(z.next_out_index==512?$e.push(new Uint8Array($)):$e.push(new Uint8Array($.subarray(0,z.next_out_index)))),Lt+=z.next_out_index,Ae&&0<z.next_in_index&&z.next_in_index!=kt&&(Ae(z.next_in_index),kt=z.next_in_index)}while(0<z.avail_in||z.avail_out===0);return Me=new Uint8Array(Lt),$e.forEach(function(Ut){Me.set(Ut,$t),$t+=Ut.length}),Me}},this.flush=function(){var ge,Ae,Me=[],$e=0,kt=0;do{if(z.next_out_index=0,z.avail_out=512,(ge=z.deflate(4))!=1&&ge!=0)throw new Error("deflating: "+z.msg);0<512-z.avail_out&&Me.push(new Uint8Array($.subarray(0,z.next_out_index))),kt+=z.next_out_index}while(0<z.avail_in||z.avail_out===0);return z.deflateEnd(),Ae=new Uint8Array(kt),Me.forEach(function($t){Ae.set($t,$e),$e+=$t.length}),Ae}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(de){var ue;de=de||"",this.ok=!1,de.charAt(0)=="#"&&(de=de.substr(1,6)),de=(de=de.replace(/ /g,"")).toLowerCase();var se={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var ae in se)de==ae&&(de=se[ae]);for(var ye=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ut){return[parseInt(ut[1]),parseInt(ut[2]),parseInt(ut[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ut){return[parseInt(ut[1],16),parseInt(ut[2],16),parseInt(ut[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ut){return[parseInt(ut[1]+ut[1],16),parseInt(ut[2]+ut[2],16),parseInt(ut[3]+ut[3],16)]}}],Ce=0;Ce<ye.length;Ce++){var Oe=ye[Ce].re,Te=ye[Ce].process,xe=Oe.exec(de);xe&&(ue=Te(xe),this.r=ue[0],this.g=ue[1],this.b=ue[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var je=this.r.toString(16),ut=this.g.toString(16),wt=this.b.toString(16);return je.length==1&&(je="0"+je),ut.length==1&&(ut="0"+ut),wt.length==1&&(wt="0"+wt),"#"+je+ut+wt}},function(de){var ue="+".charCodeAt(0),se="/".charCodeAt(0),ae="0".charCodeAt(0),ye="a".charCodeAt(0),Ce="A".charCodeAt(0),Oe="-".charCodeAt(0),Te="_".charCodeAt(0),xe=function(nt){var Ye=nt.charCodeAt(0);return Ye===ue||Ye===Oe?62:Ye===se||Ye===Te?63:Ye<ae?-1:Ye<ae+10?Ye-ae+26+26:Ye<Ce+26?Ye-Ce:Ye<ye+26?Ye-ye+26:void 0};de.API.TTFFont=function(){function ze(nt,Ye,Xe){var yt;if(this.rawData=nt,yt=this.contents=new ut(nt),this.contents.pos=4,yt.readString(4)==="ttcf")throw Ye?new Error("Font "+Ye+" not found in TTC file."):new Error("Must specify a font name for TTC files.");yt.pos=0,this.parse(),this.subset=new qt(this),this.registerTTF()}return ze.open=function(nt,Ye,Xe,yt){if(typeof Xe!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new ze(function(mt){var We,rt,ft,Yt,Ft,fr;if(0<mt.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var mr=mt.length;Ft=mt.charAt(mr-2)==="="?2:mt.charAt(mr-1)==="="?1:0,fr=new Uint8Array(3*mt.length/4-Ft),ft=0<Ft?mt.length-4:mt.length;var Er=0;function Lr(en){fr[Er++]=en}for(rt=We=0;We<ft;We+=4,rt+=3)Lr((16711680&(Yt=xe(mt.charAt(We))<<18|xe(mt.charAt(We+1))<<12|xe(mt.charAt(We+2))<<6|xe(mt.charAt(We+3))))>>16),Lr((65280&Yt)>>8),Lr(255&Yt);return Ft===2?Lr(255&(Yt=xe(mt.charAt(We))<<2|xe(mt.charAt(We+1))>>4)):Ft===1&&(Lr((Yt=xe(mt.charAt(We))<<10|xe(mt.charAt(We+1))<<4|xe(mt.charAt(We+2))>>2)>>8&255),Lr(255&Yt)),fr}(Xe),Ye,yt)},ze.prototype.parse=function(){return this.directory=new wt(this.contents),this.head=new z(this),this.name=new kt(this),this.cmap=new le(this),this.toUnicode=new Map,this.hhea=new ge(this),this.maxp=new $t(this),this.hmtx=new Lt(this),this.post=new Me(this),this.os2=new Ae(this),this.loca=new ur(this),this.glyf=new Wt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},ze.prototype.registerTTF=function(){var nt,Ye,Xe,yt,mt;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var We,rt,ft,Yt;for(Yt=[],We=0,rt=(ft=this.bbox).length;We<rt;We++)nt=ft[We],Yt.push(Math.round(nt*this.scaleFactor));return Yt}.call(this),this.stemV=0,this.post.exists?(Xe=255&(yt=this.post.italic_angle),!0&(Ye=yt>>16)&&(Ye=-(1+(65535^Ye))),this.italicAngle=+(Ye+"."+Xe)):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=(mt=this.familyClass)===1||mt===2||mt===3||mt===4||mt===5||mt===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},ze.prototype.characterToGlyph=function(nt){var Ye;return((Ye=this.cmap.unicode)!=null?Ye.codeMap[nt]:void 0)||0},ze.prototype.widthOfGlyph=function(nt){var Ye;return Ye=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(nt).advance*Ye},ze.prototype.widthOfString=function(nt,Ye,Xe){var yt,mt,We,rt,ft;for(mt=rt=We=0,ft=(nt=""+nt).length;0<=ft?rt<ft:ft<rt;mt=0<=ft?++rt:--rt)yt=nt.charCodeAt(mt),We+=this.widthOfGlyph(this.characterToGlyph(yt))+Xe*(1e3/Ye)||0;return We*(Ye/1e3)},ze.prototype.lineHeight=function(nt,Ye){var Xe;return Ye==null&&(Ye=!1),Xe=Ye?this.lineGap:0,(this.ascender+Xe-this.decender)/1e3*nt},ze}();var je,ut=function(){function ze(nt){this.data=nt!=null?nt:[],this.pos=0,this.length=this.data.length}return ze.prototype.readByte=function(){return this.data[this.pos++]},ze.prototype.writeByte=function(nt){return this.data[this.pos++]=nt},ze.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},ze.prototype.writeUInt32=function(nt){return this.writeByte(nt>>>24&255),this.writeByte(nt>>16&255),this.writeByte(nt>>8&255),this.writeByte(255&nt)},ze.prototype.readInt32=function(){var nt;return 2147483648<=(nt=this.readUInt32())?nt-4294967296:nt},ze.prototype.writeInt32=function(nt){return nt<0&&(nt+=4294967296),this.writeUInt32(nt)},ze.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},ze.prototype.writeUInt16=function(nt){return this.writeByte(nt>>8&255),this.writeByte(255&nt)},ze.prototype.readInt16=function(){var nt;return 32768<=(nt=this.readUInt16())?nt-65536:nt},ze.prototype.writeInt16=function(nt){return nt<0&&(nt+=65536),this.writeUInt16(nt)},ze.prototype.readString=function(nt){var Ye,Xe,yt;for(Xe=[],Ye=yt=0;0<=nt?yt<nt:nt<yt;Ye=0<=nt?++yt:--yt)Xe[Ye]=String.fromCharCode(this.readByte());return Xe.join("")},ze.prototype.writeString=function(nt){var Ye,Xe,yt,mt;for(mt=[],Ye=Xe=0,yt=nt.length;0<=yt?Xe<yt:yt<Xe;Ye=0<=yt?++Xe:--Xe)mt.push(this.writeByte(nt.charCodeAt(Ye)));return mt},ze.prototype.readShort=function(){return this.readInt16()},ze.prototype.writeShort=function(nt){return this.writeInt16(nt)},ze.prototype.readLongLong=function(){var nt,Ye,Xe,yt,mt,We,rt,ft;return nt=this.readByte(),Ye=this.readByte(),Xe=this.readByte(),yt=this.readByte(),mt=this.readByte(),We=this.readByte(),rt=this.readByte(),ft=this.readByte(),128&nt?-1*(72057594037927940*(255^nt)+281474976710656*(255^Ye)+1099511627776*(255^Xe)+4294967296*(255^yt)+16777216*(255^mt)+65536*(255^We)+256*(255^rt)+(255^ft)+1):72057594037927940*nt+281474976710656*Ye+1099511627776*Xe+4294967296*yt+16777216*mt+65536*We+256*rt+ft},ze.prototype.writeLongLong=function(nt){var Ye,Xe;return Ye=Math.floor(nt/4294967296),Xe=4294967295&nt,this.writeByte(Ye>>24&255),this.writeByte(Ye>>16&255),this.writeByte(Ye>>8&255),this.writeByte(255&Ye),this.writeByte(Xe>>24&255),this.writeByte(Xe>>16&255),this.writeByte(Xe>>8&255),this.writeByte(255&Xe)},ze.prototype.readInt=function(){return this.readInt32()},ze.prototype.writeInt=function(nt){return this.writeInt32(nt)},ze.prototype.read=function(nt){var Ye,Xe;for(Ye=[],Xe=0;0<=nt?Xe<nt:nt<Xe;0<=nt?++Xe:--Xe)Ye.push(this.readByte());return Ye},ze.prototype.write=function(nt){var Ye,Xe,yt,mt;for(mt=[],Xe=0,yt=nt.length;Xe<yt;Xe++)Ye=nt[Xe],mt.push(this.writeByte(Ye));return mt},ze}(),wt=function(){var ze;function nt(Ye){var Xe,yt,mt;for(this.scalarType=Ye.readInt(),this.tableCount=Ye.readShort(),this.searchRange=Ye.readShort(),this.entrySelector=Ye.readShort(),this.rangeShift=Ye.readShort(),this.tables={},yt=0,mt=this.tableCount;0<=mt?yt<mt:mt<yt;0<=mt?++yt:--yt)Xe={tag:Ye.readString(4),checksum:Ye.readInt(),offset:Ye.readInt(),length:Ye.readInt()},this.tables[Xe.tag]=Xe}return nt.prototype.encode=function(Ye){var Xe,yt,mt,We,rt,ft,Yt,Ft,fr,mr,Er,Lr,en;for(en in Er=Object.keys(Ye).length,ft=Math.log(2),fr=16*Math.floor(Math.log(Er)/ft),We=Math.floor(fr/ft),Ft=16*Er-fr,(yt=new ut).writeInt(this.scalarType),yt.writeShort(Er),yt.writeShort(fr),yt.writeShort(We),yt.writeShort(Ft),mt=16*Er,Yt=yt.pos+mt,rt=null,Lr=[],Ye)for(mr=Ye[en],yt.writeString(en),yt.writeInt(ze(mr)),yt.writeInt(Yt),yt.writeInt(mr.length),Lr=Lr.concat(mr),en==="head"&&(rt=Yt),Yt+=mr.length;Yt%4;)Lr.push(0),Yt++;return yt.write(Lr),Xe=2981146554-ze(yt.data),yt.pos=rt+8,yt.writeUInt32(Xe),yt.data},ze=function(Xe){var yt,mt,We,rt;for(Xe=Ut.call(Xe);Xe.length%4;)Xe.push(0);for(mt=new ut(Xe),We=yt=0,rt=Xe.length;We<rt;We+=4)yt+=mt.readUInt32();return 4294967295&yt},nt}(),ee={}.hasOwnProperty,ie=function(nt,Ye){for(var Xe in Ye)ee.call(Ye,Xe)&&(nt[Xe]=Ye[Xe]);function yt(){this.constructor=nt}return yt.prototype=Ye.prototype,nt.prototype=new yt,nt.__super__=Ye.prototype,nt};je=function(){function ze(nt){var Ye;this.file=nt,Ye=this.file.directory.tables[this.tag],this.exists=!!Ye,Ye&&(this.offset=Ye.offset,this.length=Ye.length,this.parse(this.file.contents))}return ze.prototype.parse=function(){},ze.prototype.encode=function(){},ze.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},ze}();var z=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="head",nt.prototype.parse=function(Ye){return Ye.pos=this.offset,this.version=Ye.readInt(),this.revision=Ye.readInt(),this.checkSumAdjustment=Ye.readInt(),this.magicNumber=Ye.readInt(),this.flags=Ye.readShort(),this.unitsPerEm=Ye.readShort(),this.created=Ye.readLongLong(),this.modified=Ye.readLongLong(),this.xMin=Ye.readShort(),this.yMin=Ye.readShort(),this.xMax=Ye.readShort(),this.yMax=Ye.readShort(),this.macStyle=Ye.readShort(),this.lowestRecPPEM=Ye.readShort(),this.fontDirectionHint=Ye.readShort(),this.indexToLocFormat=Ye.readShort(),this.glyphDataFormat=Ye.readShort()},nt.prototype.encode=function(Ye){var Xe;return(Xe=new ut).writeInt(this.version),Xe.writeInt(this.revision),Xe.writeInt(this.checkSumAdjustment),Xe.writeInt(this.magicNumber),Xe.writeShort(this.flags),Xe.writeShort(this.unitsPerEm),Xe.writeLongLong(this.created),Xe.writeLongLong(this.modified),Xe.writeShort(this.xMin),Xe.writeShort(this.yMin),Xe.writeShort(this.xMax),Xe.writeShort(this.yMax),Xe.writeShort(this.macStyle),Xe.writeShort(this.lowestRecPPEM),Xe.writeShort(this.fontDirectionHint),Xe.writeShort(Ye),Xe.writeShort(this.glyphDataFormat),Xe.data},nt}(),$=function(){function ze(nt,Ye){var Xe,yt,mt,We,rt,ft,Yt,Ft,fr,mr,Er,Lr,en,Qr,Cr,Gr,Nr,lr;switch(this.platformID=nt.readUInt16(),this.encodingID=nt.readShort(),this.offset=Ye+nt.readInt(),fr=nt.pos,nt.pos=this.offset,this.format=nt.readUInt16(),this.length=nt.readUInt16(),this.language=nt.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(ft=Cr=0;Cr<256;ft=++Cr)this.codeMap[ft]=nt.readByte();break;case 4:for(Er=nt.readUInt16(),mr=Er/2,nt.pos+=6,mt=function(){var pr,sr;for(sr=[],ft=pr=0;0<=mr?pr<mr:mr<pr;ft=0<=mr?++pr:--pr)sr.push(nt.readUInt16());return sr}(),nt.pos+=2,en=function(){var pr,sr;for(sr=[],ft=pr=0;0<=mr?pr<mr:mr<pr;ft=0<=mr?++pr:--pr)sr.push(nt.readUInt16());return sr}(),Yt=function(){var pr,sr;for(sr=[],ft=pr=0;0<=mr?pr<mr:mr<pr;ft=0<=mr?++pr:--pr)sr.push(nt.readUInt16());return sr}(),Ft=function(){var pr,sr;for(sr=[],ft=pr=0;0<=mr?pr<mr:mr<pr;ft=0<=mr?++pr:--pr)sr.push(nt.readUInt16());return sr}(),yt=(this.length-nt.pos+this.offset)/2,rt=function(){var pr,sr;for(sr=[],ft=pr=0;0<=yt?pr<yt:yt<pr;ft=0<=yt?++pr:--pr)sr.push(nt.readUInt16());return sr}(),ft=Gr=0,lr=mt.length;Gr<lr;ft=++Gr)for(Qr=mt[ft],Xe=Nr=Lr=en[ft];Lr<=Qr?Nr<=Qr:Qr<=Nr;Xe=Lr<=Qr?++Nr:--Nr)Ft[ft]===0?We=Xe+Yt[ft]:(We=rt[Ft[ft]/2+(Xe-Lr)-(mr-ft)]||0)!==0&&(We+=Yt[ft]),this.codeMap[Xe]=65535&We}nt.pos=fr}return ze.encode=function(nt,Ye){var Xe,yt,mt,We,rt,ft,Yt,Ft,fr,mr,Er,Lr,en,Qr,Cr,Gr,Nr,lr,pr,sr,dr,Sr,Xr,cn,Dn,jr,On,gn,Un,Wn,Jn,Qn,Vn,yn,on,ia,xa,ta,Ni,Ci,Gn,Ia,mn,In,Ln,Nn;switch(gn=new ut,We=Object.keys(nt).sort(function(jn,ni){return jn-ni}),Ye){case"macroman":for(en=0,Qr=function(){var jn,ni;for(ni=[],Lr=jn=0;jn<256;Lr=++jn)ni.push(0);return ni}(),Gr={0:0},mt={},Un=0,Vn=We.length;Un<Vn;Un++)Gr[mn=nt[yt=We[Un]]]==null&&(Gr[mn]=++en),mt[yt]={old:nt[yt],new:Gr[nt[yt]]},Qr[yt]=Gr[nt[yt]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(Qr),{charMap:mt,subtable:gn.data,maxGlyphID:en+1};case"unicode":for(jr=[],fr=[],Gr={},Xe={},Cr=Yt=null,Wn=Nr=0,yn=We.length;Wn<yn;Wn++)Gr[pr=nt[yt=We[Wn]]]==null&&(Gr[pr]=++Nr),Xe[yt]={old:pr,new:Gr[pr]},rt=Gr[pr]-yt,Cr!=null&&rt===Yt||(Cr&&fr.push(Cr),jr.push(yt),Yt=rt),Cr=yt;for(Cr&&fr.push(Cr),fr.push(65535),jr.push(65535),cn=2*(Xr=jr.length),Sr=2*Math.pow(Math.log(Xr)/Math.LN2,2),mr=Math.log(Sr/2)/Math.LN2,dr=2*Xr-Sr,ft=[],sr=[],Er=[],Lr=Jn=0,on=jr.length;Jn<on;Lr=++Jn){if(Dn=jr[Lr],Ft=fr[Lr],Dn===65535){ft.push(0),sr.push(0);break}if(32768<=Dn-(On=Xe[Dn].new))for(ft.push(0),sr.push(2*(Er.length+Xr-Lr)),yt=Qn=Dn;Dn<=Ft?Qn<=Ft:Ft<=Qn;yt=Dn<=Ft?++Qn:--Qn)Er.push(Xe[yt].new);else ft.push(On-Dn),sr.push(0)}for(gn.writeUInt16(3),gn.writeUInt16(1),gn.writeUInt32(12),gn.writeUInt16(4),gn.writeUInt16(16+8*Xr+2*Er.length),gn.writeUInt16(0),gn.writeUInt16(cn),gn.writeUInt16(Sr),gn.writeUInt16(mr),gn.writeUInt16(dr),Gn=0,ia=fr.length;Gn<ia;Gn++)yt=fr[Gn],gn.writeUInt16(yt);for(gn.writeUInt16(0),Ia=0,xa=jr.length;Ia<xa;Ia++)yt=jr[Ia],gn.writeUInt16(yt);for(In=0,ta=ft.length;In<ta;In++)rt=ft[In],gn.writeUInt16(rt);for(Ln=0,Ni=sr.length;Ln<Ni;Ln++)lr=sr[Ln],gn.writeUInt16(lr);for(Nn=0,Ci=Er.length;Nn<Ci;Nn++)en=Er[Nn],gn.writeUInt16(en);return{charMap:Xe,subtable:gn.data,maxGlyphID:Nr+1}}},ze}(),le=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="cmap",nt.prototype.parse=function(Ye){var Xe,yt,mt;for(Ye.pos=this.offset,this.version=Ye.readUInt16(),yt=Ye.readUInt16(),this.tables=[],this.unicode=null,mt=0;0<=yt?mt<yt:yt<mt;0<=yt?++mt:--mt)Xe=new $(Ye,this.offset),this.tables.push(Xe),Xe.isUnicode&&this.unicode==null&&(this.unicode=Xe);return!0},nt.encode=function(Ye,Xe){var yt,mt;return Xe==null&&(Xe="macroman"),yt=$.encode(Ye,Xe),(mt=new ut).writeUInt16(0),mt.writeUInt16(1),yt.table=mt.data.concat(yt.subtable),yt},nt}(),ge=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="hhea",nt.prototype.parse=function(Ye){return Ye.pos=this.offset,this.version=Ye.readInt(),this.ascender=Ye.readShort(),this.decender=Ye.readShort(),this.lineGap=Ye.readShort(),this.advanceWidthMax=Ye.readShort(),this.minLeftSideBearing=Ye.readShort(),this.minRightSideBearing=Ye.readShort(),this.xMaxExtent=Ye.readShort(),this.caretSlopeRise=Ye.readShort(),this.caretSlopeRun=Ye.readShort(),this.caretOffset=Ye.readShort(),Ye.pos+=8,this.metricDataFormat=Ye.readShort(),this.numberOfMetrics=Ye.readUInt16()},nt}(),Ae=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="OS/2",nt.prototype.parse=function(Ye){if(Ye.pos=this.offset,this.version=Ye.readUInt16(),this.averageCharWidth=Ye.readShort(),this.weightClass=Ye.readUInt16(),this.widthClass=Ye.readUInt16(),this.type=Ye.readShort(),this.ySubscriptXSize=Ye.readShort(),this.ySubscriptYSize=Ye.readShort(),this.ySubscriptXOffset=Ye.readShort(),this.ySubscriptYOffset=Ye.readShort(),this.ySuperscriptXSize=Ye.readShort(),this.ySuperscriptYSize=Ye.readShort(),this.ySuperscriptXOffset=Ye.readShort(),this.ySuperscriptYOffset=Ye.readShort(),this.yStrikeoutSize=Ye.readShort(),this.yStrikeoutPosition=Ye.readShort(),this.familyClass=Ye.readShort(),this.panose=function(){var Xe,yt;for(yt=[],Xe=0;Xe<10;++Xe)yt.push(Ye.readByte());return yt}(),this.charRange=function(){var Xe,yt;for(yt=[],Xe=0;Xe<4;++Xe)yt.push(Ye.readInt());return yt}(),this.vendorID=Ye.readString(4),this.selection=Ye.readShort(),this.firstCharIndex=Ye.readShort(),this.lastCharIndex=Ye.readShort(),0<this.version&&(this.ascent=Ye.readShort(),this.descent=Ye.readShort(),this.lineGap=Ye.readShort(),this.winAscent=Ye.readShort(),this.winDescent=Ye.readShort(),this.codePageRange=function(){var Xe,yt;for(yt=[],Xe=0;Xe<2;++Xe)yt.push(Ye.readInt());return yt}(),1<this.version))return this.xHeight=Ye.readShort(),this.capHeight=Ye.readShort(),this.defaultChar=Ye.readShort(),this.breakChar=Ye.readShort(),this.maxContext=Ye.readShort()},nt}(),Me=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="post",nt.prototype.parse=function(Ye){var Xe,yt,mt,We;switch(Ye.pos=this.offset,this.format=Ye.readInt(),this.italicAngle=Ye.readInt(),this.underlinePosition=Ye.readShort(),this.underlineThickness=Ye.readShort(),this.isFixedPitch=Ye.readInt(),this.minMemType42=Ye.readInt(),this.maxMemType42=Ye.readInt(),this.minMemType1=Ye.readInt(),this.maxMemType1=Ye.readInt(),this.format){case 65536:break;case 131072:for(yt=Ye.readUInt16(),this.glyphNameIndex=[],mt=0;0<=yt?mt<yt:yt<mt;0<=yt?++mt:--mt)this.glyphNameIndex.push(Ye.readUInt16());for(this.names=[],We=[];Ye.pos<this.offset+this.length;)Xe=Ye.readByte(),We.push(this.names.push(Ye.readString(Xe)));return We;case 151552:return yt=Ye.readUInt16(),this.offsets=Ye.read(yt);case 196608:break;case 262144:return this.map=function(){var rt,ft,Yt;for(Yt=[],rt=0,ft=this.file.maxp.numGlyphs;0<=ft?rt<ft:ft<rt;0<=ft?++rt:--rt)Yt.push(Ye.readUInt32());return Yt}.call(this)}},nt}(),$e=function(nt,Ye){this.raw=nt,this.length=nt.length,this.platformID=Ye.platformID,this.encodingID=Ye.encodingID,this.languageID=Ye.languageID},kt=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="name",nt.prototype.parse=function(Ye){var Xe,yt,mt,We,rt,ft,Yt,Ft,fr,mr,Er,Lr;for(Ye.pos=this.offset,Ye.readShort(),Xe=Ye.readShort(),ft=Ye.readShort(),yt=[],We=fr=0;0<=Xe?fr<Xe:Xe<fr;We=0<=Xe?++fr:--fr)yt.push({platformID:Ye.readShort(),encodingID:Ye.readShort(),languageID:Ye.readShort(),nameID:Ye.readShort(),length:Ye.readShort(),offset:this.offset+ft+Ye.readShort()});for(Yt={},We=mr=0,Er=yt.length;mr<Er;We=++mr)mt=yt[We],Ye.pos=mt.offset,Ft=Ye.readString(mt.length),rt=new $e(Ft,mt),Yt[Lr=mt.nameID]==null&&(Yt[Lr]=[]),Yt[mt.nameID].push(rt);this.strings=Yt,this.copyright=Yt[0],this.fontFamily=Yt[1],this.fontSubfamily=Yt[2],this.uniqueSubfamily=Yt[3],this.fontName=Yt[4],this.version=Yt[5];try{this.postscriptName=Yt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(en){this.postscriptName=Yt[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Yt[7],this.manufacturer=Yt[8],this.designer=Yt[9],this.description=Yt[10],this.vendorUrl=Yt[11],this.designerUrl=Yt[12],this.license=Yt[13],this.licenseUrl=Yt[14],this.preferredFamily=Yt[15],this.preferredSubfamily=Yt[17],this.compatibleFull=Yt[18],this.sampleText=Yt[19]},nt}(),$t=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="maxp",nt.prototype.parse=function(Ye){return Ye.pos=this.offset,this.version=Ye.readInt(),this.numGlyphs=Ye.readUInt16(),this.maxPoints=Ye.readUInt16(),this.maxContours=Ye.readUInt16(),this.maxCompositePoints=Ye.readUInt16(),this.maxComponentContours=Ye.readUInt16(),this.maxZones=Ye.readUInt16(),this.maxTwilightPoints=Ye.readUInt16(),this.maxStorage=Ye.readUInt16(),this.maxFunctionDefs=Ye.readUInt16(),this.maxInstructionDefs=Ye.readUInt16(),this.maxStackElements=Ye.readUInt16(),this.maxSizeOfInstructions=Ye.readUInt16(),this.maxComponentElements=Ye.readUInt16(),this.maxComponentDepth=Ye.readUInt16()},nt}(),Lt=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="hmtx",nt.prototype.parse=function(Ye){var Xe,yt,mt,We,rt,ft,Yt;for(Ye.pos=this.offset,this.metrics=[],We=0,ft=this.file.hhea.numberOfMetrics;0<=ft?We<ft:ft<We;0<=ft?++We:--We)this.metrics.push({advance:Ye.readUInt16(),lsb:Ye.readInt16()});for(yt=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ft,fr;for(fr=[],Ft=0;0<=yt?Ft<yt:yt<Ft;0<=yt?++Ft:--Ft)fr.push(Ye.readInt16());return fr}(),this.widths=function(){var Ft,fr,mr,Er;for(Er=[],Ft=0,fr=(mr=this.metrics).length;Ft<fr;Ft++)mt=mr[Ft],Er.push(mt.advance);return Er}.call(this),Xe=this.widths[this.widths.length-1],Yt=[],rt=0;0<=yt?rt<yt:yt<rt;0<=yt?++rt:--rt)Yt.push(this.widths.push(Xe));return Yt},nt.prototype.forGlyph=function(Ye){return Ye in this.metrics?this.metrics[Ye]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Ye-this.metrics.length]}},nt}(),Ut=[].slice,Wt=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="glyf",nt.prototype.parse=function(Ye){return this.cache={}},nt.prototype.glyphFor=function(Ye){var Xe,yt,mt,We,rt,ft,Yt,Ft,fr,mr;return(Ye=Ye)in this.cache?this.cache[Ye]:(We=this.file.loca,Xe=this.file.contents,yt=We.indexOf(Ye),(mt=We.lengthOf(Ye))===0?this.cache[Ye]=null:(Xe.pos=this.offset+yt,rt=(ft=new ut(Xe.read(mt))).readShort(),Ft=ft.readShort(),mr=ft.readShort(),Yt=ft.readShort(),fr=ft.readShort(),this.cache[Ye]=rt===-1?new Tt(ft,Ft,mr,Yt,fr):new Vt(ft,rt,Ft,mr,Yt,fr),this.cache[Ye]))},nt.prototype.encode=function(Ye,Xe,yt){var mt,We,rt,ft,Yt;for(rt=[],We=[],ft=0,Yt=Xe.length;ft<Yt;ft++)mt=Ye[Xe[ft]],We.push(rt.length),mt&&(rt=rt.concat(mt.encode(yt)));return We.push(rt.length),{table:rt,offsets:We}},nt}(),Vt=function(){function ze(nt,Ye,Xe,yt,mt,We){this.raw=nt,this.numberOfContours=Ye,this.xMin=Xe,this.yMin=yt,this.xMax=mt,this.yMax=We,this.compound=!1}return ze.prototype.encode=function(){return this.raw.data},ze}(),Tt=function(){function ze(nt,Ye,Xe,yt,mt){var We,rt;for(this.raw=nt,this.xMin=Ye,this.yMin=Xe,this.xMax=yt,this.yMax=mt,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],We=this.raw;rt=We.readShort(),this.glyphOffsets.push(We.pos),this.glyphIDs.push(We.readShort()),32&rt;)We.pos+=1&rt?4:2,128&rt?We.pos+=8:64&rt?We.pos+=4:8&rt&&(We.pos+=2)}return ze.prototype.encode=function(nt){var Ye,Xe,yt,mt,We;for(Xe=new ut(Ut.call(this.raw.data)),Ye=yt=0,mt=(We=this.glyphIDs).length;yt<mt;Ye=++yt)We[Ye],Xe.pos=this.glyphOffsets[Ye];return Xe.data},ze}(),ur=function(ze){function nt(){return nt.__super__.constructor.apply(this,arguments)}return ie(nt,je),nt.prototype.tag="loca",nt.prototype.parse=function(Ye){var Xe;return Ye.pos=this.offset,Xe=this.file.head.indexToLocFormat,this.offsets=Xe===0?function(){var yt,mt,We;for(We=[],yt=0,mt=this.length;yt<mt;yt+=2)We.push(2*Ye.readUInt16());return We}.call(this):function(){var yt,mt,We;for(We=[],yt=0,mt=this.length;yt<mt;yt+=4)We.push(Ye.readUInt32());return We}.call(this)},nt.prototype.indexOf=function(Ye){return this.offsets[Ye]},nt.prototype.lengthOf=function(Ye){return this.offsets[Ye+1]-this.offsets[Ye]},nt.prototype.encode=function(Ye,Xe){for(var yt=new Uint32Array(this.offsets.length),mt=0,We=0,rt=0;rt<yt.length;++rt)if(yt[rt]=mt,We<Xe.length&&Xe[We]==rt){++We,yt[rt]=mt;var ft=this.offsets[rt],Yt=this.offsets[rt+1]-ft;0<Yt&&(mt+=Yt)}for(var Ft=new Array(4*yt.length),fr=0;fr<yt.length;++fr)Ft[4*fr+3]=255&yt[fr],Ft[4*fr+2]=(65280&yt[fr])>>8,Ft[4*fr+1]=(16711680&yt[fr])>>16,Ft[4*fr]=(4278190080&yt[fr])>>24;return Ft},nt}(),qt=function(){function ze(nt){this.font=nt,this.subset={},this.unicodes={},this.next=33}return ze.prototype.generateCmap=function(){var nt,Ye,Xe,yt,mt;for(Ye in yt=this.font.cmap.tables[0].codeMap,nt={},mt=this.subset)Xe=mt[Ye],nt[Ye]=yt[Xe];return nt},ze.prototype.glyphsFor=function(nt){var Ye,Xe,yt,mt,We,rt,ft;for(yt={},We=0,rt=nt.length;We<rt;We++)yt[mt=nt[We]]=this.font.glyf.glyphFor(mt);for(mt in Ye=[],yt)((Xe=yt[mt])!=null?Xe.compound:void 0)&&Ye.push.apply(Ye,Xe.glyphIDs);if(0<Ye.length)for(mt in ft=this.glyphsFor(Ye))Xe=ft[mt],yt[mt]=Xe;return yt},ze.prototype.encode=function(nt,Ye){var Xe,yt,mt,We,rt,ft,Yt,Ft,fr,mr,Er,Lr,en,Qr,Cr;for(yt in Xe=le.encode(this.generateCmap(),"unicode"),We=this.glyphsFor(nt),Er={0:0},Cr=Xe.charMap)Er[(ft=Cr[yt]).old]=ft.new;for(Lr in mr=Xe.maxGlyphID,We)Lr in Er||(Er[Lr]=mr++);return Ft=function(Gr){var Nr,lr;for(Nr in lr={},Gr)lr[Gr[Nr]]=Nr;return lr}(Er),fr=Object.keys(Ft).sort(function(Gr,Nr){return Gr-Nr}),en=function(){var Gr,Nr,lr;for(lr=[],Gr=0,Nr=fr.length;Gr<Nr;Gr++)rt=fr[Gr],lr.push(Ft[rt]);return lr}(),mt=this.font.glyf.encode(We,en,Er),Yt=this.font.loca.encode(mt.offsets,en),Qr={cmap:this.font.cmap.raw(),glyf:mt.table,loca:Yt,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(Ye)},this.font.os2.exists&&(Qr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Qr)},ze}();de.API.PDFObject=function(){var ze;function nt(){}return ze=function(Xe,yt){return(Array(yt+1).join("0")+Xe).slice(-yt)},nt.convert=function(Ye){var Xe,yt,mt,We;if(Array.isArray(Ye))return"["+function(){var rt,ft,Yt;for(Yt=[],rt=0,ft=Ye.length;rt<ft;rt++)Xe=Ye[rt],Yt.push(nt.convert(Xe));return Yt}().join(" ")+"]";if(typeof Ye=="string")return"/"+Ye;if(Ye!=null?Ye.isString:void 0)return"("+Ye+")";if(Ye instanceof Date)return"(D:"+ze(Ye.getUTCFullYear(),4)+ze(Ye.getUTCMonth(),2)+ze(Ye.getUTCDate(),2)+ze(Ye.getUTCHours(),2)+ze(Ye.getUTCMinutes(),2)+ze(Ye.getUTCSeconds(),2)+"Z)";if({}.toString.call(Ye)!=="[object Object]")return""+Ye;for(yt in mt=["<<"],Ye)We=Ye[yt],mt.push("/"+yt+" "+nt.convert(We));return mt.push(">>"),mt.join(`
|
|
|
`)},nt}()}(Mt),Pe=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")(),pt=function(){var de,ue,se;function ae(ye){var Ce,Oe,Te,xe,je,ut,wt,ee,ie,z,$,le,ge,Ae;for(this.data=ye,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},ut=null;;){switch(Ce=this.readUInt32(),ie=function(){var Me,$e;for($e=[],Me=0;Me<4;++Me)$e.push(String.fromCharCode(this.data[this.pos++]));return $e}.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(Ce);break;case"fcTL":ut&&this.animation.frames.push(ut),this.pos+=4,ut={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},je=this.readUInt16(),xe=this.readUInt16()||100,ut.delay=1e3*je/xe,ut.disposeOp=this.data[this.pos++],ut.blendOp=this.data[this.pos++],ut.data=[];break;case"IDAT":case"fdAT":for(ie==="fdAT"&&(this.pos+=4,Ce-=4),ye=(ut!=null?ut.data:void 0)||this.imgData,le=0;0<=Ce?le<Ce:Ce<le;0<=Ce?++le:--le)ye.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Te=this.palette.length/3,this.transparency.indexed=this.read(Ce),this.transparency.indexed.length>Te)throw new Error("More transparent colors than palette size");if(0<(z=Te-this.transparency.indexed.length))for(ge=0;0<=z?ge<z:z<ge;0<=z?++ge:--ge)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Ce)[0];break;case 2:this.transparency.rgb=this.read(Ce)}break;case"tEXt":wt=($=this.read(Ce)).indexOf(0),ee=String.fromCharCode.apply(String,$.slice(0,wt)),this.text[ee]=String.fromCharCode.apply(String,$.slice(wt+1));break;case"IEND":return ut&&this.animation.frames.push(ut),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Ae=this.colorType)===4||Ae===6,Oe=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Oe,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+=Ce}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}ae.load=function(ye,Ce,Oe){var Te;return typeof Ce=="function"&&(Oe=Ce),(Te=new XMLHttpRequest).open("GET",ye,!0),Te.responseType="arraybuffer",Te.onload=function(){var xe;return xe=new ae(new Uint8Array(Te.response||Te.mozResponseArrayBuffer)),typeof(Ce!=null?Ce.getContext:void 0)=="function"&&xe.render(Ce),typeof Oe=="function"?Oe(xe):void 0},Te.send(null)},ae.prototype.read=function(ye){var Ce,Oe;for(Oe=[],Ce=0;0<=ye?Ce<ye:ye<Ce;0<=ye?++Ce:--Ce)Oe.push(this.data[this.pos++]);return Oe},ae.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},ae.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},ae.prototype.decodePixels=function(ye){var Ce=this.pixelBitlength/8,Oe=new Uint8Array(this.width*this.height*Ce),Te=0,xe=this;if(ye==null&&(ye=this.imgData),ye.length===0)return new Uint8Array(0);function je(ut,wt,ee,ie){var z,$,le,ge,Ae,Me,$e,kt,$t,Lt,Ut,Wt,Vt,Tt,ur,qt,ze,nt,Ye,Xe,yt,mt=Math.ceil((xe.width-ut)/ee),We=Math.ceil((xe.height-wt)/ie),rt=xe.width==mt&&xe.height==We;for(Tt=Ce*mt,Wt=rt?Oe:new Uint8Array(Tt*We),Me=ye.length,$=Vt=0;Vt<We&&Te<Me;){switch(ye[Te++]){case 0:for(ge=ze=0;ze<Tt;ge=ze+=1)Wt[$++]=ye[Te++];break;case 1:for(ge=nt=0;nt<Tt;ge=nt+=1)z=ye[Te++],Ae=ge<Ce?0:Wt[$-Ce],Wt[$++]=(z+Ae)%256;break;case 2:for(ge=Ye=0;Ye<Tt;ge=Ye+=1)z=ye[Te++],le=(ge-ge%Ce)/Ce,ur=Vt&&Wt[(Vt-1)*Tt+le*Ce+ge%Ce],Wt[$++]=(ur+z)%256;break;case 3:for(ge=Xe=0;Xe<Tt;ge=Xe+=1)z=ye[Te++],le=(ge-ge%Ce)/Ce,Ae=ge<Ce?0:Wt[$-Ce],ur=Vt&&Wt[(Vt-1)*Tt+le*Ce+ge%Ce],Wt[$++]=(z+Math.floor((Ae+ur)/2))%256;break;case 4:for(ge=yt=0;yt<Tt;ge=yt+=1)z=ye[Te++],le=(ge-ge%Ce)/Ce,Ae=ge<Ce?0:Wt[$-Ce],Vt===0?ur=qt=0:(ur=Wt[(Vt-1)*Tt+le*Ce+ge%Ce],qt=le&&Wt[(Vt-1)*Tt+(le-1)*Ce+ge%Ce]),$e=Ae+ur-qt,kt=Math.abs($e-Ae),Lt=Math.abs($e-ur),Ut=Math.abs($e-qt),$t=kt<=Lt&&kt<=Ut?Ae:Lt<=Ut?ur:qt,Wt[$++]=(z+$t)%256;break;default:throw new Error("Invalid filter algorithm: "+ye[Te-1])}if(!rt){var ft=((wt+Vt*ie)*xe.width+ut)*Ce,Yt=Vt*Tt;for(ge=0;ge<mt;ge+=1){for(var Ft=0;Ft<Ce;Ft+=1)Oe[ft++]=Wt[Yt++];ft+=(ee-1)*Ce}}Vt++}}return ye=(ye=new Xt(ye)).getBytes(),xe.interlaceMethod==1?(je(0,0,8,8),je(4,0,8,8),je(0,4,4,8),je(2,0,4,4),je(0,2,2,4),je(1,0,2,2),je(0,1,1,2)):je(0,0,1,1),Oe},ae.prototype.decodePalette=function(){var ye,Ce,Oe,Te,xe,je,ut,wt,ee;for(Oe=this.palette,je=this.transparency.indexed||[],xe=new Uint8Array((je.length||0)+Oe.length),Te=0,Oe.length,Ce=ut=ye=0,wt=Oe.length;ut<wt;Ce=ut+=3)xe[Te++]=Oe[Ce],xe[Te++]=Oe[Ce+1],xe[Te++]=Oe[Ce+2],xe[Te++]=(ee=je[ye++])!=null?ee:255;return xe},ae.prototype.copyToImageData=function(ye,Ce){var Oe,Te,xe,je,ut,wt,ee,ie,z,$,le;if(Te=this.colors,z=null,Oe=this.hasAlphaChannel,this.palette.length&&(z=(le=this._decodedPalette)!=null?le:this._decodedPalette=this.decodePalette(),Te=4,Oe=!0),ie=(xe=ye.data||ye).length,ut=z||Ce,je=wt=0,Te===1)for(;je<ie;)ee=z?4*Ce[je/4]:wt,$=ut[ee++],xe[je++]=$,xe[je++]=$,xe[je++]=$,xe[je++]=Oe?ut[ee++]:255,wt=ee;else for(;je<ie;)ee=z?4*Ce[je/4]:wt,xe[je++]=ut[ee++],xe[je++]=ut[ee++],xe[je++]=ut[ee++],xe[je++]=Oe?ut[ee++]:255,wt=ee},ae.prototype.decode=function(){var ye;return ye=new Uint8Array(this.width*this.height*4),this.copyToImageData(ye,this.decodePixels()),ye};try{ue=Pe.document.createElement("canvas"),se=ue.getContext("2d")}catch(ye){return-1}return de=function(Ce){var Oe;return se.width=Ce.width,se.height=Ce.height,se.clearRect(0,0,Ce.width,Ce.height),se.putImageData(Ce,0,0),(Oe=new Image).src=ue.toDataURL(),Oe},ae.prototype.decodeFrames=function(ye){var Ce,Oe,Te,xe,je,ut,wt,ee;if(this.animation){for(ee=[],Oe=je=0,ut=(wt=this.animation.frames).length;je<ut;Oe=++je)Ce=wt[Oe],Te=ye.createImageData(Ce.width,Ce.height),xe=this.decodePixels(new Uint8Array(Ce.data)),this.copyToImageData(Te,xe),Ce.imageData=Te,ee.push(Ce.image=de(Te));return ee}},ae.prototype.renderFrame=function(ye,Ce){var Oe,Te,xe;return Oe=(Te=this.animation.frames)[Ce],xe=Te[Ce-1],Ce===0&&ye.clearRect(0,0,this.width,this.height),(xe!=null?xe.disposeOp:void 0)===1?ye.clearRect(xe.xOffset,xe.yOffset,xe.width,xe.height):(xe!=null?xe.disposeOp:void 0)===2&&ye.putImageData(xe.imageData,xe.xOffset,xe.yOffset),Oe.blendOp===0&&ye.clearRect(Oe.xOffset,Oe.yOffset,Oe.width,Oe.height),ye.drawImage(Oe.image,Oe.xOffset,Oe.yOffset)},ae.prototype.animate=function(ye){var Ce,Oe,Te,xe,je,ut,wt=this;return Oe=0,ut=this.animation,xe=ut.numFrames,Te=ut.frames,je=ut.numPlays,(Ce=function(){var ie,z;if(ie=Oe++%xe,z=Te[ie],wt.renderFrame(ye,ie),1<xe&&Oe/xe<je)return wt.animation._timeout=setTimeout(Ce,z.delay)})()},ae.prototype.stopAnimation=function(){var ye;return clearTimeout((ye=this.animation)!=null?ye._timeout:void 0)},ae.prototype.render=function(ye){var Ce,Oe;return ye._png&&ye._png.stopAnimation(),ye._png=this,ye.width=this.width,ye.height=this.height,Ce=ye.getContext("2d"),this.animation?(this.decodeFrames(Ce),this.animate(Ce)):(Oe=Ce.createImageData(this.width,this.height),this.copyToImageData(Oe,this.decodePixels()),Ce.putImageData(Oe,0,0))},ae}(),Pe.PNG=pt;var hr=function(){function de(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return de.prototype={ensureBuffer:function(se){var ae=this.buffer,ye=ae?ae.byteLength:0;if(se<ye)return ae;for(var Ce=512;Ce<se;)Ce<<=1;for(var Oe=new Uint8Array(Ce),Te=0;Te<ye;++Te)Oe[Te]=ae[Te];return this.buffer=Oe},getByte:function(){for(var se=this.pos;this.bufferLength<=se;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(se){var ae=this.pos;if(se){this.ensureBuffer(ae+se);for(var ye=ae+se;!this.eof&&this.bufferLength<ye;)this.readBlock();var Ce=this.bufferLength;Ce<ye&&(ye=Ce)}else{for(;!this.eof;)this.readBlock();ye=this.bufferLength}return this.pos=ye,this.buffer.subarray(ae,ye)},lookChar:function(){for(var se=this.pos;this.bufferLength<=se;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var se=this.pos;this.bufferLength<=se;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(se,ae,ye){for(var Ce=se+ae;this.bufferLength<=Ce&&!this.eof;)this.readBlock();return new Stream(this.buffer,se,ae,ye)},skip:function(se){se||(se=1),this.pos+=se},reset:function(){this.pos=0}},de}(),Xt=function(){if(typeof Uint32Array!="undefined"){var de=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ue=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),se=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),ae=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],ye=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(Oe.prototype=Object.create(hr.prototype)).getBits=function(Te){for(var xe,je=this.codeSize,ut=this.codeBuf,wt=this.bytes,ee=this.bytesPos;je<Te;)(xe=wt[ee++])===void 0&&Ce("Bad encoding in flate stream"),ut|=xe<<je,je+=8;return xe=ut&(1<<Te)-1,this.codeBuf=ut>>Te,this.codeSize=je-=Te,this.bytesPos=ee,xe},Oe.prototype.getCode=function(Te){for(var xe=Te[0],je=Te[1],ut=this.codeSize,wt=this.codeBuf,ee=this.bytes,ie=this.bytesPos;ut<je;){var z;(z=ee[ie++])===void 0&&Ce("Bad encoding in flate stream"),wt|=z<<ut,ut+=8}var $=xe[wt&(1<<je)-1],le=$>>16,ge=65535&$;return(ut==0||ut<le||le==0)&&Ce("Bad encoding in flate stream"),this.codeBuf=wt>>le,this.codeSize=ut-le,this.bytesPos=ie,ge},Oe.prototype.generateHuffmanTable=function(Te){for(var xe=Te.length,je=0,ut=0;ut<xe;++ut)Te[ut]>je&&(je=Te[ut]);for(var wt=1<<je,ee=new Uint32Array(wt),ie=1,z=0,$=2;ie<=je;++ie,z<<=1,$<<=1)for(var le=0;le<xe;++le)if(Te[le]==ie){var ge=0,Ae=z;for(ut=0;ut<ie;++ut)ge=ge<<1|1&Ae,Ae>>=1;for(ut=ge;ut<wt;ut+=$)ee[ut]=ie<<16|le;++z}return[ee,je]},Oe.prototype.readBlock=function(){function Te(We,rt,ft,Yt,Ft){for(var fr=We.getBits(ft)+Yt;0<fr--;)rt[$++]=Ft}var xe=this.getBits(3);if(1&xe&&(this.eof=!0),(xe>>=1)!=0){var je,ut;if(xe==1)je=ae,ut=ye;else if(xe==2){for(var wt=this.getBits(5)+257,ee=this.getBits(5)+1,ie=this.getBits(4)+4,z=Array(de.length),$=0;$<ie;)z[de[$++]]=this.getBits(3);for(var le=this.generateHuffmanTable(z),ge=0,Ae=($=0,wt+ee),Me=new Array(Ae);$<Ae;){var $e=this.getCode(le);$e==16?Te(this,Me,2,3,ge):$e==17?Te(this,Me,3,3,ge=0):$e==18?Te(this,Me,7,11,ge=0):Me[$++]=ge=$e}je=this.generateHuffmanTable(Me.slice(0,wt)),ut=this.generateHuffmanTable(Me.slice(wt,Ae))}else Ce("Unknown block type in flate stream");for(var kt=(Xe=this.buffer)?Xe.length:0,$t=this.bufferLength;;){var Lt=this.getCode(je);if(Lt<256)kt<=$t+1&&(kt=(Xe=this.ensureBuffer($t+1)).length),Xe[$t++]=Lt;else{if(Lt==256)return void(this.bufferLength=$t);var Ut=(Lt=ue[Lt-=257])>>16;0<Ut&&(Ut=this.getBits(Ut)),ge=(65535&Lt)+Ut,Lt=this.getCode(ut),0<(Ut=(Lt=se[Lt])>>16)&&(Ut=this.getBits(Ut));var Wt=(65535&Lt)+Ut;kt<=$t+ge&&(kt=(Xe=this.ensureBuffer($t+ge)).length);for(var Vt=0;Vt<ge;++Vt,++$t)Xe[$t]=Xe[$t-Wt]}}}else{var Tt,ur=this.bytes,qt=this.bytesPos;(Tt=ur[qt++])===void 0&&Ce("Bad block header in flate stream");var ze=Tt;(Tt=ur[qt++])===void 0&&Ce("Bad block header in flate stream"),ze|=Tt<<8,(Tt=ur[qt++])===void 0&&Ce("Bad block header in flate stream");var nt=Tt;(Tt=ur[qt++])===void 0&&Ce("Bad block header in flate stream"),(nt|=Tt<<8)!=(65535&~ze)&&Ce("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var Ye=this.bufferLength,Xe=this.ensureBuffer(Ye+ze),yt=Ye+ze;this.bufferLength=yt;for(var mt=Ye;mt<yt;++mt){if((Tt=ur[qt++])===void 0){this.eof=!0;break}Xe[mt]=Tt}this.bytesPos=qt}},Oe}function Ce(Te){throw new Error(Te)}function Oe(Te){var xe=0,je=Te[xe++],ut=Te[xe++];je!=-1&&ut!=-1||Ce("Invalid header in flate stream"),(15&je)!=8&&Ce("Unknown compression method in flate stream"),((je<<8)+ut)%31!=0&&Ce("Bad FCHECK in flate stream"),32&ut&&Ce("FDICT bit set in flate stream"),this.bytes=Te,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,hr.call(this)}}();window.tmp=Xt});try{J.exports=jsPDF}catch(p){}}).call(this,e("yLpj"))},"5RzL":function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("7W2i"),a=e.n(r),s=e("LQ03"),l=e.n(s),n=e("q1tI"),u=e.n(n),t=e("1OyB"),c=e("vuIU"),o=e("Ji7U"),f=e("LK+K"),v=e("KQm4"),y=e("U8pU"),L=e("ODXe"),S=e("VTBJ"),x=e("qNPg"),O=e("2Qr1"),T=e("815F"),w=e("NvD2"),C=e("wPlo"),N=e("6cGi"),D=e("Kwbf"),B=e("4IlW"),R=e("YrtM"),U=e("fAei"),M=u.a.createContext(null);function j(Gt,Jt){if(!Gt)return!0;var hr=Gt.data,Xt=hr.disabled,de=hr.disableCheckbox;switch(Jt){case"select":return Xt;case"checkbox":return Xt||de}return!1}function P(Gt,Jt){var hr=u.a.useCallback(function(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",se=arguments.length>2?arguments[2]:void 0,ae=Gt.get(de);return!se&&j(ae,ue)?null:ae},[Gt]),Xt=u.a.useCallback(function(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",se=arguments.length>2?arguments[2]:void 0,ae=Jt.get(de);return!se&&j(ae,ue)?null:ae},[Jt]);return[hr,Xt]}function K(Gt){return u.a.useMemo(function(){var Jt=new Map,hr=new Map;return Gt.forEach(function(Xt){Jt.set(Xt.key,Xt),hr.set(Xt.data.value,Xt)}),[Jt,hr]},[Gt])}var H={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},k=function(Jt,hr){var Xt=Jt.prefixCls,de=Jt.height,ue=Jt.itemHeight,se=Jt.virtual,ae=Jt.options,ye=Jt.flattenOptions,Ce=Jt.multiple,Oe=Jt.searchValue,Te=Jt.onSelect,xe=Jt.onToggleOpen,je=Jt.open,ut=Jt.notFoundContent,wt=Jt.onMouseEnter,ee=u.a.useContext(M),ie=ee.checkable,z=ee.checkedKeys,$=ee.halfCheckedKeys,le=ee.treeExpandedKeys,ge=ee.treeDefaultExpandAll,Ae=ee.treeDefaultExpandedKeys,Me=ee.onTreeExpand,$e=ee.treeIcon,kt=ee.showTreeIcon,$t=ee.switcherIcon,Lt=ee.treeLine,Ut=ee.treeNodeFilterProp,Wt=ee.loadData,Vt=ee.treeLoadedKeys,Tt=ee.treeMotion,ur=ee.onTreeLoad,qt=u.a.useRef(),ze=Object(R.a)(function(){return ae},[je,ae],function(Un,Wn){return Wn[0]&&Un[1]!==Wn[1]}),nt=K(ye),Ye=Object(L.a)(nt,2),Xe=Ye[0],yt=Ye[1],mt=P(Xe,yt),We=Object(L.a)(mt,2),rt=We[0],ft=We[1],Yt=u.a.useMemo(function(){return z.map(function(Un){var Wn=ft(Un);return Wn?Wn.key:null})},[z]),Ft=u.a.useMemo(function(){return ie?{checked:Yt,halfChecked:$}:null},[Yt,$,ie]);u.a.useEffect(function(){if(je&&!Ce&&Yt.length){var Un;(Un=qt.current)===null||Un===void 0||Un.scrollTo({key:Yt[0]})}},[je]);var fr=String(Oe).toLowerCase(),mr=function(Wn){return fr?String(Wn[Ut]).toLowerCase().includes(fr):!1},Er=u.a.useState(Ae),Lr=Object(L.a)(Er,2),en=Lr[0],Qr=Lr[1],Cr=u.a.useState(null),Gr=Object(L.a)(Cr,2),Nr=Gr[0],lr=Gr[1],pr=u.a.useMemo(function(){return le?Object(v.a)(le):Oe?Nr:en},[en,Nr,fr,le]);u.a.useEffect(function(){Oe&&lr(ye.map(function(Un){return Un.key}))},[Oe]);var sr=function(Wn){Qr(Wn),lr(Wn),Me&&Me(Wn)},dr=function(Wn){Wn.preventDefault()},Sr=function(Wn,Jn){var Qn=Jn.node.key,Vn=rt(Qn,ie?"checkbox":"select");Vn!==null&&Te(Vn.data.value,{selected:!z.includes(Vn.data.value)}),Ce||xe(!1)},Xr=u.a.useState(null),cn=Object(L.a)(Xr,2),Dn=cn[0],jr=cn[1],On=rt(Dn);if(u.a.useImperativeHandle(hr,function(){return{onKeyDown:function(Wn){var Jn,Qn=Wn.which;switch(Qn){case B.a.UP:case B.a.DOWN:case B.a.LEFT:case B.a.RIGHT:(Jn=qt.current)===null||Jn===void 0||Jn.onKeyDown(Wn);break;case B.a.ENTER:{On!==null&&Sr(null,{node:{key:Dn},selected:!z.includes(On.data.value)});break}case B.a.ESC:xe(!1)}},onKeyUp:function(){}}}),ze.length===0)return u.a.createElement("div",{role:"listbox",className:"".concat(Xt,"-empty"),onMouseDown:dr},ut);var gn={};return Vt&&(gn.loadedKeys=Vt),pr&&(gn.expandedKeys=pr),u.a.createElement("div",{onMouseDown:dr,onMouseEnter:wt},On&&je&&u.a.createElement("span",{style:H,"aria-live":"assertive"},On.data.value),u.a.createElement(U.b,Object.assign({ref:qt,focusable:!1,prefixCls:"".concat(Xt,"-tree"),treeData:ze,height:de,itemHeight:ue,virtual:se,multiple:Ce,icon:$e,showIcon:kt,switcherIcon:$t,showLine:Lt,loadData:Oe?null:Wt,motion:Tt,checkable:ie,checkStrictly:!0,checkedKeys:Ft,selectedKeys:ie?[]:Yt,defaultExpandAll:ge},gn,{onActiveChange:jr,onSelect:Sr,onCheck:Sr,onExpand:sr,onLoad:ur,filterTreeNode:mr})))},Z=u.a.forwardRef(k);Z.displayName="OptionList";var Y=Z,_=function(){return null},Q=_,X=e("Ff2n"),he=e("Zm9Q");function te(Gt){return Object(he.a)(Gt).map(function(Jt){if(!u.a.isValidElement(Jt)||!Jt.type)return null;var hr=Jt.key,Xt=Jt.props,de=Xt.children,ue=Xt.value,se=Object(X.a)(Xt,["children","value"]),ae=Object(S.a)({key:hr,value:ue},se),ye=te(de);return ye.length&&(ae.children=ye),ae}).filter(function(Jt){return Jt})}function fe(Gt){if(!Gt)return Gt;var Jt=Object(S.a)({},Gt);return"props"in Jt||Object.defineProperty(Jt,"props",{get:function(){return Object(D.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Jt}}),Jt}function be(Gt,Jt,hr,Xt,de){var ue=null,se=null;function ae(){function ye(Ce){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ce.map(function(xe,je){var ut="".concat(Oe,"-").concat(je),wt=hr.includes(xe.value),ee=ye(xe.children||[],ut,wt),ie=u.a.createElement(Q,Object.assign({},xe),ee.map(function($){return $.node}));if(Jt===xe.value&&(ue=ie),wt){var z={pos:ut,node:ie,children:ee};return Te||se.push(z),z}return null}).filter(function(xe){return xe})}se||(se=[],ye(Xt),se.sort(function(Ce,Oe){var Te=Ce.node.props.value,xe=Oe.node.props.value,je=hr.indexOf(Te),ut=hr.indexOf(xe);return je-ut}))}Object.defineProperty(Gt,"triggerNode",{get:function(){return Object(D.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),ae(),ue}}),Object.defineProperty(Gt,"allCheckedNodes",{get:function(){return Object(D.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),ae(),de?se:se.map(function(Ce){var Oe=Ce.node;return Oe})}})}function we(Gt){return Array.isArray(Gt)?Gt:Gt!==void 0?[Gt]:[]}function Ke(Gt,Jt){var hr=new Map;return Jt.forEach(function(Xt){var de=Xt.data;hr.set(de.value,de)}),Gt.map(function(Xt){return fe(hr.get(Xt))})}function qe(Gt,Jt){var hr=Ke([Gt],Jt)[0];return hr?hr.disabled:!1}function xt(Gt){return Gt.disabled||Gt.disableCheckbox||Gt.checkable===!1}function Fe(Gt){for(var Jt=Gt.parent,hr=0,Xt=Jt;Xt;)Xt=Xt.parent,hr+=1;return hr}function Be(Gt){function Jt(Xt){return(Xt||[]).map(function(de){var ue=de.value,se=de.key,ae=de.children,ye=Object(S.a)(Object(S.a)({},de),{},{key:"key"in de?se:ue});return ae&&(ye.children=Jt(ae)),ye})}var hr=Object(T.d)(Jt(Gt),!0);return hr.map(function(Xt){return{key:Xt.data.key,data:Xt.data,level:Fe(Xt)}})}function bt(Gt){return function(Jt,hr){var Xt=hr[Gt];return String(Xt).toLowerCase().includes(String(Jt).toLowerCase())}}function lt(Gt,Jt,hr){var Xt=hr.optionFilterProp,de=hr.filterOption;if(de===!1)return Jt;var ue;typeof de=="function"?ue=de:ue=bt(Xt);function se(ae){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ae.map(function(Ce){var Oe=Ce.children,Te=ye||ue(Gt,fe(Ce)),xe=se(Oe||[],Te);return Te||xe.length?Object(S.a)(Object(S.a)({},Ce),{},{children:xe}):null}).filter(function(Ce){return Ce})}return se(Jt)}function tt(Gt,Jt,hr,Xt){var de=new Map;return we(Jt).forEach(function(ue){ue&&Object(y.a)(ue)==="object"&&"value"in ue&&de.set(ue.value,ue)}),Gt.map(function(ue){var se={value:ue},ae=hr(ue,"select",!0),ye=ae?Xt(ae.data):ue;if(de.has(ue)){var Ce=de.get(ue);se.label="label"in Ce?Ce.label:ye,"halfChecked"in Ce&&(se.halfChecked=Ce.halfChecked)}else se.label=ye;return se})}function St(Gt,Jt){var hr=new Set(Gt);return hr.add(Jt),Array.from(hr)}function ht(Gt,Jt){var hr=new Set(Gt);return hr.delete(Jt),Array.from(hr)}function vt(Gt){var Jt=Gt.searchPlaceholder,hr=Gt.treeCheckStrictly,Xt=Gt.treeCheckable,de=Gt.labelInValue,ue=Gt.value,se=Gt.multiple;Object(D.a)(!Jt,"`searchPlaceholder` has been removed."),hr&&de===!1&&Object(D.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(de||hr)&&Object(D.a)(we(ue).every(function(ae){return ae&&Object(y.a)(ae)==="object"&&"value"in ae}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),hr||se||Xt?Object(D.a)(!ue||Array.isArray(ue),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(D.a)(!Array.isArray(ue),"`value` should not be array when `TreeSelect` is single mode.")}var Ge=vt,At=10;function _e(Gt,Jt){var hr=Jt.id,Xt=Jt.pId,de=Jt.rootPId,ue={},se=[],ae=Gt.map(function(ye){var Ce=Object(S.a)({},ye),Oe=Ce[hr];return ue[Oe]=Ce,Ce.key=Ce.key||Oe,Ce});return ae.forEach(function(ye){var Ce=ye[Xt],Oe=ue[Ce];Oe&&(Oe.children=Oe.children||[],Oe.children.push(ye)),(Ce===de||!Oe&&de===null)&&se.push(ye)}),se}function De(Gt,Jt){var hr=0,Xt=new Set;function de(ue){return(ue||[]).map(function(se){var ae=se.key,ye=se.value,Ce=se.children,Oe=Object(X.a)(se,["key","value","children"]),Te="value"in se?ye:ae,xe=Object(S.a)(Object(S.a)({},Oe),{},{key:ae!=null?ae:Te,value:Te,title:Jt(se)});return"children"in se&&(xe.children=de(Ce)),xe})}return de(Gt)}function Ie(Gt,Jt,hr){var Xt=hr.getLabelProp,de=hr.simpleMode,ue=u.a.useRef({});return Gt?(ue.current.formatTreeData=ue.current.treeData===Gt?ue.current.formatTreeData:De(de?_e(Gt,Object(S.a)({id:"id",pId:"pId",rootPId:null},de!==!0?de:{})):Gt,Xt),ue.current.treeData=Gt):ue.current.formatTreeData=ue.current.children===Jt?ue.current.formatTreeData:De(te(Jt),Xt),ue.current.formatTreeData}var st="SHOW_ALL",Et="SHOW_PARENT",Mt="SHOW_CHILD";function Pt(Gt,Jt,hr){var Xt=new Set(Gt);return Jt===Mt?Gt.filter(function(de){var ue=hr[de];return!(ue&&ue.children&&ue.children.every(function(se){var ae=se.node;return xt(ae)||Xt.has(ae.key)}))}):Jt===Et?Gt.filter(function(de){var ue=hr[de],se=ue?ue.parent:null;return!(se&&!xt(se.node)&&Xt.has(se.node.key))}):Gt}function ke(Gt,Jt){var hr=Jt.value,Xt=Jt.getEntityByValue,de=Jt.getEntityByKey,ue=Jt.treeConduction,se=Jt.showCheckedStrategy,ae=Jt.conductKeyEntities,ye=Jt.getLabelProp;return u.a.useMemo(function(){var Ce=Gt;if(ue){var Oe=Pt(Gt.map(function(Te){var xe=Xt(Te);return xe?xe.key:Te}),se,ae);Ce=Oe.map(function(Te){var xe=de(Te);return xe?xe.data.value:Te})}return tt(Ce,hr,Xt,ye)},[Gt,hr,ue,se,Xt])}var zt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],Ot=Object(x.a)({prefixCls:"rc-tree-select",components:{optionList:Y},convertChildrenToData:function(){return null},flattenOptions:Be,getLabeledValue:O.e,filterOptions:lt,isValueDisabled:qe,findValueOption:Ke,omitDOMProps:function(Jt){var hr=Object(S.a)({},Jt);return zt.forEach(function(Xt){delete hr[Xt]}),hr}});Ot.displayName="Select";var _t=n.forwardRef(function(Gt,Jt){var hr=Gt.multiple,Xt=Gt.treeCheckable,de=Gt.treeCheckStrictly,ue=Gt.showCheckedStrategy,se=ue===void 0?"SHOW_CHILD":ue,ae=Gt.labelInValue,ye=Gt.loadData,Ce=Gt.treeLoadedKeys,Oe=Gt.treeNodeFilterProp,Te=Oe===void 0?"value":Oe,xe=Gt.treeNodeLabelProp,je=Gt.treeDataSimpleMode,ut=Gt.treeData,wt=Gt.treeExpandedKeys,ee=Gt.treeDefaultExpandedKeys,ie=Gt.treeDefaultExpandAll,z=Gt.children,$=Gt.treeIcon,le=Gt.showTreeIcon,ge=Gt.switcherIcon,Ae=Gt.treeLine,Me=Gt.treeMotion,$e=Gt.filterTreeNode,kt=Gt.dropdownPopupAlign,$t=Gt.onChange,Lt=Gt.onTreeExpand,Ut=Gt.onTreeLoad,Wt=Gt.onDropdownVisibleChange,Vt=Gt.onSelect,Tt=Gt.onDeselect,ur=Xt||de,qt=hr||ur,ze=Xt&&!de,nt=de||ae,Ye=n.useRef(null);n.useImperativeHandle(Jt,function(){return{focus:Ye.current.focus,blur:Ye.current.blur}});var Xe=function(Qn){return ut&&Qn.label||Qn.title},yt=function(Qn){return xe?Qn[xe]:Xe(Qn)},mt=Ie(ut,z,{getLabelProp:Xe,simpleMode:je}),We=Object(n.useMemo)(function(){return Be(mt)},[mt]),rt=K(We),ft=Object(L.a)(rt,2),Yt=ft[0],Ft=ft[1],fr=P(Yt,Ft),mr=Object(L.a)(fr,2),Er=mr[0],Lr=mr[1],en=Object(n.useMemo)(function(){return ze?Object(T.a)(mt):{keyEntities:null}},[mt,Xt,de]),Qr=en.keyEntities,Cr=Object(N.a)(Gt.defaultValue,{value:Gt.value}),Gr=Object(L.a)(Cr,2),Nr=Gr[0],lr=Gr[1],pr=function(Qn){var Vn=[],yn=[];return Qn.forEach(function(on){Lr(on)?yn.push(on):Vn.push(on)}),{missingRawValues:Vn,existRawValues:yn}},sr=Object(n.useMemo)(function(){var Jn=[],Qn=[];if(we(Nr).forEach(function(Ci){if(Ci&&Object(y.a)(Ci)==="object"&&"value"in Ci)if(Ci.halfChecked&&de){var Gn=Lr(Ci.value);Jn.push(Gn?Gn.key:Ci.value)}else Qn.push(Ci.value);else Qn.push(Ci)}),ze){var Vn=pr(Qn),yn=Vn.missingRawValues,on=Vn.existRawValues,ia=on.map(function(Ci){return Lr(Ci).key}),xa=Object(w.a)(ia,!0,Qr),ta=xa.checkedKeys,Ni=xa.halfCheckedKeys;return[[].concat(Object(v.a)(yn),Object(v.a)(ta.map(function(Ci){return Er(Ci).data.value}))),Ni]}return[Qn,Jn]},[Nr,qt,nt,Xt,de]),dr=Object(L.a)(sr,2),Sr=dr[0],Xr=dr[1],cn=ke(Sr,{treeConduction:ze,value:Nr,showCheckedStrategy:se,conductKeyEntities:Qr,getEntityByValue:Lr,getEntityByKey:Er,getLabelProp:yt}),Dn=function(Qn,Vn,yn){if(lr(qt?Qn:Qn[0]),$t){var on=Qn;if(ze&&se!=="SHOW_ALL"){var ia=Qn.map(function(Ln){var Nn=Lr(Ln);return Nn?Nn.key:Ln}),xa=Pt(ia,se,Qr);on=xa.map(function(Ln){var Nn=Er(Ln);return Nn?Nn.data.value:Ln})}var ta=Vn||{triggerValue:void 0,selected:void 0},Ni=ta.triggerValue,Ci=ta.selected,Gn=nt?tt(on,Nr,Lr,yt):on;if(de){var Ia=Xr.map(function(Ln){var Nn=Er(Ln);return Nn?Nn.data.value:Ln}).filter(function(Ln){return!on.includes(Ln)});Gn=[].concat(Object(v.a)(Gn),Object(v.a)(tt(Ia,Nr,Lr,yt)))}var mn={preValue:cn,triggerValue:Ni},In=!0;(de||yn==="selection"&&!Ci)&&(In=!1),be(mn,Ni,Qn,mt,In),ur?mn.checked=Ci:mn.selected=Ci,$t(qt?Gn:Gn[0],nt?null:on.map(function(Ln){var Nn=Lr(Ln);return Nn?yt(Nn.data):null}),mn)}},jr=function(Qn,Vn,yn){var on=Qn;if(!qt)Dn([Qn],{selected:!0,triggerValue:Qn},yn);else{var ia=St(Sr,Qn);if(ze){var xa=pr(ia),ta=xa.missingRawValues,Ni=xa.existRawValues,Ci=Ni.map(function(mn){return Lr(mn).key}),Gn=Object(w.a)(Ci,!0,Qr),Ia=Gn.checkedKeys;ia=[].concat(Object(v.a)(ta),Object(v.a)(Ia.map(function(mn){return Er(mn).data.value})))}Dn(ia,{selected:!0,triggerValue:Qn},yn)}Vt&&Vt(on,Vn)},On=function(Qn,Vn,yn){var on=Qn,ia=ht(Sr,Qn);if(ze){var xa=pr(ia),ta=xa.missingRawValues,Ni=xa.existRawValues,Ci=Ni.map(function(mn){return Lr(mn).key}),Gn=Object(w.a)(Ci,{checked:!1,halfCheckedKeys:Xr},Qr),Ia=Gn.checkedKeys;ia=[].concat(Object(v.a)(ta),Object(v.a)(Ia.map(function(mn){return Er(mn).data.value})))}Dn(ia,{selected:!1,triggerValue:Qn},yn),Tt&&Tt(on,Vn)},gn=function(){Dn([],null,"clear")},Un=n.useCallback(function(Jn){if(Wt){var Qn={};Object.defineProperty(Qn,"documentClickClose",{get:function(){return Object(D.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Wt(Jn,Qn)}},[Wt]),Wn={optionLabelProp:null,optionFilterProp:Te,dropdownAlign:kt,internalProps:{mark:C.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jr,onRawDeselect:On}};return"filterTreeNode"in Gt&&(Wn.filterOption=$e),n.createElement(M.Provider,{value:{checkable:ur,loadData:ye,treeLoadedKeys:Ce,onTreeLoad:Ut,checkedKeys:Sr,halfCheckedKeys:Xr,treeDefaultExpandAll:ie,treeExpandedKeys:wt,treeDefaultExpandedKeys:ee,onTreeExpand:Lt,treeIcon:$,treeMotion:Me,showTreeIcon:le,switcherIcon:ge,treeLine:Ae,treeNodeFilterProp:Te}},n.createElement(Ot,Object.assign({ref:Ye,mode:qt?"multiple":null},Gt,Wn,{value:cn,labelInValue:!0,options:mt,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Un})))}),Ve=function(Gt){Object(o.a)(hr,Gt);var Jt=Object(f.a)(hr);function hr(){var Xt;return Object(t.a)(this,hr),Xt=Jt.apply(this,arguments),Xt.selectRef=n.createRef(),Xt.focus=function(){Xt.selectRef.current.focus()},Xt.blur=function(){Xt.selectRef.current.blur()},Xt}return Object(c.a)(hr,[{key:"render",value:function(){return n.createElement(_t,Object.assign({ref:this.selectRef},this.props))}}]),hr}(n.Component);Ve.TreeNode=Q,Ve.SHOW_ALL=st,Ve.SHOW_PARENT=Et,Ve.SHOW_CHILD=Mt;var Qe=Ve,et=Qe,dt=e("TSYQ"),Ze=e.n(dt),oe=e("BGR+"),me=e("H84U"),ot=e("uaoM"),Pe=e("1vzs"),pt=e("2jpz"),Rr=e("3Nzz"),It=function(Gt){a()(hr,Gt);var Jt=l()(hr);function hr(Xt){var de;return b()(this,hr),de=Jt.call(this,Xt),de.selectRef=n.createRef(),de.renderTreeSelect=function(ue){var se=ue.getPopupContainer,ae=ue.getPrefixCls,ye=ue.renderEmpty,Ce=ue.direction,Oe=ue.virtual,Te=ue.dropdownMatchSelectWidth,xe=de.props,je=xe.prefixCls,ut=xe.size,wt=xe.className,ee=xe.treeCheckable,ie=xe.multiple,z=xe.listHeight,$=z===void 0?256:z,le=xe.listItemHeight,ge=le===void 0?26:le,Ae=xe.notFoundContent,Me=xe.switcherIcon,$e=xe.treeLine,kt=xe.getPopupContainer,$t=xe.dropdownClassName,Lt=xe.bordered,Ut=xe.treeIcon,Wt=Ut===void 0?!1:Ut,Vt=ae("select",je),Tt=ae("select-tree",je),ur=ae("tree-select",je),qt=Ze()($t,"".concat(ur,"-dropdown"),p()({},"".concat(ur,"-dropdown-rtl"),Ce==="rtl")),ze=!!(ee||ie),nt=Object(Pe.a)(E()(E()({},de.props),{multiple:ze,prefixCls:Vt})),Ye=nt.suffixIcon,Xe=nt.itemIcon,yt=nt.removeIcon,mt=nt.clearIcon,We;Ae!==void 0?We=Ae:We=ye("Select");var rt=Object(oe.default)(de.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(Rr.b.Consumer,null,function(ft){var Yt,Ft=ut||ft,fr=Ze()(!je&&ur,(Yt={},p()(Yt,"".concat(Vt,"-lg"),Ft==="large"),p()(Yt,"".concat(Vt,"-sm"),Ft==="small"),p()(Yt,"".concat(Vt,"-rtl"),Ce==="rtl"),p()(Yt,"".concat(Vt,"-borderless"),!Lt),Yt),wt);return n.createElement(et,E()({virtual:Oe,dropdownMatchSelectWidth:Te},rt,{ref:de.selectRef,prefixCls:Vt,className:fr,listHeight:$,listItemHeight:ge,treeCheckable:ee&&n.createElement("span",{className:"".concat(Vt,"-tree-checkbox-inner")}),inputIcon:Ye,menuItemSelectedIcon:Xe,removeIcon:yt,clearIcon:mt,switcherIcon:function(Er){return Object(pt.a)(Tt,Me,$e,Er)},showTreeIcon:Wt,notFoundContent:We,getPopupContainer:kt||se,treeMotion:null,dropdownClassName:qt}))})},Object(ot.a)(Xt.multiple!==!1||!Xt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),de}return i()(hr,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return n.createElement(me.a,null,this.renderTreeSelect)}}]),hr}(n.Component);It.TreeNode=Q,It.SHOW_ALL=st,It.SHOW_PARENT=Et,It.SHOW_CHILD=Mt,It.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var nr=F.a=It},"5Uyt":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("KmBX"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},"5YOS":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("xb2K"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},"5YgA":function(J,F,e){},"5bA4":function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="LeftOutlined";var b=F.a=d.forwardRef(A)},"5nXd":function(J,F,e){var d=e("MFOe"),E=d.slice,g=d.pluck,p=d.each,A=d.bind,b=d.create,h=d.isList,i=d.isFunction,r=d.isObject;J.exports={createStore:l};var a={version:"2.0.12",enabled:!1,get:function(u,t){var c=this.storage.read(this._namespacePrefix+u);return this._deserialize(c,t)},set:function(u,t){return t===void 0?this.remove(u):(this.storage.write(this._namespacePrefix+u,this._serialize(t)),t)},remove:function(u){this.storage.remove(this._namespacePrefix+u)},each:function(u){var t=this;this.storage.each(function(c,o){u.call(t,t._deserialize(c),(o||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(u){return this._namespacePrefix=="__storejs_"+u+"_"},createStore:function(){return l.apply(this,arguments)},addPlugin:function(u){this._addPlugin(u)},namespace:function(u){return l(this.storage,this.plugins,u)}};function s(){var n=typeof console=="undefined"?null:console;if(!n)return;var u=n.warn?n.warn:n.log;u.apply(n,arguments)}function l(n,u,t){t||(t=""),n&&!h(n)&&(n=[n]),u&&!h(u)&&(u=[u]);var c=t?"__storejs_"+t+"_":"",o=t?new RegExp("^"+c):null,f=/^[a-zA-Z0-9_\-]*$/;if(!f.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var v={_namespacePrefix:c,_namespaceRegexp:o,_testStorage:function(S){try{var x="__storejs__test__";S.write(x,x);var O=S.read(x)===x;return S.remove(x),O}catch(T){return!1}},_assignPluginFnProp:function(S,x){var O=this[x];this[x]=function(){var w=E(arguments,0),C=this;function N(){return O?(p(arguments,function(B,R){w[R]=B}),O.apply(C,w)):void 0}var D=[N].concat(w);return S.apply(C,D)}},_serialize:function(S){return JSON.stringify(S)},_deserialize:function(S,x){if(!S)return x;var O="";try{O=JSON.parse(S)}catch(T){O=S}return O!==void 0?O:x},_addStorage:function(S){if(this.enabled)return;this._testStorage(S)&&(this.storage=S,this.enabled=!0)},_addPlugin:function(S){var x=this;if(h(S)){p(S,function(w){x._addPlugin(w)});return}var O=g(this.plugins,function(w){return S===w});if(O)return;if(this.plugins.push(S),!i(S))throw new Error("Plugins must be function values that return objects");var T=S.call(this);if(!r(T))throw new Error("Plugins must return an object of function properties");p(T,function(w,C){if(!i(w))throw new Error("Bad plugin property: "+C+" from plugin "+S.name+". Plugins should only return functions.");x._assignPluginFnProp(w,C)})},addStorage:function(S){s("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(S)}},y=b(v,a,{plugins:[]});return y.raw={},p(y,function(L,S){i(L)&&(y.raw[S]=A(y,L))}),p(n,function(L){y._addStorage(L)}),p(u,function(L){y._addPlugin(L)}),y}},"5rEg":function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lwsE"),p=e.n(g),A=e("W8MJ"),b=e.n(A),h=e("7W2i"),i=e.n(h),r=e("LQ03"),a=e.n(r),s=e("lSNA"),l=e.n(s),n=e("q1tI"),u=e("TSYQ"),t=e.n(u),c=e("BGR+"),o=e("kbBi"),f=e.n(o),v=e("CWQg"),y=e("0n0R"),L=Object(v.a)("text","input");function S(ht){return!!(ht.prefix||ht.suffix||ht.allowClear)}var x=function(ht){i()(Ge,ht);var vt=a()(Ge);function Ge(){var At;return p()(this,Ge),At=vt.apply(this,arguments),At.containerRef=n.createRef(),At.onInputMouseUp=function(_e){var De;if((De=At.containerRef.current)===null||De===void 0?void 0:De.contains(_e.target)){var Ie=At.props.triggerFocus;Ie()}},At}return b()(Ge,[{key:"renderClearIcon",value:function(_e){var De=this.props,Ie=De.allowClear,st=De.value,Et=De.disabled,Mt=De.readOnly,Pt=De.inputType,ke=De.handleReset;if(!Ie)return null;var zt=!Et&&!Mt&&st,Ot=Pt===L[0]?"".concat(_e,"-textarea-clear-icon"):"".concat(_e,"-clear-icon");return n.createElement(f.a,{onClick:ke,className:t()(Ot,l()({},"".concat(Ot,"-hidden"),!zt)),role:"button"})}},{key:"renderSuffix",value:function(_e){var De=this.props,Ie=De.suffix,st=De.allowClear;return Ie||st?n.createElement("span",{className:"".concat(_e,"-suffix")},this.renderClearIcon(_e),Ie):null}},{key:"renderLabeledIcon",value:function(_e,De){var Ie,st=this.props,Et=st.focused,Mt=st.value,Pt=st.prefix,ke=st.className,zt=st.size,Ot=st.suffix,_t=st.disabled,Ve=st.allowClear,Qe=st.direction,et=st.style,dt=st.readOnly,Ze=st.bordered,oe=this.renderSuffix(_e);if(!S(this.props))return Object(y.a)(De,{value:Mt});var me=Pt?n.createElement("span",{className:"".concat(_e,"-prefix")},Pt):null,ot=t()(ke,"".concat(_e,"-affix-wrapper"),(Ie={},l()(Ie,"".concat(_e,"-affix-wrapper-focused"),Et),l()(Ie,"".concat(_e,"-affix-wrapper-disabled"),_t),l()(Ie,"".concat(_e,"-affix-wrapper-sm"),zt==="small"),l()(Ie,"".concat(_e,"-affix-wrapper-lg"),zt==="large"),l()(Ie,"".concat(_e,"-affix-wrapper-input-with-clear-btn"),Ot&&Ve&&Mt),l()(Ie,"".concat(_e,"-affix-wrapper-rtl"),Qe==="rtl"),l()(Ie,"".concat(_e,"-affix-wrapper-readonly"),dt),l()(Ie,"".concat(_e,"-affix-wrapper-borderless"),!Ze),Ie));return n.createElement("span",{ref:this.containerRef,className:ot,style:et,onMouseUp:this.onInputMouseUp},me,Object(y.a)(De,{style:null,value:Mt,className:B(_e,Ze,zt,_t)}),oe)}},{key:"renderInputWithLabel",value:function(_e,De){var Ie,st,Et=this.props,Mt=Et.addonBefore,Pt=Et.addonAfter,ke=Et.style,zt=Et.size,Ot=Et.className,_t=Et.direction;if(!Mt&&!Pt)return De;var Ve="".concat(_e,"-group"),Qe="".concat(Ve,"-addon"),et=Mt?n.createElement("span",{className:Qe},Mt):null,dt=Pt?n.createElement("span",{className:Qe},Pt):null,Ze=t()("".concat(_e,"-wrapper"),(Ie={},l()(Ie,Ve,Mt||Pt),l()(Ie,"".concat(Ve,"-rtl"),_t==="rtl"),Ie)),oe=t()(Ot,"".concat(_e,"-group-wrapper"),(st={},l()(st,"".concat(_e,"-group-wrapper-sm"),zt==="small"),l()(st,"".concat(_e,"-group-wrapper-lg"),zt==="large"),l()(st,"".concat(_e,"-group-wrapper-rtl"),_t==="rtl"),st));return n.createElement("span",{className:oe,style:ke},n.createElement("span",{className:Ze},et,Object(y.a)(De,{style:null}),dt))}},{key:"renderTextAreaWithClearIcon",value:function(_e,De){var Ie,st=this.props,Et=st.value,Mt=st.allowClear,Pt=st.className,ke=st.style,zt=st.direction,Ot=st.bordered;if(!Mt)return Object(y.a)(De,{value:Et});var _t=t()(Pt,"".concat(_e,"-affix-wrapper"),"".concat(_e,"-affix-wrapper-textarea-with-clear-btn"),(Ie={},l()(Ie,"".concat(_e,"-affix-wrapper-rtl"),zt==="rtl"),l()(Ie,"".concat(_e,"-affix-wrapper-borderless"),!Ot),Ie));return n.createElement("span",{className:_t,style:ke},Object(y.a)(De,{style:null,value:Et}),this.renderClearIcon(_e))}},{key:"render",value:function(){var _e=this.props,De=_e.prefixCls,Ie=_e.inputType,st=_e.element;return Ie===L[0]?this.renderTextAreaWithClearIcon(De,st):this.renderInputWithLabel(De,this.renderLabeledIcon(De,st))}}]),Ge}(n.Component),O=x,T=e("H84U"),w=e("3Nzz"),C=e("uaoM");function N(ht){return typeof ht=="undefined"||ht===null?"":ht}function D(ht,vt,Ge){if(Ge){var At=vt;if(vt.type==="click"){At=Object.create(vt),At.target=ht,At.currentTarget=ht;var _e=ht.value;ht.value="",Ge(At),ht.value=_e;return}Ge(At)}}function B(ht,vt,Ge,At,_e){var De;return t()(ht,(De={},l()(De,"".concat(ht,"-sm"),Ge==="small"),l()(De,"".concat(ht,"-lg"),Ge==="large"),l()(De,"".concat(ht,"-disabled"),At),l()(De,"".concat(ht,"-rtl"),_e==="rtl"),l()(De,"".concat(ht,"-borderless"),!vt),De))}var R=function(ht){i()(Ge,ht);var vt=a()(Ge);function Ge(At){var _e;p()(this,Ge),_e=vt.call(this,At),_e.direction="ltr",_e.focus=function(){_e.input.focus()},_e.saveClearableInput=function(Ie){_e.clearableInput=Ie},_e.saveInput=function(Ie){_e.input=Ie},_e.onFocus=function(Ie){var st=_e.props.onFocus;_e.setState({focused:!0},_e.clearPasswordValueAttribute),st&&st(Ie)},_e.onBlur=function(Ie){var st=_e.props.onBlur;_e.setState({focused:!1},_e.clearPasswordValueAttribute),st&&st(Ie)},_e.handleReset=function(Ie){_e.setValue("",function(){_e.focus()}),D(_e.input,Ie,_e.props.onChange)},_e.renderInput=function(Ie,st,Et){var Mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Pt=_e.props,ke=Pt.className,zt=Pt.addonBefore,Ot=Pt.addonAfter,_t=Pt.size,Ve=Pt.disabled,Qe=Object(c.default)(_e.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",E()({autoComplete:Mt.autoComplete},Qe,{onChange:_e.handleChange,onFocus:_e.onFocus,onBlur:_e.onBlur,onKeyDown:_e.handleKeyDown,className:t()(B(Ie,Et,_t||st,Ve,_e.direction),l()({},ke,ke&&!zt&&!Ot)),ref:_e.saveInput}))},_e.clearPasswordValueAttribute=function(){_e.removePasswordTimeout=setTimeout(function(){_e.input&&_e.input.getAttribute("type")==="password"&&_e.input.hasAttribute("value")&&_e.input.removeAttribute("value")})},_e.handleChange=function(Ie){_e.setValue(Ie.target.value,_e.clearPasswordValueAttribute),D(_e.input,Ie,_e.props.onChange)},_e.handleKeyDown=function(Ie){var st=_e.props,Et=st.onPressEnter,Mt=st.onKeyDown;Ie.keyCode===13&&Et&&Et(Ie),Mt&&Mt(Ie)},_e.renderComponent=function(Ie){var st=Ie.getPrefixCls,Et=Ie.direction,Mt=Ie.input,Pt=_e.state,ke=Pt.value,zt=Pt.focused,Ot=_e.props,_t=Ot.prefixCls,Ve=Ot.bordered,Qe=Ve===void 0?!0:Ve,et=st("input",_t);return _e.direction=Et,n.createElement(w.b.Consumer,null,function(dt){return n.createElement(O,E()({size:dt},_e.props,{prefixCls:et,inputType:"input",value:N(ke),element:_e.renderInput(et,dt,Qe,Mt),handleReset:_e.handleReset,ref:_e.saveClearableInput,direction:Et,focused:zt,triggerFocus:_e.focus,bordered:Qe}))})};var De=typeof At.value=="undefined"?At.defaultValue:At.value;return _e.state={value:De,focused:!1,prevValue:At.value},_e}return b()(Ge,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(_e){return S(_e)!==S(this.props)&&Object(C.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(_e,De){this.props.value===void 0&&this.setState({value:_e},De)}},{key:"render",value:function(){return n.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(_e,De){var Ie=De.prevValue,st={prevValue:_e.value};return(_e.value!==void 0||Ie!==_e.value)&&(st.value=_e.value),st}}]),Ge}(n.Component);R.defaultProps={type:"text"};var U=R,M=function(vt){return n.createElement(T.a,null,function(Ge){var At,_e=Ge.getPrefixCls,De=Ge.direction,Ie=vt.prefixCls,st=vt.className,Et=st===void 0?"":st,Mt=_e("input-group",Ie),Pt=t()(Mt,(At={},l()(At,"".concat(Mt,"-lg"),vt.size==="large"),l()(At,"".concat(Mt,"-sm"),vt.size==="small"),l()(At,"".concat(Mt,"-compact"),vt.compact),l()(At,"".concat(Mt,"-rtl"),De==="rtl"),At),Et);return n.createElement("span",{className:Pt,style:vt.style,onMouseEnter:vt.onMouseEnter,onMouseLeave:vt.onMouseLeave,onFocus:vt.onFocus,onBlur:vt.onBlur},vt.children)})},j=M,P=e("c+Xe"),K=e("w6Tc"),H=e.n(K),k=e("gZBC"),Z=e.n(k),Y=e("2/Rp"),_=function(ht,vt){var Ge={};for(var At in ht)Object.prototype.hasOwnProperty.call(ht,At)&&vt.indexOf(At)<0&&(Ge[At]=ht[At]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,At=Object.getOwnPropertySymbols(ht);_e<At.length;_e++)vt.indexOf(At[_e])<0&&Object.prototype.propertyIsEnumerable.call(ht,At[_e])&&(Ge[At[_e]]=ht[At[_e]]);return Ge},Q=n.forwardRef(function(ht,vt){var Ge=n.useRef(null),At=function(ke){var zt=ht.onChange,Ot=ht.onSearch;ke&&ke.target&&ke.type==="click"&&Ot&&Ot(ke.target.value,ke),zt&&zt(ke)},_e=function(ke){var zt;document.activeElement===((zt=Ge.current)===null||zt===void 0?void 0:zt.input)&&ke.preventDefault()},De=function(ke){var zt,Ot=ht.onSearch,_t=ht.loading,Ve=ht.disabled;if(_t||Ve)return;Ot&&Ot((zt=Ge.current)===null||zt===void 0?void 0:zt.input.value,ke)},Ie=function(ke){var zt=ht.enterButton,Ot=ht.size;return zt?n.createElement(w.b.Consumer,{key:"enterButton"},function(_t){return n.createElement(Y.a,{className:"".concat(ke,"-button"),type:"primary",size:Ot||_t},n.createElement(Z.a,null))}):n.createElement(Z.a,{className:"".concat(ke,"-icon"),key:"loadingIcon"})},st=function(ke){var zt=ht.suffix,Ot=ht.enterButton,_t=ht.loading;if(_t&&!Ot)return[zt,Ie(ke)];if(Ot)return zt;var Ve=n.createElement(H.a,{className:"".concat(ke,"-icon"),key:"searchIcon",onClick:De});return zt?[Object(y.c)(zt,null,{key:"suffix"}),Ve]:Ve},Et=function(ke,zt){var Ot=ht.enterButton,_t=ht.disabled,Ve=ht.addonAfter,Qe=ht.loading,et="".concat(ke,"-button");if(Qe&&Ot)return[Ie(ke),Ve];if(!Ot)return Ve;var dt,Ze=Ot,oe=Ze.type&&Ze.type.__ANT_BUTTON===!0;return oe||Ze.type==="button"?dt=Object(y.a)(Ze,E()({onMouseDown:_e,onClick:De,key:"enterButton"},oe?{className:et,size:zt}:{})):dt=n.createElement(Y.a,{className:et,type:"primary",size:zt,disabled:_t,key:"enterButton",onMouseDown:_e,onClick:De},Ot===!0?n.createElement(H.a,null):Ot),Ve?[dt,Object(y.c)(Ve,null,{key:"addonAfter"})]:dt},Mt=function(ke){var zt=ke.getPrefixCls,Ot=ke.direction,_t=ht.prefixCls,Ve=ht.inputPrefixCls,Qe=ht.enterButton,et=ht.className,dt=ht.size,Ze=_(ht,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ze.onSearch,delete Ze.loading;var oe=zt("input-search",_t),me=zt("input",Ve),ot=function(pt){var Rr;if(Qe){var It;Rr=t()(oe,et,(It={},l()(It,"".concat(oe,"-rtl"),Ot==="rtl"),l()(It,"".concat(oe,"-enter-button"),!!Qe),l()(It,"".concat(oe,"-").concat(pt),!!pt),It))}else Rr=t()(oe,et,l()({},"".concat(oe,"-rtl"),Ot==="rtl"));return Rr};return n.createElement(w.b.Consumer,null,function(Pe){return n.createElement(U,E()({ref:Object(P.a)(Ge,vt),onPressEnter:De},Ze,{size:dt||Pe,prefixCls:me,addonAfter:Et(oe,dt||Pe),suffix:st(oe),onChange:At,className:ot(dt||Pe)}))})};return n.createElement(T.a,null,Mt)});Q.defaultProps={enterButton:!1},Q.displayName="Search";var X=Q,he=e("Y1PL"),te=function(ht){i()(Ge,ht);var vt=a()(Ge);function Ge(At){var _e;p()(this,Ge),_e=vt.call(this,At),_e.focus=function(){_e.resizableTextArea.textArea.focus()},_e.saveTextArea=function(Ie){_e.resizableTextArea=Ie==null?void 0:Ie.resizableTextArea},_e.saveClearableInput=function(Ie){_e.clearableInput=Ie},_e.handleChange=function(Ie){_e.setValue(Ie.target.value),D(_e.resizableTextArea.textArea,Ie,_e.props.onChange)},_e.handleReset=function(Ie){_e.setValue("",function(){_e.focus()}),D(_e.resizableTextArea.textArea,Ie,_e.props.onChange)},_e.renderTextArea=function(Ie,st){return n.createElement(he.default,E()({},Object(c.default)(_e.props,["allowClear","bordered"]),{className:t()(_e.props.className,l()({},"".concat(Ie,"-borderless"),!st)),prefixCls:Ie,onChange:_e.handleChange,ref:_e.saveTextArea}))},_e.renderComponent=function(Ie){var st=Ie.getPrefixCls,Et=Ie.direction,Mt=_e.state.value,Pt=_e.props,ke=Pt.prefixCls,zt=Pt.bordered,Ot=zt===void 0?!0:zt,_t=st("input",ke);return n.createElement(O,E()({},_e.props,{prefixCls:_t,direction:Et,inputType:"text",value:N(Mt),element:_e.renderTextArea(_t,Ot),handleReset:_e.handleReset,ref:_e.saveClearableInput,triggerFocus:_e.focus,bordered:Ot}))};var De=typeof At.value=="undefined"?At.defaultValue:At.value;return _e.state={value:De},_e}return b()(Ge,[{key:"setValue",value:function(_e,De){this.props.value===void 0&&this.setState({value:_e},De)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(_e){return _e.value!==void 0?{value:_e.value}:null}}]),Ge}(n.Component),fe=te,be=e("J4zp"),we=e.n(be),Ke=e("qPY4"),qe=e.n(Ke),xt=e("fUL4"),Fe=e.n(xt),Be=function(ht,vt){var Ge={};for(var At in ht)Object.prototype.hasOwnProperty.call(ht,At)&&vt.indexOf(At)<0&&(Ge[At]=ht[At]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,At=Object.getOwnPropertySymbols(ht);_e<At.length;_e++)vt.indexOf(At[_e])<0&&Object.prototype.propertyIsEnumerable.call(ht,At[_e])&&(Ge[At[_e]]=ht[At[_e]]);return Ge},bt={click:"onClick",hover:"onMouseOver"},lt=n.forwardRef(function(ht,vt){var Ge=Object(n.useState)(!1),At=we()(Ge,2),_e=At[0],De=At[1],Ie=function(){var Pt=ht.disabled;if(Pt)return;De(!_e)},st=function(Pt){var ke,zt=ht.action,Ot=ht.iconRender,_t=Ot===void 0?function(){return null}:Ot,Ve=bt[zt]||"",Qe=_t(_e),et=(ke={},l()(ke,Ve,Ie),l()(ke,"className","".concat(Pt,"-icon")),l()(ke,"key","passwordIcon"),l()(ke,"onMouseDown",function(Ze){Ze.preventDefault()}),l()(ke,"onMouseUp",function(Ze){Ze.preventDefault()}),ke);return n.cloneElement(n.isValidElement(Qe)?Qe:n.createElement("span",null,Qe),et)},Et=function(Pt){var ke=Pt.getPrefixCls,zt=ht.className,Ot=ht.prefixCls,_t=ht.inputPrefixCls,Ve=ht.size,Qe=ht.visibilityToggle,et=Be(ht,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),dt=ke("input",_t),Ze=ke("input-password",Ot),oe=Qe&&st(Ze),me=t()(Ze,zt,l()({},"".concat(Ze,"-").concat(Ve),!!Ve)),ot=E()(E()({},Object(c.default)(et,["suffix","iconRender"])),{type:_e?"text":"password",className:me,prefixCls:dt,suffix:oe});return Ve&&(ot.size=Ve),n.createElement(U,E()({ref:vt},ot))};return n.createElement(T.a,null,Et)});lt.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(vt){return vt?n.createElement(qe.a,null):n.createElement(Fe.a,null)}},lt.displayName="Password";var tt=lt;U.Group=j,U.Search=X,U.TextArea=fe,U.Password=tt;var St=F.a=U},"5s0K":function(J,F,e){var d=e("bYtY");function E(){var g=[],p={},A;return{add:function(b,h,i,r,a){return d.isString(r)&&(a=r,r=0),p[b.id]?!1:(p[b.id]=1,g.push({el:b,target:h,time:i,delay:r,easing:a}),!0)},done:function(b){return A=b,this},start:function(){for(var b=g.length,h=0,i=g.length;h<i;h++){var r=g[h];r.el.animateTo(r.target,r.time,r.delay,r.easing,a)}return this;function a(){b--,b||(g.length=0,p={},A&&A())}}}}F.createWrap=E},"5yev":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},"6/nd":function(J,F,e){var d=e("ProS");d.registerAction("legendScroll","legendscroll",function(E,g){var p=E.scrollDataIndex;p!=null&&g.eachComponent({mainType:"legend",subType:"scroll",query:E},function(A){A.setScrollDataIndex(p)})})},"62sa":function(J,F,e){var d=e("bYtY"),E=e("4NO4"),g=E.makeInner,p=e("zTMp"),A=e("Ez2D"),b=d.each,h=d.curry,i=g();function r(y,L,S){var x=y.currTrigger,O=[y.x,y.y],T=y,w=y.dispatchAction||d.bind(S.dispatchAction,S),C=L.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;v(O)&&(O=A({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},L).point);var N=v(O),D=T.axesInfo,B=C.axesInfo,R=x==="leave"||v(O),U={},M={},j={list:[],map:{}},P={showPointer:h(l,M),showTooltip:h(n,j)};b(C.coordSysMap,function(H,k){var Z=N||H.containPoint(O);b(C.coordSysAxesInfo[k],function(Y,_){var Q=Y.axis,X=o(D,Y);if(!R&&Z&&(!D||X)){var he=X&&X.value;he==null&&!N&&(he=Q.pointToData(O)),he!=null&&a(Y,he,P,!1,U)}})});var K={};return b(B,function(H,k){var Z=H.linkGroup;Z&&!M[k]&&b(Z.axesInfo,function(Y,_){var Q=M[_];if(Y!==H&&Q){var X=Q.value;Z.mapper&&(X=H.axis.scale.parse(Z.mapper(X,f(Y),f(H)))),K[H.key]=X}})}),b(K,function(H,k){a(B[k],H,P,!0,U)}),u(M,B,U),t(j,O,y,w),c(B,w,S),U}function a(y,L,S,x,O){var T=y.axis;if(T.scale.isBlank()||!T.containData(L))return;if(!y.involveSeries){S.showPointer(y,L);return}var w=s(L,y),C=w.payloadBatch,N=w.snapToValue;C[0]&&O.seriesIndex==null&&d.extend(O,C[0]),!x&&y.snap&&(T.containData(N)&&N!=null&&(L=N)),S.showPointer(y,L,C,O),S.showTooltip(y,w,N)}function s(y,L){var S=L.axis,x=S.dim,O=y,T=[],w=Number.MAX_VALUE,C=-1;return b(L.seriesModels,function(N,D){var B=N.getData().mapDimension(x,!0),R,U;if(N.getAxisTooltipData){var M=N.getAxisTooltipData(B,y,S);U=M.dataIndices,R=M.nestestValue}else{if(U=N.getData().indicesOfNearest(B[0],y,S.type==="category"?.5:null),!U.length)return;R=N.getData().get(B[0],U[0])}if(R==null||!isFinite(R))return;var j=y-R,P=Math.abs(j);P<=w&&((P<w||j>=0&&C<0)&&(w=P,C=j,O=R,T.length=0),b(U,function(K){T.push({seriesIndex:N.seriesIndex,dataIndexInside:K,dataIndex:N.getData().getRawIndex(K)})}))}),{payloadBatch:T,snapToValue:O}}function l(y,L,S,x){y[L.key]={value:S,payloadBatch:x}}function n(y,L,S,x){var O=S.payloadBatch,T=L.axis,w=T.model,C=L.axisPointerModel;if(!L.triggerTooltip||!O.length)return;var N=L.coordSys.model,D=p.makeKey(N),B=y.map[D];B||(B=y.map[D]={coordSysId:N.id,coordSysIndex:N.componentIndex,coordSysType:N.type,coordSysMainType:N.mainType,dataByAxis:[]},y.list.push(B)),B.dataByAxis.push({axisDim:T.dim,axisIndex:w.componentIndex,axisType:w.type,axisId:w.id,value:x,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:O.slice()})}function u(y,L,S){var x=S.axesInfo=[];b(L,function(O,T){var w=O.axisPointerModel.option,C=y[T];C?(!O.useHandle&&(w.status="show"),w.value=C.value,w.seriesDataIndices=(C.payloadBatch||[]).slice()):!O.useHandle&&(w.status="hide"),w.status==="show"&&x.push({axisDim:O.axis.dim,axisIndex:O.axis.model.componentIndex,value:w.value})})}function t(y,L,S,x){if(v(L)||!y.list.length){x({type:"hideTip"});return}var O=((y.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};x({type:"showTip",escapeConnect:!0,x:L[0],y:L[1],tooltipOption:S.tooltipOption,position:S.position,dataIndexInside:O.dataIndexInside,dataIndex:O.dataIndex,seriesIndex:O.seriesIndex,dataByCoordSys:y.list})}function c(y,L,S){var x=S.getZr(),O="axisPointerLastHighlights",T=i(x)[O]||{},w=i(x)[O]={};b(y,function(D,B){var R=D.axisPointerModel.option;R.status==="show"&&b(R.seriesDataIndices,function(U){var M=U.seriesIndex+" | "+U.dataIndex;w[M]=U})});var C=[],N=[];d.each(T,function(D,B){!w[B]&&N.push(D)}),d.each(w,function(D,B){!T[B]&&C.push(D)}),N.length&&S.dispatchAction({type:"downplay",escapeConnect:!0,batch:N}),C.length&&S.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function o(y,L){for(var S=0;S<(y||[]).length;S++){var x=y[S];if(L.axis.dim===x.axisDim&&L.axis.model.componentIndex===x.axisIndex)return x}}function f(y){var L=y.axis.model,S={},x=S.axisDim=y.axis.dim;return S.axisIndex=S[x+"AxisIndex"]=L.componentIndex,S.axisName=S[x+"AxisName"]=L.name,S.axisId=S[x+"AxisId"]=L.id,S}function v(y){return!y||y[0]==null||isNaN(y[0])||y[1]==null||isNaN(y[1])}J.exports=r},"6D9b":function(J,F,e){},"6GrX":function(J,F,e){var d=e("mFDi"),E=e("Xnb7"),g=e("bYtY"),p=g.getContext,A=g.extend,b=g.retrieve2,h=g.retrieve3,i=g.trim,r={},a=0,s=5e3,l=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",u={};function t(j,P){u[j]=P}function c(j,P){P=P||n;var K=j+":"+P;if(r[K])return r[K];for(var H=(j+"").split(`
|
|
|
`),k=0,Z=0,Y=H.length;Z<Y;Z++)k=Math.max(D(H[Z],P).width,k);return a>s&&(a=0,r={}),a++,r[K]=k,k}function o(j,P,K,H,k,Z,Y,_){return Y?v(j,P,K,H,k,Z,Y,_):f(j,P,K,H,k,Z,_)}function f(j,P,K,H,k,Z,Y){var _=B(j,P,k,Z,Y),Q=c(j,P);k&&(Q+=k[1]+k[3]);var X=_.outerHeight,he=y(0,Q,K),te=L(0,X,H),fe=new d(he,te,Q,X);return fe.lineHeight=_.lineHeight,fe}function v(j,P,K,H,k,Z,Y,_){var Q=R(j,{rich:Y,truncate:_,font:P,textAlign:K,textPadding:k,textLineHeight:Z}),X=Q.outerWidth,he=Q.outerHeight,te=y(0,X,K),fe=L(0,he,H);return new d(te,fe,X,he)}function y(j,P,K){return K==="right"?j-=P:K==="center"&&(j-=P/2),j}function L(j,P,K){return K==="middle"?j-=P/2:K==="bottom"&&(j-=P),j}function S(j,P,K){var H=P.textPosition,k=P.textDistance,Z=K.x,Y=K.y;k=k||0;var _=K.height,Q=K.width,X=_/2,he="left",te="top";switch(H){case"left":Z-=k,Y+=X,he="right",te="middle";break;case"right":Z+=k+Q,Y+=X,te="middle";break;case"top":Z+=Q/2,Y-=k,he="center",te="bottom";break;case"bottom":Z+=Q/2,Y+=_+k,he="center";break;case"inside":Z+=Q/2,Y+=X,he="center",te="middle";break;case"insideLeft":Z+=k,Y+=X,te="middle";break;case"insideRight":Z+=Q-k,Y+=X,he="right",te="middle";break;case"insideTop":Z+=Q/2,Y+=k,he="center";break;case"insideBottom":Z+=Q/2,Y+=_-k,he="center",te="bottom";break;case"insideTopLeft":Z+=k,Y+=k;break;case"insideTopRight":Z+=Q-k,Y+=k,he="right";break;case"insideBottomLeft":Z+=k,Y+=_-k,te="bottom";break;case"insideBottomRight":Z+=Q-k,Y+=_-k,he="right",te="bottom";break}return j=j||{},j.x=Z,j.y=Y,j.textAlign=he,j.textVerticalAlign=te,j}function x(j,P,K){var H={textPosition:j,textDistance:K};return S({},H,P)}function O(j,P,K,H,k){if(!P)return"";var Z=(j+"").split(`
|
|
|
`);k=T(P,K,H,k);for(var Y=0,_=Z.length;Y<_;Y++)Z[Y]=w(Z[Y],k);return Z.join(`
|
|
|
`)}function T(j,P,K,H){H=A({},H),H.font=P;var K=b(K,"...");H.maxIterations=b(H.maxIterations,2);var k=H.minChar=b(H.minChar,0);H.cnCharWidth=c("\u56FD",P);var Z=H.ascCharWidth=c("a",P);H.placeholder=b(H.placeholder,"");for(var Y=j=Math.max(0,j-1),_=0;_<k&&Y>=Z;_++)Y-=Z;var Q=c(K,P);return Q>Y&&(K="",Q=0),Y=j-Q,H.ellipsis=K,H.ellipsisWidth=Q,H.contentWidth=Y,H.containerWidth=j,H}function w(j,P){var K=P.containerWidth,H=P.font,k=P.contentWidth;if(!K)return"";var Z=c(j,H);if(Z<=K)return j;for(var Y=0;;Y++){if(Z<=k||Y>=P.maxIterations){j+=P.ellipsis;break}var _=Y===0?C(j,k,P.ascCharWidth,P.cnCharWidth):Z>0?Math.floor(j.length*k/Z):0;j=j.substr(0,_),Z=c(j,H)}return j===""&&(j=P.placeholder),j}function C(j,P,K,H){for(var k=0,Z=0,Y=j.length;Z<Y&&k<P;Z++){var _=j.charCodeAt(Z);k+=0<=_&&_<=127?K:H}return Z}function N(j){return c("\u56FD",j)}function D(j,P){return u.measureText(j,P)}u.measureText=function(j,P){var K=p();return K.font=P||n,K.measureText(j)};function B(j,P,K,H,k){j!=null&&(j+="");var Z=b(H,N(P)),Y=j?j.split(`
|
|
|
`):[],_=Y.length*Z,Q=_,X=!0;if(K&&(Q+=K[0]+K[2]),j&&k){X=!1;var he=k.outerHeight,te=k.outerWidth;if(he!=null&&Q>he)j="",Y=[];else if(te!=null)for(var fe=T(te-(K?K[1]+K[3]:0),P,k.ellipsis,{minChar:k.minChar,placeholder:k.placeholder}),be=0,we=Y.length;be<we;be++)Y[be]=w(Y[be],fe)}return{lines:Y,height:_,outerHeight:Q,lineHeight:Z,canCacheByTextString:X}}function R(j,P){var K={lines:[],width:0,height:0};if(j!=null&&(j+=""),!j)return K;for(var H=l.lastIndex=0,k;(k=l.exec(j))!=null;){var Z=k.index;Z>H&&U(K,j.substring(H,Z)),U(K,k[2],k[1]),H=l.lastIndex}H<j.length&&U(K,j.substring(H,j.length));var Y=K.lines,_=0,Q=0,X=[],he=P.textPadding,te=P.truncate,fe=te&&te.outerWidth,be=te&&te.outerHeight;he&&(fe!=null&&(fe-=he[1]+he[3]),be!=null&&(be-=he[0]+he[2]));for(var we=0;we<Y.length;we++){for(var Ke=Y[we],qe=0,xt=0,Fe=0;Fe<Ke.tokens.length;Fe++){var Be=Ke.tokens[Fe],bt=Be.styleName&&P.rich[Be.styleName]||{},lt=Be.textPadding=bt.textPadding,tt=Be.font=bt.font||P.font,St=Be.textHeight=b(bt.textHeight,N(tt));if(lt&&(St+=lt[0]+lt[2]),Be.height=St,Be.lineHeight=h(bt.textLineHeight,P.textLineHeight,St),Be.textAlign=bt&&bt.textAlign||P.textAlign,Be.textVerticalAlign=bt&&bt.textVerticalAlign||"middle",be!=null&&_+Be.lineHeight>be)return{lines:[],width:0,height:0};Be.textWidth=c(Be.text,tt);var ht=bt.textWidth,vt=ht==null||ht==="auto";if(typeof ht=="string"&&ht.charAt(ht.length-1)==="%")Be.percentWidth=ht,X.push(Be),ht=0;else{if(vt){ht=Be.textWidth;var Ge=bt.textBackgroundColor,At=Ge&&Ge.image;At&&(At=E.findExistImage(At),E.isImageReady(At)&&(ht=Math.max(ht,At.width*St/At.height)))}var _e=lt?lt[1]+lt[3]:0;ht+=_e;var De=fe!=null?fe-xt:null;De!=null&&De<ht&&(!vt||De<_e?(Be.text="",Be.textWidth=ht=0):(Be.text=O(Be.text,De-_e,tt,te.ellipsis,{minChar:te.minChar}),Be.textWidth=c(Be.text,tt),ht=Be.textWidth+_e))}xt+=Be.width=ht,bt&&(qe=Math.max(qe,Be.lineHeight))}Ke.width=xt,Ke.lineHeight=qe,_+=qe,Q=Math.max(Q,xt)}K.outerWidth=K.width=b(P.textWidth,Q),K.outerHeight=K.height=b(P.textHeight,_),he&&(K.outerWidth+=he[1]+he[3],K.outerHeight+=he[0]+he[2]);for(var we=0;we<X.length;we++){var Be=X[we],Ie=Be.percentWidth;Be.width=parseInt(Ie,10)/100*Q}return K}function U(j,P,K){for(var H=P==="",k=P.split(`
|
|
|
`),Z=j.lines,Y=0;Y<k.length;Y++){var _=k[Y],Q={styleName:K,text:_,isLineHolder:!_&&!H};if(Y)Z.push({tokens:[Q]});else{var X=(Z[Z.length-1]||(Z[0]={tokens:[]})).tokens,he=X.length;he===1&&X[0].isLineHolder?X[0]=Q:(_||!he||H)&&X.push(Q)}}}function M(j){var P=(j.fontSize||j.fontFamily)&&[j.fontStyle,j.fontWeight,(j.fontSize||12)+"px",j.fontFamily||"sans-serif"].join(" ");return P&&i(P)||j.textFont||j.font}F.DEFAULT_FONT=n,F.$override=t,F.getWidth=c,F.getBoundingRect=o,F.adjustTextX=y,F.adjustTextY=L,F.calculateTextPosition=S,F.adjustTextPositionOnRect=x,F.truncateText=O,F.getLineHeight=N,F.measureText=D,F.parsePlainText=B,F.parseRichText=R,F.makeFont=M},"6Hfg":function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("FhB9")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="SwapRightOutlined";var h=g.forwardRef(b);F.default=h},"6Ic6":function(J,F,e){var d=e("bYtY"),E=d.each,g=e("4fz+"),p=e("iRjW"),A=e("Yl7c"),b=e("4NO4"),h=e("IwbS"),i=e("9H2F"),r=i.createTask,a=e("zM3Q"),s=b.makeInner(),l=a();function n(){this.group=new g,this.uid=p.getUID("viewChart"),this.renderTask=r({plan:o,reset:f}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(L,S){},render:function(L,S,x,O){},highlight:function(L,S,x,O){c(L.getData(),O,"emphasis")},downplay:function(L,S,x,O){c(L.getData(),O,"normal")},remove:function(L,S){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var u=n.prototype;u.updateView=u.updateLayout=u.updateVisual=function(L,S,x,O){this.render(L,S,x,O)};function t(L,S,x){if(L&&(L.trigger(S,x),L.isGroup&&!h.isHighDownDispatcher(L)))for(var O=0,T=L.childCount();O<T;O++)t(L.childAt(O),S,x)}function c(L,S,x){var O=b.queryDataIndex(L,S),T=S&&S.highlightKey!=null?h.getHighlightDigit(S.highlightKey):null;O!=null?E(b.normalizeToArray(O),function(w){t(L.getItemGraphicEl(w),x,T)}):L.eachItemGraphicEl(function(w){t(w,x,T)})}A.enableClassExtend(n,["dispose"]),A.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(L,S){s(L).updateMethod=S};function o(L){return l(L.model)}function f(L){var S=L.model,x=L.ecModel,O=L.api,T=L.payload,w=S.pipelineContext.progressiveRender,C=L.view,N=T&&s(T).updateMethod,D=w?"incrementalPrepareRender":N&&C[N]?N:"render";return D!=="render"&&C[D](S,x,O,T),v[D]}var v={incrementalPrepareRender:{progress:function(L,S){S.view.incrementalRender(L,S.model,S.ecModel,S.api,S.payload)}},render:{forceFirstProgress:!0,progress:function(L,S){S.view.render(S.model,S.ecModel,S.api,S.payload)}}},y=n;J.exports=y},"6MrE":function(J,F,e){},"6SEX":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("qWUW"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},"6UJt":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("v56E"),p=e.n(g),A=e("R9oj"),b=e("5NDa")},"6VBw":function(J,F,e){"use strict";var d=e("ODXe"),E=e("rePB"),g=e("Ff2n"),p=e("q1tI"),A=e("TSYQ"),b=e.n(A),h=e("VTBJ"),i=e("Qi1f"),r={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function a(f){var v=f.primaryColor,y=f.secondaryColor;r.primaryColor=v,r.secondaryColor=y||Object(i.b)(v),r.calculated=!!y}function s(){return Object(h.a)({},r)}var l=function(v){var y=v.icon,L=v.className,S=v.onClick,x=v.style,O=v.primaryColor,T=v.secondaryColor,w=Object(g.a)(v,["icon","className","onClick","style","primaryColor","secondaryColor"]),C=r;if(O&&(C={primaryColor:O,secondaryColor:T||Object(i.b)(O)}),Object(i.f)(),Object(i.g)(Object(i.c)(y),"icon should be icon definiton, but got ".concat(y)),!Object(i.c)(y))return null;var N=y;return N&&typeof N.icon=="function"&&(N=Object(h.a)(Object(h.a)({},N),{},{icon:N.icon(C.primaryColor,C.secondaryColor)})),Object(i.a)(N.icon,"svg-".concat(N.name),Object(h.a)({className:L,onClick:S,style:x,"data-icon":N.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},w))};l.displayName="IconReact",l.getTwoToneColors=s,l.setTwoToneColors=a;var n=l;function u(f){var v=Object(i.d)(f),y=Object(d.a)(v,2),L=y[0],S=y[1];return n.setTwoToneColors({primaryColor:L,secondaryColor:S})}function t(){var f=n.getTwoToneColors();return f.calculated?[f.primaryColor,f.secondaryColor]:f.primaryColor}u("#1890ff");var c=p.forwardRef(function(f,v){var y=f.className,L=f.icon,S=f.spin,x=f.rotate,O=f.tabIndex,T=f.onClick,w=f.twoToneColor,C=Object(g.a)(f,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),N=b()("anticon",Object(E.a)({},"anticon-".concat(L.name),Boolean(L.name)),y),D=b()({"anticon-spin":!!S||L.name==="loading"}),B=O;B===void 0&&T&&(B=-1);var R=x?{msTransform:"rotate(".concat(x,"deg)"),transform:"rotate(".concat(x,"deg)")}:void 0,U=Object(i.d)(w),M=Object(d.a)(U,2),j=M[0],P=M[1];return p.createElement("span",Object.assign({role:"img","aria-label":L.name},C,{ref:v,tabIndex:B,onClick:T,className:N}),p.createElement(n,{className:D,icon:L,primaryColor:j,secondaryColor:P,style:R}))});c.displayName="AntdIcon",c.getTwoToneColor=t,c.setTwoToneColor=u;var o=F.a=c},"6cGi":function(J,F,e){"use strict";e.d(F,"a",function(){return r});var d=e("q1tI"),E=e.n(d);function g(a,s){return i(a)||h(a,s)||A(a,s)||p()}function p(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A(a,s){if(!a)return;if(typeof a=="string")return b(a,s);var l=Object.prototype.toString.call(a).slice(8,-1);if(l==="Object"&&a.constructor&&(l=a.constructor.name),l==="Map"||l==="Set")return Array.from(a);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return b(a,s)}function b(a,s){(s==null||s>a.length)&&(s=a.length);for(var l=0,n=new Array(s);l<s;l++)n[l]=a[l];return n}function h(a,s){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(a)))return;var l=[],n=!0,u=!1,t=void 0;try{for(var c=a[Symbol.iterator](),o;!(n=(o=c.next()).done)&&!(l.push(o.value),s&&l.length===s);n=!0);}catch(f){u=!0,t=f}finally{try{!n&&c.return!=null&&c.return()}finally{if(u)throw t}}return l}function i(a){if(Array.isArray(a))return a}function r(a,s){var l=s||{},n=l.defaultValue,u=l.value,t=l.onChange,c=l.postState,o=d.useState(function(){return u!==void 0?u:n!==void 0?typeof n=="function"?n():n:typeof a=="function"?a():a}),f=g(o,2),v=f[0],y=f[1],L=u!==void 0?u:v;c&&(L=c(L));function S(O){y(O),L!==O&&t&&t(O,L)}var x=d.useRef(!0);return d.useEffect(function(){if(x.current){x.current=!1;return}u===void 0&&y(u)},[u]),[L,S]}},"6fms":function(J,F,e){var d=e("SUKs"),E=e("06Qe"),g=e("bYtY"),p=g.each;function A(r){return parseInt(r,10)}function b(r,a){E.initVML(),this.root=r,this.storage=a;var s=document.createElement("div"),l=document.createElement("div");s.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",l.style.cssText="position:absolute;left:0;top:0;",r.appendChild(s),this._vmlRoot=l,this._vmlViewport=s,this.resize();var n=a.delFromStorage,u=a.addToStorage;a.delFromStorage=function(t){n.call(a,t),t&&(t.onRemove&&t.onRemove(l))},a.addToStorage=function(t){t.onAdd&&t.onAdd(l),u.call(a,t)},this._firstPaint=!0}b.prototype={constructor:b,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var a=this.getViewportRoot();if(a)return{offsetLeft:a.offsetLeft||0,offsetTop:a.offsetTop||0}},refresh:function(){var a=this.storage.getDisplayList(!0,!0);this._paintList(a)},_paintList:function(a){for(var s=this._vmlRoot,l=0;l<a.length;l++){var n=a[l];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(s),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(s),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,s),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(s),this._firstPaint=!1)},resize:function(a,s){var a=a==null?this._getWidth():a,s=s==null?this._getHeight():s;if(this._width!==a||this._height!==s){this._width=a,this._height=s;var l=this._vmlViewport.style;l.width=a+"px",l.height=s+"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 a=this.root,s=a.currentStyle;return(a.clientWidth||A(s.width))-A(s.paddingLeft)-A(s.paddingRight)|0},_getHeight:function(){var a=this.root,s=a.currentStyle;return(a.clientHeight||A(s.height))-A(s.paddingTop)-A(s.paddingBottom)|0}};function h(r){return function(){d('In IE8.0 VML mode painter not support method "'+r+'"')}}p(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(r){b.prototype[r]=h(r)});var i=b;J.exports=i},"6r85":function(J,F,e){var d=e("bYtY");function E(g){if(!g||!d.isArray(g.series))return;d.each(g.series,function(p){d.isObject(p)&&p.type==="k"&&(p.type="candlestick")})}J.exports=E},"6sVZ":function(J,F){var e=Object.prototype;function d(E){var g=E&&E.constructor,p=typeof g=="function"&&g.prototype||e;return E===p}J.exports=d},"6uqw":function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("ItGF"),p=e("YOMW"),A=e("XxSj"),b=e("K4ya"),h=e("4NO4"),i=e("OELB"),r=A.mapVisual,a=A.eachVisual,s=E.isArray,l=E.each,n=i.asc,u=i.linearMap,t=E.noop,c=d.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(f,v,y){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(f,y)},optionUpdated:function(f,v){var y=this.option;g.canvasSupported||(y.realtime=!1),!v&&b.replaceVisualOption(y,f,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(f){var v=this.stateList;f=E.bind(f,this),this.controllerVisuals=b.createVisualMappings(this.option.controller,v,f),this.targetVisuals=b.createVisualMappings(this.option.target,v,f)},getTargetSeriesIndices:function(){var f=this.option.seriesIndex,v=[];return f==null||f==="all"?this.ecModel.eachSeries(function(y,L){v.push(L)}):v=h.normalizeToArray(f),v},eachTargetSeries:function(f,v){E.each(this.getTargetSeriesIndices(),function(y){f.call(v,this.ecModel.getSeriesByIndex(y))},this)},isTargetSeries:function(f){var v=!1;return this.eachTargetSeries(function(y){y===f&&(v=!0)}),v},formatValueText:function(f,v,y){var L=this.option,S=L.precision,x=this.dataBound,O=L.formatter,T,w;if(y=y||["<",">"],E.isArray(f)&&(f=f.slice(),T=!0),w=v?f:T?[C(f[0]),C(f[1])]:C(f),E.isString(O))return O.replace("{value}",T?w[0]:w).replace("{value2}",T?w[1]:w);if(E.isFunction(O))return T?O(f[0],f[1]):O(f);if(T)return f[0]===x[0]?y[0]+" "+w[1]:f[1]===x[1]?y[1]+" "+w[0]:w[0]+" - "+w[1];return w;function C(N){return N===x[0]?"min":N===x[1]?"max":(+N).toFixed(Math.min(S,20))}},resetExtent:function(){var f=this.option,v=n([f.min,f.max]);this._dataExtent=v},getDataDimension:function(f){var v=this.option.dimension,y=f.dimensions;if(v==null&&!y.length)return;if(v!=null)return f.getDimension(v);for(var L=f.dimensions,S=L.length-1;S>=0;S--){var x=L[S],O=f.getDimensionInfo(x);if(!O.isCalculationCoord)return x}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var f=this.ecModel,v=this.option,y={inRange:v.inRange,outOfRange:v.outOfRange},L=v.target||(v.target={}),S=v.controller||(v.controller={});E.merge(L,y),E.merge(S,y);var x=this.isCategory();O.call(this,L),O.call(this,S),T.call(this,L,"inRange","outOfRange"),w.call(this,S);function O(C){s(v.color)&&!C.inRange&&(C.inRange={color:v.color.slice().reverse()}),C.inRange=C.inRange||{color:f.get("gradientColor")},l(this.stateList,function(N){var D=C[N];if(E.isString(D)){var B=p.get(D,"active",x);B?(C[N]={},C[N][D]=B):delete C[N]}},this)}function T(C,N,D){var B=C[N],R=C[D];B&&!R&&(R=C[D]={},l(B,function(U,M){if(!A.isValidType(M))return;var j=p.get(M,"inactive",x);j!=null&&(R[M]=j,M==="color"&&!R.hasOwnProperty("opacity")&&!R.hasOwnProperty("colorAlpha")&&(R.opacity=[0,0]))}))}function w(C){var N=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,D=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,B=this.get("inactiveColor");l(this.stateList,function(R){var U=this.itemSize,M=C[R];M||(M=C[R]={color:x?B:[B]}),M.symbol==null&&(M.symbol=N&&E.clone(N)||(x?"roundRect":["roundRect"])),M.symbolSize==null&&(M.symbolSize=D&&E.clone(D)||(x?U[0]:[U[0],U[0]])),M.symbol=r(M.symbol,function(K){return K==="none"||K==="square"?"roundRect":K});var j=M.symbolSize;if(j!=null){var P=-Infinity;a(j,function(K){K>P&&(P=K)}),M.symbolSize=r(j,function(K){return u(K,[0,P],[0,U[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}),o=c;J.exports=o},"6usn":function(J,F,e){var d=e("bYtY");function E(p,A){return d.map(["Radius","Angle"],function(b,h){var i=this["get"+b+"Axis"](),r=A[h],a=p[h]/2,s="dataTo"+b,l=i.type==="category"?i.getBandWidth():Math.abs(i[s](r-a)-i[s](r+a));return b==="Angle"&&(l=l*Math.PI/180),l},this)}function g(p){var A=p.getRadiusAxis(),b=p.getAngleAxis(),h=A.getExtent();return h[0]>h[1]&&h.reverse(),{coordSys:{type:"polar",cx:p.cx,cy:p.cy,r:h[1],r0:h[0]},api:{coord:d.bind(function(i){var r=A.dataToRadius(i[0]),a=b.dataToAngle(i[1]),s=p.coordToPoint([r,a]);return s.push(r,a*Math.PI/180),s}),size:d.bind(E,p)}}}J.exports=g},"6xvX":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("V7ic"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},"711d":function(J,F){function e(d){return function(E){return E==null?void 0:E[d]}}J.exports=e},"72pK":function(J,F){function e(g,p,A,b,h,i){g=g||0;var r=A[1]-A[0];if(h!=null&&(h=E(h,[0,r])),i!=null&&(i=Math.max(i,h!=null?h:0)),b==="all"){var a=Math.abs(p[1]-p[0]);a=E(a,[0,r]),h=i=E(a,[h,i]),b=0}p[0]=E(p[0],A),p[1]=E(p[1],A);var s=d(p,b);p[b]+=g;var l=h||0,n=A.slice();s.sign<0?n[0]+=l:n[1]-=l,p[b]=E(p[b],n);var u=d(p,b);h!=null&&(u.sign!==s.sign||u.span<h)&&(p[1-b]=p[b]+s.sign*h);var u=d(p,b);return i!=null&&u.span>i&&(p[1-b]=p[b]+u.sign*i),p}function d(g,p){var A=g[p]-g[1-p];return{span:Math.abs(A),sign:A>0?-1:A<0?1:p?-1:1}}function E(g,p){return Math.min(p[1]!=null?p[1]:Infinity,Math.max(p[0]!=null?p[0]:-Infinity,g))}J.exports=e},"75ce":function(J,F,e){var d=e("ProS");e("IXuL"),e("8X+K");var E=e("f5Yq"),g=e("h8O9"),p=e("/d5a");e("Ae16"),d.registerVisual(E("line","circle","line")),d.registerLayout(g("line")),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,p("line"))},"75ev":function(J,F,e){var d=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var E=e("f5Yq"),g=e("yik8");d.registerVisual(E("tree","circle")),d.registerLayout(g)},"77Zs":function(J,F,e){var d=e("Xi7e");function E(){this.__data__=new d,this.size=0}J.exports=E},"7AJT":function(J,F,e){var d=e("bYtY"),E=e("hM6l"),g=function(A,b,h,i,r){E.call(this,A,b,h),this.type=i||"value",this.position=r||"bottom"};g.prototype={constructor:g,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var A=this.position;return A==="top"||A==="bottom"},getGlobalExtent:function(A){var b=this.getExtent();return b[0]=this.toGlobalCoord(b[0]),b[1]=this.toGlobalCoord(b[1]),A&&b[0]>b[1]&&b.reverse(),b},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(A,b){return this.coordToData(this.toLocalCoord(A[this.dim==="x"?0:1]),b)},toLocalCoord:null,toGlobalCoord:null},d.inherits(g,E);var p=g;J.exports=p},"7DRL":function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=g.createHashMap,A=g.isString,b=g.isArray,h=g.each,i=g.assert,r=e("MEGo"),a=r.parseXML,s=p(),l={registerMap:function(u,t,c){var o;return b(t)?o=t:t.svg?o=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(c=t.specialAreas,t=t.geoJson),o=[{type:"geoJSON",source:t,specialAreas:c}]),h(o,function(f){var v=f.type;v==="geoJson"&&(v=f.type="geoJSON");var y=n[v];y(f)}),s.set(u,o)},retrieveMap:function(u){return s.get(u)}},n={geoJSON:function(u){var t=u.source;u.geoJSON=A(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(u){u.svgXML=a(u.source)}};J.exports=l},"7G+c":function(J,F,e){var d=e("bYtY"),E=d.createHashMap,g=d.isTypedArray,p=e("Yl7c"),A=p.enableClassCheck,b=e("k9D9"),h=b.SOURCE_FORMAT_ORIGINAL,i=b.SERIES_LAYOUT_BY_COLUMN,r=b.SOURCE_FORMAT_UNKNOWN,a=b.SOURCE_FORMAT_TYPED_ARRAY,s=b.SOURCE_FORMAT_KEYED_COLUMNS;function l(u){this.fromDataset=u.fromDataset,this.data=u.data||(u.sourceFormat===s?{}:[]),this.sourceFormat=u.sourceFormat||r,this.seriesLayoutBy=u.seriesLayoutBy||i,this.dimensionsDefine=u.dimensionsDefine,this.encodeDefine=u.encodeDefine&&E(u.encodeDefine),this.startIndex=u.startIndex||0,this.dimensionsDetectCount=u.dimensionsDetectCount}l.seriesDataToSource=function(u){return new l({data:u,sourceFormat:g(u)?a:h,fromDataset:!1})},A(l);var n=l;J.exports=n},"7GkX":function(J,F,e){var d=e("b80T"),E=e("A90E"),g=e("MMmD");function p(A){return g(A)?d(A):E(A)}J.exports=p},"7Kak":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("KPFz"),p=e.n(g)},"7Phj":function(J,F,e){var d=e("bYtY"),E=e("OELB"),g=E.parsePercent,p=d.each;function A(r){var a=b(r);p(a,function(s){var l=s.seriesModels;if(!l.length)return;h(s),p(l,function(n,u){i(n,s.boxOffsetList[u],s.boxWidthList[u])})})}function b(r){var a=[],s=[];return r.eachSeriesByType("boxplot",function(l){var n=l.getBaseAxis(),u=d.indexOf(s,n);u<0&&(u=s.length,s[u]=n,a[u]={axis:n,seriesModels:[]}),a[u].seriesModels.push(l)}),a}function h(r){var a,s=r.axis,l=r.seriesModels,n=l.length,u=r.boxWidthList=[],t=r.boxOffsetList=[],c=[],o;if(s.type==="category")o=s.getBandWidth();else{var f=0;p(l,function(x){f=Math.max(f,x.getData().count())}),a=s.getExtent(),Math.abs(a[1]-a[0])/f}p(l,function(x){var O=x.get("boxWidth");d.isArray(O)||(O=[O,O]),c.push([g(O[0],o)||0,g(O[1],o)||0])});var v=o*.8-2,y=v/n*.3,L=(v-y*(n-1))/n,S=L/2-v/2;p(l,function(x,O){t.push(S),S+=y+L,u.push(Math.min(Math.max(L,c[O][0]),c[O][1]))})}function i(r,a,s){var l=r.coordinateSystem,n=r.getData(),u=s/2,t=r.get("layout")==="horizontal"?0:1,c=1-t,o=["x","y"],f=n.mapDimension(o[t]),v=n.mapDimension(o[c],!0);if(f==null||v.length<5)return;for(var y=0;y<n.count();y++){var L=n.get(f,y),S=N(L,v[2],y),x=N(L,v[0],y),O=N(L,v[1],y),T=N(L,v[3],y),w=N(L,v[4],y),C=[];D(C,O,0),D(C,T,1),C.push(x,O,w,T),B(C,x),B(C,w),B(C,S),n.setItemLayout(y,{initBaseline:S[c],ends:C})}function N(R,U,M){var j=n.get(U,M),P=[];P[t]=R,P[c]=j;var K;return isNaN(R)||isNaN(j)?K=[NaN,NaN]:(K=l.dataToPoint(P),K[t]+=a),K}function D(R,U,M){var j=U.slice(),P=U.slice();j[t]+=u,P[t]-=u,M?R.push(j,P):R.push(P,j)}function B(R,U){var M=U.slice(),j=U.slice();M[t]-=u,j[t]+=u,R.push(M,j)}}J.exports=A},"7SHv":function(J,F,e){var d=e("LPTA"),E=d.devicePixelRatio,g=e("bYtY"),p=e("SUKs"),A=e("mFDi"),b=e("BPZU"),h=e("Xmg4"),i=e("mLcG"),r=e("Dagg"),a=e("ItGF"),s=1e5,l=314159,n=.01,u=.001;function t(T){return parseInt(T,10)}function c(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var o=new A(0,0,0,0),f=new A(0,0,0,0);function v(T,w,C){return o.copy(T.getBoundingRect()),T.transform&&o.applyTransform(T.transform),f.width=w,f.height=C,!o.intersect(f)}function y(T,w){if(T===w)return!1;if(!T||!w||T.length!==w.length)return!0;for(var C=0;C<T.length;C++)if(T[C]!==w[C])return!0;return!1}function L(T,w){for(var C=0;C<T.length;C++){var N=T[C];N.setTransform(w),w.beginPath(),N.buildPath(w,N.shape),w.clip(),N.restoreTransform(w)}}function S(T,w){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+T+"px","height:"+w+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var x=function(w,C,N){this.type="canvas";var D=!w.nodeName||w.nodeName.toUpperCase()==="CANVAS";this._opts=N=g.extend({},N||{}),this.dpr=N.devicePixelRatio||E,this._singleCanvas=D,this.root=w;var B=w.style;B&&(B["-webkit-tap-highlight-color"]="transparent",B["-webkit-user-select"]=B["user-select"]=B["-webkit-touch-callout"]="none",w.innerHTML=""),this.storage=C;var R=this._zlevelList=[],U=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,D){var j=w.width,P=w.height;N.width!=null&&(j=N.width),N.height!=null&&(P=N.height),this.dpr=N.devicePixelRatio||1,w.width=j*this.dpr,w.height=P*this.dpr,this._width=j,this._height=P;var K=new h(w,this,this.dpr);K.__builtin__=!0,K.initContext(),U[l]=K,K.zlevel=l,R.push(l),this._domRoot=w}else{this._width=this._getSize(0),this._height=this._getSize(1);var M=this._domRoot=S(this._width,this._height);w.appendChild(M)}this._hoverlayer=null,this._hoverElements=[]};x.prototype={constructor:x,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var w=this.getViewportRoot();if(w)return{offsetLeft:w.offsetLeft||0,offsetTop:w.offsetTop||0}},refresh:function(w){var C=this.storage.getDisplayList(!0),N=this._zlevelList;this._redrawId=Math.random(),this._paintList(C,w,this._redrawId);for(var D=0;D<N.length;D++){var B=N[D],R=this._layers[B];if(!R.__builtin__&&R.refresh){var U=D===0?this._backgroundColor:null;R.refresh(U)}}return this.refreshHover(),this},addHover:function(w,C){if(w.__hoverMir)return;var N=new w.constructor({style:w.style,shape:w.shape,z:w.z,z2:w.z2,silent:w.silent});return N.__from=w,w.__hoverMir=N,C&&N.setStyle(C),this._hoverElements.push(N),N},removeHover:function(w){var C=w.__hoverMir,N=this._hoverElements,D=g.indexOf(N,C);D>=0&&N.splice(D,1),w.__hoverMir=null},clearHover:function(w){for(var C=this._hoverElements,N=0;N<C.length;N++){var D=C[N].__from;D&&(D.__hoverMir=null)}C.length=0},refreshHover:function(){var w=this._hoverElements,C=w.length,N=this._hoverlayer;if(N&&N.clear(),!C)return;b(w,this.storage.displayableSortFunc),N||(N=this._hoverlayer=this.getLayer(s));var D={};N.ctx.save();for(var B=0;B<C;){var R=w[B],U=R.__from;if(!(U&&U.__zr)){w.splice(B,1),U.__hoverMir=null,C--;continue}B++,U.invisible||(R.transform=U.transform,R.invTransform=U.invTransform,R.__clipPaths=U.__clipPaths,this._doPaintEl(R,N,!0,D))}N.ctx.restore()},getHoverLayer:function(){return this.getLayer(s)},_paintList:function(w,C,N){if(this._redrawId!==N)return;C=C||!1,this._updateLayerStatus(w);var D=this._doPaintList(w,C);if(this._needsManuallyCompositing&&this._compositeManually(),!D){var B=this;i(function(){B._paintList(w,C,N)})}},_compositeManually:function(){var w=this.getLayer(l).ctx,C=this._domRoot.width,N=this._domRoot.height;w.clearRect(0,0,C,N),this.eachBuiltinLayer(function(D){D.virtual&&w.drawImage(D.dom,0,0,C,N)})},_doPaintList:function(w,C){for(var N=[],D=0;D<this._zlevelList.length;D++){var B=this._zlevelList[D],R=this._layers[B];R.__builtin__&&R!==this._hoverlayer&&(R.__dirty||C)&&N.push(R)}for(var U=!0,M=0;M<N.length;M++){var R=N[M],j=R.ctx,P={};j.save();var K=C?R.__startIndex:R.__drawIndex,H=!C&&R.incremental&&Date.now,k=H&&Date.now(),Z=R.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(R.__startIndex===R.__endIndex)R.clear(!1,Z);else if(K===R.__startIndex){var Y=w[K];(!Y.incremental||!Y.notClear||C)&&R.clear(!1,Z)}K===-1&&(console.error("For some unknown reason. drawIndex is -1"),K=R.__startIndex);for(var _=K;_<R.__endIndex;_++){var Q=w[_];if(this._doPaintEl(Q,R,C,P),Q.__dirty=Q.__dirtyText=!1,H){var X=Date.now()-k;if(X>15)break}}R.__drawIndex=_,R.__drawIndex<R.__endIndex&&(U=!1),P.prevElClipPaths&&j.restore(),j.restore()}return a.wxa&&g.each(this._layers,function(he){he&&he.ctx&&he.ctx.draw&&he.ctx.draw()}),U},_doPaintEl:function(w,C,N,D){var B=C.ctx,R=w.transform;if((C.__dirty||N)&&!w.invisible&&w.style.opacity!==0&&!(R&&!R[0]&&!R[3])&&!(w.culling&&v(w,this._width,this._height))){var U=w.__clipPaths,M=D.prevElClipPaths;(!M||y(U,M))&&(M&&(B.restore(),D.prevElClipPaths=null,D.prevEl=null),U&&(B.save(),L(U,B),D.prevElClipPaths=U)),w.beforeBrush&&w.beforeBrush(B),w.brush(B,D.prevEl||null),D.prevEl=w,w.afterBrush&&w.afterBrush(B)}},getLayer:function(w,C){this._singleCanvas&&!this._needsManuallyCompositing&&(w=l);var N=this._layers[w];return N||(N=new h("zr_"+w,this,this.dpr),N.zlevel=w,N.__builtin__=!0,this._layerConfig[w]?g.merge(N,this._layerConfig[w],!0):this._layerConfig[w-n]&&g.merge(N,this._layerConfig[w-n],!0),C&&(N.virtual=C),this.insertLayer(w,N),N.initContext()),N},insertLayer:function(w,C){var N=this._layers,D=this._zlevelList,B=D.length,R=null,U=-1,M=this._domRoot;if(N[w]){p("ZLevel "+w+" has been used already");return}if(!c(C)){p("Layer of zlevel "+w+" is not valid");return}if(B>0&&w>D[0]){for(U=0;U<B-1&&!(D[U]<w&&D[U+1]>w);U++);R=N[D[U]]}if(D.splice(U+1,0,w),N[w]=C,!C.virtual)if(R){var j=R.dom;j.nextSibling?M.insertBefore(C.dom,j.nextSibling):M.appendChild(C.dom)}else M.firstChild?M.insertBefore(C.dom,M.firstChild):M.appendChild(C.dom)},eachLayer:function(w,C){var N=this._zlevelList,D,B;for(B=0;B<N.length;B++)D=N[B],w.call(C,this._layers[D],D)},eachBuiltinLayer:function(w,C){var N=this._zlevelList,D,B,R;for(R=0;R<N.length;R++)B=N[R],D=this._layers[B],D.__builtin__&&w.call(C,D,B)},eachOtherLayer:function(w,C){var N=this._zlevelList,D,B,R;for(R=0;R<N.length;R++)B=N[R],D=this._layers[B],D.__builtin__||w.call(C,D,B)},getLayers:function(){return this._layers},_updateLayerStatus:function(w){this.eachBuiltinLayer(function(P,K){P.__dirty=P.__used=!1});function C(P){B&&(B.__endIndex!==P&&(B.__dirty=!0),B.__endIndex=P)}if(this._singleCanvas)for(var N=1;N<w.length;N++){var D=w[N];if(D.zlevel!==w[N-1].zlevel||D.incremental){this._needsManuallyCompositing=!0;break}}for(var B=null,R=0,U,N=0;N<w.length;N++){var D=w[N],M=D.zlevel,j;U!==M&&(U=M,R=0),D.incremental?(j=this.getLayer(M+u,this._needsManuallyCompositing),j.incremental=!0,R=1):j=this.getLayer(M+(R>0?n:0),this._needsManuallyCompositing),j.__builtin__||p("ZLevel "+M+" has been used by unkown layer "+j.id),j!==B&&(j.__used=!0,j.__startIndex!==N&&(j.__dirty=!0),j.__startIndex=N,j.incremental?j.__drawIndex=-1:j.__drawIndex=N,C(N),B=j),D.__dirty&&(j.__dirty=!0,j.incremental&&j.__drawIndex<0&&(j.__drawIndex=N))}C(N),this.eachBuiltinLayer(function(P,K){!P.__used&&P.getElementCount()>0&&(P.__dirty=!0,P.__startIndex=P.__endIndex=P.__drawIndex=0),P.__dirty&&P.__drawIndex<0&&(P.__drawIndex=P.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(w){w.clear()},setBackgroundColor:function(w){this._backgroundColor=w},configLayer:function(w,C){if(C){var N=this._layerConfig;N[w]?g.merge(N[w],C,!0):N[w]=C;for(var D=0;D<this._zlevelList.length;D++){var B=this._zlevelList[D];if(B===w||B===w+n){var R=this._layers[B];g.merge(R,N[w],!0)}}}},delLayer:function(w){var C=this._layers,N=this._zlevelList,D=C[w];if(!D)return;D.dom.parentNode.removeChild(D.dom),delete C[w],N.splice(g.indexOf(N,w),1)},resize:function(w,C){if(this._domRoot.style){var N=this._domRoot;N.style.display="none";var D=this._opts;if(w!=null&&(D.width=w),C!=null&&(D.height=C),w=this._getSize(0),C=this._getSize(1),N.style.display="",this._width!==w||C!==this._height){N.style.width=w+"px",N.style.height=C+"px";for(var B in this._layers)this._layers.hasOwnProperty(B)&&this._layers[B].resize(w,C);g.each(this._progressiveLayers,function(R){R.resize(w,C)}),this.refresh(!0)}this._width=w,this._height=C}else{if(w==null||C==null)return;this._width=w,this._height=C,this.getLayer(l).resize(w,C)}return this},clearLayer:function(w){var C=this._layers[w];C&&C.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(w){if(w=w||{},this._singleCanvas&&!this._compositeManually)return this._layers[l].dom;var C=new h("image",this,w.pixelRatio||this.dpr);if(C.initContext(),C.clear(!1,w.backgroundColor||this._backgroundColor),w.pixelRatio<=this.dpr){this.refresh();var N=C.dom.width,D=C.dom.height,B=C.ctx;this.eachLayer(function(P){P.__builtin__?B.drawImage(P.dom,0,0,N,D):P.renderToCanvas&&(C.ctx.save(),P.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var R={},U=this.storage.getDisplayList(!0),M=0;M<U.length;M++){var j=U[M];this._doPaintEl(j,C,!0,R)}return C.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(w){var C=this._opts,N=["width","height"][w],D=["clientWidth","clientHeight"][w],B=["paddingLeft","paddingTop"][w],R=["paddingRight","paddingBottom"][w];if(C[N]!=null&&C[N]!=="auto")return parseFloat(C[N]);var U=this.root,M=document.defaultView.getComputedStyle(U);return(U[D]||t(M[N])||t(U.style[N]))-(t(M[B])||0)-(t(M[R])||0)|0},pathToImage:function(w,C){C=C||this.dpr;var N=document.createElement("canvas"),D=N.getContext("2d"),B=w.getBoundingRect(),R=w.style,U=R.shadowBlur*C,M=R.shadowOffsetX*C,j=R.shadowOffsetY*C,P=R.hasStroke()?R.lineWidth:0,K=Math.max(P/2,-M+U),H=Math.max(P/2,M+U),k=Math.max(P/2,-j+U),Z=Math.max(P/2,j+U),Y=B.width+K+H,_=B.height+k+Z;N.width=Y*C,N.height=_*C,D.scale(C,C),D.clearRect(0,0,Y,_),D.dpr=C;var Q={position:w.position,rotation:w.rotation,scale:w.scale};w.position=[K-B.x,k-B.y],w.rotation=0,w.scale=[1,1],w.updateTransform(),w&&w.brush(D);var X=r,he=new X({style:{x:0,y:0,image:N}});return Q.position!=null&&(he.position=w.position=Q.position),Q.rotation!=null&&(he.rotation=w.rotation=Q.rotation),Q.scale!=null&&(he.scale=w.scale=Q.scale),he}};var O=x;J.exports=O},"7a+S":function(J,F,e){var d=e("bYtY"),E=e("bLfw"),g=e("YXkt"),p=e("4NO4"),A=E.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(h,i,r){this._data,this._names,this.mergeDefaultAndTheme(h,r),this._initData()},mergeOption:function(h){A.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(h){h==null&&(h=this.option.currentIndex);var i=this._data.count();this.option.loop?h=(h%i+i)%i:(h>=i&&(h=i-1),h<0&&(h=0)),this.option.currentIndex=h},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(h){this.option.autoPlay=!!h},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var h=this.option,i=h.data||[],r=h.axisType,a=this._names=[];if(r==="category"){var s=[];d.each(i,function(u,t){var c=p.getDataItemValue(u),o;d.isObject(u)?(o=d.clone(u),o.value=t):o=t,s.push(o),!d.isString(c)&&(c==null||isNaN(c))&&(c=""),a.push(c+"")}),i=s}var l={category:"ordinal",time:"time"}[r]||"number",n=this._data=new g([{name:"value",type:l}],this);n.initData(i,a)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),b=A;J.exports=b},"7aKB":function(J,F,e){var d=e("bYtY"),E=e("6GrX"),g=e("OELB");function p(S){return isNaN(S)?"-":(S=(S+"").split("."),S[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(S.length>1?"."+S[1]:""))}function A(S,x){return S=(S||"").toLowerCase().replace(/-(.)/g,function(O,T){return T.toUpperCase()}),x&&S&&(S=S.charAt(0).toUpperCase()+S.slice(1)),S}var b=d.normalizeCssArray,h=/([&<>"'])/g,i={"&":"&","<":"<",">":">",'"':""","'":"'"};function r(S){return S==null?"":(S+"").replace(h,function(x,O){return i[O]})}var a=["a","b","c","d","e","f","g"],s=function(S,x){return"{"+S+(x==null?"":x)+"}"};function l(S,x,O){d.isArray(x)||(x=[x]);var T=x.length;if(!T)return"";for(var w=x[0].$vars||[],C=0;C<w.length;C++){var N=a[C];S=S.replace(s(N),s(N,0))}for(var D=0;D<T;D++)for(var B=0;B<w.length;B++){var R=x[D][w[B]];S=S.replace(s(a[B],D),O?r(R):R)}return S}function n(S,x,O){return d.each(x,function(T,w){S=S.replace("{"+w+"}",O?r(T):T)}),S}function u(S,x){S=d.isString(S)?{color:S,extraCssText:x}:S||{};var O=S.color,T=S.type,x=S.extraCssText,w=S.renderMode||"html",C=S.markerId||"X";return O?w==="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:'+r(O)+";"+(x||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+r(O)+";"+(x||"")+'"></span>':{renderMode:w,content:"{marker"+C+"|} ",style:{color:O}}:""}function t(S,x){return S+="","0000".substr(0,x-S.length)+S}function c(S,x,O){(S==="week"||S==="month"||S==="quarter"||S==="half-year"||S==="year")&&(S=`MM-dd
|
|
|
yyyy`);var T=g.parseDate(x),w=O?"UTC":"",C=T["get"+w+"FullYear"](),N=T["get"+w+"Month"]()+1,D=T["get"+w+"Date"](),B=T["get"+w+"Hours"](),R=T["get"+w+"Minutes"](),U=T["get"+w+"Seconds"](),M=T["get"+w+"Milliseconds"]();return S=S.replace("MM",t(N,2)).replace("M",N).replace("yyyy",C).replace("yy",C%100).replace("dd",t(D,2)).replace("d",D).replace("hh",t(B,2)).replace("h",B).replace("mm",t(R,2)).replace("m",R).replace("ss",t(U,2)).replace("s",U).replace("SSS",t(M,3)),S}function o(S){return S&&S.charAt(0).toUpperCase()+S.substr(1)}var f=E.truncateText;function v(S){return E.getBoundingRect(S.text,S.font,S.textAlign,S.textVerticalAlign,S.textPadding,S.textLineHeight,S.rich,S.truncate)}function y(S,x,O,T,w,C,N,D){return E.getBoundingRect(S,x,O,T,w,D,C,N)}function L(S,x){if(x==="_blank"||x==="blank"){var O=window.open();O.opener=null,O.location=S}else window.open(S,x)}F.addCommas=p,F.toCamelCase=A,F.normalizeCssArray=b,F.encodeHTML=r,F.formatTpl=l,F.formatTplSimple=n,F.getTooltipMarker=u,F.formatTime=c,F.capitalFirst=o,F.truncateText=f,F.getTextBoundingRect=v,F.getTextRect=y,F.windowOpen=L},"7bkD":function(J,F,e){var d=e("bYtY");function E(g,p){p=p||{};var A=g.coordinateSystem,b=g.axis,h={},i=b.position,r=b.orient,a=A.getRect(),s=[a.x,a.x+a.width,a.y,a.y+a.height],l={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};h.position=[r==="vertical"?l.vertical[i]:s[0],r==="horizontal"?l.horizontal[i]:s[3]];var n={horizontal:0,vertical:1};h.rotation=Math.PI/2*n[r];var u={top:-1,bottom:1,right:1,left:-1};h.labelDirection=h.tickDirection=h.nameDirection=u[i],g.get("axisTick.inside")&&(h.tickDirection=-h.tickDirection),d.retrieve(p.labelInside,g.get("axisLabel.inside"))&&(h.labelDirection=-h.labelDirection);var t=p.rotate;return t==null&&(t=g.get("axisLabel.rotate")),h.labelRotation=i==="top"?-t:t,h.z2=1,h}F.layout=E},"7fqy":function(J,F){function e(d){var E=-1,g=Array(d.size);return d.forEach(function(p,A){g[++E]=[A,p]}),g}J.exports=e},"7hqr":function(J,F,e){var d=e("bYtY"),E=d.each,g=d.isString;function p(h,i,r){r=r||{};var a=r.byIndex,s=r.stackedCoordDimension,l=!!(h&&h.get("stack")),n,u,t,c;if(E(i,function(y,L){g(y)&&(i[L]=y={name:y}),l&&!y.isExtraCoord&&(!a&&!n&&y.ordinalMeta&&(n=y),!u&&y.type!=="ordinal"&&y.type!=="time"&&(!s||s===y.coordDim)&&(u=y))}),u&&!a&&!n&&(a=!0),u){t="__\0ecstackresult",c="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var o=u.coordDim,f=u.type,v=0;E(i,function(y){y.coordDim===o&&v++}),i.push({name:t,coordDim:o,coordDimIndex:v,type:f,isExtraCoord:!0,isCalculationCoord:!0}),v++,i.push({name:c,coordDim:c,coordDimIndex:v,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:u&&u.name,stackedByDimension:n&&n.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:t}}function A(h,i){return!!i&&i===h.getCalculationInfo("stackedDimension")}function b(h,i){return A(h,i)?h.getCalculationInfo("stackResultDimension"):i}F.enableDataStack=p,F.isDimensionStacked=A,F.getStackedDimension=b},"7mYs":function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("IwbS"),p=e("7aKB"),A=e("OELB"),b={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"]},h={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},i=d.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(r,a,s){var l=this.group;l.removeAll();var n=r.coordinateSystem,u=n.getRangeInfo(),t=n.getOrient();this._renderDayRect(r,u,l),this._renderLines(r,u,t,l),this._renderYearText(r,u,t,l),this._renderMonthText(r,t,l),this._renderWeekText(r,u,t,l)},_renderDayRect:function(r,a,s){for(var l=r.coordinateSystem,n=r.getModel("itemStyle").getItemStyle(),u=l.getCellWidth(),t=l.getCellHeight(),c=a.start.time;c<=a.end.time;c=l.getNextNDay(c,1).time){var o=l.dataToRect([c],!1).tl,f=new g.Rect({shape:{x:o[0],y:o[1],width:u,height:t},cursor:"default",style:n});s.add(f)}},_renderLines:function(r,a,s,l){var n=this,u=r.coordinateSystem,t=r.getModel("splitLine.lineStyle").getLineStyle(),c=r.get("splitLine.show"),o=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var f=a.start,v=0;f.time<=a.end.time;v++){L(f.formatedDate),v===0&&(f=u.getDateInfo(a.start.y+"-"+a.start.m));var y=f.date;y.setMonth(y.getMonth()+1),f=u.getDateInfo(y)}L(u.getNextNDay(a.end.time,1).formatedDate);function L(S){n._firstDayOfMonth.push(u.getDateInfo(S)),n._firstDayPoints.push(u.dataToRect([S],!1).tl);var x=n._getLinePointsOfOneWeek(r,S,s);n._tlpoints.push(x[0]),n._blpoints.push(x[x.length-1]),c&&n._drawSplitline(x,t,l)}c&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,o,s),t,l),c&&this._drawSplitline(n._getEdgesPoints(n._blpoints,o,s),t,l)},_getEdgesPoints:function(r,a,s){var l=[r[0].slice(),r[r.length-1].slice()],n=s==="horizontal"?0:1;return l[0][n]=l[0][n]-a/2,l[1][n]=l[1][n]+a/2,l},_drawSplitline:function(r,a,s){var l=new g.Polyline({z2:20,shape:{points:r},style:a});s.add(l)},_getLinePointsOfOneWeek:function(r,a,s){var l=r.coordinateSystem;a=l.getDateInfo(a);for(var n=[],u=0;u<7;u++){var t=l.getNextNDay(a.time,u),c=l.dataToRect([t.time],!1);n[2*t.day]=c.tl,n[2*t.day+1]=c[s==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(r,a){return typeof r=="string"&&r?p.formatTplSimple(r,a):typeof r=="function"?r(a):a.nameMap},_yearTextPositionControl:function(r,a,s,l,n){a=a.slice();var u=["center","bottom"];l==="bottom"?(a[1]+=n,u=["center","top"]):l==="left"?a[0]-=n:l==="right"?(a[0]+=n,u=["center","top"]):a[1]-=n;var t=0;return(l==="left"||l==="right")&&(t=Math.PI/2),{rotation:t,position:a,style:{textAlign:u[0],textVerticalAlign:u[1]}}},_renderYearText:function(r,a,s,l){var n=r.getModel("yearLabel");if(!n.get("show"))return;var u=n.get("margin"),t=n.get("position");t||(t=s!=="horizontal"?"top":"left");var c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],o=(c[0][0]+c[1][0])/2,f=(c[0][1]+c[1][1])/2,v=s==="horizontal"?0:1,y={top:[o,c[v][1]],bottom:[o,c[1-v][1]],left:[c[1-v][0],f],right:[c[v][0],f]},L=a.start.y;+a.end.y>+a.start.y&&(L=L+"-"+a.end.y);var S=n.get("formatter"),x={start:a.start.y,end:a.end.y,nameMap:L},O=this._formatterLabel(S,x),T=new g.Text({z2:30});g.setTextStyle(T.style,n,{text:O}),T.attr(this._yearTextPositionControl(T,y[t],s,t,u)),l.add(T)},_monthTextPositionControl:function(r,a,s,l,n){var u="left",t="top",c=r[0],o=r[1];return s==="horizontal"?(o=o+n,a&&(u="center"),l==="start"&&(t="bottom")):(c=c+n,a&&(t="middle"),l==="start"&&(u="right")),{x:c,y:o,textAlign:u,textVerticalAlign:t}},_renderMonthText:function(r,a,s){var l=r.getModel("monthLabel");if(!l.get("show"))return;var n=l.get("nameMap"),u=l.get("margin"),t=l.get("position"),c=l.get("align"),o=[this._tlpoints,this._blpoints];E.isString(n)&&(n=b[n.toUpperCase()]||[]);var f=t==="start"?0:1,v=a==="horizontal"?0:1;u=t==="start"?-u:u;for(var y=c==="center",L=0;L<o[f].length-1;L++){var S=o[f][L].slice(),x=this._firstDayOfMonth[L];if(y){var O=this._firstDayPoints[L];S[v]=(O[v]+o[0][L+1][v])/2}var T=l.get("formatter"),w=n[+x.m-1],C={yyyy:x.y,yy:(x.y+"").slice(2),MM:x.m,M:+x.m,nameMap:w},N=this._formatterLabel(T,C),D=new g.Text({z2:30});E.extend(g.setTextStyle(D.style,l,{text:N}),this._monthTextPositionControl(S,y,a,t,u)),s.add(D)}},_weekTextPositionControl:function(r,a,s,l,n){var u="center",t="middle",c=r[0],o=r[1],f=s==="start";return a==="horizontal"?(c=c+l+(f?1:-1)*n[0]/2,u=f?"right":"left"):(o=o+l+(f?1:-1)*n[1]/2,t=f?"bottom":"top"),{x:c,y:o,textAlign:u,textVerticalAlign:t}},_renderWeekText:function(r,a,s,l){var n=r.getModel("dayLabel");if(!n.get("show"))return;var u=r.coordinateSystem,t=n.get("position"),c=n.get("nameMap"),o=n.get("margin"),f=u.getFirstDayOfWeek();E.isString(c)&&(c=h[c.toUpperCase()]||[]);var v=u.getNextNDay(a.end.time,7-a.lweek).time,y=[u.getCellWidth(),u.getCellHeight()];o=A.parsePercent(o,y[s==="horizontal"?0:1]),t==="start"&&(v=u.getNextNDay(a.start.time,-(7+a.fweek)).time,o=-o);for(var L=0;L<7;L++){var S=u.getNextNDay(v,L),x=u.dataToRect([S.time],!1).center,O=L;O=Math.abs((L+f)%7);var T=new g.Text({z2:30});E.extend(g.setTextStyle(T.style,n,{text:c[O]}),this._weekTextPositionControl(x,s,t,o,y)),l.add(T)}}});J.exports=i},"7oTu":function(J,F,e){var d=e("IMiH"),E=e("QBsz"),g=E.applyTransform,p=d.CMD,A=[[],[],[]],b=Math.sqrt,h=Math.atan2;function i(r,a){var s=r.data,l,n,u,t,c,o,f=p.M,v=p.C,y=p.L,L=p.R,S=p.A,x=p.Q;for(u=0,t=0;u<s.length;){l=s[u++],t=u,n=0;switch(l){case f:n=1;break;case y:n=1;break;case v:n=3;break;case x:n=2;break;case S:var O=a[4],T=a[5],w=b(a[0]*a[0]+a[1]*a[1]),C=b(a[2]*a[2]+a[3]*a[3]),N=h(-a[1]/C,a[0]/w);s[u]*=w,s[u++]+=O,s[u]*=C,s[u++]+=T,s[u++]*=w,s[u++]*=C,s[u++]+=N,s[u++]+=N,u+=2,t=u;break;case L:o[0]=s[u++],o[1]=s[u++],g(o,o,a),s[t++]=o[0],s[t++]=o[1],o[0]+=s[u++],o[1]+=s[u++],g(o,o,a),s[t++]=o[0],s[t++]=o[1]}for(c=0;c<n;c++){var o=A[c];o[0]=s[u++],o[1]=s[u++],g(o,o,a),s[t++]=o[0],s[t++]=o[1]}}}J.exports=i},"7pVf":function(J,F,e){var d=e("ProS"),E=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),d.registerPreprocessor(E)},"7ph2":function(J,F){function e(g){return g instanceof Array||(g=[g,g]),g}var d="lineStyle.opacity".split("."),E={seriesType:"lines",reset:function(g,p,A){var b=e(g.get("symbol")),h=e(g.get("symbolSize")),i=g.getData();i.setVisual("fromSymbol",b&&b[0]),i.setVisual("toSymbol",b&&b[1]),i.setVisual("fromSymbolSize",h&&h[0]),i.setVisual("toSymbolSize",h&&h[1]),i.setVisual("opacity",g.get(d));function r(a,s){var l=a.getItemModel(s),n=e(l.getShallow("symbol",!0)),u=e(l.getShallow("symbolSize",!0)),t=l.get(d);n[0]&&a.setItemVisual(s,"fromSymbol",n[0]),n[1]&&a.setItemVisual(s,"toSymbol",n[1]),u[0]&&a.setItemVisual(s,"fromSymbolSize",u[0]),u[1]&&a.setItemVisual(s,"toSymbolSize",u[1]),a.setItemVisual(s,"opacity",t)}return{dataEach:i.hasItemOption?r:null}}};J.exports=E},"7uqq":function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("bYtY"),A=e("AUH6"),b=e("+TT/"),h=e("OELB"),i=e("W4dC"),r=e("7DRL");function a(u,t){var c=u.get("boundingCoords");if(c!=null){var o=c[0],f=c[1];isNaN(o[0])||isNaN(o[1])||isNaN(f[0])||isNaN(f[1])||this.setBoundingRect(o[0],o[1],f[0]-o[0],f[1]-o[1])}var v=this.getBoundingRect(),y,L=u.get("layoutCenter"),S=u.get("layoutSize"),x=t.getWidth(),O=t.getHeight(),T=v.width/v.height*this.aspectScale,w=!1;L&&S&&(L=[h.parsePercent(L[0],x),h.parsePercent(L[1],O)],S=h.parsePercent(S,Math.min(x,O)),!isNaN(L[0])&&!isNaN(L[1])&&!isNaN(S)&&(w=!0));var C;if(w){var C={};T>1?(C.width=S,C.height=S/T):(C.height=S,C.width=S*T),C.y=L[1]-C.height/2,C.x=L[0]-C.width/2}else y=u.getBoxLayoutParams(),y.aspect=T,C=b.getLayoutRect(y,{width:x,height:O});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(u.get("center")),this.setZoom(u.get("zoom"))}function s(u,t){p.each(t.get("geoCoord"),function(c,o){u.addGeoCoord(o,c)})}var l={dimensions:A.prototype.dimensions,create:function(u,t){var c=[];u.eachComponent("geo",function(f,v){var y=f.get("map"),L=f.get("aspectScale"),S=!0,x=r.retrieveMap(y);x&&x[0]&&x[0].type==="svg"?(L==null&&(L=1),S=!1):L==null&&(L=.75);var O=new A(y+v,y,f.get("nameMap"),S);O.aspectScale=L,O.zoomLimit=f.get("scaleLimit"),c.push(O),s(O,f),f.coordinateSystem=O,O.model=f,O.resize=a,O.resize(f,t)}),u.eachSeries(function(f){var v=f.get("coordinateSystem");if(v==="geo"){var y=f.get("geoIndex")||0;f.coordinateSystem=c[y]}});var o={};return u.eachSeriesByType("map",function(f){if(!f.getHostGeoModel()){var v=f.getMapType();o[v]=o[v]||[],o[v].push(f)}}),p.each(o,function(f,v){var y=p.map(f,function(S){return S.get("nameMap")}),L=new A(v,v,p.mergeAll(y));L.zoomLimit=p.retrieve.apply(null,p.map(f,function(S){return S.get("scaleLimit")})),c.push(L),L.resize=a,L.aspectScale=f[0].get("aspectScale"),L.resize(f[0],t),p.each(f,function(S){S.coordinateSystem=L,s(L,S)})}),c},getFilledRegions:function(u,t,c){for(var o=(u||[]).slice(),f=p.createHashMap(),v=0;v<o.length;v++)f.set(o[v].name,o[v]);var y=i.load(t,c);return p.each(y.regions,function(L){var S=L.name;!f.get(S)&&o.push({name:S})}),o}};g.registerCoordinateSystem("geo",l);var n=l;J.exports=n},"7yuC":function(J,F,e){var d=e("QBsz"),E=d.scaleAndAdd;function g(p,A,b){for(var h=b.rect,i=h.width,r=h.height,a=[h.x+i/2,h.y+r/2],s=b.gravity==null?.1:b.gravity,l=0;l<p.length;l++){var n=p[l];n.p||(n.p=d.create(i*(Math.random()-.5)+a[0],r*(Math.random()-.5)+a[1])),n.pp=d.clone(n.p),n.edges=null}var u=b.friction==null?.6:b.friction,t=u;return{warmUp:function(){t=u*.8},setFixed:function(c){p[c].fixed=!0},setUnfixed:function(c){p[c].fixed=!1},step:function(c){for(var o=[],f=p.length,v=0;v<A.length;v++){var y=A[v];if(y.ignoreForceLayout)continue;var L=y.n1,S=y.n2;d.sub(o,S.p,L.p);var x=d.len(o)-y.d,O=S.w/(L.w+S.w);isNaN(O)&&(O=0),d.normalize(o,o),!L.fixed&&E(L.p,L.p,o,O*x*t),!S.fixed&&E(S.p,S.p,o,-(1-O)*x*t)}for(var v=0;v<f;v++){var T=p[v];T.fixed||(d.sub(o,a,T.p),E(T.p,T.p,o,s*t))}for(var v=0;v<f;v++)for(var L=p[v],w=v+1;w<f;w++){var S=p[w];d.sub(o,S.p,L.p);var x=d.len(o);x===0&&(d.set(o,Math.random()-.5,Math.random()-.5),x=1);var C=(L.rep+S.rep)/x/x;!L.fixed&&E(L.pp,L.pp,o,C),!S.fixed&&E(S.pp,S.pp,o,-C)}for(var N=[],v=0;v<f;v++){var T=p[v];T.fixed||(d.sub(N,T.p,T.pp),E(T.p,T.p,N,t),d.copy(T.pp,T.p))}t=t*.992,c&&c(p,A,t<.01)}}}F.forceLayout=g},"815F":function(J,F,e){"use strict";e.d(F,"e",function(){return h}),e.d(F,"c",function(){return r}),e.d(F,"d",function(){return a}),e.d(F,"a",function(){return l}),e.d(F,"f",function(){return n}),e.d(F,"b",function(){return u});var d=e("KQm4"),E=e("VTBJ"),g=e("Ff2n"),p=e("Zm9Q"),A=e("Kwbf"),b=e("OZM5");function h(t,c){return t!=null?t:c}function i(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=new Map;function o(f){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(f||[]).forEach(function(y){var L=y.key,S=y.children;Object(A.a)(L!=null,"Tree node must have a certain key: [".concat(v).concat(L,"]"));var x=String(L);Object(A.a)(!c.has(x)||L===null||L===void 0,"Same 'key' exist in the Tree: ".concat(x)),c.set(x,!0),o(S,"".concat(v).concat(x," > "))})}o(t)}function r(t){function c(o){var f=Object(p.a)(o);return f.map(function(v){if(!Object(b.i)(v))return Object(A.a)(!v,"Tree/TreeNode can only accept TreeNode as children."),null;var y=v.key,L=v.props,S=L.children,x=Object(g.a)(L,["children"]),O=Object(E.a)({key:y},x),T=c(S);return T.length&&(O.children=T),O}).filter(function(v){return v})}return c(t)}function a(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=new Set(c===!0?[]:c),f=[];function v(y){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return y.map(function(S,x){var O=Object(b.h)(L?L.pos:"0",x),T=h(S.key,O),w=Object(E.a)(Object(E.a)({},S),{},{parent:L,pos:O,children:null,data:S,isStart:[].concat(Object(d.a)(L?L.isStart:[]),[x===0]),isEnd:[].concat(Object(d.a)(L?L.isEnd:[]),[x===y.length-1])});return f.push(w),c===!0||o.has(T)?w.children=v(S.children||[],w):w.children=[],w})}return v(t),f}function s(t,c,o){var f;o?typeof o=="string"?f=function(L){return L[o]}:typeof o=="function"&&(f=function(L){return o(L)}):f=function(L,S){return h(L.key,S)};function v(y,L,S){var x=y?y.children:t,O=y?Object(b.h)(S.pos,L):"0";if(y){var T=f(y,O),w={node:y,index:L,pos:O,key:T,parentPos:S.node?S.pos:null,level:S.level+1};c(w)}x&&x.forEach(function(C,N){v(C,N,{node:y,pos:O,level:S?S.level+1:-1})})}v(null)}function l(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=c.initWrapper,f=c.processEntity,v=c.onProcessFinished,y=arguments.length>2?arguments[2]:void 0,L={},S={},x={posEntities:L,keyEntities:S};return o&&(x=o(x)||x),s(t,function(O){var T=O.node,w=O.index,C=O.pos,N=O.key,D=O.parentPos,B=O.level,R={node:T,index:w,key:N,pos:C,level:B},U=h(N,C);L[C]=R,S[U]=R,R.parent=L[D],R.parent&&(R.parent.children=R.parent.children||[],R.parent.children.push(R)),f&&f(R,x)},y),v&&v(x),x}function n(t,c){var o=c.expandedKeys,f=c.selectedKeys,v=c.loadedKeys,y=c.loadingKeys,L=c.checkedKeys,S=c.halfCheckedKeys,x=c.dragOverNodeKey,O=c.dropPosition,T=c.keyEntities,w=T[t],C={eventKey:t,expanded:o.indexOf(t)!==-1,selected:f.indexOf(t)!==-1,loaded:v.indexOf(t)!==-1,loading:y.indexOf(t)!==-1,checked:L.indexOf(t)!==-1,halfChecked:S.indexOf(t)!==-1,pos:String(w?w.pos:""),dragOver:x===t&&O===0,dragOverGapTop:x===t&&O===-1,dragOverGapBottom:x===t&&O===1};return C}function u(t){var c=t.data,o=t.expanded,f=t.selected,v=t.checked,y=t.loaded,L=t.loading,S=t.halfChecked,x=t.dragOver,O=t.dragOverGapTop,T=t.dragOverGapBottom,w=t.pos,C=t.active,N=Object(E.a)(Object(E.a)({},c),{},{expanded:o,selected:f,checked:v,loaded:y,loading:L,halfChecked:S,dragOver:x,dragOverGapTop:O,dragOverGapBottom:T,pos:w,active:C});return"props"in N||Object.defineProperty(N,"props",{get:function(){return Object(A.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),N}},"8EBN":function(J,F,e){(function(d){d(e("VrN/"))})(function(d){"use strict";d.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 E=0;E<d.modeInfo.length;E++){var g=d.modeInfo[E];g.mimes&&(g.mime=g.mimes[0])}d.findModeByMIME=function(p){p=p.toLowerCase();for(var A=0;A<d.modeInfo.length;A++){var b=d.modeInfo[A];if(b.mime==p)return b;if(b.mimes){for(var h=0;h<b.mimes.length;h++)if(b.mimes[h]==p)return b}}if(/\+xml$/.test(p))return d.findModeByMIME("application/xml");if(/\+json$/.test(p))return d.findModeByMIME("application/json")},d.findModeByExtension=function(p){p=p.toLowerCase();for(var A=0;A<d.modeInfo.length;A++){var b=d.modeInfo[A];if(b.ext){for(var h=0;h<b.ext.length;h++)if(b.ext[h]==p)return b}}},d.findModeByFileName=function(p){for(var A=0;A<d.modeInfo.length;A++){var b=d.modeInfo[A];if(b.file&&b.file.test(p))return b}var h=p.lastIndexOf("."),i=h>-1&&p.substring(h+1,p.length);if(i)return d.findModeByExtension(i)},d.findModeByName=function(p){p=p.toLowerCase();for(var A=0;A<d.modeInfo.length;A++){var b=d.modeInfo[A];if(b.name.toLowerCase()==p)return b;if(b.alias){for(var h=0;h<b.alias.length;h++)if(b.alias[h].toLowerCase()==p)return b}}}})},"8IMR":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},"8ISB":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("6Hfg"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},"8OUc":function(J,F,e){"use strict";var d=e("q1tI"),E=e.n(d),g=e("TSYQ"),p=e.n(g),A=function(h){var i=h.className,r=h.customizeIcon,a=h.customizeIconProps,s=h.onMouseDown,l=h.onClick,n=h.children,u;return typeof r=="function"?u=r(a):u=r,d.createElement("span",{className:i,onMouseDown:function(c){c.preventDefault(),s&&s(c)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},u!==void 0?u:d.createElement("span",{className:p()(i.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},n))};F.a=A},"8SMY":function(J,F,e){var d=e("n4Lv"),E=d.prepareDataCoordInfo,g=d.getStackedOnPoint;function p(b,h){var i=[];return h.diff(b).add(function(r){i.push({cmd:"+",idx:r})}).update(function(r,a){i.push({cmd:"=",idx:a,idx1:r})}).remove(function(r){i.push({cmd:"-",idx:r})}).execute(),i}function A(b,h,i,r,a,s,l,n){for(var u=p(b,h),t=[],c=[],o=[],f=[],v=[],y=[],L=[],S=E(a,h,l),x=E(s,b,n),O=0;O<u.length;O++){var T=u[O],w=!0;switch(T.cmd){case"=":var C=b.getItemLayout(T.idx),N=h.getItemLayout(T.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=N.slice()),t.push(C),c.push(N),o.push(i[T.idx]),f.push(r[T.idx1]),L.push(h.getRawIndex(T.idx1));break;case"+":var D=T.idx;t.push(a.dataToPoint([h.get(S.dataDimsForPoint[0],D),h.get(S.dataDimsForPoint[1],D)])),c.push(h.getItemLayout(D).slice()),o.push(g(S,a,h,D)),f.push(r[D]),L.push(h.getRawIndex(D));break;case"-":var D=T.idx,B=b.getRawIndex(D);B!==D?(t.push(b.getItemLayout(D)),c.push(s.dataToPoint([b.get(x.dataDimsForPoint[0],D),b.get(x.dataDimsForPoint[1],D)])),o.push(i[D]),f.push(g(x,s,b,D)),L.push(B)):w=!1}w&&(v.push(T),y.push(y.length))}y.sort(function(K,H){return L[K]-L[H]});for(var R=[],U=[],M=[],j=[],P=[],O=0;O<y.length;O++){var D=y[O];R[O]=t[D],U[O]=c[D],M[O]=o[D],j[O]=f[D],P[O]=v[D]}return{current:R,next:U,stackedOnCurrent:M,stackedOnNext:j,status:P}}J.exports=A},"8Skl":function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="DownOutlined";var b=F.a=d.forwardRef(A)},"8Th4":function(J,F,e){var d=e("3LNs"),E=e("/y7N"),g=e("7bkD"),p=e("Znkb"),A=["x","y"],b=["width","height"],h=d.extend({makeElOption:function(l,n,u,t,c){var o=u.axis,f=o.coordinateSystem,v=a(f,1-r(o)),y=f.dataToPoint(n)[0],L=t.get("type");if(L&&L!=="none"){var S=E.buildElStyle(t),x=i[L](o,y,v);x.style=S,l.graphicKey=x.type,l.pointer=x}var O=g.layout(u);E.buildCartesianSingleLabelElOption(n,l,O,u,t,c)},getHandleTransform:function(l,n,u){var t=g.layout(n,{labelInside:!1});return t.labelMargin=u.get("handle.margin"),{position:E.getTransformedPosition(n.axis,l,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(l,n,u,t){var c=u.axis,o=c.coordinateSystem,f=r(c),v=a(o,f),y=l.position;y[f]+=n[f],y[f]=Math.min(v[1],y[f]),y[f]=Math.max(v[0],y[f]);var L=a(o,1-f),S=(L[1]+L[0])/2,x=[S,S];return x[f]=y[f],{position:y,rotation:l.rotation,cursorPoint:x,tooltipOption:{verticalAlign:"middle"}}}}),i={line:function(l,n,u){var t=E.makeLineShape([n,u[0]],[n,u[1]],r(l));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(l,n,u){var t=l.getBandWidth(),c=u[1]-u[0];return{type:"Rect",shape:E.makeRectShape([n-t/2,u[0]],[t,c],r(l))}}};function r(l){return l.isHorizontal()?0:1}function a(l,n){var u=l.getRect();return[u[A[n]],u[A[n]]+u[b[n]]]}p.registerAxisPointerClass("SingleAxisPointer",h);var s=h;J.exports=s},"8Uz6":function(J,F,e){var d=e("hNWo"),E=e("+TT/"),g=E.mergeLayoutParam,p=E.getLayoutParams,A=d.extend({type:"legend.scroll",setScrollDataIndex:function(i){this.option.scrollDataIndex=i},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(i,r,a,s){var l=p(i);A.superCall(this,"init",i,r,a,s),b(this,i,l)},mergeOption:function(i,r){A.superCall(this,"mergeOption",i,r),b(this,this.option,i)}});function b(i,r,a){var s=i.getOrient(),l=[1,1];l[s.index]=0,g(r,a,{type:"box",ignoreSize:l})}var h=A;J.exports=h},"8X+K":function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("4mN7"),A=p.fromPoints,b=e("9wZj"),h=e("FBjb"),i=e("8SMY"),r=e("IwbS"),a=e("4NO4"),s=e("1NG9"),l=s.Polyline,n=s.Polygon,u=e("6Ic6"),t=e("n4Lv"),c=t.prepareDataCoordInfo,o=t.getStackedOnPoint,f=e("sK/D"),v=f.createGridClipPath,y=f.createPolarClipPath;function L(R,U){if(R.length!==U.length)return;for(var M=0;M<R.length;M++){var j=R[M],P=U[M];if(j[0]!==P[0]||j[1]!==P[1])return}return!0}function S(R,U){var M=[],j=[],P=[],K=[];return A(R,M,j),A(U,P,K),Math.max(Math.abs(M[0]-P[0]),Math.abs(M[1]-P[1]),Math.abs(j[0]-K[0]),Math.abs(j[1]-K[1]))}function x(R){return typeof R=="number"?R:R?.5:0}function O(R,U,M){if(!M.valueDim)return[];for(var j=[],P=0,K=U.count();P<K;P++)j.push(o(M,R,U,P));return j}function T(R,U,M){for(var j=U.getBaseAxis(),P=j.dim==="x"||j.dim==="radius"?0:1,K=[],H=0;H<R.length-1;H++){var k=R[H+1],Z=R[H];K.push(Z);var Y=[];switch(M){case"end":Y[P]=k[P],Y[1-P]=Z[1-P],K.push(Y);break;case"middle":var _=(Z[P]+k[P])/2,Q=[];Y[P]=Q[P]=_,Y[1-P]=Z[1-P],Q[1-P]=k[1-P],K.push(Y),K.push(Q);break;default:Y[P]=Z[P],Y[1-P]=k[1-P],K.push(Y)}}return R[H]&&K.push(R[H]),K}function w(R,U){var M=R.getVisual("visualMeta");if(!M||!M.length||!R.count())return;if(U.type!=="cartesian2d")return;for(var j,P,K=M.length-1;K>=0;K--){var H=M[K].dimension,k=R.dimensions[H],Z=R.getDimensionInfo(k);if(j=Z&&Z.coordDim,j==="x"||j==="y"){P=M[K];break}}if(!P)return;var Y=U.getAxis(j),_=g.map(P.stops,function(Ke){return{coord:Y.toGlobalCoord(Y.dataToCoord(Ke.value)),color:Ke.color}}),Q=_.length,X=P.outerColors.slice();Q&&_[0].coord>_[Q-1].coord&&(_.reverse(),X.reverse());var he=10,te=_[0].coord-he,fe=_[Q-1].coord+he,be=fe-te;if(be<.001)return"transparent";g.each(_,function(Ke){Ke.offset=(Ke.coord-te)/be}),_.push({offset:Q?_[Q-1].offset:.5,color:X[1]||"transparent"}),_.unshift({offset:Q?_[0].offset:.5,color:X[0]||"transparent"});var we=new r.LinearGradient(0,0,0,0,_,!0);return we[j]=te,we[j+"2"]=fe,we}function C(R,U,M){var j=R.get("showAllSymbol"),P=j==="auto";if(j&&!P)return;var K=M.getAxesByScale("ordinal")[0];if(!K)return;if(P&&N(K,U))return;var H=U.mapDimension(K.dim),k={};return g.each(K.getViewLabels(),function(Z){k[Z.tickValue]=1}),function(Z){return!k.hasOwnProperty(U.get(H,Z))}}function N(R,U){var M=R.getExtent(),j=Math.abs(M[1]-M[0])/R.scale.count();isNaN(j)&&(j=0);for(var P=U.count(),K=Math.max(1,Math.round(P/5)),H=0;H<P;H+=K)if(h.getSymbolSize(U,H)[R.isHorizontal()?1:0]*1.5>j)return!1;return!0}function D(R,U,M){if(R.type==="cartesian2d"){var j=R.getBaseAxis().isHorizontal(),P=v(R,U,M);if(!M.get("clip",!0)){var K=P.shape,H=Math.max(K.width,K.height);j?(K.y-=H,K.height+=H*2):(K.x-=H,K.width+=H*2)}return P}else return y(R,U,M)}var B=u.extend({type:"line",init:function(){var R=new r.Group,U=new b;this.group.add(U.group),this._symbolDraw=U,this._lineGroup=R},render:function(R,U,M){var j=R.coordinateSystem,P=this.group,K=R.getData(),H=R.getModel("lineStyle"),k=R.getModel("areaStyle"),Z=K.mapArray(K.getItemLayout),Y=j.type==="polar",_=this._coordSys,Q=this._symbolDraw,X=this._polyline,he=this._polygon,te=this._lineGroup,fe=R.get("animation"),be=!k.isEmpty(),we=k.get("origin"),Ke=c(j,K,we),qe=O(j,K,Ke),xt=R.get("showSymbol"),Fe=xt&&!Y&&C(R,K,j),Be=this._data;Be&&Be.eachItemGraphicEl(function(Ge,At){Ge.__temp&&(P.remove(Ge),Be.setItemGraphicEl(At,null))}),xt||Q.remove(),P.add(te);var bt=!Y&&R.get("step"),lt;j&&j.getArea&&R.get("clip",!0)&&(lt=j.getArea(),lt.width!=null?(lt.x-=.1,lt.y-=.1,lt.width+=.2,lt.height+=.2):lt.r0&&(lt.r0-=.5,lt.r1+=.5)),this._clipShapeForSymbol=lt,X&&_.type===j.type&&bt===this._step?(be&&!he?he=this._newPolygon(Z,qe,j,fe):he&&!be&&(te.remove(he),he=this._polygon=null),te.setClipPath(D(j,!1,R)),xt&&Q.updateData(K,{isIgnore:Fe,clipShape:lt}),K.eachItemGraphicEl(function(Ge){Ge.stopAnimation(!0)}),(!L(this._stackedOnPoints,qe)||!L(this._points,Z))&&(fe?this._updateAnimation(K,qe,j,M,bt,we):(bt&&(Z=T(Z,j,bt),qe=T(qe,j,bt)),X.setShape({points:Z}),he&&he.setShape({points:Z,stackedOnPoints:qe})))):(xt&&Q.updateData(K,{isIgnore:Fe,clipShape:lt}),bt&&(Z=T(Z,j,bt),qe=T(qe,j,bt)),X=this._newPolyline(Z,j,fe),be&&(he=this._newPolygon(Z,qe,j,fe)),te.setClipPath(D(j,!0,R)));var tt=w(K,j)||K.getVisual("color");X.useStyle(g.defaults(H.getLineStyle(),{fill:"none",stroke:tt,lineJoin:"bevel"}));var St=R.get("smooth");if(St=x(R.get("smooth")),X.setShape({smooth:St,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")}),he){var ht=K.getCalculationInfo("stackedOnSeries"),vt=0;he.useStyle(g.defaults(k.getAreaStyle(),{fill:tt,opacity:.7,lineJoin:"bevel"})),ht&&(vt=x(ht.get("smooth"))),he.setShape({smooth:St,stackedOnSmooth:vt,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")})}this._data=K,this._coordSys=j,this._stackedOnPoints=qe,this._points=Z,this._step=bt,this._valueOrigin=we},dispose:function(){},highlight:function(R,U,M,j){var P=R.getData(),K=a.queryDataIndex(P,j);if(!(K instanceof Array)&&K!=null&&K>=0){var H=P.getItemGraphicEl(K);if(!H){var k=P.getItemLayout(K);if(!k)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(k[0],k[1]))return;H=new h(P,K),H.position=k,H.setZ(R.get("zlevel"),R.get("z")),H.ignore=isNaN(k[0])||isNaN(k[1]),H.__temp=!0,P.setItemGraphicEl(K,H),H.stopSymbolAnimation(!0),this.group.add(H)}H.highlight()}else u.prototype.highlight.call(this,R,U,M,j)},downplay:function(R,U,M,j){var P=R.getData(),K=a.queryDataIndex(P,j);if(K!=null&&K>=0){var H=P.getItemGraphicEl(K);H&&(H.__temp?(P.setItemGraphicEl(K,null),this.group.remove(H)):H.downplay())}else u.prototype.downplay.call(this,R,U,M,j)},_newPolyline:function(R){var U=this._polyline;return U&&this._lineGroup.remove(U),U=new l({shape:{points:R},silent:!0,z2:10}),this._lineGroup.add(U),this._polyline=U,U},_newPolygon:function(R,U){var M=this._polygon;return M&&this._lineGroup.remove(M),M=new n({shape:{points:R,stackedOnPoints:U},silent:!0}),this._lineGroup.add(M),this._polygon=M,M},_updateAnimation:function(R,U,M,j,P,K){var H=this._polyline,k=this._polygon,Z=R.hostModel,Y=i(this._data,R,this._stackedOnPoints,U,this._coordSys,M,this._valueOrigin,K),_=Y.current,Q=Y.stackedOnCurrent,X=Y.next,he=Y.stackedOnNext;if(P&&(_=T(Y.current,M,P),Q=T(Y.stackedOnCurrent,M,P),X=T(Y.next,M,P),he=T(Y.stackedOnNext,M,P)),S(_,X)>3e3||k&&S(Q,he)>3e3){H.setShape({points:X}),k&&k.setShape({points:X,stackedOnPoints:he});return}H.shape.__points=Y.current,H.shape.points=_,r.updateProps(H,{shape:{points:X}},Z),k&&(k.setShape({points:_,stackedOnPoints:Q}),r.updateProps(k,{shape:{points:X,stackedOnPoints:he}},Z));for(var te=[],fe=Y.status,be=0;be<fe.length;be++){var we=fe[be].cmd;if(we==="="){var Ke=R.getItemGraphicEl(fe[be].idx1);Ke&&te.push({el:Ke,ptIdx:be})}}H.animators&&H.animators.length&&H.animators[0].during(function(){for(var qe=0;qe<te.length;qe++){var xt=te[qe].el;xt.attr("position",H.shape.__points[te[qe].ptIdx])}})},remove:function(R){var U=this.group,M=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),M&&M.eachItemGraphicEl(function(j,P){j.__temp&&(U.remove(j),M.setItemGraphicEl(P,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});J.exports=B},"8XDt":function(J,F,e){e("qH13");var d=e("aX58"),E=d.registerPainter,g=e("6fms");E("vml",g)},"8hn6":function(J,F){var e="#eee",d=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},E=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],g={color:E,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:e},crossStyle:{color:e},label:{color:"#000"}}},legend:{textStyle:{color:e}},textStyle:{color:e},title:{textStyle:{color:e}},toolbox:{iconStyle:{normal:{borderColor:e}}},dataZoom:{textStyle:{color:e}},visualMap:{textStyle:{color:e}},timeline:{lineStyle:{color:e},itemStyle:{normal:{color:E[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:d(),logAxis:d(),valueAxis:d(),categoryAxis:d(),line:{symbol:"circle"},graph:{color:E},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};g.categoryAxis.splitLine.show=!1;var p=g;J.exports=p},"8nMs":function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("+rIm"),p=e("Znkb"),A=e("AVZG"),b=e("WN+l"),h=b.rectCoordAxisBuildSplitArea,i=b.rectCoordAxisHandleRemove,r=["axisLine","axisTickLabel","axisName"],a=["splitArea","splitLine","minorSplitLine"],s=p.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(l,n,u,t){this.group.removeAll();var c=this._axisGroup;if(this._axisGroup=new E.Group,this.group.add(this._axisGroup),!l.get("show"))return;var o=l.getCoordSysModel(),f=A.layout(o,l),v=new g(l,f);d.each(r,v.add,v),this._axisGroup.add(v.getGroup()),d.each(a,function(y){l.get(y+".show")&&this["_"+y](l,o)},this),E.groupTransition(c,this._axisGroup,l),s.superCall(this,"render",l,n,u,t)},remove:function(){i(this)},_splitLine:function(l,n){var u=l.axis;if(u.scale.isBlank())return;var t=l.getModel("splitLine"),c=t.getModel("lineStyle"),o=c.get("color");o=d.isArray(o)?o:[o];for(var f=n.coordinateSystem.getRect(),v=u.isHorizontal(),y=0,L=u.getTicksCoords({tickModel:t}),S=[],x=[],O=c.getLineStyle(),T=0;T<L.length;T++){var w=u.toGlobalCoord(L[T].coord);v?(S[0]=w,S[1]=f.y,x[0]=w,x[1]=f.y+f.height):(S[0]=f.x,S[1]=w,x[0]=f.x+f.width,x[1]=w);var C=y++%o.length,N=L[T].tickValue;this._axisGroup.add(new E.Line({anid:N!=null?"line_"+L[T].tickValue:null,subPixelOptimize:!0,shape:{x1:S[0],y1:S[1],x2:x[0],y2:x[1]},style:d.defaults({stroke:o[C]},O),silent:!0}))}},_minorSplitLine:function(l,n){var u=l.axis,t=l.getModel("minorSplitLine"),c=t.getModel("lineStyle"),o=n.coordinateSystem.getRect(),f=u.isHorizontal(),v=u.getMinorTicksCoords();if(!v.length)return;for(var y=[],L=[],S=c.getLineStyle(),x=0;x<v.length;x++)for(var O=0;O<v[x].length;O++){var T=u.toGlobalCoord(v[x][O].coord);f?(y[0]=T,y[1]=o.y,L[0]=T,L[1]=o.y+o.height):(y[0]=o.x,y[1]=T,L[0]=o.x+o.width,L[1]=T),this._axisGroup.add(new E.Line({anid:"minor_line_"+v[x][O].tickValue,subPixelOptimize:!0,shape:{x1:y[0],y1:y[1],x2:L[0],y2:L[1]},style:S,silent:!0}))}},_splitArea:function(l,n){h(this,this._axisGroup,l,n)}});s.extend({type:"xAxis"}),s.extend({type:"yAxis"})},"8nly":function(J,F,e){var d=e("mFDi"),E=e("4mN7"),g=e("QBsz"),p=e("BlVb");function A(h,i,r){if(this.name=h,this.geometries=i,r)r=[r[0],r[1]];else{var a=this.getBoundingRect();r=[a.x+a.width/2,a.y+a.height/2]}this.center=r}A.prototype={constructor:A,properties:null,getBoundingRect:function(){var h=this._rect;if(h)return h;for(var i=Number.MAX_VALUE,r=[i,i],a=[-i,-i],s=[],l=[],n=this.geometries,u=0;u<n.length;u++){if(n[u].type!=="polygon")continue;var t=n[u].exterior;E.fromPoints(t,s,l),g.min(r,r,s),g.max(a,a,l)}return u===0&&(r[0]=r[1]=a[0]=a[1]=0),this._rect=new d(r[0],r[1],a[0]-r[0],a[1]-r[1])},contain:function(h){var i=this.getBoundingRect(),r=this.geometries;if(!i.contain(h[0],h[1]))return!1;e:for(var a=0,s=r.length;a<s;a++){if(r[a].type!=="polygon")continue;var l=r[a].exterior,n=r[a].interiors;if(p.contain(l,h[0],h[1])){for(var u=0;u<(n?n.length:0);u++)if(p.contain(n[u]))continue e;return!0}}return!1},transformTo:function(h,i,r,a){var s=this.getBoundingRect(),l=s.width/s.height;r?a||(a=r/l):r=l*a;for(var n=new d(h,i,r,a),u=s.calculateTransform(n),t=this.geometries,c=0;c<t.length;c++){if(t[c].type!=="polygon")continue;for(var o=t[c].exterior,f=t[c].interiors,v=0;v<o.length;v++)g.applyTransform(o[v],o[v],u);for(var y=0;y<(f?f.length:0);y++)for(var v=0;v<f[y].length;v++)g.applyTransform(f[y][v],f[y][v],u)}s=this._rect,s.copy(n),this.center=[s.x+s.width/2,s.y+s.height/2]},cloneShallow:function(h){h==null&&(h=this.name);var i=new A(h,this.geometries,this.center);return i._rect=this._rect,i.transformTo=null,i}};var b=A;J.exports=b},"8waO":function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("iLNv"),p=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var A=5;d.extendComponentView({type:"parallel",render:function(i,r,a){this._model=i,this._api=a,this._handlers||(this._handlers={},E.each(b,function(s,l){a.getZr().on(l,this._handlers[l]=E.bind(s,this))},this)),g.createOrUpdate(this,"_throttledDispatchExpand",i.get("axisExpandRate"),"fixRate")},dispose:function(i,r){E.each(this._handlers,function(a,s){r.getZr().off(s,a)}),this._handlers=null},_throttledDispatchExpand:function(i){this._dispatchExpand(i)},_dispatchExpand:function(i){i&&this._api.dispatchAction(E.extend({type:"parallelAxisExpand"},i))}});var b={mousedown:function(i){h(this,"click")&&(this._mouseDownPoint=[i.offsetX,i.offsetY])},mouseup:function(i){var r=this._mouseDownPoint;if(h(this,"click")&&r){var a=[i.offsetX,i.offsetY],s=Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2);if(s>A)return;var l=this._model.coordinateSystem.getSlidedAxisExpandWindow([i.offsetX,i.offsetY]);l.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:l.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(i){if(this._mouseDownPoint||!h(this,"mousemove"))return;var r=this._model,a=r.coordinateSystem.getSlidedAxisExpandWindow([i.offsetX,i.offsetY]),s=a.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(r.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:a.axisExpandWindow,animation:s==="jump"?null:!1})}};function h(i,r){var a=i._model;return a.get("axisExpandable")&&a.get("axisExpandTriggerOn")===r}d.registerPreprocessor(p)},"8x+h":function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("bYtY"),A=e("K4ya"),b=e("Qxkt"),h=["#ddd"],i=g.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(s,l){var n=this.option;!l&&A.replaceVisualOption(n,s,["inBrush","outOfBrush"]);var u=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:h},u.hasOwnProperty("liftZ")||(u.liftZ=5)},setAreas:function(s){if(!s)return;this.areas=p.map(s,function(l){return r(this.option,l)},this)},setBrushOption:function(s){this.brushOption=r(this.option,s),this.brushType=this.brushOption.brushType}});function r(s,l){return p.merge({brushType:s.brushType,brushMode:s.brushMode,transformable:s.transformable,brushStyle:new b(s.brushStyle).getItemStyle(),removeOnClick:s.removeOnClick,z:s.z},l,!0)}var a=i;J.exports=a},"8z0m":function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("RIqP"),p=e.n(g),A=e("pVnL"),b=e.n(A),h=e("J4zp"),i=e.n(h),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),l=e.n(s);function n(Xt,de){var ue="cannot "+Xt.method+" "+Xt.action+" "+de.status+"'",se=new Error(ue);return se.status=de.status,se.method=Xt.method,se.url=Xt.action,se}function u(Xt){var de=Xt.responseText||Xt.response;if(!de)return de;try{return JSON.parse(de)}catch(ue){return de}}function t(Xt){var de=new XMLHttpRequest;Xt.onProgress&&de.upload&&(de.upload.onprogress=function(ye){ye.total>0&&(ye.percent=ye.loaded/ye.total*100),Xt.onProgress(ye)});var ue=new FormData;Xt.data&&Object.keys(Xt.data).forEach(function(ae){var ye=Xt.data[ae];if(Array.isArray(ye)){ye.forEach(function(Ce){ue.append(ae+"[]",Ce)});return}ue.append(ae,Xt.data[ae])}),Xt.file instanceof Blob?ue.append(Xt.filename,Xt.file,Xt.file.name):ue.append(Xt.filename,Xt.file),de.onerror=function(ye){Xt.onError(ye)},de.onload=function(){return de.status<200||de.status>=300?Xt.onError(n(Xt,de),u(de)):Xt.onSuccess(u(de),de)},de.open(Xt.method,Xt.action,!0),Xt.withCredentials&&"withCredentials"in de&&(de.withCredentials=!0);var se=Xt.headers||{};return se["X-Requested-With"]!==null&&de.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(se).forEach(function(ae){se[ae]!==null&&de.setRequestHeader(ae,se[ae])}),de.send(ue),{abort:function(){de.abort()}}}var c=+new Date,o=0;function f(){return"rc-upload-"+c+"-"+ ++o}function v(Xt,de){return Xt.indexOf(de,Xt.length-de.length)!==-1}var y=function(Xt,de){if(Xt&&de){var ue=Array.isArray(de)?de:de.split(","),se=Xt.name||"",ae=Xt.type||"",ye=ae.replace(/\/.*$/,"");return ue.some(function(Ce){var Oe=Ce.trim();return Oe.charAt(0)==="."?v(se.toLowerCase(),Oe.toLowerCase()):/\/\*$/.test(Oe)?ye===Oe.replace(/\/.*$/,""):ae===Oe})}return!0};function L(Xt,de){var ue=Xt.createReader(),se=[];function ae(){ue.readEntries(function(ye){var Ce=Array.prototype.slice.apply(ye);se=se.concat(Ce);var Oe=!Ce.length;Oe?de(se):ae()})}ae()}var S=function(de,ue,se){var ae=function ye(Ce,Oe){Oe=Oe||"",Ce.isFile?Ce.file(function(Te){se(Te)&&(Ce.fullPath&&!Te.webkitRelativePath&&(Object.defineProperties(Te,{webkitRelativePath:{writable:!0}}),Te.webkitRelativePath=Ce.fullPath.replace(/^\//,""),Object.defineProperties(Te,{webkitRelativePath:{writable:!1}})),ue([Te]))}):Ce.isDirectory&&L(Ce,function(Te){Te.forEach(function(xe){ye(xe,""+Oe+Ce.name+"/")})})};de.forEach(function(ye){ae(ye.webkitGetAsEntry())})},x=S,O=Object.assign||function(Xt){for(var de=1;de<arguments.length;de++){var ue=arguments[de];for(var se in ue)Object.prototype.hasOwnProperty.call(ue,se)&&(Xt[se]=ue[se])}return Xt},T=function(){function Xt(de,ue){var se=[],ae=!0,ye=!1,Ce=void 0;try{for(var Oe=de[Symbol.iterator](),Te;!(ae=(Te=Oe.next()).done)&&!(se.push(Te.value),ue&&se.length===ue);ae=!0);}catch(xe){ye=!0,Ce=xe}finally{try{!ae&&Oe.return&&Oe.return()}finally{if(ye)throw Ce}}return se}return function(de,ue){if(Array.isArray(de))return de;if(Symbol.iterator in Object(de))return Xt(de,ue);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),w=function(){function Xt(de,ue){for(var se=0;se<ue.length;se++){var ae=ue[se];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(de,ae.key,ae)}}return function(de,ue,se){return ue&&Xt(de.prototype,ue),se&&Xt(de,se),de}}();function C(Xt,de,ue){return de in Xt?Object.defineProperty(Xt,de,{value:ue,enumerable:!0,configurable:!0,writable:!0}):Xt[de]=ue,Xt}function N(Xt,de){var ue={};for(var se in Xt){if(de.indexOf(se)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Xt,se))continue;ue[se]=Xt[se]}return ue}function D(Xt,de){if(!(Xt instanceof de))throw new TypeError("Cannot call a class as a function")}function B(Xt,de){if(!Xt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return de&&(typeof de=="object"||typeof de=="function")?de:Xt}function R(Xt,de){if(typeof de!="function"&&de!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof de);Xt.prototype=Object.create(de&&de.prototype,{constructor:{value:Xt,enumerable:!1,writable:!0,configurable:!0}}),de&&(Object.setPrototypeOf?Object.setPrototypeOf(Xt,de):Xt.__proto__=de)}var U=function(de){return Object.keys(de).reduce(function(ue,se){return(se.substr(0,5)==="data-"||se.substr(0,5)==="aria-"||se==="role")&&(ue[se]=de[se]),ue},{})},M=function(Xt){R(de,Xt);function de(){var ue,se,ae,ye;D(this,de);for(var Ce=arguments.length,Oe=Array(Ce),Te=0;Te<Ce;Te++)Oe[Te]=arguments[Te];return ye=(se=(ae=B(this,(ue=de.__proto__||Object.getPrototypeOf(de)).call.apply(ue,[this].concat(Oe))),ae),ae.state={uid:f()},ae.reqs={},ae.onChange=function(xe){var je=xe.target.files;ae.uploadFiles(je),ae.reset()},ae.onClick=function(xe){var je=ae.fileInput;if(!je)return;var ut=ae.props,wt=ut.children,ee=ut.onClick;wt&&wt.type==="button"&&(je.parentNode.focus(),je.parentNode.querySelector("button").blur()),je.click(),ee&&ee(xe)},ae.onKeyDown=function(xe){xe.key==="Enter"&&ae.onClick()},ae.onFileDrop=function(xe){var je=ae.props.multiple;if(xe.preventDefault(),xe.type==="dragover")return;if(ae.props.directory)x(Array.prototype.slice.call(xe.dataTransfer.items),ae.uploadFiles,function(wt){return y(wt,ae.props.accept)});else{var ut=Array.prototype.slice.call(xe.dataTransfer.files).filter(function(wt){return y(wt,ae.props.accept)});je===!1&&(ut=ut.slice(0,1)),ae.uploadFiles(ut)}},ae.uploadFiles=function(xe){var je=Array.prototype.slice.call(xe);je.map(function(ut){return ut.uid=f(),ut}).forEach(function(ut){ae.upload(ut,je)})},ae.saveFileInput=function(xe){ae.fileInput=xe},se),B(ae,ye)}return w(de,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(se,ae){var ye=this,Ce=this.props;if(!Ce.beforeUpload)return setTimeout(function(){return ye.post(se)},0);var Oe=Ce.beforeUpload(se,ae);Oe&&Oe.then?Oe.then(function(Te){var xe=Object.prototype.toString.call(Te);return xe==="[object File]"||xe==="[object Blob]"?ye.post(Te):ye.post(se)}).catch(function(Te){console.log(Te)}):Oe!==!1&&setTimeout(function(){return ye.post(se)},0);return}},{key:"post",value:function(se){var ae=this;if(!this._isMounted)return;var ye=this.props,Ce=ye.onStart,Oe=ye.onProgress,Te=ye.transformFile,xe=Te===void 0?function(je){return je}:Te;new Promise(function(je){var ut=ye.action;return typeof ut=="function"&&(ut=ut(se)),je(ut)}).then(function(je){var ut=se.uid,wt=ye.customRequest||t,ee=Promise.resolve(xe(se)).then(function(ie){var z=ye.data;return typeof z=="function"&&(z=z(ie)),Promise.all([ie,z])}).catch(function(ie){console.error(ie)});ee.then(function(ie){var z=T(ie,2),$=z[0],le=z[1],ge={action:je,filename:ye.name,data:le,file:$,headers:ye.headers,withCredentials:ye.withCredentials,method:ye.method||"post",onProgress:Oe?function(Ae){Oe(Ae,se)}:null,onSuccess:function(Me,$e){delete ae.reqs[ut],ye.onSuccess(Me,se,$e)},onError:function(Me,$e){delete ae.reqs[ut],ye.onError(Me,$e,se)}};ae.reqs[ut]=wt(ge),Ce(se)})})}},{key:"reset",value:function(){this.setState({uid:f()})}},{key:"abort",value:function(se){var ae=this.reqs;if(se){var ye=se;se&&se.uid&&(ye=se.uid),ae[ye]&&ae[ye].abort&&ae[ye].abort(),delete ae[ye]}else Object.keys(ae).forEach(function(Ce){ae[Ce]&&ae[Ce].abort&&ae[Ce].abort(),delete ae[Ce]})}},{key:"render",value:function(){var se,ae=this.props,ye=ae.component,Ce=ae.prefixCls,Oe=ae.className,Te=ae.disabled,xe=ae.id,je=ae.style,ut=ae.multiple,wt=ae.accept,ee=ae.children,ie=ae.directory,z=ae.openFileDialogOnClick,$=ae.onMouseEnter,le=ae.onMouseLeave,ge=N(ae,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Ae=l()((se={},C(se,Ce,!0),C(se,Ce+"-disabled",Te),C(se,Oe,Oe),se)),Me=Te?{}:{onClick:z?this.onClick:function(){},onKeyDown:z?this.onKeyDown:function(){},onMouseEnter:$,onMouseLeave:le,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(ye,O({},Me,{className:Ae,role:"button",style:je}),a.a.createElement("input",O({},U(ge),{id:xe,type:"file",ref:this.saveFileInput,onClick:function(kt){return kt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:wt,directory:ie?"directory":null,webkitdirectory:ie?"webkitdirectory":null,multiple:ut,onChange:this.onChange})),ee)}}]),de}(r.Component),j=M,P=Object.assign||function(Xt){for(var de=1;de<arguments.length;de++){var ue=arguments[de];for(var se in ue)Object.prototype.hasOwnProperty.call(ue,se)&&(Xt[se]=ue[se])}return Xt},K=function(){function Xt(de,ue){for(var se=0;se<ue.length;se++){var ae=ue[se];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(de,ae.key,ae)}}return function(de,ue,se){return ue&&Xt(de.prototype,ue),se&&Xt(de,se),de}}();function H(Xt,de){if(!(Xt instanceof de))throw new TypeError("Cannot call a class as a function")}function k(Xt,de){if(!Xt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return de&&(typeof de=="object"||typeof de=="function")?de:Xt}function Z(Xt,de){if(typeof de!="function"&&de!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof de);Xt.prototype=Object.create(de&&de.prototype,{constructor:{value:Xt,enumerable:!1,writable:!0,configurable:!0}}),de&&(Object.setPrototypeOf?Object.setPrototypeOf(Xt,de):Xt.__proto__=de)}function Y(){}var _=function(Xt){Z(de,Xt);function de(){var ue,se,ae,ye;H(this,de);for(var Ce=arguments.length,Oe=Array(Ce),Te=0;Te<Ce;Te++)Oe[Te]=arguments[Te];return ye=(se=(ae=k(this,(ue=de.__proto__||Object.getPrototypeOf(de)).call.apply(ue,[this].concat(Oe))),ae),ae.saveUploader=function(xe){ae.uploader=xe},se),k(ae,ye)}return K(de,[{key:"abort",value:function(se){this.uploader.abort(se)}},{key:"render",value:function(){return a.a.createElement(j,P({},this.props,{ref:this.saveUploader}))}}]),de}(r.Component);_.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Y,onError:Y,onSuccess:Y,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Q=_,X=Q,he=function(Xt,de){var ue={};for(var se in Xt)Object.prototype.hasOwnProperty.call(Xt,se)&&de.indexOf(se)<0&&(ue[se]=Xt[se]);if(Xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,se=Object.getOwnPropertySymbols(Xt);ae<se.length;ae++)de.indexOf(se[ae])<0&&Object.prototype.propertyIsEnumerable.call(Xt,se[ae])&&(ue[se[ae]]=Xt[se[ae]]);return ue},te=function(de,ue){var se=de.style,ae=de.height,ye=he(de,["style","height"]);return r.createElement(Jt,b()({ref:ue},ye,{type:"drag",style:b()(b()({},se),{height:ae})}))},fe=r.forwardRef(te);fe.displayName="Dragger";var be=fe,we=e("UmKh"),Ke=e("gZBC"),qe=e.n(Ke),xt=e("+d4F"),Fe=e.n(xt),Be=e("XAae"),bt=e.n(Be),lt=e("6xvX"),tt=e.n(lt),St=e("qPY4"),ht=e.n(St),vt=e("QB+1"),Ge=e.n(vt),At=e("Qs3X"),_e=e.n(At),De=e("0n0R");function Ie(){return!0}function st(Xt){return b()(b()({},Xt),{lastModified:Xt.lastModified,lastModifiedDate:Xt.lastModifiedDate,name:Xt.name,size:Xt.size,type:Xt.type,uid:Xt.uid,percent:0,originFileObj:Xt})}function Et(Xt,de){var ue=Xt.uid!==void 0?"uid":"name";return de.filter(function(se){return se[ue]===Xt[ue]})[0]}function Mt(Xt,de){var ue=Xt.uid!==void 0?"uid":"name",se=de.filter(function(ae){return ae[ue]!==Xt[ue]});return se.length===de.length?null:se}var Pt=function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ue=de.split("/"),se=ue[ue.length-1],ae=se.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(ae)||[""])[0]},ke=function(de){return de.indexOf("image/")===0},zt=function(de){if(de.type&&!de.thumbUrl)return ke(de.type);var ue=de.thumbUrl||de.url,se=Pt(ue);return/^data:image\//.test(ue)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(se)?!0:/^data:/.test(ue)?!1:!se},Ot=200;function _t(Xt){return new Promise(function(de){if(!Xt.type||!ke(Xt.type)){de("");return}var ue=document.createElement("canvas");ue.width=Ot,ue.height=Ot,ue.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Ot,"px; height: ").concat(Ot,"px; z-index: 9999; display: none;"),document.body.appendChild(ue);var se=ue.getContext("2d"),ae=new Image;ae.onload=function(){var ye=ae.width,Ce=ae.height,Oe=Ot,Te=Ot,xe=0,je=0;ye<Ce?(Te=Ce*(Ot/ye),je=-(Te-Oe)/2):(Oe=ye*(Ot/Ce),xe=-(Oe-Te)/2),se.drawImage(ae,xe,je,Oe,Te);var ut=ue.toDataURL();document.body.removeChild(ue),de(ut)},ae.src=window.URL.createObjectURL(Xt)})}var Ve=e("3S7+"),Qe=e("CFYs"),et=e("H84U"),dt=e("2/Rp"),Ze=e("hkKa"),oe=function(de,ue){var se,ae=de.listType,ye=de.previewFile,Ce=de.onPreview,Oe=de.onDownload,Te=de.onRemove,xe=de.locale,je=de.iconRender,ut=de.isImageUrl,wt=de.prefixCls,ee=de.items,ie=ee===void 0?[]:ee,z=de.showPreviewIcon,$=de.showRemoveIcon,le=de.showDownloadIcon,ge=de.removeIcon,Ae=de.downloadIcon,Me=de.progress,$e=Object(Ze.a)();r.useEffect(function(){if(ae!=="picture"&&ae!=="picture-card")return;(ie||[]).forEach(function(Xe){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Xe.originFileObj instanceof File||Xe.originFileObj instanceof Blob)||Xe.thumbUrl!==void 0)return;Xe.thumbUrl="",ye&&ye(Xe.originFileObj).then(function(yt){Xe.thumbUrl=yt||"",$e()})})},[ae,ie,ye]);var kt=function(yt,mt){return Ce?(mt.preventDefault(),Ce(yt)):void 0},$t=function(yt){typeof Oe=="function"?Oe(yt):yt.url&&window.open(yt.url)},Lt=function(yt){Te&&Te(yt)},Ut=function(yt){if(je)return je(yt,ae);var mt=yt.status==="uploading",We=ut&&ut(yt)?r.createElement(bt.a,null):r.createElement(tt.a,null),rt=mt?r.createElement(qe.a,null):r.createElement(Fe.a,null);return ae==="picture"?rt=mt?r.createElement(qe.a,null):We:ae==="picture-card"&&(rt=mt?xe.uploading:We),rt},Wt=function(yt,mt,We,rt){var ft={type:"text",size:"small",title:rt,onClick:function(fr){mt(),Object(De.b)(yt)&&yt.props.onClick&&yt.props.onClick(fr)},className:"".concat(We,"-list-item-card-actions-btn")};if(Object(De.b)(yt)){var Yt=Object(De.a)(yt,b()(b()({},yt.props),{onClick:function(){}}));return r.createElement(dt.a,b()({},ft,{icon:Yt}))}return r.createElement(dt.a,ft,r.createElement("span",null,yt))};r.useImperativeHandle(ue,function(){return{handlePreview:kt,handleDownload:$t}});var Vt=r.useContext(et.b),Tt=Vt.getPrefixCls,ur=Vt.direction,qt=Tt("upload",wt),ze=ie.map(function(Xe){var yt,mt,We,rt=Ut(Xe),ft=r.createElement("div",{className:"".concat(qt,"-text-icon")},rt);if(ae==="picture"||ae==="picture-card")if(Xe.status==="uploading"||!Xe.thumbUrl&&!Xe.url){var Yt,Ft=l()((Yt={},E()(Yt,"".concat(qt,"-list-item-thumbnail"),!0),E()(Yt,"".concat(qt,"-list-item-file"),Xe.status!=="uploading"),Yt));ft=r.createElement("div",{className:Ft},rt)}else{var fr,mr=ut&&ut(Xe)?r.createElement("img",{src:Xe.thumbUrl||Xe.url,alt:Xe.name,className:"".concat(qt,"-list-item-image")}):rt,Er=l()((fr={},E()(fr,"".concat(qt,"-list-item-thumbnail"),!0),E()(fr,"".concat(qt,"-list-item-file"),ut&&!ut(Xe)),fr));ft=r.createElement("a",{className:Er,onClick:function(gn){return kt(Xe,gn)},href:Xe.url||Xe.thumbUrl,target:"_blank",rel:"noopener noreferrer"},mr)}if(Xe.status==="uploading"){var Lr="percent"in Xe?r.createElement(Qe.a,b()({},Me,{type:"line",percent:Xe.percent})):null;We=r.createElement("div",{className:"".concat(qt,"-list-item-progress"),key:"progress"},Lr)}var en=l()((yt={},E()(yt,"".concat(qt,"-list-item"),!0),E()(yt,"".concat(qt,"-list-item-").concat(Xe.status),!0),E()(yt,"".concat(qt,"-list-item-list-type-").concat(ae),!0),yt)),Qr=typeof Xe.linkProps=="string"?JSON.parse(Xe.linkProps):Xe.linkProps,Cr=$?Wt(ge||r.createElement(Ge.a,null),function(){return Lt(Xe)},qt,xe.removeFile):null,Gr=le&&Xe.status==="done"?Wt(Ae||r.createElement(_e.a,null),function(){return $t(Xe)},qt,xe.downloadFile):null,Nr=ae!=="picture-card"&&r.createElement("span",{key:"download-delete",className:"".concat(qt,"-list-item-card-actions ").concat(ae==="picture"?"picture":"")},Gr,Cr),lr=l()((mt={},E()(mt,"".concat(qt,"-list-item-name"),!0),E()(mt,"".concat(qt,"-list-item-name-icon-count-").concat([Gr,Cr].filter(function(On){return On}).length),!0),mt)),pr=Xe.url?[r.createElement("a",b()({key:"view",target:"_blank",rel:"noopener noreferrer",className:lr,title:Xe.name},Qr,{href:Xe.url,onClick:function(gn){return kt(Xe,gn)}}),Xe.name),Nr]:[r.createElement("span",{key:"view",className:lr,onClick:function(gn){return kt(Xe,gn)},title:Xe.name},Xe.name),Nr],sr={pointerEvents:"none",opacity:.5},dr=z?r.createElement("a",{href:Xe.url||Xe.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Xe.url||Xe.thumbUrl?void 0:sr,onClick:function(gn){return kt(Xe,gn)},title:xe.previewFile},r.createElement(ht.a,null)):null,Sr=ae==="picture-card"&&Xe.status!=="uploading"&&r.createElement("span",{className:"".concat(qt,"-list-item-actions")},dr,Xe.status==="done"&&Gr,Cr),Xr;Xe.response&&typeof Xe.response=="string"?Xr=Xe.response:Xr=Xe.error&&Xe.error.statusText||xe.uploadError;var cn=r.createElement("span",null,ft,pr),Dn=r.createElement("div",{className:en},r.createElement("div",{className:"".concat(qt,"-list-item-info")},cn),Sr,r.createElement(we.a,{transitionName:"fade",component:""},We)),jr=l()(E()({},"".concat(qt,"-list-picture-card-container"),ae==="picture-card"));return r.createElement("div",{key:Xe.uid,className:jr},Xe.status==="error"?r.createElement(Ve.a,{title:Xr,getPopupContainer:function(gn){return gn.parentNode}},Dn):r.createElement("span",null,Dn))}),nt=l()((se={},E()(se,"".concat(qt,"-list"),!0),E()(se,"".concat(qt,"-list-").concat(ae),!0),E()(se,"".concat(qt,"-list-rtl"),ur==="rtl"),se)),Ye=ae==="picture-card"?"animate-inline":"animate";return r.createElement(we.a,{transitionName:"".concat(qt,"-").concat(Ye),component:"div",className:nt},ze)},me=r.forwardRef(oe);me.displayName="UploadList",me.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:_t,isImageUrl:zt};var ot=me,Pe=e("YMnH"),pt=e("ZvpZ"),Rr=e("uaoM"),It=e("sPtV"),nr=function(de,ue){var se,ae=de.fileList,ye=de.defaultFileList,Ce=de.onRemove,Oe=de.showUploadList,Te=de.listType,xe=de.onPreview,je=de.onDownload,ut=de.previewFile,wt=de.disabled,ee=de.locale,ie=de.iconRender,z=de.isImageUrl,$=de.progress,le=de.prefixCls,ge=de.className,Ae=de.type,Me=de.children,$e=de.style,kt=Object(It.a)(ae||ye||[]),$t=i()(kt,2),Lt=$t[0],Ut=$t[1],Wt=r.useState("drop"),Vt=i()(Wt,2),Tt=Vt[0],ur=Vt[1],qt=r.useRef();r.useEffect(function(){Ut(ae||ye||[]),Object(Rr.a)("fileList"in de||!("value"in de),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),r.useEffect(function(){"fileList"in de&&Ut(ae||[])},[ae]);var ze=function(pr){"fileList"in de||Ut(pr.fileList);var sr=de.onChange;sr&&sr(b()(b()({},pr),{fileList:p()(pr.fileList)}))},nt=function(pr){var sr=st(pr);sr.status="uploading";var dr=Lt().concat(),Sr=dr.findIndex(function(Xr){var cn=Xr.uid;return cn===sr.uid});Sr===-1?dr.push(sr):dr[Sr]=sr,ze({file:sr,fileList:dr})},Ye=function(pr,sr,dr){try{typeof pr=="string"&&(pr=JSON.parse(pr))}catch(Xr){}var Sr=Et(sr,Lt());if(!Sr)return;Sr.status="done",Sr.response=pr,Sr.xhr=dr,ze({file:b()({},Sr),fileList:Lt().concat()})},Xe=function(pr,sr){var dr=Et(sr,Lt());if(!dr)return;dr.percent=pr.percent,ze({event:pr,file:b()({},dr),fileList:Lt().concat()})},yt=function(pr,sr,dr){var Sr=Et(dr,Lt());if(!Sr)return;Sr.error=pr,Sr.response=sr,Sr.status="error",ze({file:b()({},Sr),fileList:Lt().concat()})},mt=function(pr){Promise.resolve(typeof Ce=="function"?Ce(pr):Ce).then(function(sr){if(sr===!1)return;var dr=Mt(pr,Lt());dr&&(pr.status="removed",qt.current&&qt.current.abort(pr),ze({file:pr,fileList:dr}))})},We=function(pr){ur(pr.type)},rt=function(pr,sr){var dr=de.beforeUpload;if(!dr)return!0;var Sr=dr(pr,sr);if(Sr===!1){var Xr=[];return Lt().concat(sr.map(st)).forEach(function(cn){Xr.every(function(Dn){return Dn.uid!==cn.uid})&&Xr.push(cn)}),ze({file:pr,fileList:Xr}),!1}return Sr&&Sr.then?Sr:!0},ft=Object(Ze.a)();r.useImperativeHandle(ue,function(){return{onStart:nt,onSuccess:Ye,onProgress:Xe,onError:yt,fileList:Lt(),upload:qt.current,forceUpdate:ft}});var Yt=function(pr){var sr=Oe.showRemoveIcon,dr=Oe.showPreviewIcon,Sr=Oe.showDownloadIcon,Xr=Oe.removeIcon,cn=Oe.downloadIcon;return r.createElement(ot,{listType:Te,items:Lt(),previewFile:ut,onPreview:xe,onDownload:je,onRemove:mt,showRemoveIcon:!wt&&sr,showPreviewIcon:dr,showDownloadIcon:Sr,removeIcon:Xr,downloadIcon:cn,iconRender:ie,locale:b()(b()({},pr),ee),isImageUrl:z,progress:$})},Ft=r.useContext(et.b),fr=Ft.getPrefixCls,mr=Ft.direction,Er=fr("upload",le),Lr=b()(b()({onStart:nt,onError:yt,onProgress:Xe,onSuccess:Ye},de),{prefixCls:Er,beforeUpload:rt});delete Lr.className,delete Lr.style,(!Me||wt)&&delete Lr.id;var en=Oe?r.createElement(Pe.a,{componentName:"Upload",defaultLocale:pt.a.Upload},Yt):null;if(Ae==="drag"){var Qr,Cr=l()(Er,(Qr={},E()(Qr,"".concat(Er,"-drag"),!0),E()(Qr,"".concat(Er,"-drag-uploading"),Lt().some(function(lr){return lr.status==="uploading"})),E()(Qr,"".concat(Er,"-drag-hover"),Tt==="dragover"),E()(Qr,"".concat(Er,"-disabled"),wt),E()(Qr,"".concat(Er,"-rtl"),mr==="rtl"),Qr),ge);return r.createElement("span",null,r.createElement("div",{className:Cr,onDrop:We,onDragOver:We,onDragLeave:We,style:$e},r.createElement(X,b()({},Lr,{ref:qt,className:"".concat(Er,"-btn")}),r.createElement("div",{className:"".concat(Er,"-drag-container")},Me))),en)}var Gr=l()(Er,(se={},E()(se,"".concat(Er,"-select"),!0),E()(se,"".concat(Er,"-select-").concat(Te),!0),E()(se,"".concat(Er,"-disabled"),wt),E()(se,"".concat(Er,"-rtl"),mr==="rtl"),se)),Nr=r.createElement("div",{className:Gr,style:Me?void 0:{display:"none"}},r.createElement(X,b()({},Lr,{ref:qt})));return Te==="picture-card"?r.createElement("span",{className:l()(ge,"".concat(Er,"-picture-card-wrapper"))},en,Nr):r.createElement("span",{className:ge},Nr,en)},Gt=r.forwardRef(nr);Gt.Dragger=be,Gt.displayName="Upload",Gt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:Ie,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Jt=Gt;Jt.Dragger=be;var hr=F.a=Jt},"98bh":function(J,F,e){var d=e("ProS"),E=e("5GtS"),g=e("bYtY"),p=e("4NO4"),A=e("OELB"),b=A.getPercentWithPrecision,h=e("cCMj"),i=e("KxfA"),r=i.retrieveRawAttr,a=e("D5nY"),s=a.makeSeriesEncodeForNameBased,l=e("xKMd"),n=d.extendSeriesModel({type:"series.pie",init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new l(g.bind(this.getData,this),g.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,c){return E(this,{coordDimensions:["value"],encodeDefaulter:g.curry(s,this)})},_createSelectableList:function(){for(var t=this.getRawData(),c=t.mapDimension("value"),o=[],f=0,v=t.count();f<v;f++)o.push({name:t.getName(f),value:t.get(c,f),selected:r(t,f,"selected")});return o},getDataParams:function(t){var c=this.getData(),o=n.superCall(this,"getDataParams",t),f=[];return c.each(c.mapDimension("value"),function(v){f.push(v)}),o.percent=b(f,t,c.hostModel.get("percentPrecision")),o.$vars.push("percent"),o},_defaultLabelLine:function(t){p.defaultEmphasis(t,"labelLine",["show"]);var c=t.labelLine,o=t.emphasis.labelLine;c.show=c.show&&t.label.show,o.show=o.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"}});g.mixin(n,h);var u=n;J.exports=u},"9H2F":function(J,F,e){var d=e("bYtY"),E=d.assert,g=d.isArray,p=e("Tghj"),A=p.__DEV__;function b(l){return new h(l)}function h(l){l=l||{},this._reset=l.reset,this._plan=l.plan,this._count=l.count,this._onDirty=l.onDirty,this._dirty=!0,this.context}var i=h.prototype;i.perform=function(l){var n=this._upstream,u=l&&l.skip;if(this._dirty&&n){var t=this.context;t.data=t.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var c;this._plan&&!u&&(c=this._plan(this.context));var o=L(this._modBy),f=this._modDataCount||0,v=L(l&&l.modBy),y=l&&l.modDataCount||0;(o!==v||f!==y)&&(c="reset");function L(D){return!(D>=1)&&(D=1),D}var S;(this._dirty||c==="reset")&&(this._dirty=!1,S=s(this,u)),this._modBy=v,this._modDataCount=y;var x=l&&l.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var O=this._dueIndex,T=Math.min(x!=null?this._dueIndex+x:Infinity,this._dueEnd);if(!u&&(S||O<T)){var w=this._progress;if(g(w))for(var C=0;C<w.length;C++)a(this,w[C],O,T,v,y);else a(this,w,O,T,v,y)}this._dueIndex=T;var N=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=N}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var r=function(){var l,n,u,t,c,o={reset:function(y,L,S,x){n=y,l=L,u=S,t=x,c=Math.ceil(t/u),o.next=u>1&&t>0?v:f}};return o;function f(){return n<l?n++:null}function v(){var y=n%c*u+Math.ceil(n/c),L=n>=l?null:y<t?y:n;return n++,L}}();i.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function a(l,n,u,t,c,o){r.reset(u,t,c,o),l._callingProgress=n,l._callingProgress({start:u,end:t,count:t-u,next:r.next},l.context)}function s(l,n){l._dueIndex=l._outputDueEnd=l._dueEnd=0,l._settedOutputEnd=null;var u,t;!n&&l._reset&&(u=l._reset(l.context),u&&u.progress&&(t=u.forceFirstProgress,u=u.progress),g(u)&&!u.length&&(u=null)),l._progress=u,l._modBy=l._modDataCount=null;var c=l._downstream;return c&&c.dirty(),t}i.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},i.pipe=function(l){(this._downstream!==l||this._dirty)&&(this._downstream=l,l._upstream=this,l.dirty())},i.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},i.getUpstream=function(){return this._upstream},i.getDownstream=function(){return this._downstream},i.setOutputEnd=function(l){this._outputDueEnd=this._settedOutputEnd=l},F.createTask=b},"9KIM":function(J,F,e){var d=e("mFDi"),E=e("xSat"),g=E.onIrrelevantElement,p=e("IwbS");function A(r){return r=i(r),function(a,s){return p.clipPointsByRect(a,r)}}function b(r,a){return r=i(r),function(s){var l=a!=null?a:s,n=l?r.width:r.height,u=l?r.x:r.y;return[u,u+(n||0)]}}function h(r,a,s){return r=i(r),function(l,n,u){return r.contain(n[0],n[1])&&!g(l,a,s)}}function i(r){return d.create(r)}F.makeRectPanelClipPath=A,F.makeLinearBrushOtherExtent=b,F.makeRectIsTargetByCursor=h},"9ama":function(J,F,e){},"9eas":function(J,F,e){e("HM/N"),e("tBnm")},"9hCq":function(J,F,e){var d=e("IwbS"),E=e("+TT/"),g=e("bYtY"),p=e("VaxA"),A=p.wrapTreePathInfo,b=8,h=8,i=5;function r(n){this.group=new d.Group,n.add(this.group)}r.prototype={constructor:r,render:function(n,u,t,c){var o=n.getModel("breadcrumb"),f=this.group;if(f.removeAll(),!o.get("show")||!t)return;var v=o.getModel("itemStyle"),y=v.getModel("textStyle"),L={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:u.getWidth(),height:u.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,L,y),this._renderContent(n,L,v,y,c),E.positionElement(f,L.pos,L.box)},_prepare:function(n,u,t){for(var c=n;c;c=c.parentNode){var o=c.getModel().get("name"),f=t.getTextRect(o),v=Math.max(f.width+b*2,u.emptyItemWidth);u.totalWidth+=v+h,u.renderList.push({node:c,text:o,width:v})}},_renderContent:function(n,u,t,c,o){for(var f=0,v=u.emptyItemWidth,y=n.get("breadcrumb.height"),L=E.getAvailableSize(u.pos,u.box),S=u.totalWidth,x=u.renderList,O=x.length-1;O>=0;O--){var T=x[O],w=T.node,C=T.width,N=T.text;S>L.width&&(S-=C-v,C=v,N=null);var D=new d.Polygon({shape:{points:a(f,0,C,y,O===x.length-1,O===0)},style:g.defaults(t.getItemStyle(),{lineJoin:"bevel",text:N,textFill:c.getTextColor(),textFont:c.getFont()}),z:10,onclick:g.curry(o,w)});this.group.add(D),s(D,n,w),f+=C+h}},remove:function(){this.group.removeAll()}};function a(n,u,t,c,o,f){var v=[[o?n:n-i,u],[n+t,u],[n+t,u+c],[o?n:n-i,u+c]];return!f&&v.splice(2,0,[n+t+i,u+c/2]),!o&&v.push([n,u+c/2]),v}function s(n,u,t){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:u.componentIndex,seriesIndex:u.componentIndex,seriesName:u.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&A(t,u)}}var l=r;J.exports=l},"9u0u":function(J,F,e){var d=e("bYtY");function E(p,A){var b={};return d.each(p,function(h){h.each(h.mapDimension("value"),function(i,r){var a="ec-"+h.getName(r);b[a]=b[a]||[],isNaN(i)||b[a].push(i)})}),p[0].map(p[0].mapDimension("value"),function(h,i){for(var r="ec-"+p[0].getName(i),a=0,s=Infinity,l=-Infinity,n=b[r].length,u=0;u<n;u++)s=Math.min(s,b[r][u]),l=Math.max(l,b[r][u]),a+=b[r][u];var t;return A==="min"?t=s:A==="max"?t=l:A==="average"?t=a/n:t=a,n===0?NaN:t})}function g(p){var A={};p.eachSeriesByType("map",function(b){var h=b.getHostGeoModel(),i=h?"o"+h.id:"i"+b.getMapType();(A[i]=A[i]||[]).push(b)}),d.each(A,function(b,h){for(var i=E(d.map(b,function(a){return a.getData()}),b[0].get("mapValueCalculation")),r=0;r<b.length;r++)b[r].originalData=b[r].getData();for(var r=0;r<b.length;r++)b[r].seriesGroup=b,b[r].needsDrawMap=r===0&&!b[r].getHostGeoModel(),b[r].setData(i.cloneShallow()),b[r].mainSeries=b[0]})}J.exports=g},"9wZj":function(J,F,e){var d=e("IwbS"),E=e("FBjb"),g=e("bYtY"),p=g.isObject;function A(s){this.group=new d.Group,this._symbolCtor=s||E}var b=A.prototype;function h(s,l,n,u){return l&&!isNaN(l[0])&&!isNaN(l[1])&&!(u.isIgnore&&u.isIgnore(n))&&!(u.clipShape&&!u.clipShape.contain(l[0],l[1]))&&s.getItemVisual(n,"symbol")!=="none"}b.updateData=function(s,l){l=i(l);var n=this.group,u=s.hostModel,t=this._data,c=this._symbolCtor,o=r(s);t||n.removeAll(),s.diff(t).add(function(f){var v=s.getItemLayout(f);if(h(s,v,f,l)){var y=new c(s,f,o);y.attr("position",v),s.setItemGraphicEl(f,y),n.add(y)}}).update(function(f,v){var y=t.getItemGraphicEl(v),L=s.getItemLayout(f);if(!h(s,L,f,l)){n.remove(y);return}y?(y.updateData(s,f,o),d.updateProps(y,{position:L},u)):(y=new c(s,f),y.attr("position",L)),n.add(y),s.setItemGraphicEl(f,y)}).remove(function(f){var v=t.getItemGraphicEl(f);v&&v.fadeOut(function(){n.remove(v)})}).execute(),this._data=s},b.isPersistent=function(){return!0},b.updateLayout=function(){var s=this._data;s&&s.eachItemGraphicEl(function(l,n){var u=s.getItemLayout(n);l.attr("position",u)})},b.incrementalPrepareUpdate=function(s){this._seriesScope=r(s),this._data=null,this.group.removeAll()},b.incrementalUpdate=function(s,l,n){n=i(n);function u(f){f.isGroup||(f.incremental=f.useHoverLayer=!0)}for(var t=s.start;t<s.end;t++){var c=l.getItemLayout(t);if(h(l,c,t,n)){var o=new this._symbolCtor(l,t,this._seriesScope);o.traverse(u),o.attr("position",c),this.group.add(o),l.setItemGraphicEl(t,o)}}};function i(s){return s!=null&&!p(s)&&(s={isIgnore:s}),s||{}}b.remove=function(s){var l=this.group,n=this._data;n&&s?n.eachItemGraphicEl(function(u){u.fadeOut(function(){l.remove(u)})}):l.removeAll()};function r(s){var l=s.hostModel;return{itemStyle:l.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:l.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:l.get("symbolRotate"),symbolOffset:l.get("symbolOffset"),hoverAnimation:l.get("hoverAnimation"),labelModel:l.getModel("label"),hoverLabelModel:l.getModel("emphasis.label"),cursorStyle:l.get("cursor")}}var a=A;J.exports=a},"9yH6":function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("q1tI"),b=e("+6Fa"),h=e("TSYQ"),i=e.n(h),r=e("H84U"),a=A.createContext(null),s=a.Provider,l=a,n=e("cDf5"),u=e.n(n);function t(M,j){typeof M=="function"?M(j):u()(M)==="object"&&M&&"current"in M&&(M.current=j)}function c(){for(var M=arguments.length,j=new Array(M),P=0;P<M;P++)j[P]=arguments[P];return function(K){j.forEach(function(H){t(H,K)})}}var o=e("uaoM"),f=function(M,j){var P={};for(var K in M)Object.prototype.hasOwnProperty.call(M,K)&&j.indexOf(K)<0&&(P[K]=M[K]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(M);H<K.length;H++)j.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(M,K[H])&&(P[K[H]]=M[K[H]]);return P},v=function(j,P){var K,H=A.useContext(l),k=A.useContext(r.b),Z=k.getPrefixCls,Y=k.direction,_=A.useRef(),Q=c(P,_);A.useEffect(function(){Object(o.a)(!("optionType"in j),"Radio","`optionType` is only support in Radio.Group.")},[]);var X=function(Be){j.onChange&&j.onChange(Be),(H==null?void 0:H.onChange)&&H.onChange(Be)},he=j.prefixCls,te=j.className,fe=j.children,be=j.style,we=f(j,["prefixCls","className","children","style"]),Ke=Z("radio",he),qe=p()({},we);H&&(qe.name=H.name,qe.onChange=X,qe.checked=j.value===H.value,qe.disabled=j.disabled||H.disabled);var xt=i()(te,(K={},E()(K,"".concat(Ke,"-wrapper"),!0),E()(K,"".concat(Ke,"-wrapper-checked"),qe.checked),E()(K,"".concat(Ke,"-wrapper-disabled"),qe.disabled),E()(K,"".concat(Ke,"-wrapper-rtl"),Y==="rtl"),K));return A.createElement("label",{className:xt,style:be,onMouseEnter:j.onMouseEnter,onMouseLeave:j.onMouseLeave},A.createElement(b.a,p()({},qe,{prefixCls:Ke,ref:Q})),fe!==void 0?A.createElement("span",null,fe):null)},y=A.forwardRef(v);y.displayName="Radio",y.defaultProps={type:"radio"};var L=y,S=e("J4zp"),x=e.n(S),O=e("6cGi"),T=e("3Nzz"),w=A.forwardRef(function(M,j){var P=A.useContext(r.b),K=P.getPrefixCls,H=P.direction,k=A.useContext(T.b),Z=Object(O.a)(M.defaultValue,{value:M.value}),Y=x()(Z,2),_=Y[0],Q=Y[1],X=function(fe){var be=_,we=fe.target.value;"value"in M||Q(we);var Ke=M.onChange;Ke&&we!==be&&Ke(fe)},he=function(){var fe,be=M.prefixCls,we=M.className,Ke=we===void 0?"":we,qe=M.options,xt=M.optionType,Fe=M.buttonStyle,Be=M.disabled,bt=M.children,lt=M.size,tt=M.style,St=M.id,ht=M.onMouseEnter,vt=M.onMouseLeave,Ge=K("radio",be),At="".concat(Ge,"-group"),_e=bt;if(qe&&qe.length>0){var De=xt==="button"?"".concat(Ge,"-button"):Ge;_e=qe.map(function(Et){return typeof Et=="string"?A.createElement(L,{ref:j,key:Et,prefixCls:De,disabled:Be,value:Et,checked:_===Et},Et):A.createElement(L,{ref:j,key:"radio-group-value-options-".concat(Et.value),prefixCls:De,disabled:Et.disabled||Be,value:Et.value,checked:_===Et.value,style:Et.style},Et.label)})}var Ie=lt||k,st=i()(At,"".concat(At,"-").concat(Fe),(fe={},E()(fe,"".concat(At,"-").concat(Ie),Ie),E()(fe,"".concat(At,"-rtl"),H==="rtl"),fe),Ke);return A.createElement("div",{className:st,style:tt,onMouseEnter:ht,onMouseLeave:vt,id:St},_e)};return A.createElement(s,{value:{onChange:X,value:_,disabled:M.disabled,name:M.name}},he())});w.defaultProps={buttonStyle:"outline"};var C=A.memo(w),N=function(M,j){var P={};for(var K in M)Object.prototype.hasOwnProperty.call(M,K)&&j.indexOf(K)<0&&(P[K]=M[K]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(M);H<K.length;H++)j.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(M,K[H])&&(P[K[H]]=M[K[H]]);return P},D=function(j,P){var K=A.useContext(l),H=A.useContext(r.b),k=H.getPrefixCls,Z=j.prefixCls,Y=N(j,["prefixCls"]),_=k("radio-button",Z);return K&&(Y.checked=j.value===K.value,Y.disabled=j.disabled||K.disabled),A.createElement(L,p()({prefixCls:_},Y,{type:"radio",ref:P}))},B=A.forwardRef(D),R=L;R.Button=B,R.Group=C;var U=F.a=R},A1Ka:function(J,F,e){var d=e("bLfw"),E=e("sS/r"),g=e("D5nY"),p=g.detectSourceFormat,A=e("k9D9"),b=A.SERIES_LAYOUT_BY_COLUMN;d.extend({type:"dataset",defaultOption:{seriesLayoutBy:b,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){p(this)}}),E.extend({type:"dataset"})},A90E:function(J,F,e){var d=e("6sVZ"),E=e("V6Ve"),g=Object.prototype,p=g.hasOwnProperty;function A(b){if(!d(b))return E(b);var h=[];for(var i in Object(b))p.call(b,i)&&i!="constructor"&&h.push(i);return h}J.exports=A},ABKa:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("Qs9O")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FolderOutlined";var h=g.forwardRef(b);F.default=h},ACnJ:function(J,F,e){"use strict";e.d(F,"b",function(){return A});var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=["xxl","xl","lg","md","sm","xs"],b={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},h=new Map,i=-1,r={},a={matchHandlers:{},dispatch:function(l){return r=l,h.forEach(function(n){return n(r)}),h.size>=1},subscribe:function(l){return h.size||this.register(),i+=1,h.set(i,l),l(r),i},unsubscribe:function(l){h.delete(l),h.size||this.unregister()},unregister:function(){var l=this;Object.keys(b).forEach(function(n){var u=b[n],t=l.matchHandlers[u];t==null||t.mql.removeListener(t==null?void 0:t.listener)}),h.clear()},register:function(){var l=this;Object.keys(b).forEach(function(n){var u=b[n],t=function(f){var v=f.matches;l.dispatch(p()(p()({},r),E()({},n,v)))},c=window.matchMedia(u);c.addListener(t),l.matchHandlers[u]={mql:c,listener:t},t(c)})}};F.a=a},AE9C:function(J,F,e){var d=e("bYtY"),E=e("crZl"),g=e("IwbS"),p=e("oVpE"),A=p.createSymbol,b=e("+TT/"),h=e("y7Aq"),i=E.extend({type:"visualMap.piecewise",doRender:function(){var a=this.group;a.removeAll();var s=this.visualMapModel,l=s.get("textGap"),n=s.textStyleModel,u=n.getFont(),t=n.getTextColor(),c=this._getItemAlign(),o=s.itemSize,f=this._getViewData(),v=f.endsText,y=d.retrieve(s.get("showLabel",!0),!v);v&&this._renderEndsText(a,v[0],o,y,c),d.each(f.viewPieceList,L,this),v&&this._renderEndsText(a,v[1],o,y,c),b.box(s.get("orient"),a,s.get("itemGap")),this.renderBackground(a),this.positionGroup(a);function L(S){var x=S.piece,O=new g.Group;O.onclick=d.bind(this._onItemClick,this,x),this._enableHoverLink(O,S.indexInModelPieceList);var T=s.getRepresentValue(x);if(this._createItemSymbol(O,T,[0,0,o[0],o[1]]),y){var w=this.visualMapModel.getValueState(T);O.add(new g.Text({style:{x:c==="right"?-l:o[0]+l,y:o[1]/2,text:x.text,textVerticalAlign:"middle",textAlign:c,textFont:u,textFill:t,opacity:w==="outOfRange"?.5:1}}))}a.add(O)}},_enableHoverLink:function(a,s){a.on("mouseover",d.bind(l,this,"highlight")).on("mouseout",d.bind(l,this,"downplay"));function l(n){var u=this.visualMapModel;u.option.hoverLink&&this.api.dispatchAction({type:n,batch:h.makeHighDownBatch(u.findTargetDataIndices(s),u)})}},_getItemAlign:function(){var a=this.visualMapModel,s=a.option;if(s.orient==="vertical")return h.getItemAlign(a,this.api,a.itemSize);var l=s.align;return(!l||l==="auto")&&(l="left"),l},_renderEndsText:function(a,s,l,n,u){if(!s)return;var t=new g.Group,c=this.visualMapModel.textStyleModel;t.add(new g.Text({style:{x:n?u==="right"?l[0]:0:l[0]/2,y:l[1]/2,textVerticalAlign:"middle",textAlign:n?u:"center",text:s,textFont:c.getFont(),textFill:c.getTextColor()}})),a.add(t)},_getViewData:function(){var a=this.visualMapModel,s=d.map(a.getPieceList(),function(t,c){return{piece:t,indexInModelPieceList:c}}),l=a.get("text"),n=a.get("orient"),u=a.get("inverse");return(n==="horizontal"?u:!u)?s.reverse():l&&(l=l.slice().reverse()),{viewPieceList:s,endsText:l}},_createItemSymbol:function(a,s,l){a.add(A(this.getControllerVisual(s,"symbol"),l[0],l[1],l[2],l[3],this.getControllerVisual(s,"color")))},_onItemClick:function(a){var s=this.visualMapModel,l=s.option,n=d.clone(l.selected),u=s.getSelectedMapKey(a);l.selectedMode==="single"?(n[u]=!0,d.each(n,function(t,c){n[c]=c===u})):n[u]=!n[u],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),r=i;J.exports=r},AEZ6:function(J,F,e){var d=e("bYtY"),E=d.each,g=d.createHashMap,p=e("T4UG"),A=e("MwEJ"),b=p.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(r,a){var s=this.getSource();return h(s,this),A(s,this)},getRawIndicesByActiveState:function(r){var a=this.coordinateSystem,s=this.getData(),l=[];return a.eachActiveState(s,function(n,u){r===n&&l.push(s.getRawIndex(u))}),l},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 h(r,a){if(r.encodeDefine)return;var s=a.ecModel.getComponent("parallel",a.get("parallelIndex"));if(!s)return;var l=r.encodeDefine=g();E(s.dimensions,function(n){var u=i(n);l.set(n,u)})}function i(r){return+r.replace("dim","")}J.exports=b},AH3D:function(J,F,e){var d=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),d.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),d.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("5GtS"),p=e("4NO4"),A=p.defaultEmphasis,b=e("D5nY"),h=b.makeSeriesEncodeForNameBased,i=e("xKMd"),r=d.extendSeriesModel({type:"series.funnel",init:function(s){r.superApply(this,"init",arguments),this.legendVisualProvider=new i(E.bind(this.getData,this),E.bind(this.getRawData,this)),this._defaultLabelLine(s)},getInitialData:function(s,l){return g(this,{coordDimensions:["value"],encodeDefaulter:E.curry(h,this)})},_defaultLabelLine:function(s){A(s,"labelLine",["show"]);var l=s.labelLine,n=s.emphasis.labelLine;l.show=l.show&&s.label.show,n.show=n.show&&s.emphasis.label.show},getDataParams:function(s){var l=this.getData(),n=r.superCall(this,"getDataParams",s),u=l.mapDimension("value"),t=l.getSum(u);return n.percent=t?+(l.get(u,s)/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}}}}),a=r;J.exports=a},ANhw:function(J,F){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d={rotl:function(g,p){return g<<p|g>>>32-p},rotr:function(g,p){return g<<32-p|g>>>p},endian:function(g){if(g.constructor==Number)return d.rotl(g,8)&16711935|d.rotl(g,24)&4278255360;for(var p=0;p<g.length;p++)g[p]=d.endian(g[p]);return g},randomBytes:function(g){for(var p=[];g>0;g--)p.push(Math.floor(Math.random()*256));return p},bytesToWords:function(g){for(var p=[],A=0,b=0;A<g.length;A++,b+=8)p[b>>>5]|=g[A]<<24-b%32;return p},wordsToBytes:function(g){for(var p=[],A=0;A<g.length*32;A+=8)p.push(g[A>>>5]>>>24-A%32&255);return p},bytesToHex:function(g){for(var p=[],A=0;A<g.length;A++)p.push((g[A]>>>4).toString(16)),p.push((g[A]&15).toString(16));return p.join("")},hexToBytes:function(g){for(var p=[],A=0;A<g.length;A+=2)p.push(parseInt(g.substr(A,2),16));return p},bytesToBase64:function(g){for(var p=[],A=0;A<g.length;A+=3)for(var b=g[A]<<16|g[A+1]<<8|g[A+2],h=0;h<4;h++)A*8+h*6<=g.length*8?p.push(e.charAt(b>>>6*(3-h)&63)):p.push("=");return p.join("")},base64ToBytes:function(g){g=g.replace(/[^A-Z0-9+\/]/ig,"");for(var p=[],A=0,b=0;A<g.length;b=++A%4){if(b==0)continue;p.push((e.indexOf(g.charAt(A-1))&Math.pow(2,-2*b+8)-1)<<b*2|e.indexOf(g.charAt(A))>>>6-b*2)}return p}};J.exports=d})()},ANjR:function(J,F,e){var d=e("bYtY");function E(p,A){return A=A||[0,0],d.map([0,1],function(b){var h=A[b],i=p[b]/2,r=[],a=[];return r[b]=h-i,a[b]=h+i,r[1-b]=a[1-b]=A[1-b],Math.abs(this.dataToPoint(r)[b]-this.dataToPoint(a)[b])},this)}function g(p){var A=p.getBoundingRect();return{coordSys:{type:"geo",x:A.x,y:A.y,width:A.width,height:A.height,zoom:p.getZoom()},api:{coord:function(b){return p.dataToPoint(b)},size:d.bind(E,p)}}}J.exports=g},AOa7:function(J,F,e){},AUH6:function(J,F,e){var d=e("bYtY"),E=e("mFDi"),g=e("bMXI"),p=e("W4dC");function A(i,r,a,s){g.call(this,i),this.map=r;var l=p.load(r,a);this._nameCoordMap=l.nameCoordMap,this._regionsMap=l.regionsMap,this._invertLongitute=s==null?!0:s,this.regions=l.regions,this._rect=l.boundingRect}A.prototype={constructor:A,type:"geo",dimensions:["lng","lat"],containCoord:function(i){for(var r=this.regions,a=0;a<r.length;a++)if(r[a].contain(i))return!0;return!1},transformTo:function(i,r,a,s){var l=this.getBoundingRect(),n=this._invertLongitute;l=l.clone(),n&&(l.y=-l.y-l.height);var u=this._rawTransformable;if(u.transform=l.calculateTransform(new E(i,r,a,s)),u.decomposeTransform(),n){var t=u.scale;t[1]=-t[1]}u.updateTransform(),this._updateTransform()},getRegion:function(i){return this._regionsMap.get(i)},getRegionByCoord:function(i){for(var r=this.regions,a=0;a<r.length;a++)if(r[a].contain(i))return r[a]},addGeoCoord:function(i,r){this._nameCoordMap.set(i,r)},getGeoCoord:function(i){return this._nameCoordMap.get(i)},getBoundingRect:function(){return this._rect},dataToPoint:function(i,r,a){if(typeof i=="string"&&(i=this.getGeoCoord(i)),i)return g.prototype.dataToPoint.call(this,i,r,a)},convertToPixel:d.curry(b,"dataToPoint"),convertFromPixel:d.curry(b,"pointToData")},d.mixin(A,g);function b(i,r,a,s){var l=a.geoModel,n=a.seriesModel,u=l?l.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return u===this?u[i](s):null}var h=A;J.exports=h},AVZG:function(J,F,e){var d=e("bYtY");function E(g,p,A){A=A||{};var b=g.coordinateSystem,h=p.axis,i={},r=h.getAxesOnZeroOf()[0],a=h.position,s=r?"onZero":a,l=h.dim,n=b.getRect(),u=[n.x,n.x+n.width,n.y,n.y+n.height],t={left:0,right:1,top:0,bottom:1,onZero:2},c=p.get("offset")||0,o=l==="x"?[u[2]-c,u[3]+c]:[u[0]-c,u[1]+c];if(r){var f=r.toGlobalCoord(r.dataToCoord(0));o[t.onZero]=Math.max(Math.min(f,o[1]),o[0])}i.position=[l==="y"?o[t[s]]:u[0],l==="x"?o[t[s]]:u[3]],i.rotation=Math.PI/2*(l==="x"?0:1);var v={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=v[a],i.labelOffset=r?o[t[a]]-o[t.onZero]:0,p.get("axisTick.inside")&&(i.tickDirection=-i.tickDirection),d.retrieve(A.labelInside,p.get("axisLabel.inside"))&&(i.labelDirection=-i.labelDirection);var y=p.get("axisLabel.rotate");return i.labelRotate=s==="top"?-y:y,i.z2=1,i}F.layout=E},"Ae+d":function(J,F){function e(E,g,p){var A=E.target,b=A.position;b[0]+=g,b[1]+=p,A.dirty()}function d(E,g,p,A){var b=E.target,h=E.zoomLimit,i=b.position,r=b.scale,a=E.zoom=E.zoom||1;if(a*=g,h){var s=h.min||0,l=h.max||Infinity;a=Math.max(Math.min(l,a),s)}var n=a/E.zoom;E.zoom=a,i[0]-=(p-i[0])*(n-1),i[1]-=(A-i[1])*(n-1),r[0]*=n,r[1]*=n,b.dirty()}F.updateViewOnPan=e,F.updateViewOnZoom=d},Ae16:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("IwbS");e("Wqna"),e("rySg"),d.extendComponentView({type:"grid",render:function(p,A){this.group.removeAll(),p.get("show")&&this.group.add(new g.Rect({shape:p.coordinateSystem.getRect(),style:E.defaults({fill:p.get("backgroundColor")},p.getItemStyle()),silent:!0,z2:-1}))}}),d.registerPreprocessor(function(p){p.xAxis&&p.yAxis&&!p.grid&&(p.grid={})})},Awhp:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("PQMj"),p=e.n(g)},"B+YJ":function(J,F,e){e("TYVI"),e("p1MT")},"B6l+":function(J,F,e){var d=e("Sq3C"),E=e("Z1HP"),g=e("Sxd8"),p=e("dt0z");function A(b,h,i){b=p(b),h=g(h);var r=h?E(b):0;return h&&r<h?b+d(h-r,i):b}J.exports=A},B8du:function(J,F){function e(){return!1}J.exports=e},B9cy:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("0XgM"),p=e.n(g)},B9fm:function(J,F,e){var d=e("bYtY"),E=e("Qe9p"),g=e("YH21"),p=e("Ze12"),A=e("ItGF"),b=e("7aKB"),h=d.each,i=b.toCamelCase,r=["","-webkit-","-moz-","-o-"],a="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function s(o){var f="cubic-bezier(0.23, 1, 0.32, 1)",v="left "+o+"s "+f+",top "+o+"s "+f;return d.map(r,function(y){return y+"transition:"+v}).join(";")}function l(o){var f=[],v=o.get("fontSize"),y=o.getTextColor();return y&&f.push("color:"+y),f.push("font:"+o.getFont()),v&&f.push("line-height:"+Math.round(v*3/2)+"px"),h(["decoration","align"],function(L){var S=o.get(L);S&&f.push("text-"+L+":"+S)}),f.join(";")}function n(o){var f=[],v=o.get("transitionDuration"),y=o.get("backgroundColor"),L=o.getModel("textStyle"),S=o.get("padding");return v&&f.push(s(v)),y&&(A.canvasSupported?f.push("background-Color:"+y):(f.push("background-Color:#"+E.toHex(y)),f.push("filter:alpha(opacity=70)"))),h(["width","color","radius"],function(x){var O="border-"+x,T=i(O),w=o.get(T);w!=null&&f.push(O+":"+w+(x==="color"?"":"px"))}),f.push(l(L)),S!=null&&f.push("padding:"+b.normalizeCssArray(S).join("px ")+"px"),f.join(";")+";"}function u(o,f,v,y,L){var S=f&&f.painter;if(v){var x=S&&S.getViewportRoot();x&&p.transformLocalCoord(o,x,document.body,y,L)}else{o[0]=y,o[1]=L;var O=S&&S.getViewportRootOffset();O&&(o[0]+=O.offsetLeft,o[1]+=O.offsetTop)}}function t(o,f,v){if(A.wxa)return null;var y=document.createElement("div");y.domBelongToZr=!0,this.el=y;var L=this._zr=f.getZr(),S=this._appendToBody=v&&v.appendToBody;this._styleCoord=[0,0],u(this._styleCoord,L,S,f.getWidth()/2,f.getHeight()/2),S?document.body.appendChild(y):o.appendChild(y),this._container=o,this._show=!1,this._hideTimeout;var x=this;y.onmouseenter=function(){x._enterable&&(clearTimeout(x._hideTimeout),x._show=!0),x._inContent=!0},y.onmousemove=function(O){if(O=O||window.event,!x._enterable){var T=L.handler,w=L.painter.getViewportRoot();g.normalizeEvent(w,O,!0),T.dispatch("mousemove",O)}},y.onmouseleave=function(){x._enterable&&(x._show&&x.hideLater(x._hideDelay)),x._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var o=this._container,f=o.currentStyle||document.defaultView.getComputedStyle(o),v=o.style;v.position!=="absolute"&&f.position!=="absolute"&&(v.position="relative")},show:function(o){clearTimeout(this._hideTimeout);var f=this.el,v=this._styleCoord;f.style.cssText=a+n(o)+";left:"+v[0]+"px;top:"+v[1]+"px;"+(o.get("extraCssText")||""),f.style.display=f.innerHTML?"block":"none",f.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(o){this.el.innerHTML=o==null?"":o},setEnterable:function(o){this._enterable=o},getSize:function(){var o=this.el;return[o.clientWidth,o.clientHeight]},moveTo:function(o,f){var v=this._styleCoord;u(v,this._zr,this._appendToBody,o,f);var y=this.el.style;y.left=v[0]+"px",y.top=v[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(o){this._show&&!(this._inContent&&this._enterable)&&(o?(this._hideDelay=o,this._show=!1,this._hideTimeout=setTimeout(d.bind(this.hide,this),o)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var o=this.el.clientWidth,f=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var v=document.defaultView.getComputedStyle(this.el);v&&(o+=parseInt(v.borderLeftWidth,10)+parseInt(v.borderRightWidth,10),f+=parseInt(v.borderTopWidth,10)+parseInt(v.borderBottomWidth,10))}return{width:o,height:f}}};var c=t;J.exports=c},BEtg:function(J,F){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/J.exports=function(E){return E!=null&&(e(E)||d(E)||!!E._isBuffer)};function e(E){return!!E.constructor&&typeof E.constructor.isBuffer=="function"&&E.constructor.isBuffer(E)}function d(E){return typeof E.readFloatLE=="function"&&typeof E.slice=="function"&&e(E.slice(0,0))}},BMrR:function(J,F,e){"use strict";var d=e("qrJ5");F.a=d.a},BPZU:function(J,F){var e=32,d=7,E=256;function g(s){for(var l=0;s>=e;)l|=s&1,s>>=1;return s+l}function p(s,l,n,u){var t=l+1;if(t===n)return 1;if(u(s[t++],s[l])<0){for(;t<n&&u(s[t],s[t-1])<0;)t++;A(s,l,t)}else for(;t<n&&u(s[t],s[t-1])>=0;)t++;return t-l}function A(s,l,n){for(n--;l<n;){var u=s[l];s[l++]=s[n],s[n--]=u}}function b(s,l,n,u,t){for(u===l&&u++;u<n;u++){for(var c=s[u],o=l,f=u,v;o<f;)v=o+f>>>1,t(c,s[v])<0?f=v:o=v+1;var y=u-o;switch(y){case 3:s[o+3]=s[o+2];case 2:s[o+2]=s[o+1];case 1:s[o+1]=s[o];break;default:for(;y>0;)s[o+y]=s[o+y-1],y--}s[o]=c}}function h(s,l,n,u,t,c){var o=0,f=0,v=1;if(c(s,l[n+t])>0){for(f=u-t;v<f&&c(s,l[n+t+v])>0;)o=v,v=(v<<1)+1,v<=0&&(v=f);v>f&&(v=f),o+=t,v+=t}else{for(f=t+1;v<f&&c(s,l[n+t-v])<=0;)o=v,v=(v<<1)+1,v<=0&&(v=f);v>f&&(v=f);var y=o;o=t-v,v=t-y}for(o++;o<v;){var L=o+(v-o>>>1);c(s,l[n+L])>0?o=L+1:v=L}return v}function i(s,l,n,u,t,c){var o=0,f=0,v=1;if(c(s,l[n+t])<0){for(f=t+1;v<f&&c(s,l[n+t-v])<0;)o=v,v=(v<<1)+1,v<=0&&(v=f);v>f&&(v=f);var y=o;o=t-v,v=t-y}else{for(f=u-t;v<f&&c(s,l[n+t+v])>=0;)o=v,v=(v<<1)+1,v<=0&&(v=f);v>f&&(v=f),o+=t,v+=t}for(o++;o<v;){var L=o+(v-o>>>1);c(s,l[n+L])<0?v=L:o=L+1}return v}function r(s,l){var n=d,u=0,t=E,c=0,o,f,v=0;u=s.length,u<2*E&&(t=u>>>1);var y=[];c=u<120?5:u<1542?10:u<119151?19:40,o=[],f=[];function L(C,N){o[v]=C,f[v]=N,v+=1}function S(){for(;v>1;){var C=v-2;if(C>=1&&f[C-1]<=f[C]+f[C+1]||C>=2&&f[C-2]<=f[C]+f[C-1])f[C-1]<f[C+1]&&C--;else if(f[C]>f[C+1])break;O(C)}}function x(){for(;v>1;){var C=v-2;C>0&&f[C-1]<f[C+1]&&C--,O(C)}}function O(C){var N=o[C],D=f[C],B=o[C+1],R=f[C+1];f[C]=D+R,C===v-3&&(o[C+1]=o[C+2],f[C+1]=f[C+2]),v--;var U=i(s[B],s,N,D,0,l);if(N+=U,D-=U,D===0)return;if(R=h(s[N+D-1],s,B,R,R-1,l),R===0)return;D<=R?T(N,D,B,R):w(N,D,B,R)}function T(C,N,D,B){var R=0;for(R=0;R<N;R++)y[R]=s[C+R];var U=0,M=D,j=C;if(s[j++]=s[M++],--B===0){for(R=0;R<N;R++)s[j+R]=y[U+R];return}if(N===1){for(R=0;R<B;R++)s[j+R]=s[M+R];s[j+B]=y[U];return}for(var P=n,K,H,k;;){K=0,H=0,k=!1;do if(l(s[M],y[U])<0){if(s[j++]=s[M++],H++,K=0,--B===0){k=!0;break}}else if(s[j++]=y[U++],K++,H=0,--N===1){k=!0;break}while((K|H)<P);if(k)break;do{if(K=i(s[M],y,U,N,0,l),K!==0){for(R=0;R<K;R++)s[j+R]=y[U+R];if(j+=K,U+=K,N-=K,N<=1){k=!0;break}}if(s[j++]=s[M++],--B===0){k=!0;break}if(H=h(y[U],s,M,B,0,l),H!==0){for(R=0;R<H;R++)s[j+R]=s[M+R];if(j+=H,M+=H,B-=H,B===0){k=!0;break}}if(s[j++]=y[U++],--N===1){k=!0;break}P--}while(K>=d||H>=d);if(k)break;P<0&&(P=0),P+=2}if(n=P,n<1&&(n=1),N===1){for(R=0;R<B;R++)s[j+R]=s[M+R];s[j+B]=y[U]}else{if(N===0)throw new Error;for(R=0;R<N;R++)s[j+R]=y[U+R]}}function w(C,N,D,B){var R=0;for(R=0;R<B;R++)y[R]=s[D+R];var U=C+N-1,M=B-1,j=D+B-1,P=0,K=0;if(s[j--]=s[U--],--N===0){for(P=j-(B-1),R=0;R<B;R++)s[P+R]=y[R];return}if(B===1){for(j-=N,U-=N,K=j+1,P=U+1,R=N-1;R>=0;R--)s[K+R]=s[P+R];s[j]=y[M];return}for(var H=n;;){var k=0,Z=0,Y=!1;do if(l(y[M],s[U])<0){if(s[j--]=s[U--],k++,Z=0,--N===0){Y=!0;break}}else if(s[j--]=y[M--],Z++,k=0,--B===1){Y=!0;break}while((k|Z)<H);if(Y)break;do{if(k=N-i(y[M],s,C,N,N-1,l),k!==0){for(j-=k,U-=k,N-=k,K=j+1,P=U+1,R=k-1;R>=0;R--)s[K+R]=s[P+R];if(N===0){Y=!0;break}}if(s[j--]=y[M--],--B===1){Y=!0;break}if(Z=B-h(s[U],y,0,B,B-1,l),Z!==0){for(j-=Z,M-=Z,B-=Z,K=j+1,P=M+1,R=0;R<Z;R++)s[K+R]=y[P+R];if(B<=1){Y=!0;break}}if(s[j--]=s[U--],--N===0){Y=!0;break}H--}while(k>=d||Z>=d);if(Y)break;H<0&&(H=0),H+=2}if(n=H,n<1&&(n=1),B===1){for(j-=N,U-=N,K=j+1,P=U+1,R=N-1;R>=0;R--)s[K+R]=s[P+R];s[j]=y[M]}else{if(B===0)throw new Error;for(P=j-(B-1),R=0;R<B;R++)s[P+R]=y[R]}}this.mergeRuns=S,this.forceMergeRuns=x,this.pushRun=L}function a(s,l,n,u){n||(n=0),u||(u=s.length);var t=u-n;if(t<2)return;var c=0;if(t<e){c=p(s,n,u,l),b(s,n,u,n+c,l);return}var o=new r(s,l),f=g(t);do{if(c=p(s,n,u,l),c<f){var v=t;v>f&&(v=f),b(s,n,n+v,n+c,l),c=v}o.pushRun(n,c),o.mergeRuns(),t-=c,n+=c}while(t!==0);o.forceMergeRuns()}J.exports=a},Bd2K:function(J,F,e){(function(d){d(e("VrN/"),e("osHv"))})(function(d){d.defineOption("autoCloseTags",!1,function(r,a,s){if(s!=d.Init&&s&&r.removeKeyMap("autoCloseTags"),!a)return;var l={name:"autoCloseTags"};(typeof a!="object"||a.whenClosing!==!1)&&(l["'/'"]=function(n){return b(n)}),(typeof a!="object"||a.whenOpening!==!1)&&(l["'>'"]=function(n){return p(n)}),r.addKeyMap(l)});var E=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],g=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function p(r){if(r.getOption("disableInput"))return d.Pass;for(var a=r.listSelections(),s=[],l=r.getOption("autoCloseTags"),n=0;n<a.length;n++){if(!a[n].empty())return d.Pass;var u=a[n].head,t=r.getTokenAt(u),c=d.innerMode(r.getMode(),t.state),o=c.state,f=c.mode.xmlCurrentTag&&c.mode.xmlCurrentTag(o),v=f&&f.name;if(!v)return d.Pass;var y=c.mode.configuration=="html",L=typeof l=="object"&&l.dontCloseTags||y&&E,S=typeof l=="object"&&l.indentTags||y&&g;t.end>u.ch&&(v=v.slice(0,v.length-t.end+u.ch));var x=v.toLowerCase();if(!v||t.type=="string"&&(t.end!=u.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&f.close||t.string.indexOf("/")==u.ch-t.start-1||L&&h(L,x)>-1||i(r,c.mode.xmlCurrentContext&&c.mode.xmlCurrentContext(o)||[],v,u,!0))return d.Pass;var O=typeof l=="object"&&l.emptyTags;if(O&&h(O,v)>-1){s[n]={text:"/>",newPos:d.Pos(u.line,u.ch+2)};continue}var T=S&&h(S,x)>-1;s[n]={indent:T,text:">"+(T?`
|
|
|
|
|
|
`:"")+"</"+v+">",newPos:T?d.Pos(u.line+1,0):d.Pos(u.line,u.ch+1)}}for(var w=typeof l=="object"&&l.dontIndentOnAutoClose,n=a.length-1;n>=0;n--){var C=s[n];r.replaceRange(C.text,a[n].head,a[n].anchor,"+insert");var N=r.listSelections().slice(0);N[n]={head:C.newPos,anchor:C.newPos},r.setSelections(N),!w&&C.indent&&(r.indentLine(C.newPos.line,null,!0),r.indentLine(C.newPos.line+1,null,!0))}}function A(r,a){for(var s=r.listSelections(),l=[],n=a?"/":"</",u=r.getOption("autoCloseTags"),t=typeof u=="object"&&u.dontIndentOnSlash,c=0;c<s.length;c++){if(!s[c].empty())return d.Pass;var o=s[c].head,f=r.getTokenAt(o),v=d.innerMode(r.getMode(),f.state),y=v.state;if(a&&(f.type=="string"||f.string.charAt(0)!="<"||f.start!=o.ch-1))return d.Pass;var L,S=v.mode.name!="xml"&&r.getMode().name=="htmlmixed";if(S&&v.mode.name=="javascript")L=n+"script";else if(S&&v.mode.name=="css")L=n+"style";else{var x=v.mode.xmlCurrentContext&&v.mode.xmlCurrentContext(y);if(!x||x.length&&i(r,x,x[x.length-1],o))return d.Pass;L=n+x[x.length-1]}r.getLine(o.line).charAt(f.end)!=">"&&(L+=">"),l[c]=L}if(r.replaceSelections(l),s=r.listSelections(),!t)for(var c=0;c<s.length;c++)(c==s.length-1||s[c].head.line<s[c+1].head.line)&&r.indentLine(s[c].head.line)}function b(r){return r.getOption("disableInput")?d.Pass:A(r,!0)}d.commands.closeTag=function(r){return A(r)};function h(r,a){if(r.indexOf)return r.indexOf(a);for(var s=0,l=r.length;s<l;++s)if(r[s]==a)return s;return-1}function i(r,a,s,l,n){if(!d.scanForClosingTag)return!1;var u=Math.min(r.lastLine()+1,l.line+500),t=d.scanForClosingTag(r,l,null,u);if(!t||t.tag!=s)return!1;for(var c=n?1:0,o=a.length-1;o>=0&&a[o]==s;o--)++c;l=t.to;for(var o=1;o<c;o++){var f=d.scanForClosingTag(r,l,null,u);if(!f||f.tag!=s)return!1;l=f.to}return!0}})},BlVb:function(J,F,e){var d=e("hyiK"),E=1e-8;function g(A,b){return Math.abs(A-b)<E}function p(A,b,h){var i=0,r=A[0];if(!r)return!1;for(var a=1;a<A.length;a++){var s=A[a];i+=d(r[0],r[1],s[0],s[1],b,h),r=s}var l=A[0];return(!g(r[0],l[0])||!g(r[1],l[1]))&&(i+=d(r[0],r[1],l[0],l[1],b,h)),i!==0}F.contain=p},BoS7:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("czTT"),p=e.n(g)},Bq2U:function(J,F,e){var d=e("RDYZ"),E=e("Qe9p"),g=e("bYtY"),p=g.isArrayLike,A=Array.prototype.slice;function b(L,S){return L[S]}function h(L,S,x){L[S]=x}function i(L,S,x){return(S-L)*x+L}function r(L,S,x){return x>.5?S:L}function a(L,S,x,O,T){var w=L.length;if(T===1)for(var C=0;C<w;C++)O[C]=i(L[C],S[C],x);else for(var N=w&&L[0].length,C=0;C<w;C++)for(var D=0;D<N;D++)O[C][D]=i(L[C][D],S[C][D],x)}function s(L,S,x){var O=L.length,T=S.length;if(O!==T){var w=O>T;if(w)L.length=T;else for(var C=O;C<T;C++)L.push(x===1?S[C]:A.call(S[C]))}for(var N=L[0]&&L[0].length,C=0;C<L.length;C++)if(x===1)isNaN(L[C])&&(L[C]=S[C]);else for(var D=0;D<N;D++)isNaN(L[C][D])&&(L[C][D]=S[C][D])}function l(L,S,x){if(L===S)return!0;var O=L.length;if(O!==S.length)return!1;if(x===1){for(var T=0;T<O;T++)if(L[T]!==S[T])return!1}else for(var w=L[0].length,T=0;T<O;T++)for(var C=0;C<w;C++)if(L[T][C]!==S[T][C])return!1;return!0}function n(L,S,x,O,T,w,C,N,D){var B=L.length;if(D===1)for(var R=0;R<B;R++)N[R]=u(L[R],S[R],x[R],O[R],T,w,C);else for(var U=L[0].length,R=0;R<B;R++)for(var M=0;M<U;M++)N[R][M]=u(L[R][M],S[R][M],x[R][M],O[R][M],T,w,C)}function u(L,S,x,O,T,w,C){var N=(x-L)*.5,D=(O-S)*.5;return(2*(S-x)+N+D)*C+(-3*(S-x)-2*N-D)*w+N*T+S}function t(L){if(p(L)){var S=L.length;if(p(L[0])){for(var x=[],O=0;O<S;O++)x.push(A.call(L[O]));return x}return A.call(L)}return L}function c(L){return L[0]=Math.floor(L[0]),L[1]=Math.floor(L[1]),L[2]=Math.floor(L[2]),"rgba("+L.join(",")+")"}function o(L){var S=L[L.length-1].value;return p(S&&S[0])?2:1}function f(L,S,x,O,T,w){var C=L._getter,N=L._setter,D=S==="spline",B=O.length;if(!B)return;var R=O[0].value,U=p(R),M=!1,j=!1,P=U?o(O):0,K;O.sort(function(tt,St){return tt.time-St.time}),K=O[B-1].time;for(var H=[],k=[],Z=O[0].value,Y=!0,_=0;_<B;_++){H.push(O[_].time/K);var Q=O[_].value;if(U&&l(Q,Z,P)||!U&&Q===Z||(Y=!1),Z=Q,typeof Q=="string"){var X=E.parse(Q);X?(Q=X,M=!0):j=!0}k.push(Q)}if(!w&&Y)return;for(var he=k[B-1],_=0;_<B-1;_++)U?s(k[_],he,P):isNaN(k[_])&&!isNaN(he)&&!j&&!M&&(k[_]=he);U&&s(C(L._target,T),he,P);var te=0,fe=0,be,we,Ke,qe,xt,Fe;if(M)var Be=[0,0,0,0];var bt=function(St,ht){var vt;if(ht<0)vt=0;else if(ht<fe){for(be=Math.min(te+1,B-1),vt=be;vt>=0&&!(H[vt]<=ht);vt--);vt=Math.min(vt,B-2)}else{for(vt=te;vt<B&&!(H[vt]>ht);vt++);vt=Math.min(vt-1,B-2)}te=vt,fe=ht;var Ge=H[vt+1]-H[vt];if(Ge===0)return;if(we=(ht-H[vt])/Ge,D)if(qe=k[vt],Ke=k[vt===0?vt:vt-1],xt=k[vt>B-2?B-1:vt+1],Fe=k[vt>B-3?B-1:vt+2],U)n(Ke,qe,xt,Fe,we,we*we,we*we*we,C(St,T),P);else{var At;if(M)At=n(Ke,qe,xt,Fe,we,we*we,we*we*we,Be,1),At=c(Be);else{if(j)return r(qe,xt,we);At=u(Ke,qe,xt,Fe,we,we*we,we*we*we)}N(St,T,At)}else if(U)a(k[vt],k[vt+1],we,C(St,T),P);else{var At;if(M)a(k[vt],k[vt+1],we,Be,1),At=c(Be);else{if(j)return r(k[vt],k[vt+1],we);At=i(k[vt],k[vt+1],we)}N(St,T,At)}},lt=new d({target:L._target,life:K,loop:L._loop,delay:L._delay,onframe:bt,ondestroy:x});return S&&S!=="spline"&&(lt.easing=S),lt}var v=function(S,x,O,T){this._tracks={},this._target=S,this._loop=x||!1,this._getter=O||b,this._setter=T||h,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};v.prototype={when:function(S,x){var O=this._tracks;for(var T in x){if(!x.hasOwnProperty(T))continue;if(!O[T]){O[T]=[];var w=this._getter(this._target,T);if(w==null)continue;S!==0&&O[T].push({time:0,value:t(w)})}O[T].push({time:S,value:x[T]})}return this},during:function(S){return this._onframeList.push(S),this},pause:function(){for(var S=0;S<this._clipList.length;S++)this._clipList[S].pause();this._paused=!0},resume:function(){for(var S=0;S<this._clipList.length;S++)this._clipList[S].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var S=this._doneList,x=S.length,O=0;O<x;O++)S[O].call(this)},start:function(S,x){var O=this,T=0,w=function(){T--,T||O._doneCallback()},C;for(var N in this._tracks){if(!this._tracks.hasOwnProperty(N))continue;var D=f(this,S,w,this._tracks[N],N,x);D&&(this._clipList.push(D),T++,this.animation&&this.animation.addClip(D),C=D)}if(C){var B=C.onframe;C.onframe=function(R,U){B(R,U);for(var M=0;M<O._onframeList.length;M++)O._onframeList[M](R,U)}}return T||this._doneCallback(),this},stop:function(S){for(var x=this._clipList,O=this.animation,T=0;T<x.length;T++){var w=x[T];S&&w.onframe(this._target,1),O&&O.removeClip(w)}x.length=0},delay:function(S){return this._delay=S,this},done:function(S){return S&&this._doneList.push(S),this},getClips:function(){return this._clipList}};var y=v;J.exports=y},Bqw1:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},Bsck:function(J,F,e){var d=e("bYtY"),E=e("Qxkt"),g=e("Mdki"),p=e("YXkt"),A=e("sdST"),b=function(a,s){this.name=a||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=s};b.prototype={constructor:b,isRemoved:function(){return this.dataIndex<0},eachNode:function(a,s,l){typeof a=="function"&&(l=s,s=a,a=null),a=a||{},d.isString(a)&&(a={order:a});var n=a.order||"preorder",u=this[a.attr||"children"],t;n==="preorder"&&(t=s.call(l,this));for(var c=0;!t&&c<u.length;c++)u[c].eachNode(a,s,l);n==="postorder"&&s.call(l,this)},updateDepthAndHeight:function(a){var s=0;this.depth=a;for(var l=0;l<this.children.length;l++){var n=this.children[l];n.updateDepthAndHeight(a+1),n.height>s&&(s=n.height)}this.height=s+1},getNodeById:function(a){if(this.getId()===a)return this;for(var s=0,l=this.children,n=l.length;s<n;s++){var u=l[s].getNodeById(a);if(u)return u}},contains:function(a){if(a===this)return!0;for(var s=0,l=this.children,n=l.length;s<n;s++){var u=l[s].contains(a);if(u)return u}},getAncestors:function(a){for(var s=[],l=a?this:this.parentNode;l;)s.push(l),l=l.parentNode;return s.reverse(),s},getValue:function(a){var s=this.hostTree.data;return s.get(s.getDimension(a||"value"),this.dataIndex)},setLayout:function(a,s){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,a,s)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(a){if(this.dataIndex<0)return;var s=this.hostTree,l=s.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?l.getModel(a,n.getModel(a)):l.getModel(a)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(a,s){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,a,s)},getVisual:function(a,s){return this.hostTree.data.getItemVisual(this.dataIndex,a,s)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(a){for(var s=a.parentNode;s;){if(s===this)return!0;s=s.parentNode}return!1},isDescendantOf:function(a){return a!==this&&a.isAncestorOf(this)}};function h(a,s){this.root,this.data,this._nodes=[],this.hostModel=a,this.levelModels=d.map(s||[],function(l){return new E(l,a,a.ecModel)})}h.prototype={constructor:h,type:"tree",eachNode:function(a,s,l){this.root.eachNode(a,s,l)},getNodeByDataIndex:function(a){var s=this.data.getRawIndex(a);return this._nodes[s]},getNodeByName:function(a){return this.root.getNodeByName(a)},update:function(){for(var a=this.data,s=this._nodes,l=0,n=s.length;l<n;l++)s[l].dataIndex=-1;for(var l=0,n=a.count();l<n;l++)s[a.getRawIndex(l)].dataIndex=l},clearLayouts:function(){this.data.clearItemLayouts()}},h.createTree=function(a,s,l,n){var u=new h(s,l&&l.levels),t=[],c=1;o(a);function o(y,L){var S=y.value;c=Math.max(c,d.isArray(S)?S.length:1),t.push(y);var x=new b(y.name,u);L?i(x,L):u.root=x,u._nodes.push(x);var O=y.children;if(O)for(var T=0;T<O.length;T++)o(O[T],x)}u.root.updateDepthAndHeight(0);var f=A(t,{coordDimensions:["value"],dimensionsCount:c}),v=new p(f,s);return v.initData(t),n&&n(v),g({mainData:v,struct:u,structAttr:"tree"}),u.update(),u};function i(a,s){var l=s.children;if(a.parentNode===s)return;l.push(a),a.parentNode=s}var r=h;J.exports=r},BtR2:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="LikeOutlined";var b=F.a=d.forwardRef(A)},BuqR:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("6uqw"),A=e("XxSj"),b=e("YOMW"),h=e("OELB"),i=h.reformIntervals,r=p.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(n,u){r.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();a[this._mode].call(this),this._resetSelected(n,u);var c=this.option.categories;this.resetVisual(function(o,f){t==="categories"?(o.mappingMethod="category",o.categories=g.clone(c)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=g.map(this._pieceList,function(v){var v=g.clone(v);return f!=="inRange"&&(v.visual=null),v}))})},completeVisualOption:function(){var n=this.option,u={},t=A.listVisualTypes(),c=this.isCategory();g.each(n.pieces,function(f){g.each(t,function(v){f.hasOwnProperty(v)&&(u[v]=1)})}),g.each(u,function(f,v){var y=0;g.each(this.stateList,function(L){y|=o(n,L,v)||o(n.target,L,v)},this),!y&&g.each(this.stateList,function(L){(n[L]||(n[L]={}))[v]=b.get(v,L==="inRange"?"active":"inactive",c)})},this);function o(f,v,y){return f&&f[v]&&(g.isObject(f[v])?f[v].hasOwnProperty(y):f[v]===y)}p.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,u){var t=this.option,c=this._pieceList,o=(u?t:n).selected||{};if(t.selected=o,g.each(c,function(v,y){var L=this.getSelectedMapKey(v);o.hasOwnProperty(L)||(o[L]=!0)},this),t.selectedMode==="single"){var f=!1;g.each(c,function(v,y){var L=this.getSelectedMapKey(v);o[L]&&(f?o[L]=!1:f=!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=g.clone(n)},getValueState:function(n){var u=A.findPieceIndex(n,this._pieceList);return u!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[u])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var u=[];return this.eachTargetSeries(function(t){var c=[],o=t.getData();o.each(this.getDataDimension(o),function(f,v){var y=A.findPieceIndex(f,this._pieceList);y===n&&c.push(v)},this),u.push({seriesId:t.id,dataIndex:c})},this),u},getRepresentValue:function(n){var u;if(this.isCategory())u=n.value;else if(n.value!=null)u=n.value;else{var t=n.interval||[];u=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return u},getVisualMeta:function(n){if(this.isCategory())return;var u=[],t=[],c=this;function o(L,S){var x=c.getRepresentValue({interval:L});S||(S=c.getValueState(x));var O=n(x,S);L[0]===-Infinity?t[0]=O:L[1]===Infinity?t[1]=O:u.push({value:L[0],color:O},{value:L[1],color:O})}var f=this._pieceList.slice();if(!f.length)f.push({interval:[-Infinity,Infinity]});else{var v=f[0].interval[0];v!==-Infinity&&f.unshift({interval:[-Infinity,v]}),v=f[f.length-1].interval[1],v!==Infinity&&f.push({interval:[v,Infinity]})}var y=-Infinity;return g.each(f,function(L){var S=L.interval;S&&(S[0]>y&&o([y,S[0]],"outOfRange"),o(S.slice()),y=S[1])},this),{stops:u,outerColors:t}}}),a={splitNumber:function(){var n=this.option,u=this._pieceList,t=Math.min(n.precision,20),c=this.getExtent(),o=n.splitNumber;o=Math.max(parseInt(o,10),1),n.splitNumber=o;for(var f=(c[1]-c[0])/o;+f.toFixed(t)!==f&&t<5;)t++;n.precision=t,f=+f.toFixed(t),n.minOpen&&u.push({interval:[-Infinity,c[0]],close:[0,0]});for(var v=0,y=c[0];v<o;y+=f,v++){var L=v===o-1?c[1]:y+f;u.push({interval:[y,L],close:[1,1]})}n.maxOpen&&u.push({interval:[c[1],Infinity],close:[0,0]}),i(u),g.each(u,function(S,x){S.index=x,S.text=this.formatValueText(S.interval)},this)},categories:function(){var n=this.option;g.each(n.categories,function(u){this._pieceList.push({text:this.formatValueText(u,!0),value:u})},this),s(n,this._pieceList)},pieces:function(){var n=this.option,u=this._pieceList;g.each(n.pieces,function(t,c){g.isObject(t)||(t={value:t});var o={text:"",index:c};if(t.label!=null&&(o.text=t.label),t.hasOwnProperty("value")){var f=o.value=t.value;o.interval=[f,f],o.close=[1,1]}else{for(var v=o.interval=[],y=o.close=[0,0],L=[1,0,1],S=[-Infinity,Infinity],x=[],O=0;O<2;O++){for(var T=[["gte","gt","min"],["lte","lt","max"]][O],w=0;w<3&&v[O]==null;w++)v[O]=t[T[w]],y[O]=L[w],x[O]=w===2;v[O]==null&&(v[O]=S[O])}x[0]&&v[1]===Infinity&&(y[0]=0),x[1]&&v[0]===-Infinity&&(y[1]=0),v[0]===v[1]&&y[0]&&y[1]&&(o.value=v[0])}o.visual=A.retrieveVisuals(t),u.push(o)},this),s(n,u),i(u),g.each(u,function(t){var c=t.close,o=[["<","\u2264"][c[1]],[">","\u2265"][c[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,o)},this)}};function s(n,u){var t=n.inverse;(n.orient==="vertical"?!t:t)&&u.reverse()}var l=r;J.exports=l},BvKs:function(J,F,e){"use strict";e.d(F,"a",function(){return U});var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("7W2i"),a=e.n(r),s=e("LQ03"),l=e.n(s),n=e("q1tI"),u=e("1j5w"),t=e("TSYQ"),c=e.n(t),o=e("BGR+"),f=Object(n.createContext)({inlineCollapsed:!1}),v=f,y=e("0n0R"),L=function(M){a()(P,M);var j=l()(P);function P(){return b()(this,P),j.apply(this,arguments)}return i()(P,[{key:"renderTitle",value:function(H){var k=this.props,Z=k.icon,Y=k.title,_=k.level,Q=k.rootPrefixCls;if(!Z)return H&&_===1&&Y&&typeof Y=="string"?n.createElement("div",{className:"".concat(Q,"-inline-collapsed-noicon")},Y.charAt(0)):Y;var X=Object(y.b)(Y)&&Y.type==="span";return n.createElement(n.Fragment,null,Z,X?Y:n.createElement("span",null,Y))}},{key:"render",value:function(){var H=this,k=this.props,Z=k.rootPrefixCls,Y=k.popupClassName;return n.createElement(v.Consumer,null,function(_){var Q=_.inlineCollapsed,X=_.antdMenuTheme;return n.createElement(u.e,E()({},Object(o.default)(H.props,["icon"]),{title:H.renderTitle(Q),popupClassName:c()(Z,"".concat(Z,"-").concat(X),Y)}))})}}]),P}(n.Component);L.contextType=v,L.isSubMenu=1;var S=L,x=e("Zm9Q"),O=e("3S7+"),T=e("ZX9x"),w=function(M,j){var P={};for(var K in M)Object.prototype.hasOwnProperty.call(M,K)&&j.indexOf(K)<0&&(P[K]=M[K]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(M);H<K.length;H++)j.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(M,K[H])&&(P[K[H]]=M[K[H]]);return P},C=function(M){a()(P,M);var j=l()(P);function P(){var K;return b()(this,P),K=j.apply(this,arguments),K.renderItem=function(H){var k=H.siderCollapsed,Z=K.props,Y=Z.level,_=Z.className,Q=Z.children,X=Z.rootPrefixCls,he=K.props,te=he.title,fe=he.icon,be=he.danger,we=w(he,["title","icon","danger"]);return n.createElement(v.Consumer,null,function(Ke){var qe,xt=Ke.inlineCollapsed,Fe=Ke.direction,Be=te;typeof te=="undefined"?Be=Y===1?Q:"":te===!1&&(Be="");var bt={title:Be};!k&&!xt&&(bt.title=null,bt.visible=!1);var lt=Object(x.a)(Q).length;return n.createElement(O.a,E()({},bt,{placement:Fe==="rtl"?"left":"right",overlayClassName:"".concat(X,"-inline-collapsed-tooltip")}),n.createElement(u.b,E()({},we,{className:c()(_,(qe={},p()(qe,"".concat(X,"-item-danger"),be),p()(qe,"".concat(X,"-item-only-child"),(fe?lt+1:lt)===1),qe)),title:te}),fe,K.renderItemChildren(xt)))})},K}return i()(P,[{key:"renderItemChildren",value:function(H){var k=this.props,Z=k.icon,Y=k.children,_=k.level,Q=k.rootPrefixCls;return!Z||Object(y.b)(Y)&&Y.type==="span"?Y&&H&&_===1&&typeof Y=="string"?n.createElement("div",{className:"".concat(Q,"-inline-collapsed-noicon")},Y.charAt(0)):Y:n.createElement("span",null,Y)}},{key:"render",value:function(){return n.createElement(T.a.Consumer,null,this.renderItem)}}]),P}(n.Component);C.isMenuItem=!0;var N=e("H84U"),D=e("uaoM"),B=e("EXcs"),R=function(M){a()(P,M);var j=l()(P);function P(K){var H;return b()(this,P),H=j.call(this,K),H.renderMenu=function(k){var Z=k.getPopupContainer,Y=k.getPrefixCls,_=k.direction,Q=H.props,X=Q.prefixCls,he=Q.className,te=Q.theme,fe={horizontal:{motionName:"slide-up"},inline:B.a,other:{motionName:"zoom-big"}},be=Y("menu",X),we=c()(he,"".concat(be,"-").concat(te),p()({},"".concat(be,"-inline-collapsed"),H.getInlineCollapsed()));return n.createElement(v.Provider,{value:{inlineCollapsed:H.getInlineCollapsed()||!1,antdMenuTheme:te,direction:_}},n.createElement(u.f,E()({getPopupContainer:Z},H.props,{className:we,prefixCls:be,direction:_,defaultMotions:fe})))},Object(D.a)(!("inlineCollapsed"in K&&K.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(D.a)(!(K.siderCollapsed!==void 0&&"inlineCollapsed"in K),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),H}return i()(P,[{key:"getInlineCollapsed",value:function(){var H=this.props,k=H.inlineCollapsed,Z=H.siderCollapsed;return Z!==void 0?Z:k}},{key:"render",value:function(){return n.createElement(N.a,null,this.renderMenu)}}]),P}(n.Component);R.defaultProps={className:"",theme:"light",focusable:!1};var U=function(M){a()(P,M);var j=l()(P);function P(){return b()(this,P),j.apply(this,arguments)}return i()(P,[{key:"render",value:function(){var H=this;return n.createElement(T.a.Consumer,null,function(k){return n.createElement(R,E()({},H.props,k))})}}]),P}(n.Component);U.Divider=u.a,U.Item=C,U.SubMenu=S,U.ItemGroup=u.c},C0SR:function(J,F,e){var d=e("YH21"),E=function(){this._track=[]};E.prototype={constructor:E,recognize:function(i,r,a){return this._doTrack(i,r,a),this._recognize(i)},clear:function(){return this._track.length=0,this},_doTrack:function(i,r,a){var s=i.touches;if(!s)return;for(var l={points:[],touches:[],target:r,event:i},n=0,u=s.length;n<u;n++){var t=s[n],c=d.clientToLocal(a,t,{});l.points.push([c.zrX,c.zrY]),l.touches.push(t)}this._track.push(l)},_recognize:function(i){for(var r in A)if(A.hasOwnProperty(r)){var a=A[r](this._track,i);if(a)return a}}};function g(h){var i=h[1][0]-h[0][0],r=h[1][1]-h[0][1];return Math.sqrt(i*i+r*r)}function p(h){return[(h[0][0]+h[1][0])/2,(h[0][1]+h[1][1])/2]}var A={pinch:function(i,r){var a=i.length;if(!a)return;var s=(i[a-1]||{}).points,l=(i[a-2]||{}).points||s;if(l&&l.length>1&&s&&s.length>1){var n=g(s)/g(l);!isFinite(n)&&(n=1),r.pinchScale=n;var u=p(s);return r.pinchX=u[0],r.pinchY=u[1],{type:"pinch",target:i[0].target,event:r}}}},b=E;J.exports=b},C0tN:function(J,F,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(J,F,e){var d=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var E=e("q3GZ");d.registerVisual(E)},CF2D:function(J,F,e){var d=e("ProS");e("vZI5"),e("GeKi");var E=e("6r85"),g=e("TJmX"),p=e("CbHG");d.registerPreprocessor(E),d.registerVisual(g),d.registerLayout(p)},CFYs:function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e.n(t),o=e("TSYQ"),f=e.n(o),v=e("BGR+"),y=e("V/uB"),L=e.n(y),S=e("NAnI"),x=e.n(S),O=e("J84W"),T=e.n(O),w=e("kbBi"),C=e.n(w),N=e("H84U"),D=e("CWQg"),B=e("uaoM"),R=e("Zss7"),U=e.n(R),M=2,j=.16,P=.05,K=.05,H=.15,k=5,Z=4,Y=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function _(Ae,Me,$e){var kt;return Math.round(Ae.h)>=60&&Math.round(Ae.h)<=240?kt=$e?Math.round(Ae.h)-M*Me:Math.round(Ae.h)+M*Me:kt=$e?Math.round(Ae.h)+M*Me:Math.round(Ae.h)-M*Me,kt<0?kt+=360:kt>=360&&(kt-=360),kt}function Q(Ae,Me,$e){if(Ae.h===0&&Ae.s===0)return Ae.s;var kt;return $e?kt=Ae.s-j*Me:Me===Z?kt=Ae.s+j:kt=Ae.s+P*Me,kt>1&&(kt=1),$e&&Me===k&&kt>.1&&(kt=.1),kt<.06&&(kt=.06),Number(kt.toFixed(2))}function X(Ae,Me,$e){var kt;return $e?kt=Ae.v+K*Me:kt=Ae.v-H*Me,kt>1&&(kt=1),Number(kt.toFixed(2))}function he(Ae){for(var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$e=[],kt=U()(Ae),$t=k;$t>0;$t-=1){var Lt=kt.toHsv(),Ut=U()({h:_(Lt,$t,!0),s:Q(Lt,$t,!0),v:X(Lt,$t,!0)}).toHexString();$e.push(Ut)}$e.push(kt.toHexString());for(var Wt=1;Wt<=Z;Wt+=1){var Vt=kt.toHsv(),Tt=U()({h:_(Vt,Wt),s:Q(Vt,Wt),v:X(Vt,Wt)}).toHexString();$e.push(Tt)}return Me.theme==="dark"?Y.map(function(ur){var qt=ur.index,ze=ur.opacity,nt=U.a.mix(Me.backgroundColor||"#141414",$e[qt],ze*100).toHexString();return nt}):$e}var te={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},fe={},be={};Object.keys(te).forEach(function(Ae){fe[Ae]=he(te[Ae]),fe[Ae].primary=fe[Ae][5],be[Ae]=he(te[Ae],{theme:"dark",backgroundColor:"#141414"}),be[Ae].primary=be[Ae][5]});var we=fe.red,Ke=fe.volcano,qe=fe.gold,xt=fe.orange,Fe=fe.yellow,Be=fe.lime,bt=fe.green,lt=fe.cyan,tt=fe.blue,St=fe.geekblue,ht=fe.purple,vt=fe.magenta,Ge=fe.grey;function At(Ae){return!Ae||Ae<0?0:Ae>100?100:Ae}function _e(Ae){var Me=Ae.success,$e=Ae.successPercent,kt=$e;return Me&&"progress"in Me&&(Object(B.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),kt=Me.progress),Me&&"percent"in Me&&(kt=Me.percent),kt}var De=function(Ae,Me){var $e={};for(var kt in Ae)Object.prototype.hasOwnProperty.call(Ae,kt)&&Me.indexOf(kt)<0&&($e[kt]=Ae[kt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,kt=Object.getOwnPropertySymbols(Ae);$t<kt.length;$t++)Me.indexOf(kt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Ae,kt[$t])&&($e[kt[$t]]=Ae[kt[$t]]);return $e},Ie=function(Me){var $e=[];return Object.keys(Me).forEach(function(kt){var $t=parseFloat(kt.replace(/%/g,""));isNaN($t)||$e.push({key:$t,value:Me[kt]})}),$e=$e.sort(function(kt,$t){return kt.key-$t.key}),$e.map(function(kt){var $t=kt.key,Lt=kt.value;return"".concat(Lt," ").concat($t,"%")}).join(", ")},st=function(Me){var $e=Me.from,kt=$e===void 0?te.blue:$e,$t=Me.to,Lt=$t===void 0?te.blue:$t,Ut=Me.direction,Wt=Ut===void 0?"to right":Ut,Vt=De(Me,["from","to","direction"]);if(Object.keys(Vt).length!==0){var Tt=Ie(Vt);return{backgroundImage:"linear-gradient(".concat(Wt,", ").concat(Tt,")")}}return{backgroundImage:"linear-gradient(".concat(Wt,", ").concat(kt,", ").concat(Lt,")")}},Et=function(Me){var $e=Me.prefixCls,kt=Me.percent,$t=Me.strokeWidth,Lt=Me.size,Ut=Me.strokeColor,Wt=Me.strokeLinecap,Vt=Me.children,Tt=Me.trailColor,ur=Me.success,qt=Ut&&typeof Ut!="string"?st(Ut):{background:Ut},ze=Tt?{backgroundColor:Tt}:void 0,nt=p()({width:"".concat(At(kt),"%"),height:$t||(Lt==="small"?6:8),borderRadius:Wt==="square"?0:""},qt),Ye=_e(Me),Xe={width:"".concat(At(Ye),"%"),height:$t||(Lt==="small"?6:8),borderRadius:Wt==="square"?0:"",backgroundColor:ur==null?void 0:ur.strokeColor},yt=Ye!==void 0?t.createElement("div",{className:"".concat($e,"-success-bg"),style:Xe}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat($e,"-outer")},t.createElement("div",{className:"".concat($e,"-inner"),style:ze},t.createElement("div",{className:"".concat($e,"-bg"),style:nt}),yt)),Vt)},Mt=Et,Pt={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ke=function(Me){var $e=Me.map(function(){return Object(t.useRef)()}),kt=Object(t.useRef)();return Object(t.useEffect)(function(){var $t=Date.now(),Lt=!1;Object.keys($e).forEach(function(Ut){var Wt=$e[Ut].current;if(!Wt)return;Lt=!0;var Vt=Wt.style;Vt.transitionDuration=".3s, .3s, .3s, .06s",kt.current&&$t-kt.current<100&&(Vt.transitionDuration="0s, 0s")}),Lt&&(kt.current=Date.now())}),[$e]};function zt(){return zt=Object.assign||function(Ae){for(var Me=1;Me<arguments.length;Me++){var $e=arguments[Me];for(var kt in $e)Object.prototype.hasOwnProperty.call($e,kt)&&(Ae[kt]=$e[kt])}return Ae},zt.apply(this,arguments)}function Ot(Ae,Me){return dt(Ae)||et(Ae,Me)||Ve(Ae,Me)||_t()}function _t(){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 Ve(Ae,Me){if(!Ae)return;if(typeof Ae=="string")return Qe(Ae,Me);var $e=Object.prototype.toString.call(Ae).slice(8,-1);if($e==="Object"&&Ae.constructor&&($e=Ae.constructor.name),$e==="Map"||$e==="Set")return Array.from(Ae);if($e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($e))return Qe(Ae,Me)}function Qe(Ae,Me){(Me==null||Me>Ae.length)&&(Me=Ae.length);for(var $e=0,kt=new Array(Me);$e<Me;$e++)kt[$e]=Ae[$e];return kt}function et(Ae,Me){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ae)))return;var $e=[],kt=!0,$t=!1,Lt=void 0;try{for(var Ut=Ae[Symbol.iterator](),Wt;!(kt=(Wt=Ut.next()).done)&&!($e.push(Wt.value),Me&&$e.length===Me);kt=!0);}catch(Vt){$t=!0,Lt=Vt}finally{try{!kt&&Ut.return!=null&&Ut.return()}finally{if($t)throw Lt}}return $e}function dt(Ae){if(Array.isArray(Ae))return Ae}function Ze(Ae,Me){if(Ae==null)return{};var $e=oe(Ae,Me),kt,$t;if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Ae);for($t=0;$t<Lt.length;$t++){if(kt=Lt[$t],Me.indexOf(kt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ae,kt))continue;$e[kt]=Ae[kt]}}return $e}function oe(Ae,Me){if(Ae==null)return{};var $e={},kt=Object.keys(Ae),$t,Lt;for(Lt=0;Lt<kt.length;Lt++){if($t=kt[Lt],Me.indexOf($t)>=0)continue;$e[$t]=Ae[$t]}return $e}var me=function(Me){var $e=Me.className,kt=Me.percent,$t=Me.prefixCls,Lt=Me.strokeColor,Ut=Me.strokeLinecap,Wt=Me.strokeWidth,Vt=Me.style,Tt=Me.trailColor,ur=Me.trailWidth,qt=Me.transition,ze=Ze(Me,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ze.gapPosition;var nt=Array.isArray(kt)?kt:[kt],Ye=Array.isArray(Lt)?Lt:[Lt],Xe=ke(nt),yt=Ot(Xe,1),mt=yt[0],We=Wt/2,rt=100-Wt/2,ft="M ".concat(Ut==="round"?We:0,",").concat(We,`
|
|
|
L `).concat(Ut==="round"?rt:100,",").concat(We),Yt="0 0 100 ".concat(Wt),Ft=0;return c.a.createElement("svg",zt({className:f()("".concat($t,"-line"),$e),viewBox:Yt,preserveAspectRatio:"none",style:Vt},ze),c.a.createElement("path",{className:"".concat($t,"-line-trail"),d:ft,strokeLinecap:Ut,stroke:Tt,strokeWidth:ur||Wt,fillOpacity:"0"}),nt.map(function(fr,mr){var Er={strokeDasharray:"".concat(fr,"px, 100px"),strokeDashoffset:"-".concat(Ft,"px"),transition:qt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Lr=Ye[mr]||Ye[Ye.length-1];return Ft+=fr,c.a.createElement("path",{key:mr,className:"".concat($t,"-line-path"),d:ft,strokeLinecap:Ut,stroke:Lr,strokeWidth:Wt,fillOpacity:"0",ref:mt[mr],style:Er})}))};me.defaultProps=Pt;var ot=me;function Pe(){return Pe=Object.assign||function(Ae){for(var Me=1;Me<arguments.length;Me++){var $e=arguments[Me];for(var kt in $e)Object.prototype.hasOwnProperty.call($e,kt)&&(Ae[kt]=$e[kt])}return Ae},Pe.apply(this,arguments)}function pt(Ae,Me){return Jt(Ae)||Gt(Ae,Me)||It(Ae,Me)||Rr()}function Rr(){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 It(Ae,Me){if(!Ae)return;if(typeof Ae=="string")return nr(Ae,Me);var $e=Object.prototype.toString.call(Ae).slice(8,-1);if($e==="Object"&&Ae.constructor&&($e=Ae.constructor.name),$e==="Map"||$e==="Set")return Array.from(Ae);if($e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($e))return nr(Ae,Me)}function nr(Ae,Me){(Me==null||Me>Ae.length)&&(Me=Ae.length);for(var $e=0,kt=new Array(Me);$e<Me;$e++)kt[$e]=Ae[$e];return kt}function Gt(Ae,Me){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ae)))return;var $e=[],kt=!0,$t=!1,Lt=void 0;try{for(var Ut=Ae[Symbol.iterator](),Wt;!(kt=(Wt=Ut.next()).done)&&!($e.push(Wt.value),Me&&$e.length===Me);kt=!0);}catch(Vt){$t=!0,Lt=Vt}finally{try{!kt&&Ut.return!=null&&Ut.return()}finally{if($t)throw Lt}}return $e}function Jt(Ae){if(Array.isArray(Ae))return Ae}function hr(Ae,Me){if(Ae==null)return{};var $e=Xt(Ae,Me),kt,$t;if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Ae);for($t=0;$t<Lt.length;$t++){if(kt=Lt[$t],Me.indexOf(kt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ae,kt))continue;$e[kt]=Ae[kt]}}return $e}function Xt(Ae,Me){if(Ae==null)return{};var $e={},kt=Object.keys(Ae),$t,Lt;for(Lt=0;Lt<kt.length;Lt++){if($t=kt[Lt],Me.indexOf($t)>=0)continue;$e[$t]=Ae[$t]}return $e}var de=0;function ue(Ae){return+Ae.replace("%","")}function se(Ae){return Array.isArray(Ae)?Ae:[Ae]}function ae(Ae,Me,$e,kt){var $t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Lt=arguments.length>5?arguments[5]:void 0,Ut=50-kt/2,Wt=0,Vt=-Ut,Tt=0,ur=-2*Ut;switch(Lt){case"left":Wt=-Ut,Vt=0,Tt=2*Ut,ur=0;break;case"right":Wt=Ut,Vt=0,Tt=-2*Ut,ur=0;break;case"bottom":Vt=Ut,ur=2*Ut;break;default:}var qt="M 50,50 m ".concat(Wt,",").concat(Vt,`
|
|
|
a `).concat(Ut,",").concat(Ut," 0 1 1 ").concat(Tt,",").concat(-ur,`
|
|
|
a `).concat(Ut,",").concat(Ut," 0 1 1 ").concat(-Tt,",").concat(ur),ze=Math.PI*2*Ut,nt={stroke:$e,strokeDasharray:"".concat(Me/100*(ze-$t),"px ").concat(ze,"px"),strokeDashoffset:"-".concat($t/2+Ae/100*(ze-$t),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:qt,pathStyle:nt}}var ye=function(Me){var $e=Me.prefixCls,kt=Me.strokeWidth,$t=Me.trailWidth,Lt=Me.gapDegree,Ut=Me.gapPosition,Wt=Me.trailColor,Vt=Me.strokeLinecap,Tt=Me.style,ur=Me.className,qt=Me.strokeColor,ze=Me.percent,nt=hr(Me,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Ye=Object(t.useMemo)(function(){return de+=1,de},[]),Xe=ae(0,100,Wt,kt,Lt,Ut),yt=Xe.pathString,mt=Xe.pathStyle,We=se(ze),rt=se(qt),ft=rt.find(function(Er){return Object.prototype.toString.call(Er)==="[object Object]"}),Yt=ke(We),Ft=pt(Yt,1),fr=Ft[0],mr=function(){var Lr=0;return We.map(function(en,Qr){var Cr=rt[Qr]||rt[rt.length-1],Gr=Object.prototype.toString.call(Cr)==="[object Object]"?"url(#".concat($e,"-gradient-").concat(Ye,")"):"",Nr=ae(Lr,en,Cr,kt,Lt,Ut);return Lr+=en,c.a.createElement("path",{key:Qr,className:"".concat($e,"-circle-path"),d:Nr.pathString,stroke:Gr,strokeLinecap:Vt,strokeWidth:kt,opacity:en===0?0:1,fillOpacity:"0",style:Nr.pathStyle,ref:fr[Qr]})})};return c.a.createElement("svg",Pe({className:f()("".concat($e,"-circle"),ur),viewBox:"0 0 100 100",style:Tt},nt),ft&&c.a.createElement("defs",null,c.a.createElement("linearGradient",{id:"".concat($e,"-gradient-").concat(Ye),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(ft).sort(function(Er,Lr){return ue(Er)-ue(Lr)}).map(function(Er,Lr){return c.a.createElement("stop",{key:Lr,offset:Er,stopColor:ft[Er]})}))),c.a.createElement("path",{className:"".concat($e,"-circle-trail"),d:yt,stroke:Wt,strokeLinecap:Vt,strokeWidth:$t||kt,fillOpacity:"0",style:mt}),mr().reverse())};ye.defaultProps=Pt;var Ce=ye,Oe={Line:ot,Circle:Ce};function Te(Ae){var Me=Ae.percent,$e=Ae.success,kt=Ae.successPercent,$t=At(Me),Lt=_e({success:$e,successPercent:kt});return Lt?[At(Lt),At($t-At(Lt))]:$t}function xe(Ae){var Me=Ae.success,$e=Ae.strokeColor,kt=Ae.successPercent,$t=$e||null,Lt=_e({success:Me,successPercent:kt});return Lt?[te.green,$t]:$t}var je=function(Me){var $e=Me.prefixCls,kt=Me.width,$t=Me.strokeWidth,Lt=Me.trailColor,Ut=Me.strokeLinecap,Wt=Me.gapPosition,Vt=Me.gapDegree,Tt=Me.type,ur=Me.children,qt=kt||120,ze={width:qt,height:qt,fontSize:qt*.15+6},nt=$t||6,Ye=Wt||Tt==="dashboard"&&"bottom"||"top",Xe=function(){return Vt||Vt===0?Vt:Tt==="dashboard"?75:void 0},yt=xe(Me),mt=Object.prototype.toString.call(yt)==="[object Object]",We=f()("".concat($e,"-inner"),E()({},"".concat($e,"-circle-gradient"),mt));return t.createElement("div",{className:We,style:ze},t.createElement(Ce,{percent:Te(Me),strokeWidth:nt,trailWidth:nt,strokeColor:yt,strokeLinecap:Ut,trailColor:Lt,prefixCls:$e,gapDegree:Xe(),gapPosition:Ye}),ur)},ut=je,wt=function(Me){for(var $e=Me.size,kt=Me.steps,$t=Me.percent,Lt=$t===void 0?0:$t,Ut=Me.strokeWidth,Wt=Ut===void 0?8:Ut,Vt=Me.strokeColor,Tt=Me.trailColor,ur=Me.prefixCls,qt=Me.children,ze=Math.floor(kt*(Lt/100)),nt=$e==="small"?2:14,Ye=[],Xe=0;Xe<kt;Xe+=1)Ye.push(t.createElement("div",{key:Xe,className:f()("".concat(ur,"-steps-item"),E()({},"".concat(ur,"-steps-item-active"),Xe<=ze-1)),style:{backgroundColor:Xe<=ze-1?Vt:Tt,width:nt,height:Wt}}));return t.createElement("div",{className:"".concat(ur,"-steps-outer")},Ye,qt)},ee=wt,ie=function(Ae,Me){var $e={};for(var kt in Ae)Object.prototype.hasOwnProperty.call(Ae,kt)&&Me.indexOf(kt)<0&&($e[kt]=Ae[kt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,kt=Object.getOwnPropertySymbols(Ae);$t<kt.length;$t++)Me.indexOf(kt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Ae,kt[$t])&&($e[kt[$t]]=Ae[kt[$t]]);return $e},z=Object(D.a)("line","circle","dashboard"),$=Object(D.a)("normal","exception","active","success"),le=function(Ae){l()($e,Ae);var Me=u()($e);function $e(){var kt;return b()(this,$e),kt=Me.apply(this,arguments),kt.renderProgress=function($t){var Lt,Ut=$t.getPrefixCls,Wt=$t.direction,Vt=a()(kt),Tt=Vt.props,ur=Tt.prefixCls,qt=Tt.className,ze=Tt.size,nt=Tt.type,Ye=Tt.steps,Xe=Tt.showInfo,yt=Tt.strokeColor,mt=ie(Tt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),We=Ut("progress",ur),rt=kt.getProgressStatus(),ft=kt.renderProcessInfo(We,rt);Object(B.a)(!("successPercent"in Tt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var Yt;nt==="line"?Yt=Ye?t.createElement(ee,p()({},kt.props,{strokeColor:typeof yt=="string"?yt:void 0,prefixCls:We,steps:Ye}),ft):t.createElement(Mt,p()({},kt.props,{prefixCls:We}),ft):(nt==="circle"||nt==="dashboard")&&(Yt=t.createElement(ut,p()({},kt.props,{prefixCls:We,progressStatus:rt}),ft));var Ft=f()(We,(Lt={},E()(Lt,"".concat(We,"-").concat(nt==="dashboard"&&"circle"||Ye&&"steps"||nt),!0),E()(Lt,"".concat(We,"-status-").concat(rt),!0),E()(Lt,"".concat(We,"-show-info"),Xe),E()(Lt,"".concat(We,"-").concat(ze),ze),E()(Lt,"".concat(We,"-rtl"),Wt==="rtl"),Lt),qt);return t.createElement("div",p()({},Object(v.default)(mt,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Ft}),Yt)},kt}return i()($e,[{key:"getPercentNumber",value:function(){var $t=this.props.percent,Lt=$t===void 0?0:$t,Ut=_e(this.props);return parseInt(Ut!==void 0?Ut.toString():Lt.toString(),10)}},{key:"getProgressStatus",value:function(){var $t=this.props.status;return $.indexOf($t)<0&&this.getPercentNumber()>=100?"success":$t||"normal"}},{key:"renderProcessInfo",value:function($t,Lt){var Ut=this.props,Wt=Ut.showInfo,Vt=Ut.format,Tt=Ut.type,ur=Ut.percent,qt=_e(this.props);if(!Wt)return null;var ze,nt=Vt||function(Xe){return"".concat(Xe,"%")},Ye=Tt==="line";return Vt||Lt!=="exception"&&Lt!=="success"?ze=nt(At(ur),At(qt)):Lt==="exception"?ze=Ye?t.createElement(C.a,null):t.createElement(L.a,null):Lt==="success"&&(ze=Ye?t.createElement(T.a,null):t.createElement(x.a,null)),t.createElement("span",{className:"".concat($t,"-text"),title:typeof ze=="string"?ze:void 0},ze)}},{key:"render",value:function(){return t.createElement(N.a,null,this.renderProgress)}}]),$e}(t.Component);le.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ge=F.a=le},CH3K:function(J,F){function e(d,E){for(var g=-1,p=E.length,A=d.length;++g<p;)d[A+g]=E[g];return d}J.exports=e},"CMP+":function(J,F,e){var d=e("bYtY"),E=e("hM6l"),g=function(A,b,h,i){E.call(this,A,b,h),this.type=i||"value",this.model=null};g.prototype={constructor:g,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},d.inherits(g,E);var p=g;J.exports=p},CP8R:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},"CWI+":function(J,F,e){},CbHG:function(J,F,e){var d=e("IwbS"),E=d.subPixelOptimize,g=e("zM3Q"),p=e("OELB"),A=p.parsePercent,b=e("bYtY"),h=b.retrieve2,i=typeof Float32Array!="undefined"?Float32Array:Array,r={seriesType:"candlestick",plan:g(),reset:function(l){var n=l.coordinateSystem,u=l.getData(),t=s(l,u),c=0,o=1,f=["x","y"],v=u.mapDimension(f[c]),y=u.mapDimension(f[o],!0),L=y[0],S=y[1],x=y[2],O=y[3];if(u.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),v==null||y.length<4)return;return{progress:l.pipelineContext.large?w:T};function T(C,N){for(var D;(D=C.next())!=null;){var B=N.get(v,D),R=N.get(L,D),U=N.get(S,D),M=N.get(x,D),j=N.get(O,D),P=Math.min(R,U),K=Math.max(R,U),H=Q(P,B),k=Q(K,B),Z=Q(M,B),Y=Q(j,B),_=[];X(_,k,0),X(_,H,1),_.push(te(Y),te(k),te(Z),te(H)),N.setItemLayout(D,{sign:a(N,D,R,U,S),initBaseline:R>U?k[o]:H[o],ends:_,brushRect:he(M,j,B)})}function Q(fe,be){var we=[];return we[c]=be,we[o]=fe,isNaN(be)||isNaN(fe)?[NaN,NaN]:n.dataToPoint(we)}function X(fe,be,we){var Ke=be.slice(),qe=be.slice();Ke[c]=E(Ke[c]+t/2,1,!1),qe[c]=E(qe[c]-t/2,1,!0),we?fe.push(Ke,qe):fe.push(qe,Ke)}function he(fe,be,we){var Ke=Q(fe,we),qe=Q(be,we);return Ke[c]-=t/2,qe[c]-=t/2,{x:Ke[0],y:Ke[1],width:o?t:qe[0]-Ke[0],height:o?qe[1]-Ke[1]:t}}function te(fe){return fe[c]=E(fe[c],1),fe}}function w(C,N){for(var D=new i(C.count*4),B=0,R,U=[],M=[],j;(j=C.next())!=null;){var P=N.get(v,j),K=N.get(L,j),H=N.get(S,j),k=N.get(x,j),Z=N.get(O,j);if(isNaN(P)||isNaN(k)||isNaN(Z)){D[B++]=NaN,B+=3;continue}D[B++]=a(N,j,K,H,S),U[c]=P,U[o]=k,R=n.dataToPoint(U,null,M),D[B++]=R?R[0]:NaN,D[B++]=R?R[1]:NaN,U[o]=Z,R=n.dataToPoint(U,null,M),D[B++]=R?R[1]:NaN}N.setLayout("largePoints",D)}}};function a(l,n,u,t,c){var o;return u>t?o=-1:u<t?o=1:o=n>0?l.get(c,n-1)<=t?1:-1:1,o}function s(l,n){var u=l.getBaseAxis(),t,c=u.type==="category"?u.getBandWidth():(t=u.getExtent(),Math.abs(t[1]-t[0])/n.count()),o=A(h(l.get("barMaxWidth"),c),c),f=A(h(l.get("barMinWidth"),1),c),v=l.get("barWidth");return v!=null?A(v,c):Math.max(Math.min(c/2,o),f)}J.exports=r},CiB2:function(J,F,e){"use strict";e.d(F,"a",function(){return d});function d(E){if(E==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(J,F,e){e("5NHt"),e("f3JH")},CrYA:function(J,F,e){var d=e("MFOe"),E=d.Global;J.exports={name:"sessionStorage",read:p,write:A,each:b,remove:h,clearAll:i};function g(){return E.sessionStorage}function p(r){return g().getItem(r)}function A(r,a){return g().setItem(r,a)}function b(r){for(var a=g().length-1;a>=0;a--){var s=g().key(a);r(p(s),s)}}function h(r){return g().removeItem(r)}function i(){return g().clear()}},Csr3:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("4vCz"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},Cwc5:function(J,F,e){var d=e("NKxu"),E=e("Npjl");function g(p,A){var b=E(p,A);return d(b)?b:void 0}J.exports=g},D1WM:function(J,F,e){var d=e("bYtY"),E=e("hM6l"),g=function(A,b,h,i,r){E.call(this,A,b,h),this.type=i||"value",this.axisIndex=r};g.prototype={constructor:g,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},d.inherits(g,E);var p=g;J.exports=p},D5nY:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("4NO4"),p=g.makeInner,A=g.getDataItemValue,b=e("bYtY"),h=b.createHashMap,i=b.each,r=b.map,a=b.isArray,s=b.isString,l=b.isObject,n=b.isTypedArray,u=b.isArrayLike,t=b.extend,c=b.assert,o=e("7G+c"),f=e("k9D9"),v=f.SOURCE_FORMAT_ORIGINAL,y=f.SOURCE_FORMAT_ARRAY_ROWS,L=f.SOURCE_FORMAT_OBJECT_ROWS,S=f.SOURCE_FORMAT_KEYED_COLUMNS,x=f.SOURCE_FORMAT_UNKNOWN,O=f.SOURCE_FORMAT_TYPED_ARRAY,T=f.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},C=p();function N(_){var Q=_.option.source,X=x;if(n(Q))X=O;else if(a(Q)){Q.length===0&&(X=y);for(var he=0,te=Q.length;he<te;he++){var fe=Q[he];if(fe==null)continue;if(a(fe)){X=y;break}else if(l(fe)){X=L;break}}}else if(l(Q)){for(var be in Q)if(Q.hasOwnProperty(be)&&u(Q[be])){X=S;break}}else if(Q!=null)throw new Error("Invalid data");C(_).sourceFormat=X}function D(_){return C(_).source}function B(_){C(_).datasetMap=h()}function R(_){var Q=_.option,X=Q.data,he=n(X)?O:v,te=!1,fe=Q.seriesLayoutBy,be=Q.sourceHeader,we=Q.dimensions,Ke=k(_);if(Ke){var qe=Ke.option;X=qe.source,he=C(Ke).sourceFormat,te=!0,fe=fe||qe.seriesLayoutBy,be==null&&(be=qe.sourceHeader),we=we||qe.dimensions}var xt=U(X,he,fe,be,we);C(_).source=new o({data:X,fromDataset:te,seriesLayoutBy:fe,sourceFormat:he,dimensionsDefine:xt.dimensionsDefine,startIndex:xt.startIndex,dimensionsDetectCount:xt.dimensionsDetectCount,encodeDefine:Q.encode})}function U(_,Q,X,he,te){if(!_)return{dimensionsDefine:M(te)};var fe,be;if(Q===y)he==="auto"||he==null?j(function(Ke){Ke!=null&&Ke!=="-"&&(s(Ke)?be==null&&(be=1):be=0)},X,_,10):be=he?1:0,!te&&be===1&&(te=[],j(function(Ke,qe){te[qe]=Ke!=null?Ke:""},X,_)),fe=te?te.length:X===T?_.length:_[0]?_[0].length:null;else if(Q===L)te||(te=P(_));else if(Q===S)te||(te=[],i(_,function(Ke,qe){te.push(qe)}));else if(Q===v){var we=A(_[0]);fe=a(we)&&we.length||1}else Q===O;return{startIndex:be,dimensionsDefine:M(te),dimensionsDetectCount:fe}}function M(_){if(!_)return;var Q=h();return r(_,function(X,he){if(X=t({},l(X)?X:{name:X}),X.name==null)return X;X.name+="",X.displayName==null&&(X.displayName=X.name);var te=Q.get(X.name);return te?X.name+="-"+te.count++:Q.set(X.name,{count:1}),X})}function j(_,Q,X,he){if(he==null&&(he=Infinity),Q===T)for(var te=0;te<X.length&&te<he;te++)_(X[te]?X[te][0]:null,te);else for(var fe=X[0]||[],te=0;te<fe.length&&te<he;te++)_(fe[te],te)}function P(_){for(var Q=0,X;Q<_.length&&!(X=_[Q++]););if(X){var he=[];return i(X,function(te,fe){he.push(fe)}),he}}function K(_,Q,X){var he={},te=k(Q);if(!te||!_)return he;var fe=[],be=[],we=Q.ecModel,Ke=C(we).datasetMap,qe=te.uid+"_"+X.seriesLayoutBy,xt,Fe;_=_.slice(),i(_,function(tt,St){!l(tt)&&(_[St]={name:tt}),tt.type==="ordinal"&&xt==null&&(xt=St,Fe=lt(_[St])),he[tt.name]=[]});var Be=Ke.get(qe)||Ke.set(qe,{categoryWayDim:Fe,valueWayDim:0});i(_,function(tt,St){var ht=tt.name,vt=lt(tt);if(xt==null){var Ge=Be.valueWayDim;bt(he[ht],Ge,vt),bt(be,Ge,vt),Be.valueWayDim+=vt}else if(xt===St)bt(he[ht],0,vt),bt(fe,0,vt);else{var Ge=Be.categoryWayDim;bt(he[ht],Ge,vt),bt(be,Ge,vt),Be.categoryWayDim+=vt}});function bt(tt,St,ht){for(var vt=0;vt<ht;vt++)tt.push(St+vt)}function lt(tt){var St=tt.dimsDef;return St?St.length:1}return fe.length&&(he.itemName=fe),be.length&&(he.seriesName=be),he}function H(_,Q,X){var he={},te=k(_);if(!te)return he;var fe=Q.sourceFormat,be=Q.dimensionsDefine,we;(fe===L||fe===S)&&i(be,function(xt,Fe){(l(xt)?xt.name:xt)==="name"&&(we=Fe)});var Ke=function(){for(var xt={},Fe={},Be=[],bt=0,lt=Math.min(5,X);bt<lt;bt++){var tt=Y(Q.data,fe,Q.seriesLayoutBy,be,Q.startIndex,bt);Be.push(tt);var St=tt===w.Not;if(St&&xt.v==null&&bt!==we&&(xt.v=bt),(xt.n==null||xt.n===xt.v||!St&&Be[xt.n]===w.Not)&&(xt.n=bt),ht(xt)&&Be[xt.n]!==w.Not)return xt;St||(tt===w.Might&&Fe.v==null&&bt!==we&&(Fe.v=bt),(Fe.n==null||Fe.n===Fe.v)&&(Fe.n=bt))}function ht(vt){return vt.v!=null&&vt.n!=null}return ht(xt)?xt:ht(Fe)?Fe:null}();if(Ke){he.value=Ke.v;var qe=we!=null?we:Ke.n;he.itemName=[qe],he.seriesName=[qe]}return he}function k(_){var Q=_.option,X=Q.data;if(!X)return _.ecModel.getComponent("dataset",Q.datasetIndex||0)}function Z(_,Q){return Y(_.data,_.sourceFormat,_.seriesLayoutBy,_.dimensionsDefine,_.startIndex,Q)}function Y(_,Q,X,he,te,fe){var be,we=5;if(n(_))return w.Not;var Ke,qe;if(he){var xt=he[fe];l(xt)?(Ke=xt.name,qe=xt.type):s(xt)&&(Ke=xt)}if(qe!=null)return qe==="ordinal"?w.Must:w.Not;if(Q===y)if(X===T){for(var Fe=_[fe],Be=0;Be<(Fe||[]).length&&Be<we;Be++)if((be=St(Fe[te+Be]))!=null)return be}else for(var Be=0;Be<_.length&&Be<we;Be++){var bt=_[te+Be];if(bt&&(be=St(bt[fe]))!=null)return be}else if(Q===L){if(!Ke)return w.Not;for(var Be=0;Be<_.length&&Be<we;Be++){var lt=_[Be];if(lt&&(be=St(lt[Ke]))!=null)return be}}else if(Q===S){if(!Ke)return w.Not;var Fe=_[Ke];if(!Fe||n(Fe))return w.Not;for(var Be=0;Be<Fe.length&&Be<we;Be++)if((be=St(Fe[Be]))!=null)return be}else if(Q===v)for(var Be=0;Be<_.length&&Be<we;Be++){var lt=_[Be],tt=A(lt);if(!a(tt))return w.Not;if((be=St(tt[fe]))!=null)return be}function St(ht){var vt=s(ht);if(ht!=null&&isFinite(ht)&&ht!=="")return vt?w.Might:w.Not;if(vt&&ht!=="-")return w.Must}return w.Not}F.BE_ORDINAL=w,F.detectSourceFormat=N,F.getSource=D,F.resetSourceDefaulter=B,F.prepareSource=R,F.makeSeriesEncodeForAxisCoordSys=K,F.makeSeriesEncodeForNameBased=H,F.guessOrdinal=Z},D9ME:function(J,F,e){var d=e("IwbS"),E=e("fls0"),g=e("bYtY"),p=e("oVpE"),A=p.createSymbol,b=e("QBsz"),h=e("Sj9i");function i(s,l,n){d.Group.call(this),this.add(this.createLine(s,l,n)),this._updateEffectSymbol(s,l)}var r=i.prototype;r.createLine=function(s,l,n){return new E(s,l,n)},r._updateEffectSymbol=function(s,l){var n=s.getItemModel(l),u=n.getModel("effect"),t=u.get("symbolSize"),c=u.get("symbol");g.isArray(t)||(t=[t,t]);var o=u.get("color")||s.getItemVisual(l,"color"),f=this.childAt(1);if(this._symbolType!==c&&(this.remove(f),f=A(c,-.5,-.5,1,1,o),f.z2=100,f.culling=!0,this.add(f)),!f)return;f.setStyle("shadowColor",o),f.setStyle(u.getItemStyle(["color"])),f.attr("scale",t),f.setColor(o),f.attr("scale",t),this._symbolType=c,this._symbolScale=t,this._updateEffectAnimation(s,u,l)},r._updateEffectAnimation=function(s,l,n){var u=this.childAt(1);if(!u)return;var t=this,c=s.getItemLayout(n),o=l.get("period")*1e3,f=l.get("loop"),v=l.get("constantSpeed"),y=g.retrieve(l.get("delay"),function(O){return O/s.count()*o/3}),L=typeof y=="function";if(u.ignore=!0,this.updateAnimationPoints(u,c),v>0&&(o=this.getLineLength(u)/v*1e3),o!==this._period||f!==this._loop){u.stopAnimation();var S=y;L&&(S=y(n)),u.__t>0&&(S=-o*u.__t),u.__t=0;var x=u.animate("",f).when(o,{__t:1}).delay(S).during(function(){t.updateSymbolPosition(u)});f||x.done(function(){t.remove(u)}),x.start()}this._period=o,this._loop=f},r.getLineLength=function(s){return b.dist(s.__p1,s.__cp1)+b.dist(s.__cp1,s.__p2)},r.updateAnimationPoints=function(s,l){s.__p1=l[0],s.__p2=l[1],s.__cp1=l[2]||[(l[0][0]+l[1][0])/2,(l[0][1]+l[1][1])/2]},r.updateData=function(s,l,n){this.childAt(0).updateData(s,l,n),this._updateEffectSymbol(s,l)},r.updateSymbolPosition=function(s){var l=s.__p1,n=s.__p2,u=s.__cp1,t=s.__t,c=s.position,o=[c[0],c[1]],f=h.quadraticAt,v=h.quadraticDerivativeAt;c[0]=f(l[0],u[0],n[0],t),c[1]=f(l[1],u[1],n[1],t);var y=v(l[0],u[0],n[0],t),L=v(l[1],u[1],n[1],t);if(s.rotation=-Math.atan2(L,y)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(s.__lastT!==void 0&&s.__lastT<s.__t){var S=b.dist(o,c)*1.05;s.attr("scale",[s.scale[0],S]),t===1&&(c[0]=o[0]+(c[0]-o[0])/2,c[1]=o[1]+(c[1]-o[1])/2)}else if(s.__lastT===1){var S=2*b.dist(l,c);s.attr("scale",[s.scale[0],S])}else s.attr("scale",this._symbolScale);s.__lastT=s.__t,s.ignore=!1},r.updateLayout=function(s,l){this.childAt(0).updateLayout(s,l);var n=s.getItemModel(l).getModel("effect");this._updateEffectAnimation(s,n,l)},g.inherits(i,d.Group);var a=i;J.exports=a},DBLp:function(J,F){function e(){}e.prototype={diff:function(b,h,i){i||(i=function(L,S){return L===S}),this.equals=i;var r=this;b=b.slice(),h=h.slice();var a=h.length,s=b.length,l=1,n=a+s,u=[{newPos:-1,components:[]}],t=this.extractCommon(u[0],h,b,0);if(u[0].newPos+1>=a&&t+1>=s){for(var c=[],o=0;o<h.length;o++)c.push(o);return[{indices:c,count:h.length}]}function f(){for(var y=-1*l;y<=l;y+=2){var L,S=u[y-1],x=u[y+1],O=(x?x.newPos:0)-y;S&&(u[y-1]=void 0);var T=S&&S.newPos+1<a,w=x&&0<=O&&O<s;if(!T&&!w){u[y]=void 0;continue}if(!T||w&&S.newPos<x.newPos?(L=E(x),r.pushComponent(L.components,void 0,!0)):(L=S,L.newPos++,r.pushComponent(L.components,!0,void 0)),O=r.extractCommon(L,h,b,y),L.newPos+1>=a&&O+1>=s)return d(r,L.components,h,b);u[y]=L}l++}for(;l<=n;){var v=f();if(v)return v}},pushComponent:function(b,h,i){var r=b[b.length-1];r&&r.added===h&&r.removed===i?b[b.length-1]={count:r.count+1,added:h,removed:i}:b.push({count:1,added:h,removed:i})},extractCommon:function(b,h,i,r){for(var a=h.length,s=i.length,l=b.newPos,n=l-r,u=0;l+1<a&&n+1<s&&this.equals(h[l+1],i[n+1]);)l++,n++,u++;return u&&b.components.push({count:u}),b.newPos=l,n},tokenize:function(b){return b.slice()},join:function(b){return b.slice()}};function d(A,b,h,i){for(var r=0,a=b.length,s=0,l=0;r<a;r++){var n=b[r];if(n.removed){for(var u=[],t=l;t<l+n.count;t++)u.push(t);n.indices=u,l+=n.count}else{for(var u=[],t=s;t<s+n.count;t++)u.push(t);n.indices=u,s+=n.count,n.added||(l+=n.count)}}return b}function E(A){return{newPos:A.newPos,components:A.components.slice(0)}}var g=new e;function p(A,b,h){return g.diff(A,b,h)}J.exports=p},DEFe:function(J,F,e){var d=e("bYtY"),E=e("SgGq"),g=e("Ae+d"),p=e("xSat"),A=p.onIrrelevantElement,b=e("IwbS"),h=e("W4dC"),i=e("iRjW"),r=i.getUID,a=e("DN4a");function s(c){var o=c.getItemStyle(),f=c.get("areaColor");return f!=null&&(o.fill=f),o}function l(c,o,f,v,y){f.off("click"),f.off("mousedown"),o.get("selectedMode")&&(f.on("mousedown",function(){c._mouseDownFlag=!0}),f.on("click",function(L){if(!c._mouseDownFlag)return;c._mouseDownFlag=!1;for(var S=L.target;!S.__regions;)S=S.parent;if(!S)return;var x={type:(o.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:d.map(S.__regions,function(O){return{name:O.name,from:y.uid}})};x[o.mainType+"Id"]=o.id,v.dispatchAction(x),n(o,f)}))}function n(c,o){o.eachChild(function(f){d.each(f.__regions,function(v){f.trigger(c.isSelected(v.name)?"emphasis":"normal")})})}function u(c,o){var f=new b.Group;this.uid=r("ec_map_draw"),this._controller=new E(c.getZr()),this._controllerHost={target:o?f:null},this.group=f,this._updateGroup=o,this._mouseDownFlag,this._mapName,this._initialized,f.add(this._regionsGroup=new b.Group),f.add(this._backgroundGroup=new b.Group)}u.prototype={constructor:u,draw:function(c,o,f,v,y){var L=c.mainType==="geo",S=c.getData&&c.getData();L&&o.eachComponent({mainType:"series",subType:"map"},function(k){!S&&k.getHostGeoModel()===c&&(S=k.getData())});var x=c.coordinateSystem;this._updateBackground(x);var O=this._regionsGroup,T=this.group,w=x.getTransformInfo(),C=!O.childAt(0)||y,N;if(C)T.transform=w.roamTransform,T.decomposeTransform(),T.dirty();else{var D=new a;D.transform=w.roamTransform,D.decomposeTransform();var B={scale:D.scale,position:D.position};N=D.scale,b.updateProps(T,B,c)}var R=w.rawScale,U=w.rawPosition;O.removeAll();var M=["itemStyle"],j=["emphasis","itemStyle"],P=["label"],K=["emphasis","label"],H=d.createHashMap();d.each(x.regions,function(k){var Z=H.get(k.name)||H.set(k.name,new b.Group),Y=new b.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});Z.add(Y);var _=c.getRegionModel(k.name)||c,Q=_.getModel(M),X=_.getModel(j),he=s(Q),te=s(X),fe=_.getModel(P),be=_.getModel(K),we;if(S){we=S.indexOfName(k.name);var Ke=S.getItemVisual(we,"color",!0);Ke&&(he.fill=Ke)}var qe=function(Ge){return[Ge[0]*R[0]+U[0],Ge[1]*R[1]+U[1]]};d.each(k.geometries,function(Ge){if(Ge.type!=="polygon")return;for(var At=[],_e=0;_e<Ge.exterior.length;++_e)At.push(qe(Ge.exterior[_e]));Y.shape.paths.push(new b.Polygon({segmentIgnoreThreshold:1,shape:{points:At}}));for(var _e=0;_e<(Ge.interiors?Ge.interiors.length:0);++_e){for(var De=Ge.interiors[_e],At=[],Ie=0;Ie<De.length;++Ie)At.push(qe(De[Ie]));Y.shape.paths.push(new b.Polygon({segmentIgnoreThreshold:1,shape:{points:At}}))}}),Y.setStyle(he),Y.style.strokeNoScale=!0,Y.culling=!0;var xt=fe.get("show"),Fe=be.get("show"),Be=S&&isNaN(S.get(S.mapDimension("value"),we)),bt=S&&S.getItemLayout(we);if(L||Be&&(xt||Fe)||bt&&bt.showLabel){var lt=L?k.name:we,tt;(!S||we>=0)&&(tt=c);var St=new b.Text({position:qe(k.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(b.setLabelStyle(St.style,St.hoverStyle={},fe,be,{labelFetcher:tt,labelDataIndex:lt,defaultText:k.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var ht=[1/N[0],1/N[1]];b.updateProps(St,{scale:ht},c)}Z.add(St)}if(S)S.setItemGraphicEl(we,Z);else{var _=c.getRegionModel(k.name);Y.eventData={componentType:"geo",componentIndex:c.componentIndex,geoIndex:c.componentIndex,name:k.name,region:_&&_.option||{}}}var vt=Z.__regions||(Z.__regions=[]);vt.push(k),Z.highDownSilentOnTouch=!!c.get("selectedMode"),b.setHoverStyle(Z,te),O.add(Z)}),this._updateController(c,o,f),l(this,c,O,f,v),n(c,O)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&h.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(c){var o=c.map;this._mapName!==o&&d.each(h.makeGraphic(o,this.uid),function(f){this._backgroundGroup.add(f)},this),this._mapName=o},_updateController:function(c,o,f){var v=c.coordinateSystem,y=this._controller,L=this._controllerHost;L.zoomLimit=c.get("scaleLimit"),L.zoom=v.getZoom(),y.enable(c.get("roam")||!1);var S=c.mainType;function x(){var O={type:"geoRoam",componentType:S};return O[S+"Id"]=c.id,O}y.off("pan").on("pan",function(O){this._mouseDownFlag=!1,g.updateViewOnPan(L,O.dx,O.dy),f.dispatchAction(d.extend(x(),{dx:O.dx,dy:O.dy}))},this),y.off("zoom").on("zoom",function(O){if(this._mouseDownFlag=!1,g.updateViewOnZoom(L,O.scale,O.originX,O.originY),f.dispatchAction(d.extend(x(),{zoom:O.scale,originX:O.originX,originY:O.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(w){w.type==="text"&&w.attr("scale",[1/T[0],1/T[1]])})}},this),y.setPointerChecker(function(O,T,w){return v.getViewRectAfterRoam().contain(T,w)&&!A(O,f,c)})}};var t=u;J.exports=t},DFOY:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e("uciX"),o=e("2W6z"),f=e.n(o),v=e("4IlW"),y=e("uK0f"),L=e.n(y);function S(se,ae){if(se===ae)return!0;if(!se||!ae)return!1;var ye=se.length;if(ae.length!==ye)return!1;for(var Ce=0;Ce<ye;Ce++)if(se[Ce]!==ae[Ce])return!1;return!0}function x(se){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(ye){return typeof ye}:x=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},x(se)}function O(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function T(se,ae){for(var ye=0;ye<ae.length;ye++){var Ce=ae[ye];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(se,Ce.key,Ce)}}function w(se,ae,ye){return ae&&T(se.prototype,ae),ye&&T(se,ye),se}function C(se,ae){if(typeof ae!="function"&&ae!==null)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(ae&&ae.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),ae&&N(se,ae)}function N(se,ae){return N=Object.setPrototypeOf||function(Ce,Oe){return Ce.__proto__=Oe,Ce},N(se,ae)}function D(se){var ae=U();return function(){var ye=M(se),Ce;if(ae){var Oe=M(this).constructor;Ce=Reflect.construct(ye,arguments,Oe)}else Ce=ye.apply(this,arguments);return B(this,Ce)}}function B(se,ae){return ae&&(x(ae)==="object"||typeof ae=="function")?ae:R(se)}function R(se){if(se===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function U(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(se){return!1}}function M(se){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(ye){return ye.__proto__||Object.getPrototypeOf(ye)},M(se)}var j=function(){var se=function(ae){C(Ce,ae);var ye=D(Ce);function Ce(){var Oe;return O(this,Ce),Oe=ye.apply(this,arguments),Oe.menuItems={},Oe.saveMenuItem=function(Te){return function(xe){Oe.menuItems[Te]=xe}},Oe}return w(Ce,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(Te){!Te.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(Te){var xe=this.props,je=xe.fieldNames,ut=xe.defaultFieldNames;return je[Te]||ut[Te]}},{key:"getOption",value:function(Te,xe){var je=this.props,ut=je.prefixCls,wt=je.expandTrigger,ee=je.expandIcon,ie=je.loadingIcon,z=this.props.onSelect.bind(this,Te,xe),$=this.props.onItemDoubleClick.bind(this,Te,xe),le={onClick:z,onDoubleClick:$},ge="".concat(ut,"-menu-item"),Ae=null,Me=Te[this.getFieldName("children")]&&Te[this.getFieldName("children")].length>0;(Me||Te.isLeaf===!1)&&(ge+=" ".concat(ut,"-menu-item-expand"),Te.loading||(Ae=t.createElement("span",{className:"".concat(ut,"-menu-item-expand-icon")},ee))),wt==="hover"&&(Me||Te.isLeaf===!1)&&(le={onMouseEnter:this.delayOnSelect.bind(this,z),onMouseLeave:this.delayOnSelect.bind(this),onClick:z}),this.isActiveOption(Te,xe)&&(ge+=" ".concat(ut,"-menu-item-active"),le.ref=this.saveMenuItem(xe)),Te.disabled&&(ge+=" ".concat(ut,"-menu-item-disabled"));var $e=null;Te.loading&&(ge+=" ".concat(ut,"-menu-item-loading"),$e=ie||null);var kt="";return"title"in Te?kt=Te.title:typeof Te[this.getFieldName("label")]=="string"&&(kt=Te[this.getFieldName("label")]),t.createElement("li",Object.assign({key:Te[this.getFieldName("value")],className:ge,title:kt},le,{role:"menuitem",onMouseDown:function(Lt){return Lt.preventDefault()}}),Te[this.getFieldName("label")],Ae,$e)}},{key:"getActiveOptions",value:function(Te){var xe=this,je=this.props.options,ut=Te||this.props.activeValue;return L()(je,function(wt,ee){return wt[xe.getFieldName("value")]===ut[ee]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Te=this,xe=this.props.options,je=this.getActiveOptions().map(function(ut){return ut[Te.getFieldName("children")]}).filter(function(ut){return!!ut});return je.unshift(xe),je}},{key:"delayOnSelect",value:function(Te){for(var xe=this,je=arguments.length,ut=new Array(je>1?je-1:0),wt=1;wt<je;wt++)ut[wt-1]=arguments[wt];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof Te=="function"&&(this.delayTimer=window.setTimeout(function(){Te(ut),xe.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var Te=this.getShowOptions().length,xe=0;xe<Te;xe++){var je=this.menuItems[xe];je&&je.parentElement&&(je.parentElement.scrollTop=je.offsetTop)}}},{key:"isActiveOption",value:function(Te,xe){var je=this.props.activeValue,ut=je===void 0?[]:je;return ut[xe]===Te[this.getFieldName("value")]}},{key:"render",value:function(){var Te=this,xe=this.props,je=xe.prefixCls,ut=xe.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(wt,ee){return t.createElement("ul",{className:"".concat(je,"-menu"),key:ee,style:ut},wt.map(function(ie){return Te.getOption(ie,ee)}))}))}}]),Ce}(t.Component);return se.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},se}(),P=j,K={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}}},H=K;function k(se){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(ye){return typeof ye}:k=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},k(se)}function Z(se,ae){if(se==null)return{};var ye=Y(se,ae),Ce,Oe;if(Object.getOwnPropertySymbols){var Te=Object.getOwnPropertySymbols(se);for(Oe=0;Oe<Te.length;Oe++){if(Ce=Te[Oe],ae.indexOf(Ce)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(se,Ce))continue;ye[Ce]=se[Ce]}}return ye}function Y(se,ae){if(se==null)return{};var ye={},Ce=Object.keys(se),Oe,Te;for(Te=0;Te<Ce.length;Te++){if(Oe=Ce[Te],ae.indexOf(Oe)>=0)continue;ye[Oe]=se[Oe]}return ye}function _(se){return te(se)||he(se)||X(se)||Q()}function Q(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X(se,ae){if(!se)return;if(typeof se=="string")return fe(se,ae);var ye=Object.prototype.toString.call(se).slice(8,-1);if(ye==="Object"&&se.constructor&&(ye=se.constructor.name),ye==="Map"||ye==="Set")return Array.from(se);if(ye==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ye))return fe(se,ae)}function he(se){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(se))return Array.from(se)}function te(se){if(Array.isArray(se))return fe(se)}function fe(se,ae){(ae==null||ae>se.length)&&(ae=se.length);for(var ye=0,Ce=new Array(ae);ye<ae;ye++)Ce[ye]=se[ye];return Ce}function be(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function we(se,ae){for(var ye=0;ye<ae.length;ye++){var Ce=ae[ye];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(se,Ce.key,Ce)}}function Ke(se,ae,ye){return ae&&we(se.prototype,ae),ye&&we(se,ye),se}function qe(se,ae){if(typeof ae!="function"&&ae!==null)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(ae&&ae.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),ae&&xt(se,ae)}function xt(se,ae){return xt=Object.setPrototypeOf||function(Ce,Oe){return Ce.__proto__=Oe,Ce},xt(se,ae)}function Fe(se){var ae=lt();return function(){var ye=tt(se),Ce;if(ae){var Oe=tt(this).constructor;Ce=Reflect.construct(ye,arguments,Oe)}else Ce=ye.apply(this,arguments);return Be(this,Ce)}}function Be(se,ae){return ae&&(k(ae)==="object"||typeof ae=="function")?ae:bt(se)}function bt(se){if(se===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function lt(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(se){return!1}}function tt(se){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(ye){return ye.__proto__||Object.getPrototypeOf(ye)},tt(se)}var St=function(){var se=function(ae){qe(Ce,ae);var ye=Fe(Ce);function Ce(Oe){var Te;be(this,Ce),Te=ye.call(this,Oe),Te.setPopupVisible=function(je){var ut=Te.state.value;"popupVisible"in Te.props||Te.setState({popupVisible:je}),je&&!Te.state.popupVisible&&Te.setState({activeValue:ut}),Te.props.onPopupVisibleChange(je)},Te.handleChange=function(je,ut,wt){var ee=ut.visible;(wt.type!=="keydown"||wt.keyCode===v.a.ENTER)&&(Te.props.onChange(je.map(function(ie){return ie[Te.getFieldName("value")]}),je),Te.setPopupVisible(ee))},Te.handlePopupVisibleChange=function(je){Te.setPopupVisible(je)},Te.handleMenuSelect=function(je,ut,wt){var ee=Te.trigger.getRootDomNode();ee&&ee.focus&&ee.focus();var ie=Te.props,z=ie.changeOnSelect,$=ie.loadData,le=ie.expandTrigger;if(!je||je.disabled)return;var ge=Te.state.activeValue;ge=ge.slice(0,ut+1),ge[ut]=je[Te.getFieldName("value")];var Ae=Te.getActiveOptions(ge);if(je.isLeaf===!1&&!je[Te.getFieldName("children")]&&$){z&&Te.handleChange(Ae,{visible:!0},wt),Te.setState({activeValue:ge}),$(Ae);return}var Me={};!je[Te.getFieldName("children")]||!je[Te.getFieldName("children")].length?(Te.handleChange(Ae,{visible:!1},wt),Me.value=ge):z&&(wt.type==="click"||wt.type==="keydown")&&(le==="hover"?Te.handleChange(Ae,{visible:!1},wt):Te.handleChange(Ae,{visible:!0},wt),Me.value=ge),Me.activeValue=ge,("value"in Te.props||wt.type==="keydown"&&wt.keyCode!==v.a.ENTER)&&delete Me.value,Te.setState(Me)},Te.handleItemDoubleClick=function(){var je=Te.props.changeOnSelect;je&&Te.setPopupVisible(!1)},Te.handleKeyDown=function(je){var ut=Te.props.children;if(ut&&ut.props.onKeyDown){ut.props.onKeyDown(je);return}var wt=_(Te.state.activeValue),ee=wt.length-1<0?0:wt.length-1,ie=Te.getCurrentLevelOptions(),z=ie.map(function(Ae){return Ae[Te.getFieldName("value")]}).indexOf(wt[ee]);if(je.keyCode!==v.a.DOWN&&je.keyCode!==v.a.UP&&je.keyCode!==v.a.LEFT&&je.keyCode!==v.a.RIGHT&&je.keyCode!==v.a.ENTER&&je.keyCode!==v.a.SPACE&&je.keyCode!==v.a.BACKSPACE&&je.keyCode!==v.a.ESC&&je.keyCode!==v.a.TAB)return;if(!Te.state.popupVisible&&je.keyCode!==v.a.BACKSPACE&&je.keyCode!==v.a.LEFT&&je.keyCode!==v.a.RIGHT&&je.keyCode!==v.a.ESC&&je.keyCode!==v.a.TAB){Te.setPopupVisible(!0);return}if(je.keyCode===v.a.DOWN||je.keyCode===v.a.UP){je.preventDefault();var $=z;$!==-1?je.keyCode===v.a.DOWN?($+=1,$=$>=ie.length?0:$):($-=1,$=$<0?ie.length-1:$):$=0,wt[ee]=ie[$][Te.getFieldName("value")]}else if(je.keyCode===v.a.LEFT||je.keyCode===v.a.BACKSPACE)je.preventDefault(),wt.splice(wt.length-1,1);else if(je.keyCode===v.a.RIGHT)je.preventDefault(),ie[z]&&ie[z][Te.getFieldName("children")]&&wt.push(ie[z][Te.getFieldName("children")][0][Te.getFieldName("value")]);else if(je.keyCode===v.a.ESC||je.keyCode===v.a.TAB){Te.setPopupVisible(!1);return}(!wt||wt.length===0)&&Te.setPopupVisible(!1);var le=Te.getActiveOptions(wt),ge=le[le.length-1];Te.handleMenuSelect(ge,le.length-1,je),Te.props.onKeyDown&&Te.props.onKeyDown(je)},Te.saveTrigger=function(je){Te.trigger=je};var xe=[];return"value"in Oe?xe=Oe.value||[]:"defaultValue"in Oe&&(xe=Oe.defaultValue||[]),f()(!("filedNames"in Oe),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Te.state={popupVisible:Oe.popupVisible,activeValue:xe,value:xe,prevProps:Oe},Te.defaultFieldNames={label:"label",value:"value",children:"children"},Te}return Ke(Ce,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Te){var xe=this.defaultFieldNames,je=this.props,ut=je.fieldNames,wt=je.filedNames;return"filedNames"in this.props?wt[Te]||xe[Te]:ut[Te]||xe[Te]}},{key:"getFieldNames",value:function(){var Te=this.props,xe=Te.fieldNames,je=Te.filedNames;return"filedNames"in this.props?je:xe}},{key:"getCurrentLevelOptions",value:function(){var Te=this,xe=this.props.options,je=xe===void 0?[]:xe,ut=this.state.activeValue,wt=ut===void 0?[]:ut,ee=L()(je,function(ie,z){return ie[Te.getFieldName("value")]===wt[z]},{childrenKeyName:this.getFieldName("children")});return ee[ee.length-2]?ee[ee.length-2][this.getFieldName("children")]:_(je).filter(function(ie){return!ie.disabled})}},{key:"getActiveOptions",value:function(Te){var xe=this;return L()(this.props.options||[],function(je,ut){return je[xe.getFieldName("value")]===Te[ut]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Te=this.props,xe=Te.prefixCls,je=Te.transitionName,ut=Te.popupClassName,wt=Te.options,ee=wt===void 0?[]:wt,ie=Te.disabled,z=Te.builtinPlacements,$=Te.popupPlacement,le=Te.children,ge=Te.dropdownRender,Ae=Z(Te,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),Me=t.createElement("div",null),$e="";ee&&ee.length>0?Me=t.createElement(P,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):$e=" ".concat(xe,"-menus-empty");var kt=Me;return ge&&(kt=ge(Me)),t.createElement(c.a,Object.assign({ref:this.saveTrigger},Ae,{popupPlacement:$,builtinPlacements:z,popupTransitionName:je,action:ie?[]:["click"],popupVisible:ie?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(xe,"-menus"),popupClassName:ut+$e,popup:kt}),t.cloneElement(le,{onKeyDown:this.handleKeyDown,tabIndex:ie?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Te,xe){var je=xe.prevProps,ut=je===void 0?{}:je,wt={prevProps:Te};return"value"in Te&&!S(ut.value,Te.value)&&(wt.value=Te.value||[],"loadData"in Te||(wt.activeValue=Te.value||[])),"popupVisible"in Te&&(wt.popupVisible=Te.popupVisible),wt}}]),Ce}(t.Component);return se.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:H,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},se}(),ht=St,vt=ht,Ge=e("TSYQ"),At=e.n(Ge),_e=e("BGR+"),De=e("kbBi"),Ie=e.n(De),st=e("HQEm"),Et=e.n(st),Mt=e("fEPi"),Pt=e.n(Mt),ke=e("5YOS"),zt=e.n(ke),Ot=e("DFhj"),_t=e.n(Ot),Ve=e("5rEg"),Qe=e("H84U"),et=e("YMnH"),dt=e("uaoM"),Ze=e("3Nzz"),oe=e("0n0R"),me=function(se,ae){var ye={};for(var Ce in se)Object.prototype.hasOwnProperty.call(se,Ce)&&ae.indexOf(Ce)<0&&(ye[Ce]=se[Ce]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ce=Object.getOwnPropertySymbols(se);Oe<Ce.length;Oe++)ae.indexOf(Ce[Oe])<0&&Object.prototype.propertyIsEnumerable.call(se,Ce[Oe])&&(ye[Ce[Oe]]=se[Ce[Oe]]);return ye},ot=50;function Pe(se,ae,ye){return se.split(ae).map(function(Ce,Oe){return Oe===0?Ce:[t.createElement("span",{className:"".concat(ye,"-menu-item-keyword"),key:"seperator"},ae),Ce]})}function pt(se,ae,ye){return ae.some(function(Ce){return Ce[ye.label].indexOf(se)>-1})}function Rr(se,ae,ye,Ce){return ae.map(function(Oe,Te){var xe=Oe[Ce.label],je=xe.indexOf(se)>-1?Pe(xe,se,ye):xe;return Te===0?je:[" / ",je]})}function It(se,ae,ye,Ce){function Oe(Te){return Te[Ce.label].indexOf(ye)>-1}return se.findIndex(Oe)-ae.findIndex(Oe)}function nr(se){var ae=se.fieldNames;return ae}function Gt(se){var ae=nr(se)||{},ye={children:ae.children||"children",label:ae.label||"label",value:ae.value||"value"};return ye}function Jt(se,ae){var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ce=Gt(ae),Oe=[],Te=Ce.children;return se.forEach(function(xe){var je=ye.concat(xe);(ae.changeOnSelect||!xe[Te]||!xe[Te].length)&&Oe.push(je),xe[Te]&&(Oe=Oe.concat(Jt(xe[Te],ae,je)))}),Oe}var hr=function(ae){return ae.join(" / ")};function Xt(se){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(se||[]).forEach(function(ye){var Ce=ae.value||"value";Object(dt.a)(Ce in ye,"Cascader","Not found `value` in `options`."),Xt(ye[ae.children||"children"],ae)})}var de=function(se){l()(ye,se);var ae=u()(ye);function ye(Ce){var Oe;return b()(this,ye),Oe=ae.call(this,Ce),Oe.cachedOptions=[],Oe.setValue=function(Te){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Oe.props||Oe.setState({value:Te});var je=Oe.props.onChange;je&&je(Te,xe)},Oe.saveInput=function(Te){Oe.input=Te},Oe.handleChange=function(Te,xe){if(Oe.setState({inputValue:""}),xe[0].__IS_FILTERED_OPTION){var je=Te[0],ut=xe[0].path;Oe.setValue(je,ut);return}Oe.setValue(Te,xe)},Oe.handlePopupVisibleChange=function(Te){"popupVisible"in Oe.props||Oe.setState(function(je){return{popupVisible:Te,inputFocused:Te,inputValue:Te?je.inputValue:""}});var xe=Oe.props.onPopupVisibleChange;xe&&xe(Te)},Oe.handleInputBlur=function(){Oe.setState({inputFocused:!1})},Oe.handleInputClick=function(Te){var xe=Oe.state,je=xe.inputFocused,ut=xe.popupVisible;(je||ut)&&Te.stopPropagation()},Oe.handleKeyDown=function(Te){(Te.keyCode===v.a.BACKSPACE||Te.keyCode===v.a.SPACE)&&Te.stopPropagation()},Oe.handleInputChange=function(Te){var xe=Oe.state.popupVisible,je=Te.target.value;xe||Oe.handlePopupVisibleChange(!0),Oe.setState({inputValue:je})},Oe.clearSelection=function(Te){var xe=Oe.state.inputValue;Te.preventDefault(),Te.stopPropagation(),xe?Oe.setState({inputValue:""}):(Oe.handlePopupVisibleChange(!1),Oe.clearSelectionTimeout=setTimeout(function(){Oe.setValue([])},200))},Oe.renderCascader=function(Te,xe){var je=Te.getPopupContainer,ut=Te.getPrefixCls,wt=Te.renderEmpty,ee=Te.direction;return t.createElement(Ze.b.Consumer,null,function(ie){var z,$,le,ge,Ae=a()(Oe),Me=Ae.props,$e=Ae.state,kt=Me.prefixCls,$t=Me.inputPrefixCls,Lt=Me.children,Ut=Me.placeholder,Wt=Ut===void 0?xe.placeholder||"Please select":Ut,Vt=Me.size,Tt=Me.disabled,ur=Me.className,qt=Me.style,ze=Me.allowClear,nt=Me.showSearch,Ye=nt===void 0?!1:nt,Xe=Me.suffixIcon,yt=Me.expandIcon,mt=Me.notFoundContent,We=Me.popupClassName,rt=Me.bordered,ft=Me.dropdownRender,Yt=me(Me,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Ft=Vt||ie,fr=$e.value,mr=$e.inputFocused,Er=ee==="rtl",Lr=ut("cascader",kt),en=ut("input",$t),Qr=At()((z={},p()(z,"".concat(en,"-lg"),Ft==="large"),p()(z,"".concat(en,"-sm"),Ft==="small"),z)),Cr=ze&&!Tt&&fr.length>0||$e.inputValue?t.createElement(Ie.a,{className:"".concat(Lr,"-picker-clear"),onClick:Oe.clearSelection}):null,Gr=At()(($={},p()($,"".concat(Lr,"-picker-arrow"),!0),p()($,"".concat(Lr,"-picker-arrow-expand"),$e.popupVisible),$)),Nr=At()(ur,"".concat(Lr,"-picker"),(le={},p()(le,"".concat(Lr,"-picker-rtl"),Er),p()(le,"".concat(Lr,"-picker-with-value"),$e.inputValue),p()(le,"".concat(Lr,"-picker-disabled"),Tt),p()(le,"".concat(Lr,"-picker-").concat(Ft),!!Ft),p()(le,"".concat(Lr,"-picker-show-search"),!!Ye),p()(le,"".concat(Lr,"-picker-focused"),mr),p()(le,"".concat(Lr,"-picker-borderless"),!rt),le)),lr=Object(_e.default)(Yt,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),pr=Me.options,sr=Gt(Oe.props);if(pr&&pr.length>0)$e.inputValue&&(pr=Oe.generateFilteredOptions(Lr,wt));else{var dr;pr=[(dr={},p()(dr,sr.label,mt||wt("Cascader")),p()(dr,sr.value,"ANT_CASCADER_NOT_FOUND"),dr)]}$e.popupVisible?Oe.cachedOptions=pr:pr=Oe.cachedOptions;var Sr={},Xr=(pr||[]).length===1&&pr[0].isEmptyNode;Xr&&(Sr.height="auto");var cn=Ye.matchInputWidth!==!1;cn&&($e.inputValue||Xr)&&Oe.input&&(Sr.width=Oe.input.input.offsetWidth);var Dn;Xe?Dn=Object(oe.c)(Xe,t.createElement("span",{className:"".concat(Lr,"-picker-arrow")},Xe),function(){var Qn;return{className:At()((Qn={},p()(Qn,Xe.props.className,Xe.props.className),p()(Qn,"".concat(Lr,"-picker-arrow"),!0),Qn))}}):Dn=t.createElement(Et.a,{className:Gr});var jr=Lt||t.createElement("span",{style:qt,className:Nr},t.createElement("span",{className:"".concat(Lr,"-picker-label")},Oe.getLabel()),t.createElement(Ve.a,E()({},lr,{tabIndex:"-1",ref:Oe.saveInput,prefixCls:en,placeholder:fr&&fr.length>0?void 0:Wt,className:"".concat(Lr,"-input ").concat(Qr),value:$e.inputValue,disabled:Tt,readOnly:!Ye,autoComplete:lr.autoComplete||"off",onClick:Ye?Oe.handleInputClick:void 0,onBlur:Ye?Oe.handleInputBlur:void 0,onKeyDown:Oe.handleKeyDown,onChange:Ye?Oe.handleInputChange:void 0})),Cr,Dn),On;yt?On=yt:On=Er?t.createElement(_t.a,null):t.createElement(Pt.a,null);var gn=t.createElement("span",{className:"".concat(Lr,"-menu-item-loading-icon")},t.createElement(zt.a,{spin:!0})),Un=Me.getPopupContainer||je,Wn=Object(_e.default)(Me,["inputIcon","expandIcon","loadingIcon","bordered"]),Jn=At()(We,(ge={},p()(ge,"".concat(Lr,"-menu-").concat(ee),ee==="rtl"),p()(ge,"".concat(Lr,"-menu-empty"),pr.length===1&&pr[0].value==="ANT_CASCADER_NOT_FOUND"),ge));return t.createElement(vt,E()({},Wn,{prefixCls:Lr,getPopupContainer:Un,options:pr,value:fr,popupVisible:$e.popupVisible,onPopupVisibleChange:Oe.handlePopupVisibleChange,onChange:Oe.handleChange,dropdownMenuColumnStyle:Sr,expandIcon:On,loadingIcon:gn,popupClassName:Jn,popupPlacement:Oe.getPopupPlacement(ee),dropdownRender:ft}),jr)})},Oe.state={value:Ce.value||Ce.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Ce.popupVisible,flattenOptions:Ce.showSearch?Jt(Ce.options,Ce):void 0,prevProps:Ce},Oe}return i()(ye,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Oe=this.props,Te=Oe.options,xe=Oe.displayRender,je=xe===void 0?hr:xe,ut=Gt(this.props),wt=this.state.value,ee=Array.isArray(wt[0])?wt[0]:wt,ie=L()(Te,function($,le){return $[ut.value]===ee[le]},{childrenKeyName:ut.children}),z=ie.length?ie.map(function($){return $[ut.label]}):wt;return je(z,ie)}},{key:"generateFilteredOptions",value:function(Oe,Te){var xe=this,je,ut=this.props,wt=ut.showSearch,ee=ut.notFoundContent,ie=Gt(this.props),z=wt.filter,$=z===void 0?pt:z,le=wt.render,ge=le===void 0?Rr:le,Ae=wt.sort,Me=Ae===void 0?It:Ae,$e=wt.limit,kt=$e===void 0?ot:$e,$t=this.state,Lt=$t.flattenOptions,Ut=Lt===void 0?[]:Lt,Wt=$t.inputValue,Vt;if(kt>0){Vt=[];var Tt=0;Ut.some(function(ur){var qt=$(xe.state.inputValue,ur,ie);return qt&&(Vt.push(ur),Tt+=1),Tt>=kt})}else Object(dt.a)(typeof kt!="number","Cascader","'limit' of showSearch should be positive number or false."),Vt=Ut.filter(function(ur){return $(xe.state.inputValue,ur,ie)});return Vt=Vt.sort(function(ur,qt){return Me(ur,qt,Wt,ie)}),Vt.length>0?Vt.map(function(ur){var qt;return qt={__IS_FILTERED_OPTION:!0,path:ur},p()(qt,ie.value,ur.map(function(ze){return ze[ie.value]})),p()(qt,ie.label,ge(Wt,ur,Oe,ie)),p()(qt,"disabled",ur.some(function(ze){return!!ze.disabled})),p()(qt,"isEmptyNode",!0),qt}):[(je={},p()(je,ie.value,"ANT_CASCADER_NOT_FOUND"),p()(je,ie.label,ee||Te("Cascader")),p()(je,"disabled",!0),p()(je,"isEmptyNode",!0),je)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Te=this.props.popupPlacement;return Te!==void 0?Te:Oe==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Oe=this;return t.createElement(Qe.a,null,function(Te){return t.createElement(et.a,null,function(xe){return Oe.renderCascader(Te,xe)})})}}],[{key:"getDerivedStateFromProps",value:function(Oe,Te){var xe=Te.prevProps,je={prevProps:Oe};return"value"in Oe&&(je.value=Oe.value||[]),"popupVisible"in Oe&&(je.popupVisible=Oe.popupVisible),Oe.showSearch&&xe.options!==Oe.options&&(je.flattenOptions=Jt(Oe.options,Oe)),je}}]),ye}(t.Component);de.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var ue=F.a=de},DFhj:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("GGyF"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},DL4k:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},DN4a:function(J,F,e){var d=e("Fofx"),E=e("QBsz"),g=d.identity,p=5e-5;function A(l){return l>p||l<-p}var b=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},h=b.prototype;h.transform=null,h.needLocalTransform=function(){return A(this.rotation)||A(this.position[0])||A(this.position[1])||A(this.scale[0]-1)||A(this.scale[1]-1)};var i=[];h.updateTransform=function(){var l=this.parent,n=l&&l.transform,u=this.needLocalTransform(),t=this.transform;if(!(u||n)){t&&g(t);return}t=t||d.create(),u?this.getLocalTransform(t):g(t),n&&(u?d.mul(t,l.transform,t):d.copy(t,l.transform)),this.transform=t;var c=this.globalScaleRatio;if(c!=null&&c!==1){this.getGlobalScale(i);var o=i[0]<0?-1:1,f=i[1]<0?-1:1,v=((i[0]-o)*c+o)/i[0]||0,y=((i[1]-f)*c+f)/i[1]||0;t[0]*=v,t[1]*=v,t[2]*=y,t[3]*=y}this.invTransform=this.invTransform||d.create(),d.invert(this.invTransform,t)},h.getLocalTransform=function(l){return b.getLocalTransform(this,l)},h.setTransform=function(l){var n=this.transform,u=l.dpr||1;n?l.setTransform(u*n[0],u*n[1],u*n[2],u*n[3],u*n[4],u*n[5]):l.setTransform(u,0,0,u,0,0)},h.restoreTransform=function(l){var n=l.dpr||1;l.setTransform(n,0,0,n,0,0)};var r=[],a=d.create();h.setLocalTransform=function(l){if(!l)return;var n=l[0]*l[0]+l[1]*l[1],u=l[2]*l[2]+l[3]*l[3],t=this.position,c=this.scale;A(n-1)&&(n=Math.sqrt(n)),A(u-1)&&(u=Math.sqrt(u)),l[0]<0&&(n=-n),l[3]<0&&(u=-u),t[0]=l[4],t[1]=l[5],c[0]=n,c[1]=u,this.rotation=Math.atan2(-l[1]/u,l[0]/n)},h.decomposeTransform=function(){if(!this.transform)return;var l=this.parent,n=this.transform;l&&l.transform&&(d.mul(r,l.invTransform,n),n=r);var u=this.origin;u&&(u[0]||u[1])&&(a[4]=u[0],a[5]=u[1],d.mul(r,n,a),r[4]-=u[0],r[5]-=u[1],n=r),this.setLocalTransform(n)},h.getGlobalScale=function(l){var n=this.transform;return l=l||[],n?(l[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),l[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(l[0]=-l[0]),n[3]<0&&(l[1]=-l[1]),l):(l[0]=1,l[1]=1,l)},h.transformCoordToLocal=function(l,n){var u=[l,n],t=this.invTransform;return t&&E.applyTransform(u,u,t),u},h.transformCoordToGlobal=function(l,n){var u=[l,n],t=this.transform;return t&&E.applyTransform(u,u,t),u},b.getLocalTransform=function(l,n){n=n||[],g(n);var u=l.origin,t=l.scale||[1,1],c=l.rotation||0,o=l.position||[0,0];return u&&(n[4]-=u[0],n[5]-=u[1]),d.scale(n,n,t),c&&d.rotate(n,n,c),u&&(n[4]+=u[0],n[5]+=u[1]),n[4]+=o[0],n[5]+=o[1],n};var s=b;J.exports=s},DO2E:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},DSRE:function(J,F,e){(function(d){var E=e("Kz5y"),g=e("B8du"),p=F&&!F.nodeType&&F,A=p&&typeof d=="object"&&d&&!d.nodeType&&d,b=A&&A.exports===p,h=b?E.Buffer:void 0,i=h?h.isBuffer:void 0,r=i||g;d.exports=r}).call(this,e("YuTi")(J))},DYRE:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("OPEp"),p=e.n(g)},DZo9:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("JGo8"),p=e.n(g),A=e("+L6B"),b=e("MXD1"),h=e("5Dmo")},Dagg:function(J,F,e){var d=e("Gev7"),E=e("mFDi"),g=e("bYtY"),p=e("Xnb7");function A(h){d.call(this,h)}A.prototype={constructor:A,type:"image",brush:function(i,r){var a=this.style,s=a.image;a.bind(i,this,r);var l=this._image=p.createOrUpdateImage(s,this._image,this,this.onload);if(!l||!p.isImageReady(l))return;var n=a.x||0,u=a.y||0,t=a.width,c=a.height,o=l.width/l.height;if(t==null&&c!=null?t=c*o:c==null&&t!=null?c=t/o:t==null&&c==null&&(t=l.width,c=l.height),this.setTransform(i),a.sWidth&&a.sHeight){var f=a.sx||0,v=a.sy||0;i.drawImage(l,f,v,a.sWidth,a.sHeight,n,u,t,c)}else if(a.sx&&a.sy){var f=a.sx,v=a.sy,y=t-f,L=c-v;i.drawImage(l,f,v,y,L,n,u,t,c)}else i.drawImage(l,n,u,t,c);a.text!=null&&(this.restoreTransform(i),this.drawRectText(i,this.getBoundingRect()))},getBoundingRect:function(){var i=this.style;return this._rect||(this._rect=new E(i.x||0,i.y||0,i.width||0,i.height||0)),this._rect}},g.inherits(A,d);var b=A;J.exports=b},Dg8C:function(J,F,e){var d=e("XxSj"),E=e("bYtY");function g(p,A){p.eachSeriesByType("sankey",function(b){var h=b.getGraph(),i=h.nodes;if(i.length){var r=Infinity,a=-Infinity;E.each(i,function(s){var l=s.getLayout().value;l<r&&(r=l),l>a&&(a=l)}),E.each(i,function(s){var l=new d({type:"color",mappingMethod:"linear",dataExtent:[r,a],visual:b.get("color")}),n=l.mapValueToVisual(s.getLayout().value),u=s.getModel().get("itemStyle.color");u!=null?s.setVisual("color",u):s.setVisual("color",n)})}})}J.exports=g},DjyN:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("Urep"),p=e.n(g),A=e("OaEy")},DlQD:function(J,F,e){(function(d,E){J.exports=E()})(this,function(){"use strict";function d(Qe,et){for(var dt=0;dt<et.length;dt++){var Ze=et[dt];Ze.enumerable=Ze.enumerable||!1,Ze.configurable=!0,"value"in Ze&&(Ze.writable=!0),Object.defineProperty(Qe,Ze.key,Ze)}}function E(Qe,et,dt){return et&&d(Qe.prototype,et),dt&&d(Qe,dt),Qe}function g(Qe,et){if(!Qe)return;if(typeof Qe=="string")return p(Qe,et);var dt=Object.prototype.toString.call(Qe).slice(8,-1);if(dt==="Object"&&Qe.constructor&&(dt=Qe.constructor.name),dt==="Map"||dt==="Set")return Array.from(Qe);if(dt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(dt))return p(Qe,et)}function p(Qe,et){(et==null||et>Qe.length)&&(et=Qe.length);for(var dt=0,Ze=new Array(et);dt<et;dt++)Ze[dt]=Qe[dt];return Ze}function A(Qe,et){var dt;if(typeof Symbol=="undefined"||Qe[Symbol.iterator]==null){if(Array.isArray(Qe)||(dt=g(Qe))||et&&Qe&&typeof Qe.length=="number"){dt&&(Qe=dt);var Ze=0;return function(){return Ze>=Qe.length?{done:!0}:{done:!1,value:Qe[Ze++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return dt=Qe[Symbol.iterator](),dt.next.bind(dt)}function b(Qe,et){return et={exports:{}},Qe(et,et.exports),et.exports}var h=b(function(Qe){function et(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function dt(Ze){Qe.exports.defaults=Ze}Qe.exports={defaults:et(),getDefaults:et,changeDefaults:dt}}),i=h.defaults,r=h.getDefaults,a=h.changeDefaults,s=/[&<>"']/,l=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(et){return t[et]};function o(Qe,et){if(et){if(s.test(Qe))return Qe.replace(l,c)}else if(n.test(Qe))return Qe.replace(u,c);return Qe}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function v(Qe){return Qe.replace(f,function(et,dt){return dt=dt.toLowerCase(),dt==="colon"?":":dt.charAt(0)==="#"?dt.charAt(1)==="x"?String.fromCharCode(parseInt(dt.substring(2),16)):String.fromCharCode(+dt.substring(1)):""})}var y=/(^|[^\[])\^/g;function L(Qe,et){Qe=Qe.source||Qe,et=et||"";var dt={replace:function(oe,me){return me=me.source||me,me=me.replace(y,"$1"),Qe=Qe.replace(oe,me),dt},getRegex:function(){return new RegExp(Qe,et)}};return dt}var S=/[^\w:]/g,x=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function O(Qe,et,dt){if(Qe){var Ze;try{Ze=decodeURIComponent(v(dt)).replace(S,"").toLowerCase()}catch(oe){return null}if(Ze.indexOf("javascript:")===0||Ze.indexOf("vbscript:")===0||Ze.indexOf("data:")===0)return null}et&&!x.test(dt)&&(dt=D(et,dt));try{dt=encodeURI(dt).replace(/%25/g,"%")}catch(oe){return null}return dt}var T={},w=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,N=/^([^:]+:\/*[^/]*)[\s\S]*$/;function D(Qe,et){T[" "+Qe]||(w.test(Qe)?T[" "+Qe]=Qe+"/":T[" "+Qe]=M(Qe,"/",!0)),Qe=T[" "+Qe];var dt=Qe.indexOf(":")===-1;return et.substring(0,2)==="//"?dt?et:Qe.replace(C,"$1")+et:et.charAt(0)==="/"?dt?et:Qe.replace(N,"$1")+et:Qe+et}var B={exec:function(){}};function R(Qe){for(var et=1,dt,Ze;et<arguments.length;et++){dt=arguments[et];for(Ze in dt)Object.prototype.hasOwnProperty.call(dt,Ze)&&(Qe[Ze]=dt[Ze])}return Qe}function U(Qe,et){var dt=Qe.replace(/\|/g,function(me,ot,Pe){for(var pt=!1,Rr=ot;--Rr>=0&&Pe[Rr]==="\\";)pt=!pt;return pt?"|":" |"}),Ze=dt.split(/ \|/),oe=0;if(Ze.length>et)Ze.splice(et);else for(;Ze.length<et;)Ze.push("");for(;oe<Ze.length;oe++)Ze[oe]=Ze[oe].trim().replace(/\\\|/g,"|");return Ze}function M(Qe,et,dt){var Ze=Qe.length;if(Ze===0)return"";for(var oe=0;oe<Ze;){var me=Qe.charAt(Ze-oe-1);if(me===et&&!dt)oe++;else if(me!==et&&dt)oe++;else break}return Qe.substr(0,Ze-oe)}function j(Qe,et){if(Qe.indexOf(et[1])===-1)return-1;for(var dt=Qe.length,Ze=0,oe=0;oe<dt;oe++)if(Qe[oe]==="\\")oe++;else if(Qe[oe]===et[0])Ze++;else if(Qe[oe]===et[1]&&(Ze--,Ze<0))return oe;return-1}function P(Qe){Qe&&Qe.sanitize&&!Qe.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 K={escape:o,unescape:v,edit:L,cleanUrl:O,resolveUrl:D,noopTest:B,merge:R,splitCells:U,rtrim:M,findClosingBracket:j,checkSanitizeDeprecation:P},H=h.defaults,k=K.rtrim,Z=K.splitCells,Y=K.escape,_=K.findClosingBracket;function Q(Qe,et,dt){var Ze=et.href,oe=et.title?Y(et.title):null,me=Qe[1].replace(/\\([\[\]])/g,"$1");return Qe[0].charAt(0)!=="!"?{type:"link",raw:dt,href:Ze,title:oe,text:me}:{type:"image",raw:dt,href:Ze,title:oe,text:Y(me)}}function X(Qe,et){var dt=Qe.match(/^(\s+)(?:```)/);if(dt===null)return et;var Ze=dt[1];return et.split(`
|
|
|
`).map(function(oe){var me=oe.match(/^\s+/);if(me===null)return oe;var ot=me[0];return ot.length>=Ze.length?oe.slice(Ze.length):oe}).join(`
|
|
|
`)}var he=function(){function Qe(dt){this.options=dt||H}var et=Qe.prototype;return et.space=function(Ze){var oe=this.rules.block.newline.exec(Ze);if(oe)return oe[0].length>1?{type:"space",raw:oe[0]}:{raw:`
|
|
|
`}},et.code=function(Ze,oe){var me=this.rules.block.code.exec(Ze);if(me){var ot=oe[oe.length-1];if(ot&&ot.type==="paragraph")return{raw:me[0],text:me[0].trimRight()};var Pe=me[0].replace(/^ {4}/gm,"");return{type:"code",raw:me[0],codeBlockStyle:"indented",text:this.options.pedantic?Pe:k(Pe,`
|
|
|
`)}}},et.fences=function(Ze){var oe=this.rules.block.fences.exec(Ze);if(oe){var me=oe[0],ot=X(me,oe[3]||"");return{type:"code",raw:me,lang:oe[2]?oe[2].trim():oe[2],text:ot}}},et.heading=function(Ze){var oe=this.rules.block.heading.exec(Ze);if(oe)return{type:"heading",raw:oe[0],depth:oe[1].length,text:oe[2]}},et.nptable=function(Ze){var oe=this.rules.block.nptable.exec(Ze);if(oe){var me={type:"table",header:Z(oe[1].replace(/^ *| *\| *$/g,"")),align:oe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:oe[3]?oe[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:oe[0]};if(me.header.length===me.align.length){var ot=me.align.length,Pe;for(Pe=0;Pe<ot;Pe++)/^ *-+: *$/.test(me.align[Pe])?me.align[Pe]="right":/^ *:-+: *$/.test(me.align[Pe])?me.align[Pe]="center":/^ *:-+ *$/.test(me.align[Pe])?me.align[Pe]="left":me.align[Pe]=null;for(ot=me.cells.length,Pe=0;Pe<ot;Pe++)me.cells[Pe]=Z(me.cells[Pe],me.header.length);return me}}},et.hr=function(Ze){var oe=this.rules.block.hr.exec(Ze);if(oe)return{type:"hr",raw:oe[0]}},et.blockquote=function(Ze){var oe=this.rules.block.blockquote.exec(Ze);if(oe){var me=oe[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:oe[0],text:me}}},et.list=function(Ze){var oe=this.rules.block.list.exec(Ze);if(oe){for(var me=oe[0],ot=oe[2],Pe=ot.length>1,pt=ot[ot.length-1]===")",Rr={type:"list",raw:me,ordered:Pe,start:Pe?+ot.slice(0,-1):"",loose:!1,items:[]},It=oe[0].match(this.rules.block.item),nr=!1,Gt,Jt,hr,Xt,de,ue,se,ae=It.length,ye=0;ye<ae;ye++)Gt=It[ye],me=Gt,Jt=Gt.length,Gt=Gt.replace(/^ *([*+-]|\d+[.)]) */,""),~Gt.indexOf(`
|
|
|
`)&&(Jt-=Gt.length,Gt=this.options.pedantic?Gt.replace(/^ {1,4}/gm,""):Gt.replace(new RegExp("^ {1,"+Jt+"}","gm"),"")),ye!==ae-1&&(hr=this.rules.block.bullet.exec(It[ye+1])[0],(Pe?hr.length===1||!pt&&hr[hr.length-1]===")":hr.length>1||this.options.smartLists&&hr!==ot)&&(Xt=It.slice(ye+1).join(`
|
|
|
`),Rr.raw=Rr.raw.substring(0,Rr.raw.length-Xt.length),ye=ae-1)),de=nr||/\n\n(?!\s*$)/.test(Gt),ye!==ae-1&&(nr=Gt.charAt(Gt.length-1)===`
|
|
|
`,de||(de=nr)),de&&(Rr.loose=!0),ue=/^\[[ xX]\] /.test(Gt),se=void 0,ue&&(se=Gt[1]!==" ",Gt=Gt.replace(/^\[[ xX]\] +/,"")),Rr.items.push({type:"list_item",raw:me,task:ue,checked:se,loose:de,text:Gt});return Rr}},et.html=function(Ze){var oe=this.rules.block.html.exec(Ze);if(oe)return{type:this.options.sanitize?"paragraph":"html",raw:oe[0],pre:!this.options.sanitizer&&(oe[1]==="pre"||oe[1]==="script"||oe[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(oe[0]):Y(oe[0]):oe[0]}},et.def=function(Ze){var oe=this.rules.block.def.exec(Ze);if(oe){oe[3]&&(oe[3]=oe[3].substring(1,oe[3].length-1));var me=oe[1].toLowerCase().replace(/\s+/g," ");return{tag:me,raw:oe[0],href:oe[2],title:oe[3]}}},et.table=function(Ze){var oe=this.rules.block.table.exec(Ze);if(oe){var me={type:"table",header:Z(oe[1].replace(/^ *| *\| *$/g,"")),align:oe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:oe[3]?oe[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(me.header.length===me.align.length){me.raw=oe[0];var ot=me.align.length,Pe;for(Pe=0;Pe<ot;Pe++)/^ *-+: *$/.test(me.align[Pe])?me.align[Pe]="right":/^ *:-+: *$/.test(me.align[Pe])?me.align[Pe]="center":/^ *:-+ *$/.test(me.align[Pe])?me.align[Pe]="left":me.align[Pe]=null;for(ot=me.cells.length,Pe=0;Pe<ot;Pe++)me.cells[Pe]=Z(me.cells[Pe].replace(/^ *\| *| *\| *$/g,""),me.header.length);return me}}},et.lheading=function(Ze){var oe=this.rules.block.lheading.exec(Ze);if(oe)return{type:"heading",raw:oe[0],depth:oe[2].charAt(0)==="="?1:2,text:oe[1]}},et.paragraph=function(Ze){var oe=this.rules.block.paragraph.exec(Ze);if(oe)return{type:"paragraph",raw:oe[0],text:oe[1].charAt(oe[1].length-1)===`
|
|
|
`?oe[1].slice(0,-1):oe[1]}},et.text=function(Ze,oe){var me=this.rules.block.text.exec(Ze);if(me){var ot=oe[oe.length-1];return ot&&ot.type==="text"?{raw:me[0],text:me[0]}:{type:"text",raw:me[0],text:me[0]}}},et.escape=function(Ze){var oe=this.rules.inline.escape.exec(Ze);if(oe)return{type:"escape",raw:oe[0],text:Y(oe[1])}},et.tag=function(Ze,oe,me){var ot=this.rules.inline.tag.exec(Ze);if(ot)return!oe&&/^<a /i.test(ot[0])?oe=!0:oe&&/^<\/a>/i.test(ot[0])&&(oe=!1),!me&&/^<(pre|code|kbd|script)(\s|>)/i.test(ot[0])?me=!0:me&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(ot[0])&&(me=!1),{type:this.options.sanitize?"text":"html",raw:ot[0],inLink:oe,inRawBlock:me,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ot[0]):Y(ot[0]):ot[0]}},et.link=function(Ze){var oe=this.rules.inline.link.exec(Ze);if(oe){var me=_(oe[2],"()");if(me>-1){var ot=oe[0].indexOf("!")===0?5:4,Pe=ot+oe[1].length+me;oe[2]=oe[2].substring(0,me),oe[0]=oe[0].substring(0,Pe).trim(),oe[3]=""}var pt=oe[2],Rr="";if(this.options.pedantic){var It=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(pt);It?(pt=It[1],Rr=It[3]):Rr=""}else Rr=oe[3]?oe[3].slice(1,-1):"";pt=pt.trim().replace(/^<([\s\S]*)>$/,"$1");var nr=Q(oe,{href:pt&&pt.replace(this.rules.inline._escapes,"$1"),title:Rr&&Rr.replace(this.rules.inline._escapes,"$1")},oe[0]);return nr}},et.reflink=function(Ze,oe){var me;if((me=this.rules.inline.reflink.exec(Ze))||(me=this.rules.inline.nolink.exec(Ze))){var ot=(me[2]||me[1]).replace(/\s+/g," ");if(ot=oe[ot.toLowerCase()],!ot||!ot.href){var Pe=me[0].charAt(0);return{type:"text",raw:Pe,text:Pe}}var pt=Q(me,ot,me[0]);return pt}},et.strong=function(Ze,oe,me){me===void 0&&(me="");var ot=this.rules.inline.strong.start.exec(Ze);if(ot&&(!ot[1]||ot[1]&&(me===""||this.rules.inline.punctuation.exec(me)))){oe=oe.slice(-1*Ze.length);var Pe=ot[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Pe.lastIndex=0;for(var pt;(ot=Pe.exec(oe))!=null;)if(pt=this.rules.inline.strong.middle.exec(oe.slice(0,ot.index+3)),pt)return{type:"strong",raw:Ze.slice(0,pt[0].length),text:Ze.slice(2,pt[0].length-2)}}},et.em=function(Ze,oe,me){me===void 0&&(me="");var ot=this.rules.inline.em.start.exec(Ze);if(ot&&(!ot[1]||ot[1]&&(me===""||this.rules.inline.punctuation.exec(me)))){oe=oe.slice(-1*Ze.length);var Pe=ot[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Pe.lastIndex=0;for(var pt;(ot=Pe.exec(oe))!=null;)if(pt=this.rules.inline.em.middle.exec(oe.slice(0,ot.index+2)),pt)return{type:"em",raw:Ze.slice(0,pt[0].length),text:Ze.slice(1,pt[0].length-1)}}},et.codespan=function(Ze){var oe=this.rules.inline.code.exec(Ze);if(oe){var me=oe[2].replace(/\n/g," "),ot=/[^ ]/.test(me),Pe=me.startsWith(" ")&&me.endsWith(" ");return ot&&Pe&&(me=me.substring(1,me.length-1)),me=Y(me,!0),{type:"codespan",raw:oe[0],text:me}}},et.br=function(Ze){var oe=this.rules.inline.br.exec(Ze);if(oe)return{type:"br",raw:oe[0]}},et.del=function(Ze){var oe=this.rules.inline.del.exec(Ze);if(oe)return{type:"del",raw:oe[0],text:oe[1]}},et.autolink=function(Ze,oe){var me=this.rules.inline.autolink.exec(Ze);if(me){var ot,Pe;return me[2]==="@"?(ot=Y(this.options.mangle?oe(me[1]):me[1]),Pe="mailto:"+ot):(ot=Y(me[1]),Pe=ot),{type:"link",raw:me[0],text:ot,href:Pe,tokens:[{type:"text",raw:ot,text:ot}]}}},et.url=function(Ze,oe){var me;if(me=this.rules.inline.url.exec(Ze)){var ot,Pe;if(me[2]==="@")ot=Y(this.options.mangle?oe(me[0]):me[0]),Pe="mailto:"+ot;else{var pt;do pt=me[0],me[0]=this.rules.inline._backpedal.exec(me[0])[0];while(pt!==me[0]);ot=Y(me[0]),me[1]==="www."?Pe="http://"+ot:Pe=ot}return{type:"link",raw:me[0],text:ot,href:Pe,tokens:[{type:"text",raw:ot,text:ot}]}}},et.inlineText=function(Ze,oe,me){var ot=this.rules.inline.text.exec(Ze);if(ot){var Pe;return oe?Pe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ot[0]):Y(ot[0]):ot[0]:Pe=Y(this.options.smartypants?me(ot[0]):ot[0]),{type:"text",raw:ot[0],text:Pe}}},Qe}(),te=K.noopTest,fe=K.edit,be=K.merge,we={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:te,table:te,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};we._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,we._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,we.def=fe(we.def).replace("label",we._label).replace("title",we._title).getRegex(),we.bullet=/(?:[*+-]|\d{1,9}[.)])/,we.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,we.item=fe(we.item,"gm").replace(/bull/g,we.bullet).getRegex(),we.list=fe(we.list).replace(/bull/g,we.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+we.def.source+")").getRegex(),we._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",we._comment=/<!--(?!-?>)[\s\S]*?-->/,we.html=fe(we.html,"i").replace("comment",we._comment).replace("tag",we._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),we.paragraph=fe(we._paragraph).replace("hr",we.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",we._tag).getRegex(),we.blockquote=fe(we.blockquote).replace("paragraph",we.paragraph).getRegex(),we.normal=be({},we),we.gfm=be({},we.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*|$)"}),we.gfm.nptable=fe(we.gfm.nptable).replace("hr",we.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",we._tag).getRegex(),we.gfm.table=fe(we.gfm.table).replace("hr",we.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",we._tag).getRegex(),we.pedantic=be({},we.normal,{html:fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",we._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:te,paragraph:fe(we.normal._paragraph).replace("hr",we.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",we.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ke={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:te,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:te,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Ke._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Ke.punctuation=fe(Ke.punctuation).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Ke._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Ke.em.start=fe(Ke.em.start).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.em.middle=fe(Ke.em.middle).replace(/punctuation/g,Ke._punctuation).replace(/overlapSkip/g,Ke._overlapSkip).getRegex(),Ke.em.endAst=fe(Ke.em.endAst,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.em.endUnd=fe(Ke.em.endUnd,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.start=fe(Ke.strong.start).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.middle=fe(Ke.strong.middle).replace(/punctuation/g,Ke._punctuation).replace(/blockSkip/g,Ke._blockSkip).getRegex(),Ke.strong.endAst=fe(Ke.strong.endAst,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.endUnd=fe(Ke.strong.endUnd,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.blockSkip=fe(Ke._blockSkip,"g").getRegex(),Ke.overlapSkip=fe(Ke._overlapSkip,"g").getRegex(),Ke._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Ke._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ke._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])?)+(?![-_])/,Ke.autolink=fe(Ke.autolink).replace("scheme",Ke._scheme).replace("email",Ke._email).getRegex(),Ke._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ke.tag=fe(Ke.tag).replace("comment",we._comment).replace("attribute",Ke._attribute).getRegex(),Ke._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ke._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Ke._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ke.link=fe(Ke.link).replace("label",Ke._label).replace("href",Ke._href).replace("title",Ke._title).getRegex(),Ke.reflink=fe(Ke.reflink).replace("label",Ke._label).getRegex(),Ke.reflinkSearch=fe(Ke.reflinkSearch,"g").replace("reflink",Ke.reflink).replace("nolink",Ke.nolink).getRegex(),Ke.normal=be({},Ke),Ke.pedantic=be({},Ke.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:fe(/^!?\[(label)\]\((.*?)\)/).replace("label",Ke._label).getRegex(),reflink:fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ke._label).getRegex()}),Ke.gfm=be({},Ke.normal,{escape:fe(Ke.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Ke.gfm.url=fe(Ke.gfm.url,"i").replace("email",Ke.gfm._extended_email).getRegex(),Ke.breaks=be({},Ke.gfm,{br:fe(Ke.br).replace("{2,}","*").getRegex(),text:fe(Ke.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var qe={block:we,inline:Ke},xt=h.defaults,Fe=qe.block,Be=qe.inline;function bt(Qe){return Qe.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 lt(Qe){var et="",dt,Ze,oe=Qe.length;for(dt=0;dt<oe;dt++)Ze=Qe.charCodeAt(dt),Math.random()>.5&&(Ze="x"+Ze.toString(16)),et+="&#"+Ze+";";return et}var tt=function(){function Qe(dt){this.tokens=[],this.tokens.links=Object.create(null),this.options=dt||xt,this.options.tokenizer=this.options.tokenizer||new he,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ze={block:Fe.normal,inline:Be.normal};this.options.pedantic?(Ze.block=Fe.pedantic,Ze.inline=Be.pedantic):this.options.gfm&&(Ze.block=Fe.gfm,this.options.breaks?Ze.inline=Be.breaks:Ze.inline=Be.gfm),this.tokenizer.rules=Ze}Qe.lex=function(Ze,oe){var me=new Qe(oe);return me.lex(Ze)};var et=Qe.prototype;return et.lex=function(Ze){return Ze=Ze.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Ze,this.tokens,!0),this.inline(this.tokens),this.tokens},et.blockTokens=function(Ze,oe,me){oe===void 0&&(oe=[]),me===void 0&&(me=!0),Ze=Ze.replace(/^ +$/gm,"");for(var ot,Pe,pt,Rr;Ze;){if(ot=this.tokenizer.space(Ze)){Ze=Ze.substring(ot.raw.length),ot.type&&oe.push(ot);continue}if(ot=this.tokenizer.code(Ze,oe)){Ze=Ze.substring(ot.raw.length),ot.type?oe.push(ot):(Rr=oe[oe.length-1],Rr.raw+=`
|
|
|
`+ot.raw,Rr.text+=`
|
|
|
`+ot.text);continue}if(ot=this.tokenizer.fences(Ze)){Ze=Ze.substring(ot.raw.length),oe.push(ot);continue}if(ot=this.tokenizer.heading(Ze)){Ze=Ze.substring(ot.raw.length),oe.push(ot);continue}if(ot=this.tokenizer.nptable(Ze)){Ze=Ze.substring(ot.raw.length),oe.push(ot);continue}if(ot=this.tokenizer.hr(Ze)){Ze=Ze.substring(ot.raw.length),oe.push(ot);continue}if(ot=this.tokenizer.blockquote(Ze)){Ze=Ze.substring(ot.raw.length),ot.tokens=this.blockTokens(ot.text,[],me),oe.push(ot);continue}if(ot=this.tokenizer.list(Ze)){for(Ze=Ze.substring(ot.raw.length),pt=ot.items.length,Pe=0;Pe<pt;Pe++)ot.items[Pe].tokens=this.blockTokens(ot.items[Pe].text,[],!1);oe.push(ot);continue}if(ot=this.tokenizer.html(Ze)){Ze=Ze.substring(ot.raw.length),oe.push(ot);continue}if(me&&(ot=this.tokenizer.def(Ze))){Ze=Ze.substring(ot.raw.length),this.tokens.links[ot.tag]||(this.tokens.links[ot.tag]={href:ot.href,title:ot.title});continue}if(ot=this.tokenizer.table(Ze)){Ze=Ze.substring(ot.raw.length),oe.push(ot);continue}if(ot=this.tokenizer.lheading(Ze)){Ze=Ze.substring(ot.raw.length),oe.push(ot);continue}if(me&&(ot=this.tokenizer.paragraph(Ze))){Ze=Ze.substring(ot.raw.length),oe.push(ot);continue}if(ot=this.tokenizer.text(Ze,oe)){Ze=Ze.substring(ot.raw.length),ot.type?oe.push(ot):(Rr=oe[oe.length-1],Rr.raw+=`
|
|
|
`+ot.raw,Rr.text+=`
|
|
|
`+ot.text);continue}if(Ze){var It="Infinite loop on byte: "+Ze.charCodeAt(0);if(this.options.silent){console.error(It);break}else throw new Error(It)}}return oe},et.inline=function(Ze){var oe,me,ot,Pe,pt,Rr,It=Ze.length;for(oe=0;oe<It;oe++){Rr=Ze[oe];switch(Rr.type){case"paragraph":case"text":case"heading":{Rr.tokens=[],this.inlineTokens(Rr.text,Rr.tokens);break}case"table":{for(Rr.tokens={header:[],cells:[]},Pe=Rr.header.length,me=0;me<Pe;me++)Rr.tokens.header[me]=[],this.inlineTokens(Rr.header[me],Rr.tokens.header[me]);for(Pe=Rr.cells.length,me=0;me<Pe;me++)for(pt=Rr.cells[me],Rr.tokens.cells[me]=[],ot=0;ot<pt.length;ot++)Rr.tokens.cells[me][ot]=[],this.inlineTokens(pt[ot],Rr.tokens.cells[me][ot]);break}case"blockquote":{this.inline(Rr.tokens);break}case"list":{for(Pe=Rr.items.length,me=0;me<Pe;me++)this.inline(Rr.items[me].tokens);break}}}return Ze},et.inlineTokens=function(Ze,oe,me,ot,Pe){oe===void 0&&(oe=[]),me===void 0&&(me=!1),ot===void 0&&(ot=!1),Pe===void 0&&(Pe="");var pt,Rr=Ze,It;if(this.tokens.links){var nr=Object.keys(this.tokens.links);if(nr.length>0)for(;(It=this.tokenizer.rules.inline.reflinkSearch.exec(Rr))!=null;)nr.includes(It[0].slice(It[0].lastIndexOf("[")+1,-1))&&(Rr=Rr.slice(0,It.index)+"["+"a".repeat(It[0].length-2)+"]"+Rr.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(It=this.tokenizer.rules.inline.blockSkip.exec(Rr))!=null;)Rr=Rr.slice(0,It.index)+"["+"a".repeat(It[0].length-2)+"]"+Rr.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ze;){if(pt=this.tokenizer.escape(Ze)){Ze=Ze.substring(pt.raw.length),oe.push(pt);continue}if(pt=this.tokenizer.tag(Ze,me,ot)){Ze=Ze.substring(pt.raw.length),me=pt.inLink,ot=pt.inRawBlock,oe.push(pt);continue}if(pt=this.tokenizer.link(Ze)){Ze=Ze.substring(pt.raw.length),pt.type==="link"&&(pt.tokens=this.inlineTokens(pt.text,[],!0,ot)),oe.push(pt);continue}if(pt=this.tokenizer.reflink(Ze,this.tokens.links)){Ze=Ze.substring(pt.raw.length),pt.type==="link"&&(pt.tokens=this.inlineTokens(pt.text,[],!0,ot)),oe.push(pt);continue}if(pt=this.tokenizer.strong(Ze,Rr,Pe)){Ze=Ze.substring(pt.raw.length),pt.tokens=this.inlineTokens(pt.text,[],me,ot),oe.push(pt);continue}if(pt=this.tokenizer.em(Ze,Rr,Pe)){Ze=Ze.substring(pt.raw.length),pt.tokens=this.inlineTokens(pt.text,[],me,ot),oe.push(pt);continue}if(pt=this.tokenizer.codespan(Ze)){Ze=Ze.substring(pt.raw.length),oe.push(pt);continue}if(pt=this.tokenizer.br(Ze)){Ze=Ze.substring(pt.raw.length),oe.push(pt);continue}if(pt=this.tokenizer.del(Ze)){Ze=Ze.substring(pt.raw.length),pt.tokens=this.inlineTokens(pt.text,[],me,ot),oe.push(pt);continue}if(pt=this.tokenizer.autolink(Ze,lt)){Ze=Ze.substring(pt.raw.length),oe.push(pt);continue}if(!me&&(pt=this.tokenizer.url(Ze,lt))){Ze=Ze.substring(pt.raw.length),oe.push(pt);continue}if(pt=this.tokenizer.inlineText(Ze,ot,bt)){Ze=Ze.substring(pt.raw.length),Pe=pt.raw.slice(-1),oe.push(pt);continue}if(Ze){var Gt="Infinite loop on byte: "+Ze.charCodeAt(0);if(this.options.silent){console.error(Gt);break}else throw new Error(Gt)}}return oe},E(Qe,null,[{key:"rules",get:function(){return{block:Fe,inline:Be}}}]),Qe}(),St=h.defaults,ht=K.cleanUrl,vt=K.escape,Ge=function(){function Qe(dt){this.options=dt||St}var et=Qe.prototype;return et.code=function(Ze,oe,me){var ot=(oe||"").match(/\S*/)[0];if(this.options.highlight){var Pe=this.options.highlight(Ze,ot);Pe!=null&&Pe!==Ze&&(me=!0,Ze=Pe)}return ot?'<pre><code class="'+this.options.langPrefix+vt(ot,!0)+'">'+(me?Ze:vt(Ze,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(me?Ze:vt(Ze,!0))+`</code></pre>
|
|
|
`},et.blockquote=function(Ze){return`<blockquote>
|
|
|
`+Ze+`</blockquote>
|
|
|
`},et.html=function(Ze){return Ze},et.heading=function(Ze,oe,me,ot){return this.options.headerIds?"<h"+oe+' id="'+this.options.headerPrefix+ot.slug(me)+'">'+Ze+"</h"+oe+`>
|
|
|
`:"<h"+oe+">"+Ze+"</h"+oe+`>
|
|
|
`},et.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},et.list=function(Ze,oe,me){var ot=oe?"ol":"ul",Pe=oe&&me!==1?' start="'+me+'"':"";return"<"+ot+Pe+`>
|
|
|
`+Ze+"</"+ot+`>
|
|
|
`},et.listitem=function(Ze){return"<li>"+Ze+`</li>
|
|
|
`},et.checkbox=function(Ze){return"<input "+(Ze?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},et.paragraph=function(Ze){return"<p>"+Ze+`</p>
|
|
|
`},et.table=function(Ze,oe){return oe&&(oe="<tbody>"+oe+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Ze+`</thead>
|
|
|
`+oe+`</table>
|
|
|
`},et.tablerow=function(Ze){return`<tr>
|
|
|
`+Ze+`</tr>
|
|
|
`},et.tablecell=function(Ze,oe){var me=oe.header?"th":"td",ot=oe.align?"<"+me+' align="'+oe.align+'">':"<"+me+">";return ot+Ze+"</"+me+`>
|
|
|
`},et.strong=function(Ze){return"<strong>"+Ze+"</strong>"},et.em=function(Ze){return"<em>"+Ze+"</em>"},et.codespan=function(Ze){return"<code>"+Ze+"</code>"},et.br=function(){return this.options.xhtml?"<br/>":"<br>"},et.del=function(Ze){return"<del>"+Ze+"</del>"},et.link=function(Ze,oe,me){if(Ze=ht(this.options.sanitize,this.options.baseUrl,Ze),Ze===null)return me;var ot='<a href="'+vt(Ze)+'"';return oe&&(ot+=' title="'+oe+'"'),ot+=">"+me+"</a>",ot},et.image=function(Ze,oe,me){if(Ze=ht(this.options.sanitize,this.options.baseUrl,Ze),Ze===null)return me;var ot='<img src="'+Ze+'" alt="'+me+'"';return oe&&(ot+=' title="'+oe+'"'),ot+=this.options.xhtml?"/>":">",ot},et.text=function(Ze){return Ze},Qe}(),At=function(){function Qe(){}var et=Qe.prototype;return et.strong=function(Ze){return Ze},et.em=function(Ze){return Ze},et.codespan=function(Ze){return Ze},et.del=function(Ze){return Ze},et.html=function(Ze){return Ze},et.text=function(Ze){return Ze},et.link=function(Ze,oe,me){return""+me},et.image=function(Ze,oe,me){return""+me},et.br=function(){return""},Qe}(),_e=function(){function Qe(){this.seen={}}var et=Qe.prototype;return et.slug=function(Ze){var oe=Ze.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(oe)){var me=oe;do this.seen[me]++,oe=me+"-"+this.seen[me];while(this.seen.hasOwnProperty(oe))}return this.seen[oe]=0,oe},Qe}(),De=h.defaults,Ie=K.unescape,st=function(){function Qe(dt){this.options=dt||De,this.options.renderer=this.options.renderer||new Ge,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new At,this.slugger=new _e}Qe.parse=function(Ze,oe){var me=new Qe(oe);return me.parse(Ze)};var et=Qe.prototype;return et.parse=function(Ze,oe){oe===void 0&&(oe=!0);var me="",ot,Pe,pt,Rr,It,nr,Gt,Jt,hr,Xt,de,ue,se,ae,ye,Ce,Oe,Te,xe=Ze.length;for(ot=0;ot<xe;ot++){Xt=Ze[ot];switch(Xt.type){case"space":continue;case"hr":{me+=this.renderer.hr();continue}case"heading":{me+=this.renderer.heading(this.parseInline(Xt.tokens),Xt.depth,Ie(this.parseInline(Xt.tokens,this.textRenderer)),this.slugger);continue}case"code":{me+=this.renderer.code(Xt.text,Xt.lang,Xt.escaped);continue}case"table":{for(Jt="",Gt="",Rr=Xt.header.length,Pe=0;Pe<Rr;Pe++)Gt+=this.renderer.tablecell(this.parseInline(Xt.tokens.header[Pe]),{header:!0,align:Xt.align[Pe]});for(Jt+=this.renderer.tablerow(Gt),hr="",Rr=Xt.cells.length,Pe=0;Pe<Rr;Pe++){for(nr=Xt.tokens.cells[Pe],Gt="",It=nr.length,pt=0;pt<It;pt++)Gt+=this.renderer.tablecell(this.parseInline(nr[pt]),{header:!1,align:Xt.align[pt]});hr+=this.renderer.tablerow(Gt)}me+=this.renderer.table(Jt,hr);continue}case"blockquote":{hr=this.parse(Xt.tokens),me+=this.renderer.blockquote(hr);continue}case"list":{for(de=Xt.ordered,ue=Xt.start,se=Xt.loose,Rr=Xt.items.length,hr="",Pe=0;Pe<Rr;Pe++)ye=Xt.items[Pe],Ce=ye.checked,Oe=ye.task,ae="",ye.task&&(Te=this.renderer.checkbox(Ce),se?ye.tokens.length>0&&ye.tokens[0].type==="text"?(ye.tokens[0].text=Te+" "+ye.tokens[0].text,ye.tokens[0].tokens&&ye.tokens[0].tokens.length>0&&ye.tokens[0].tokens[0].type==="text"&&(ye.tokens[0].tokens[0].text=Te+" "+ye.tokens[0].tokens[0].text)):ye.tokens.unshift({type:"text",text:Te}):ae+=Te),ae+=this.parse(ye.tokens,se),hr+=this.renderer.listitem(ae,Oe,Ce);me+=this.renderer.list(hr,de,ue);continue}case"html":{me+=this.renderer.html(Xt.text);continue}case"paragraph":{me+=this.renderer.paragraph(this.parseInline(Xt.tokens));continue}case"text":{for(hr=Xt.tokens?this.parseInline(Xt.tokens):Xt.text;ot+1<xe&&Ze[ot+1].type==="text";)Xt=Ze[++ot],hr+=`
|
|
|
`+(Xt.tokens?this.parseInline(Xt.tokens):Xt.text);me+=oe?this.renderer.paragraph(hr):hr;continue}default:{var je='Token with "'+Xt.type+'" type was not found.';if(this.options.silent){console.error(je);return}else throw new Error(je)}}}return me},et.parseInline=function(Ze,oe){oe=oe||this.renderer;var me="",ot,Pe,pt=Ze.length;for(ot=0;ot<pt;ot++){Pe=Ze[ot];switch(Pe.type){case"escape":{me+=oe.text(Pe.text);break}case"html":{me+=oe.html(Pe.text);break}case"link":{me+=oe.link(Pe.href,Pe.title,this.parseInline(Pe.tokens,oe));break}case"image":{me+=oe.image(Pe.href,Pe.title,Pe.text);break}case"strong":{me+=oe.strong(this.parseInline(Pe.tokens,oe));break}case"em":{me+=oe.em(this.parseInline(Pe.tokens,oe));break}case"codespan":{me+=oe.codespan(Pe.text);break}case"br":{me+=oe.br();break}case"del":{me+=oe.del(this.parseInline(Pe.tokens,oe));break}case"text":{me+=oe.text(Pe.text);break}default:{var Rr='Token with "'+Pe.type+'" type was not found.';if(this.options.silent){console.error(Rr);return}else throw new Error(Rr)}}}return me},Qe}(),Et=K.merge,Mt=K.checkSanitizeDeprecation,Pt=K.escape,ke=h.getDefaults,zt=h.changeDefaults,Ot=h.defaults;function _t(Qe,et,dt){if(typeof Qe=="undefined"||Qe===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Qe!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Qe)+", string expected");if(typeof et=="function"&&(dt=et,et=null),et=Et({},_t.defaults,et||{}),Mt(et),dt){var Ze=et.highlight,oe;try{oe=tt.lex(Qe,et)}catch(pt){return dt(pt)}var me=function(Rr){var It;if(!Rr)try{It=st.parse(oe,et)}catch(nr){Rr=nr}return et.highlight=Ze,Rr?dt(Rr):dt(null,It)};if(!Ze||Ze.length<3)return me();if(delete et.highlight,!oe.length)return me();var ot=0;_t.walkTokens(oe,function(pt){pt.type==="code"&&(ot++,setTimeout(function(){Ze(pt.text,pt.lang,function(Rr,It){if(Rr)return me(Rr);It!=null&&It!==pt.text&&(pt.text=It,pt.escaped=!0),ot--,ot===0&&me()})},0))}),ot===0&&me();return}try{var Pe=tt.lex(Qe,et);return et.walkTokens&&_t.walkTokens(Pe,et.walkTokens),st.parse(Pe,et)}catch(pt){if(pt.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,et.silent)return"<p>An error occurred:</p><pre>"+Pt(pt.message+"",!0)+"</pre>";throw pt}}_t.options=_t.setOptions=function(Qe){return Et(_t.defaults,Qe),zt(_t.defaults),_t},_t.getDefaults=ke,_t.defaults=Ot,_t.use=function(Qe){var et=Et({},Qe);if(Qe.renderer&&function(){var Ze=_t.defaults.renderer||new Ge,oe=function(Pe){var pt=Ze[Pe];Ze[Pe]=function(){for(var Rr=arguments.length,It=new Array(Rr),nr=0;nr<Rr;nr++)It[nr]=arguments[nr];var Gt=Qe.renderer[Pe].apply(Ze,It);return Gt===!1&&(Gt=pt.apply(Ze,It)),Gt}};for(var me in Qe.renderer)oe(me);et.renderer=Ze}(),Qe.tokenizer&&function(){var Ze=_t.defaults.tokenizer||new he,oe=function(Pe){var pt=Ze[Pe];Ze[Pe]=function(){for(var Rr=arguments.length,It=new Array(Rr),nr=0;nr<Rr;nr++)It[nr]=arguments[nr];var Gt=Qe.tokenizer[Pe].apply(Ze,It);return Gt===!1&&(Gt=pt.apply(Ze,It)),Gt}};for(var me in Qe.tokenizer)oe(me);et.tokenizer=Ze}(),Qe.walkTokens){var dt=_t.defaults.walkTokens;et.walkTokens=function(Ze){Qe.walkTokens(Ze),dt&&dt(Ze)}}_t.setOptions(et)},_t.walkTokens=function(Qe,et){for(var dt=A(Qe),Ze;!(Ze=dt()).done;){var oe=Ze.value;et(oe);switch(oe.type){case"table":{for(var me=A(oe.tokens.header),ot;!(ot=me()).done;){var Pe=ot.value;_t.walkTokens(Pe,et)}for(var pt=A(oe.tokens.cells),Rr;!(Rr=pt()).done;)for(var It=Rr.value,nr=A(It),Gt;!(Gt=nr()).done;){var Jt=Gt.value;_t.walkTokens(Jt,et)}break}case"list":{_t.walkTokens(oe.items,et);break}default:oe.tokens&&_t.walkTokens(oe.tokens,et)}}},_t.Parser=st,_t.parser=st.parse,_t.Renderer=Ge,_t.TextRenderer=At,_t.Lexer=tt,_t.lexer=tt.lex,_t.Tokenizer=he,_t.Slugger=_e,_t.parse=_t;var Ve=_t;return Ve})},"DlR+":function(J,F,e){var d=e("MFOe"),E=d.Global,g=d.trim;J.exports={name:"cookieStorage",read:A,write:h,each:b,remove:i,clearAll:r};var p=E.document;function A(s){if(!s||!a(s))return null;var l="(?:^|.*;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(p.cookie.replace(new RegExp(l),"$1"))}function b(s){for(var l=p.cookie.split(/; ?/g),n=l.length-1;n>=0;n--){if(!g(l[n]))continue;var u=l[n].split("="),t=unescape(u[0]),c=unescape(u[1]);s(c,t)}}function h(s,l){if(!s)return;p.cookie=escape(s)+"="+escape(l)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function i(s){if(!s||!a(s))return;p.cookie=escape(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function r(){b(function(s,l){i(l)})}function a(s){return new RegExp("(?:^|;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(p.cookie)}},Ducp:function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("+TT/"),p=e("XpcN"),A=E.Group,b=["width","height"],h=["x","y"],i=p.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){i.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new A),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new A),this._showController},resetInner:function(){i.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(a,s,l,n,u,t,c){var o=this;i.superCall(this,"renderInner",a,s,l,n,u,t,c);var f=this._controllerGroup,v=s.get("pageIconSize",!0);d.isArray(v)||(v=[v,v]),L("pagePrev",0);var y=s.getModel("pageTextStyle");f.add(new E.Text({name:"pageText",style:{textFill:y.getTextColor(),font:y.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),L("pageNext",1);function L(S,x){var O=S+"DataIndex",T=E.createIcon(s.get("pageIcons",!0)[s.getOrient().name][x],{onclick:d.bind(o._pageGo,o,O,s,n)},{x:-v[0]/2,y:-v[1]/2,width:v[0],height:v[1]});T.name=S,f.add(T)}},layoutInner:function(a,s,l,n,u,t){var c=this.getSelectorGroup(),o=a.getOrient().index,f=b[o],v=h[o],y=b[1-o],L=h[1-o];u&&g.box("horizontal",c,a.get("selectorItemGap",!0));var S=a.get("selectorButtonGap",!0),x=c.getBoundingRect(),O=[-x.x,-x.y],T=d.clone(l);u&&(T[f]=l[f]-x[f]-S);var w=this._layoutContentAndController(a,n,T,o,f,y,L);if(u){if(t==="end")O[o]+=w[f]+S;else{var C=x[f]+S;O[o]-=C,w[v]-=C}w[f]+=x[f]+S,O[1-o]+=w[L]+w[y]/2-x[y]/2,w[y]=Math.max(w[y],x[y]),w[L]=Math.min(w[L],x[L]+O[1-o]),c.attr("position",O)}return w},_layoutContentAndController:function(a,s,l,n,u,t,c){var o=this.getContentGroup(),f=this._containerGroup,v=this._controllerGroup;g.box(a.get("orient"),o,a.get("itemGap"),n?l.width:null,n?null:l.height),g.box("horizontal",v,a.get("pageButtonItemGap",!0));var y=o.getBoundingRect(),L=v.getBoundingRect(),S=this._showController=y[u]>l[u],x=[-y.x,-y.y];s||(x[n]=o.position[n]);var O=[0,0],T=[-L.x,-L.y],w=d.retrieve2(a.get("pageButtonGap",!0),a.get("itemGap",!0));if(S){var C=a.get("pageButtonPosition",!0);C==="end"?T[n]+=l[u]-L[u]:O[n]+=L[u]+w}T[1-n]+=y[t]/2-L[t]/2,o.attr("position",x),f.attr("position",O),v.attr("position",T);var N={x:0,y:0};if(N[u]=S?l[u]:y[u],N[t]=Math.max(y[t],L[t]),N[c]=Math.min(0,L[c]+T[1-n]),f.__rectSize=l[u],S){var D={x:0,y:0};D[u]=Math.max(l[u]-L[u]-w,0),D[t]=N[t],f.setClipPath(new E.Rect({shape:D})),f.__rectSize=D[u]}else v.eachChild(function(R){R.attr({invisible:!0,silent:!0})});var B=this._getPageInfo(a);return B.pageIndex!=null&&E.updateProps(o,{position:B.contentPosition},S?a:!1),this._updatePageInfoView(a,B),N},_pageGo:function(a,s,l){var n=this._getPageInfo(s)[a];n!=null&&l.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:s.id})},_updatePageInfoView:function(a,s){var l=this._controllerGroup;d.each(["pagePrev","pageNext"],function(f){var v=s[f+"DataIndex"]!=null,y=l.childOfName(f);y&&(y.setStyle("fill",v?a.get("pageIconColor",!0):a.get("pageIconInactiveColor",!0)),y.cursor=v?"pointer":"default")});var n=l.childOfName("pageText"),u=a.get("pageFormatter"),t=s.pageIndex,c=t!=null?t+1:0,o=s.pageCount;n&&u&&n.setStyle("text",d.isString(u)?u.replace("{current}",c).replace("{total}",o):u({current:c,total:o}))},_getPageInfo:function(a){var s=a.get("scrollDataIndex",!0),l=this.getContentGroup(),n=this._containerGroup.__rectSize,u=a.getOrient().index,t=b[u],c=h[u],o=this._findTargetItemIndex(s),f=l.children(),v=f[o],y=f.length,L=y?1:0,S={contentPosition:l.position.slice(),pageCount:L,pageIndex:L-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!v)return S;var x=N(v);S.contentPosition[u]=-x.s;for(var O=o+1,T=x,w=x,C=null;O<=y;++O)C=N(f[O]),(!C&&w.e>T.s+n||C&&!D(C,T.s))&&(w.i>T.i?T=w:T=C,T&&(S.pageNextDataIndex==null&&(S.pageNextDataIndex=T.i),++S.pageCount)),w=C;for(var O=o-1,T=x,w=x,C=null;O>=-1;--O)C=N(f[O]),(!C||!D(w,C.s))&&T.i<w.i&&(w=T,S.pagePrevDataIndex==null&&(S.pagePrevDataIndex=T.i),++S.pageCount,++S.pageIndex),T=C;return S;function N(B){if(B){var R=B.getBoundingRect(),U=R[c]+B.position[u];return{s:U,e:U+R[t],i:B.__legendDataIndex}}}function D(B,R){return B.e>=R&&B.s<=R+n}},_findTargetItemIndex:function(a){if(!this._showController)return 0;var s,l=this.getContentGroup(),n;return l.eachChild(function(u,t){var c=u.__legendDataIndex;n==null&&c!=null&&(n=t),c===a&&(s=t)}),s!=null?s:n}}),r=i;J.exports=r},"E/ki":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},E2g8:function(J,F,e){(function(d,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(g,p){J.exports=p()})(this,function(){"use strict";function g(Ge){var At=typeof Ge;return Ge!==null&&(At==="object"||At==="function")}function p(Ge){return typeof Ge=="function"}var A=void 0;Array.isArray?A=Array.isArray:A=function(At){return Object.prototype.toString.call(At)==="[object Array]"};var b=A,h=0,i=void 0,r=void 0,a=function(At,_e){x[h]=At,x[h+1]=_e,h+=2,h===2&&(r?r(O):w())};function s(Ge){r=Ge}function l(Ge){a=Ge}var n=typeof window!="undefined"?window:void 0,u=n||{},t=u.MutationObserver||u.WebKitMutationObserver,c=typeof self=="undefined"&&typeof d!="undefined"&&{}.toString.call(d)==="[object process]",o=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function f(){return function(){return d.nextTick(O)}}function v(){return typeof i!="undefined"?function(){i(O)}:S()}function y(){var Ge=0,At=new t(O),_e=document.createTextNode("");return At.observe(_e,{characterData:!0}),function(){_e.data=Ge=++Ge%2}}function L(){var Ge=new MessageChannel;return Ge.port1.onmessage=O,function(){return Ge.port2.postMessage(0)}}function S(){var Ge=setTimeout;return function(){return Ge(O,1)}}var x=new Array(1e3);function O(){for(var Ge=0;Ge<h;Ge+=2){var At=x[Ge],_e=x[Ge+1];At(_e),x[Ge]=void 0,x[Ge+1]=void 0}h=0}function T(){try{var Ge=Function("return this")().require("vertx");return i=Ge.runOnLoop||Ge.runOnContext,v()}catch(At){return S()}}var w=void 0;c?w=f():t?w=y():o?w=L():n===void 0&&!0?w=T():w=S();function C(Ge,At){var _e=this,De=new this.constructor(B);De[D]===void 0&&qe(De);var Ie=_e._state;if(Ie){var st=arguments[Ie-1];a(function(){return fe(Ie,De,st,_e._result)})}else he(_e,De,Ge,At);return De}function N(Ge){var At=this;if(Ge&&typeof Ge=="object"&&Ge.constructor===At)return Ge;var _e=new At(B);return Y(_e,Ge),_e}var D=Math.random().toString(36).substring(2);function B(){}var R=void 0,U=1,M=2;function j(){return new TypeError("You cannot resolve a promise with itself")}function P(){return new TypeError("A promises callback cannot return that same promise.")}function K(Ge,At,_e,De){try{Ge.call(At,_e,De)}catch(Ie){return Ie}}function H(Ge,At,_e){a(function(De){var Ie=!1,st=K(_e,At,function(Et){if(Ie)return;Ie=!0,At!==Et?Y(De,Et):Q(De,Et)},function(Et){if(Ie)return;Ie=!0,X(De,Et)},"Settle: "+(De._label||" unknown promise"));!Ie&&st&&(Ie=!0,X(De,st))},Ge)}function k(Ge,At){At._state===U?Q(Ge,At._result):At._state===M?X(Ge,At._result):he(At,void 0,function(_e){return Y(Ge,_e)},function(_e){return X(Ge,_e)})}function Z(Ge,At,_e){At.constructor===Ge.constructor&&_e===C&&At.constructor.resolve===N?k(Ge,At):_e===void 0?Q(Ge,At):p(_e)?H(Ge,At,_e):Q(Ge,At)}function Y(Ge,At){if(Ge===At)X(Ge,j());else if(g(At)){var _e=void 0;try{_e=At.then}catch(De){X(Ge,De);return}Z(Ge,At,_e)}else Q(Ge,At)}function _(Ge){Ge._onerror&&Ge._onerror(Ge._result),te(Ge)}function Q(Ge,At){if(Ge._state!==R)return;Ge._result=At,Ge._state=U,Ge._subscribers.length!==0&&a(te,Ge)}function X(Ge,At){if(Ge._state!==R)return;Ge._state=M,Ge._result=At,a(_,Ge)}function he(Ge,At,_e,De){var Ie=Ge._subscribers,st=Ie.length;Ge._onerror=null,Ie[st]=At,Ie[st+U]=_e,Ie[st+M]=De,st===0&&Ge._state&&a(te,Ge)}function te(Ge){var At=Ge._subscribers,_e=Ge._state;if(At.length===0)return;for(var De=void 0,Ie=void 0,st=Ge._result,Et=0;Et<At.length;Et+=3)De=At[Et],Ie=At[Et+_e],De?fe(_e,De,Ie,st):Ie(st);Ge._subscribers.length=0}function fe(Ge,At,_e,De){var Ie=p(_e),st=void 0,Et=void 0,Mt=!0;if(Ie){try{st=_e(De)}catch(Pt){Mt=!1,Et=Pt}if(At===st){X(At,P());return}}else st=De;At._state!==R||(Ie&&Mt?Y(At,st):Mt===!1?X(At,Et):Ge===U?Q(At,st):Ge===M&&X(At,st))}function be(Ge,At){try{At(function(De){Y(Ge,De)},function(De){X(Ge,De)})}catch(_e){X(Ge,_e)}}var we=0;function Ke(){return we++}function qe(Ge){Ge[D]=we++,Ge._state=void 0,Ge._result=void 0,Ge._subscribers=[]}function xt(){return new Error("Array Methods must be provided an Array")}var Fe=function(){function Ge(At,_e){this._instanceConstructor=At,this.promise=new At(B),this.promise[D]||qe(this.promise),b(_e)?(this.length=_e.length,this._remaining=_e.length,this._result=new Array(this.length),this.length===0?Q(this.promise,this._result):(this.length=this.length||0,this._enumerate(_e),this._remaining===0&&Q(this.promise,this._result))):X(this.promise,xt())}return Ge.prototype._enumerate=function(_e){for(var De=0;this._state===R&&De<_e.length;De++)this._eachEntry(_e[De],De)},Ge.prototype._eachEntry=function(_e,De){var Ie=this._instanceConstructor,st=Ie.resolve;if(st===N){var Et=void 0,Mt=void 0,Pt=!1;try{Et=_e.then}catch(zt){Pt=!0,Mt=zt}if(Et===C&&_e._state!==R)this._settledAt(_e._state,De,_e._result);else if(typeof Et!="function")this._remaining--,this._result[De]=_e;else if(Ie===ht){var ke=new Ie(B);Pt?X(ke,Mt):Z(ke,_e,Et),this._willSettleAt(ke,De)}else this._willSettleAt(new Ie(function(zt){return zt(_e)}),De)}else this._willSettleAt(st(_e),De)},Ge.prototype._settledAt=function(_e,De,Ie){var st=this.promise;st._state===R&&(this._remaining--,_e===M?X(st,Ie):this._result[De]=Ie),this._remaining===0&&Q(st,this._result)},Ge.prototype._willSettleAt=function(_e,De){var Ie=this;he(_e,void 0,function(st){return Ie._settledAt(U,De,st)},function(st){return Ie._settledAt(M,De,st)})},Ge}();function Be(Ge){return new Fe(this,Ge).promise}function bt(Ge){var At=this;return b(Ge)?new At(function(_e,De){for(var Ie=Ge.length,st=0;st<Ie;st++)At.resolve(Ge[st]).then(_e,De)}):new At(function(_e,De){return De(new TypeError("You must pass an array to race."))})}function lt(Ge){var At=this,_e=new At(B);return X(_e,Ge),_e}function tt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function St(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ht=function(){function Ge(At){this[D]=Ke(),this._result=this._state=void 0,this._subscribers=[],B!==At&&(typeof At!="function"&&tt(),this instanceof Ge?be(this,At):St())}return Ge.prototype.catch=function(_e){return this.then(null,_e)},Ge.prototype.finally=function(_e){var De=this,Ie=De.constructor;return p(_e)?De.then(function(st){return Ie.resolve(_e()).then(function(){return st})},function(st){return Ie.resolve(_e()).then(function(){throw st})}):De.then(_e,_e)},Ge}();ht.prototype.then=C,ht.all=Be,ht.race=bt,ht.resolve=N,ht.reject=lt,ht._setScheduler=s,ht._setAsap=l,ht._asap=a;function vt(){var Ge=void 0;if(typeof E!="undefined")Ge=E;else if(typeof self!="undefined")Ge=self;else try{Ge=Function("return this")()}catch(De){throw new Error("polyfill failed because global object is unavailable in this environment")}var At=Ge.Promise;if(At){var _e=null;try{_e=Object.prototype.toString.call(At.resolve())}catch(De){}if(_e==="[object Promise]"&&!At.cast)return}Ge.Promise=ht}return ht.polyfill=vt,ht.Promise=ht,ht})}).call(this,e("Q2Ig"),e("yLpj"))},E2jh:function(J,F,e){var d=e("2gN3"),E=function(){var p=/[^.]+$/.exec(d&&d.keys&&d.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}();function g(p){return!!E&&E in p}J.exports=g},E9nw:function(J,F){J.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var d=document.activeElement,E=[],g=0;g<e.rangeCount;g++)E.push(e.getRangeAt(g));switch(d.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":d.blur();break;default:d=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||E.forEach(function(p){e.addRange(p)}),d&&d.focus()}}},ELLl:function(J,F,e){(function(d){d(e("VrN/"))})(function(d){var E={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},g=d.Pos;d.defineOption("autoCloseBrackets",!1,function(t,c,o){o&&o!=d.Init&&(t.removeKeyMap(A),t.state.closeBrackets=null),c&&(b(p(c,"pairs")),t.state.closeBrackets=c,t.addKeyMap(A))});function p(t,c){return c=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[c]!=null?t[c]:E[c]}var A={Backspace:r,Enter:a};function b(t){for(var c=0;c<t.length;c++){var o=t.charAt(c),f="'"+o+"'";A[f]||(A[f]=h(o))}}b(E.pairs+"`");function h(t){return function(c){return l(c,t)}}function i(t){var c=t.state.closeBrackets;if(!c||c.override)return c;var o=t.getModeAt(t.getCursor());return o.closeBrackets||c}function r(t){var c=i(t);if(!c||t.getOption("disableInput"))return d.Pass;for(var o=p(c,"pairs"),f=t.listSelections(),v=0;v<f.length;v++){if(!f[v].empty())return d.Pass;var y=n(t,f[v].head);if(!y||o.indexOf(y)%2!=0)return d.Pass}for(var v=f.length-1;v>=0;v--){var L=f[v].head;t.replaceRange("",g(L.line,L.ch-1),g(L.line,L.ch+1),"+delete")}}function a(t){var c=i(t),o=c&&p(c,"explode");if(!o||t.getOption("disableInput"))return d.Pass;for(var f=t.listSelections(),v=0;v<f.length;v++){if(!f[v].empty())return d.Pass;var y=n(t,f[v].head);if(!y||o.indexOf(y)%2!=0)return d.Pass}t.operation(function(){var L=t.lineSeparator()||`
|
|
|
`;t.replaceSelection(L+L,null),t.execCommand("goCharLeft"),f=t.listSelections();for(var S=0;S<f.length;S++){var x=f[S].head.line;t.indentLine(x,null,!0),t.indentLine(x+1,null,!0)}})}function s(t){var c=d.cmpPos(t.anchor,t.head)>0;return{anchor:new g(t.anchor.line,t.anchor.ch+(c?-1:1)),head:new g(t.head.line,t.head.ch+(c?1:-1))}}function l(t,c){var o=i(t);if(!o||t.getOption("disableInput"))return d.Pass;var f=p(o,"pairs"),v=f.indexOf(c);if(v==-1)return d.Pass;for(var y=p(o,"closeBefore"),L=p(o,"triples"),S=f.charAt(v+1)==c,x=t.listSelections(),O=v%2==0,T,w=0;w<x.length;w++){var C=x[w],N=C.head,D,B=t.getRange(N,g(N.line,N.ch+1));if(O&&!C.empty())D="surround";else if((S||!O)&&B==c)S&&u(t,N)?D="both":L.indexOf(c)>=0&&t.getRange(N,g(N.line,N.ch+3))==c+c+c?D="skipThree":D="skip";else if(S&&N.ch>1&&L.indexOf(c)>=0&&t.getRange(g(N.line,N.ch-2),N)==c+c){if(N.ch>2&&/\bstring/.test(t.getTokenTypeAt(g(N.line,N.ch-2))))return d.Pass;D="addFour"}else if(S){var R=N.ch==0?" ":t.getRange(g(N.line,N.ch-1),N);if(!d.isWordChar(B)&&R!=c&&!d.isWordChar(R))D="both";else return d.Pass}else if(O&&(B.length===0||/\s/.test(B)||y.indexOf(B)>-1))D="both";else return d.Pass;if(!T)T=D;else if(T!=D)return d.Pass}var U=v%2?f.charAt(v-1):c,M=v%2?c:f.charAt(v+1);t.operation(function(){if(T=="skip")t.execCommand("goCharRight");else if(T=="skipThree")for(var j=0;j<3;j++)t.execCommand("goCharRight");else if(T=="surround"){for(var P=t.getSelections(),j=0;j<P.length;j++)P[j]=U+P[j]+M;t.replaceSelections(P,"around"),P=t.listSelections().slice();for(var j=0;j<P.length;j++)P[j]=s(P[j]);t.setSelections(P)}else T=="both"?(t.replaceSelection(U+M,null),t.triggerElectric(U+M),t.execCommand("goCharLeft")):T=="addFour"&&(t.replaceSelection(U+U+U+U,"before"),t.execCommand("goCharRight"))})}function n(t,c){var o=t.getRange(g(c.line,c.ch-1),g(c.line,c.ch+1));return o.length==2?o:null}function u(t,c){var o=t.getTokenAt(g(c.line,c.ch+1));return/\bstring/.test(o.type)&&o.start==c.ch&&(c.ch==0||!/\bstring/.test(t.getTokenTypeAt(c)))}})},EMyp:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("mFDi"),p=e("K4ya"),A=e("qJCg"),b=e("iLNv"),h=e("vZ6x"),i=["inBrush","outOfBrush"],r="__ecBrushSelect",a="__ecInBrushSelectEvent",s=d.PRIORITY.VISUAL.BRUSH;d.registerLayout(s,function(L,S,x){L.eachComponent({mainType:"brush"},function(O){x&&x.type==="takeGlobalCursor"&&O.setBrushOption(x.key==="brush"?x.brushOption:{brushType:!1})}),l(L)});function l(L){L.eachComponent({mainType:"brush"},function(S){var x=S.brushTargetManager=new h(S.option,L);x.setInputRanges(S.areas,L)})}d.registerVisual(s,function(L,S,x){var O=[],T,w;L.eachComponent({mainType:"brush"},function(C,N){var D={brushId:C.id,brushIndex:N,brushName:C.name,areas:E.clone(C.areas),selected:[]};O.push(D);var B=C.option,R=B.brushLink,U=[],M=[],j=[],P=0;N||(T=B.throttleType,w=B.throttleDelay);var K=E.map(C.areas,function(Q){return f(E.defaults({boundingRect:v[Q.brushType](Q)},Q))}),H=p.createVisualMappings(C.option,i,function(Q){Q.mappingMethod="fixed"});E.isArray(R)&&E.each(R,function(Q){U[Q]=1});function k(Q){return R==="all"||U[Q]}function Z(Q){return!!Q.length}L.eachSeries(function(Q,X){var he=j[X]=[];Q.subType==="parallel"?Y(Q,X,he):_(Q,X,he)});function Y(Q,X){var he=Q.coordinateSystem;P|=he.hasAxisBrushed(),k(X)&&he.eachActiveState(Q.getData(),function(te,fe){te==="active"&&(M[fe]=1)})}function _(Q,X,he){var te=c(Q);if(!te||o(C,X))return;if(E.each(K,function(be){te[be.brushType]&&C.brushTargetManager.controlSeries(be,Q,L)&&he.push(be),P|=Z(he)}),k(X)&&Z(he)){var fe=Q.getData();fe.each(function(be){t(te,he,fe,be)&&(M[be]=1)})}}L.eachSeries(function(Q,X){var he={seriesId:Q.id,seriesIndex:X,seriesName:Q.name,dataIndex:[]};D.selected.push(he);var te=c(Q),fe=j[X],be=Q.getData(),we=k(X)?function(Ke){return M[Ke]?(he.dataIndex.push(be.getRawIndex(Ke)),"inBrush"):"outOfBrush"}:function(Ke){return t(te,fe,be,Ke)?(he.dataIndex.push(be.getRawIndex(Ke)),"inBrush"):"outOfBrush"};(k(X)?P:Z(fe))&&p.applyVisual(i,H,be,we)})}),n(S,T,w,O,x)});function n(L,S,x,O,T){if(!T)return;var w=L.getZr();if(w[a])return;w[r]||(w[r]=u);var C=b.createOrUpdate(w,r,x,S);C(L,O)}function u(L,S){if(!L.isDisposed()){var x=L.getZr();x[a]=!0,L.dispatchAction({type:"brushSelect",batch:S}),x[a]=!1}}function t(L,S,x,O){for(var T=0,w=S.length;T<w;T++){var C=S[T];if(L[C.brushType](O,x,C.selectors,C))return!0}}function c(L){var S=L.brushSelector;if(E.isString(S)){var x=[];return E.each(A,function(T,w){x[w]=function(C,N,D,B){var R=N.getItemLayout(C);return T[S](R,D,B)}}),x}else if(E.isFunction(S)){var O={};return E.each(A,function(T,w){O[w]=S}),O}return S}function o(L,S){var x=L.option.seriesIndex;return x!=null&&x!=="all"&&(E.isArray(x)?E.indexOf(x,S)<0:S!==x)}function f(L){var S=L.selectors={};return E.each(A[L.brushType],function(x,O){S[O]=function(T){return x(T,S,L)}}),L}var v={lineX:E.noop,lineY:E.noop,rect:function(L){return y(L.range)},polygon:function(L){for(var S,x=L.range,O=0,T=x.length;O<T;O++){S=S||[[Infinity,-Infinity],[Infinity,-Infinity]];var w=x[O];w[0]<S[0][0]&&(S[0][0]=w[0]),w[0]>S[0][1]&&(S[0][1]=w[0]),w[1]<S[1][0]&&(S[1][0]=w[1]),w[1]>S[1][1]&&(S[1][1]=w[1])}return S&&y(S)}};function y(L){return new g(L[0][0],L[1][0],L[0][1]-L[0][0],L[1][1]-L[1][0])}F.layoutCovers=l},ERHi:function(J,F,e){var d=e("ProS");e("Z6js"),e("R4Th");var E=e("f5Yq"),g=e("h8O9");d.registerVisual(E("effectScatter","circle")),d.registerLayout(g("effectScatter"))},EXcs:function(J,F,e){"use strict";var d=function(){return{height:0,opacity:0}},E=function(h){return{height:h.scrollHeight,opacity:1}},g=function(h){return{height:h.offsetHeight}},p=function(h,i){return i.propertyName==="height"},A={motionName:"ant-motion-collapse",onAppearStart:d,onEnterStart:d,onAppearActive:E,onEnterActive:E,onLeaveStart:g,onLeaveActive:d,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500};F.a=A},Em2t:function(J,F,e){var d=e("bahg"),E=e("quyA"),g=e("0JQy");function p(A){return E(A)?g(A):d(A)}J.exports=p},EpBk:function(J,F){function e(d){var E=typeof d;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?d!=="__proto__":d===null}J.exports=e},Ez2D:function(J,F,e){var d=e("bYtY"),E=e("4NO4");function g(p,A){var b=[],h=p.seriesIndex,i;if(h==null||!(i=A.getSeriesByIndex(h)))return{point:[]};var r=i.getData(),a=E.queryDataIndex(r,p);if(a==null||a<0||d.isArray(a))return{point:[]};var s=r.getItemGraphicEl(a),l=i.coordinateSystem;if(i.getTooltipPosition)b=i.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)b=l.dataToPoint(r.getValues(d.map(l.dimensions,function(u){return r.mapDimension(u)}),a,!0))||[];else if(s){var n=s.getBoundingRect().clone();n.applyTransform(s.transform),b=[n.x+n.width/2,n.y+n.height/2]}return{point:b,el:s}}J.exports=g},F0hE:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("ca2m"),p=e("Qxkt"),A=e("ICMv"),b=g.valueAxis;function h(a,s){return E.defaults({show:s},a)}var i=d.extendComponentModel({type:"radar",optionUpdated:function(){var a=this.get("boundaryGap"),s=this.get("splitNumber"),l=this.get("scale"),n=this.get("axisLine"),u=this.get("axisTick"),t=this.get("axisType"),c=this.get("axisLabel"),o=this.get("name"),f=this.get("name.show"),v=this.get("name.formatter"),y=this.get("nameGap"),L=this.get("triggerEvent"),S=E.map(this.get("indicator")||[],function(x){x.max!=null&&x.max>0&&!x.min?x.min=0:x.min!=null&&x.min<0&&!x.max&&(x.max=0);var O=o;if(x.color!=null&&(O=E.defaults({color:x.color},o)),x=E.merge(E.clone(x),{boundaryGap:a,splitNumber:s,scale:l,axisLine:n,axisTick:u,axisType:t,axisLabel:c,name:x.text,nameLocation:"end",nameGap:y,nameTextStyle:O,triggerEvent:L},!1),f||(x.name=""),typeof v=="string"){var T=x.name;x.name=v.replace("{value}",T!=null?T:"")}else typeof v=="function"&&(x.name=v(x.name,x));var w=E.extend(new p(x,null,this.ecModel),A);return w.mainType="radar",w.componentIndex=this.componentIndex,w},this);this.getIndicatorModels=function(){return S}},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:E.merge({lineStyle:{color:"#bbb"}},b.axisLine),axisLabel:h(b.axisLabel,!1),axisTick:h(b.axisTick,!1),axisType:"interval",splitLine:h(b.splitLine,!0),splitArea:h(b.splitArea,!0),indicator:[]}}),r=i;J.exports=r},F5Ls:function(J,F){var e={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function d(E,g){if(E==="china"){var p=e[g.name];if(p){var A=g.center;A[0]+=p[0]/10.5,A[1]+=-p[1]/(10.5/.75)}}}J.exports=d},F7hV:function(J,F,e){var d=e("MBQ8"),E=d.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var g=this.get("progressiveThreshold"),p=this.get("largeThreshold");return p>g&&(g=p),g},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}}});J.exports=E},F9bG:function(J,F,e){var d=e("bYtY"),E=e("ItGF"),g=e("4NO4"),p=g.makeInner,A=p(),b=d.each;function h(u,t,c){if(E.node)return;var o=t.getZr();A(o).records||(A(o).records={}),i(o,t);var f=A(o).records[u]||(A(o).records[u]={});f.handler=c}function i(u,t){if(A(u).initialized)return;A(u).initialized=!0,c("click",d.curry(s,"click")),c("mousemove",d.curry(s,"mousemove")),c("globalout",a);function c(o,f){u.on(o,function(v){var y=l(t);b(A(u).records,function(L){L&&f(L,v,y.dispatchAction)}),r(y.pendings,t)})}}function r(u,t){var c=u.showTip.length,o=u.hideTip.length,f;c?f=u.showTip[c-1]:o&&(f=u.hideTip[o-1]),f&&(f.dispatchAction=null,t.dispatchAction(f))}function a(u,t,c){u.handler("leave",null,c)}function s(u,t,c,o){t.handler(u,c,o)}function l(u){var t={showTip:[],hideTip:[]},c=function(o){var f=t[o.type];f?f.push(o):(o.dispatchAction=c,u.dispatchAction(o))};return{dispatchAction:c,pendings:t}}function n(u,t){if(E.node)return;var c=t.getZr(),o=(A(c).records||{})[u];o&&(A(c).records[u]=null)}F.register=h,F.unregister=n},FBjb:function(J,F,e){var d=e("bYtY"),E=e("oVpE"),g=E.createSymbol,p=e("IwbS"),A=e("OELB"),b=A.parsePercent,h=e("x3X8"),i=h.getDefaultLabel;function r(y,L,S){p.Group.call(this),this.updateData(y,L,S)}var a=r.prototype,s=r.getSymbolSize=function(y,L){var S=y.getItemVisual(L,"symbolSize");return S instanceof Array?S.slice():[+S,+S]};function l(y){return[y[0]/2,y[1]/2]}function n(y,L){this.parent.drift(y,L)}a._createSymbol=function(y,L,S,x,O){this.removeAll();var T=L.getItemVisual(S,"color"),w=g(y,-1,-1,2,2,T,O);w.attr({z2:100,culling:!0,scale:l(x)}),w.drift=n,this._symbolType=y,this.add(w)},a.stopSymbolAnimation=function(y){this.childAt(0).stopAnimation(y)},a.getSymbolPath=function(){return this.childAt(0)},a.getScale=function(){return this.childAt(0).scale},a.highlight=function(){this.childAt(0).trigger("emphasis")},a.downplay=function(){this.childAt(0).trigger("normal")},a.setZ=function(y,L){var S=this.childAt(0);S.zlevel=y,S.z=L},a.setDraggable=function(y){var L=this.childAt(0);L.draggable=y,L.cursor=y?"move":L.cursor},a.updateData=function(y,L,S){this.silent=!1;var x=y.getItemVisual(L,"symbol")||"circle",O=y.hostModel,T=s(y,L),w=x!==this._symbolType;if(w){var C=y.getItemVisual(L,"symbolKeepAspect");this._createSymbol(x,y,L,T,C)}else{var N=this.childAt(0);N.silent=!1,p.updateProps(N,{scale:l(T)},O,L)}if(this._updateCommon(y,L,T,S),w){var N=this.childAt(0),D=S&&S.fadeIn,B={scale:N.scale.slice()};D&&(B.style={opacity:N.style.opacity}),N.scale=[0,0],D&&(N.style.opacity=0),p.initProps(N,B,O,L)}this._seriesModel=O};var u=["itemStyle"],t=["emphasis","itemStyle"],c=["label"],o=["emphasis","label"];a._updateCommon=function(y,L,S,x){var O=this.childAt(0),T=y.hostModel,w=y.getItemVisual(L,"color");O.type!=="image"?O.useStyle({strokeNoScale:!0}):O.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var C=x&&x.itemStyle,N=x&&x.hoverItemStyle,D=x&&x.symbolOffset,B=x&&x.labelModel,R=x&&x.hoverLabelModel,U=x&&x.hoverAnimation,M=x&&x.cursorStyle;if(!x||y.hasItemOption){var j=x&&x.itemModel?x.itemModel:y.getItemModel(L);C=j.getModel(u).getItemStyle(["color"]),N=j.getModel(t).getItemStyle(),D=j.getShallow("symbolOffset"),B=j.getModel(c),R=j.getModel(o),U=j.getShallow("hoverAnimation"),M=j.getShallow("cursor")}else N=d.extend({},N);var P=O.style,K=y.getItemVisual(L,"symbolRotate");O.attr("rotation",(K||0)*Math.PI/180||0),D&&O.attr("position",[b(D[0],S[0]),b(D[1],S[1])]),M&&O.attr("cursor",M),O.setColor(w,x&&x.symbolInnerColor),O.setStyle(C);var H=y.getItemVisual(L,"opacity");H!=null&&(P.opacity=H);var k=y.getItemVisual(L,"liftZ"),Z=O.__z2Origin;k!=null?Z==null&&(O.__z2Origin=O.z2,O.z2+=k):Z!=null&&(O.z2=Z,O.__z2Origin=null);var Y=x&&x.useNameLabel;p.setLabelStyle(P,N,B,R,{labelFetcher:T,labelDataIndex:L,defaultText:_,isRectText:!0,autoColor:w});function _(Q,X){return Y?y.getName(Q):i(y,Q)}O.__symbolOriginalScale=l(S),O.hoverStyle=N,O.highDownOnUpdate=U&&T.isAnimationEnabled()?f:null,p.setHoverStyle(O)};function f(y,L){if(this.incremental||this.useHoverLayer)return;if(L==="emphasis"){var S=this.__symbolOriginalScale,x=S[1]/S[0],O={scale:[Math.max(S[0]*1.1,S[0]+3),Math.max(S[1]*1.1,S[1]+3*x)]};this.animateTo(O,400,"elasticOut")}else L==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}a.fadeOut=function(y,L){var S=this.childAt(0);this.silent=S.silent=!0,!(L&&L.keepLabel)&&(S.style.text=null),p.updateProps(S,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,y)},d.inherits(r,p.Group);var v=r;J.exports=v},FGaS:function(J,F,e){var d=e("ProS"),E=e("IwbS"),g=e("bYtY"),p=e("oVpE");function A(h){return g.isArray(h)||(h=[+h,+h]),h}var b=d.extendChartView({type:"radar",render:function(h,i,r){var a=h.coordinateSystem,s=this.group,l=h.getData(),n=this._data;function u(o,f){var v=o.getItemVisual(f,"symbol")||"circle",y=o.getItemVisual(f,"color");if(v==="none")return;var L=A(o.getItemVisual(f,"symbolSize")),S=p.createSymbol(v,-1,-1,2,2,y);return S.attr({style:{strokeNoScale:!0},z2:100,scale:[L[0]/2,L[1]/2]}),S}function t(o,f,v,y,L,S){v.removeAll();for(var x=0;x<f.length-1;x++){var O=u(y,L);O&&(O.__dimIdx=x,o[x]?(O.attr("position",o[x]),E[S?"initProps":"updateProps"](O,{position:f[x]},h,L)):O.attr("position",f[x]),v.add(O))}}function c(o){return g.map(o,function(f){return[a.cx,a.cy]})}l.diff(n).add(function(o){var f=l.getItemLayout(o);if(!f)return;var v=new E.Polygon,y=new E.Polyline,L={shape:{points:f}};v.shape.points=c(f),y.shape.points=c(f),E.initProps(v,L,h,o),E.initProps(y,L,h,o);var S=new E.Group,x=new E.Group;S.add(y),S.add(v),S.add(x),t(y.shape.points,f,x,l,o,!0),l.setItemGraphicEl(o,S)}).update(function(o,f){var v=n.getItemGraphicEl(f),y=v.childAt(0),L=v.childAt(1),S=v.childAt(2),x={shape:{points:l.getItemLayout(o)}};if(!x.shape.points)return;t(y.shape.points,x.shape.points,S,l,o,!1),E.updateProps(y,x,h),E.updateProps(L,x,h),l.setItemGraphicEl(o,v)}).remove(function(o){s.remove(n.getItemGraphicEl(o))}).execute(),l.eachItemGraphicEl(function(o,f){var v=l.getItemModel(f),y=o.childAt(0),L=o.childAt(1),S=o.childAt(2),x=l.getItemVisual(f,"color");s.add(o),y.useStyle(g.defaults(v.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:x})),y.hoverStyle=v.getModel("emphasis.lineStyle").getLineStyle();var O=v.getModel("areaStyle"),T=v.getModel("emphasis.areaStyle"),w=O.isEmpty()&&O.parentModel.isEmpty(),C=T.isEmpty()&&T.parentModel.isEmpty();C=C&&w,L.ignore=w,L.useStyle(g.defaults(O.getAreaStyle(),{fill:x,opacity:.7})),L.hoverStyle=T.getAreaStyle();var N=v.getModel("itemStyle").getItemStyle(["color"]),D=v.getModel("emphasis.itemStyle").getItemStyle(),B=v.getModel("label"),R=v.getModel("emphasis.label");S.eachChild(function(U){U.setStyle(N),U.hoverStyle=g.clone(D);var M=l.get(l.dimensions[U.__dimIdx],f);(M==null||isNaN(M))&&(M=""),E.setLabelStyle(U.style,U.hoverStyle,B,R,{labelFetcher:l.hostModel,labelDataIndex:f,labelDimIndex:U.__dimIdx,defaultText:M,autoColor:x,isRectText:!0})}),o.highDownOnUpdate=function(U,M){L.attr("ignore",M==="emphasis"?C:w)},E.setHoverStyle(o)}),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});J.exports=b},FH2Y:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("ZMnZ"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},FIfw:function(J,F,e){},FNN5:function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("+rIm"),p=e("Znkb"),A=["axisLine","axisTickLabel","axisName"],b=["splitLine","splitArea","minorSplitLine"],h=p.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(r,a){if(this.group.removeAll(),!r.get("show"))return;var s=r.axis,l=s.polar,n=l.getAngleAxis(),u=s.getTicksCoords(),t=s.getMinorTicksCoords(),c=n.getExtent()[0],o=s.getExtent(),f=i(l,r,c),v=new g(r,f);d.each(A,v.add,v),this.group.add(v.getGroup()),d.each(b,function(y){r.get(y+".show")&&!s.scale.isBlank()&&this["_"+y](r,l,c,o,u,t)},this)},_splitLine:function(r,a,s,l,n){var u=r.getModel("splitLine"),t=u.getModel("lineStyle"),c=t.get("color"),o=0;c=c instanceof Array?c:[c];for(var f=[],v=0;v<n.length;v++){var y=o++%c.length;f[y]=f[y]||[],f[y].push(new E.Circle({shape:{cx:a.cx,cy:a.cy,r:n[v].coord}}))}for(var v=0;v<f.length;v++)this.group.add(E.mergePath(f[v],{style:d.defaults({stroke:c[v%c.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(r,a,s,l,n,u){if(!u.length)return;for(var t=r.getModel("minorSplitLine"),c=t.getModel("lineStyle"),o=[],f=0;f<u.length;f++)for(var v=0;v<u[f].length;v++)o.push(new E.Circle({shape:{cx:a.cx,cy:a.cy,r:u[f][v].coord}}));this.group.add(E.mergePath(o,{style:d.defaults({fill:null},c.getLineStyle()),silent:!0}))},_splitArea:function(r,a,s,l,n){if(!n.length)return;var u=r.getModel("splitArea"),t=u.getModel("areaStyle"),c=t.get("color"),o=0;c=c instanceof Array?c:[c];for(var f=[],v=n[0].coord,y=1;y<n.length;y++){var L=o++%c.length;f[L]=f[L]||[],f[L].push(new E.Sector({shape:{cx:a.cx,cy:a.cy,r0:v,r:n[y].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),v=n[y].coord}for(var y=0;y<f.length;y++)this.group.add(E.mergePath(f[y],{style:d.defaults({fill:c[y%c.length]},t.getAreaStyle()),silent:!0}))}});function i(r,a,s){return{position:[r.cx,r.cy],rotation:s/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:a.getModel("axisLabel").get("rotate"),z2:1}}J.exports=h},FUi9:function(J,F,e){var d=e("bYtY"),E=e("MwEJ"),g=e("aX7z"),p=e("ICMv"),A=e("Qxkt"),b=e("+TT/"),h=b.getLayoutRect;F.getLayoutRect=b.getLayoutRect;var i=e("7hqr"),r=i.enableDataStack,a=i.isDimensionStacked,s=i.getStackedDimension,l=e("hi0g");F.completeDimensions=l;var n=e("sdST");F.createDimensions=n;var u=e("oVpE");F.createSymbol=u.createSymbol;function t(v){return E(v.getSource(),v)}var c={isDimensionStacked:a,enableDataStack:r,getStackedDimension:s};function o(v,y){var L=y;A.isInstance(y)||(L=new A(y),d.mixin(L,p));var S=g.createScaleByModel(L);return S.setExtent(v[0],v[1]),g.niceScaleExtent(S,L),S}function f(v){d.mixin(v,p)}F.createList=t,F.dataStack=c,F.createScale=o,F.mixinAxisModelCommonMethods=f},"Fa/5":function(J,F,e){var d=e("ProS");e("y2l5"),e("q/+u");var E=e("f5Yq"),g=e("h8O9");e("Ae16"),d.registerVisual(E("scatter","circle")),d.registerLayout(g("scatter"))},FhB9:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},"Fm1+":function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("a7Wl")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CaretUpOutlined";var h=g.forwardRef(b);F.default=h},Fofx:function(J,F){var e=typeof Float32Array=="undefined"?Array:Float32Array;function d(){var a=new e(6);return E(a),a}function E(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=1,a[4]=0,a[5]=0,a}function g(a,s){return a[0]=s[0],a[1]=s[1],a[2]=s[2],a[3]=s[3],a[4]=s[4],a[5]=s[5],a}function p(a,s,l){var n=s[0]*l[0]+s[2]*l[1],u=s[1]*l[0]+s[3]*l[1],t=s[0]*l[2]+s[2]*l[3],c=s[1]*l[2]+s[3]*l[3],o=s[0]*l[4]+s[2]*l[5]+s[4],f=s[1]*l[4]+s[3]*l[5]+s[5];return a[0]=n,a[1]=u,a[2]=t,a[3]=c,a[4]=o,a[5]=f,a}function A(a,s,l){return a[0]=s[0],a[1]=s[1],a[2]=s[2],a[3]=s[3],a[4]=s[4]+l[0],a[5]=s[5]+l[1],a}function b(a,s,l){var n=s[0],u=s[2],t=s[4],c=s[1],o=s[3],f=s[5],v=Math.sin(l),y=Math.cos(l);return a[0]=n*y+c*v,a[1]=-n*v+c*y,a[2]=u*y+o*v,a[3]=-u*v+y*o,a[4]=y*t+v*f,a[5]=y*f-v*t,a}function h(a,s,l){var n=l[0],u=l[1];return a[0]=s[0]*n,a[1]=s[1]*u,a[2]=s[2]*n,a[3]=s[3]*u,a[4]=s[4]*n,a[5]=s[5]*u,a}function i(a,s){var l=s[0],n=s[2],u=s[4],t=s[1],c=s[3],o=s[5],f=l*c-t*n;return f?(f=1/f,a[0]=c*f,a[1]=-t*f,a[2]=-n*f,a[3]=l*f,a[4]=(n*o-c*u)*f,a[5]=(t*u-l*o)*f,a):null}function r(a){var s=d();return g(s,a),s}F.create=d,F.identity=E,F.copy=g,F.mul=p,F.translate=A,F.rotate=b,F.scale=h,F.invert=i,F.clone=r},FxDU:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.createSensor=void 0;var d=e("QO+J"),E=e("j5sG"),g=typeof ResizeObserver!="undefined"?E.createSensor:d.createSensor;F.createSensor=g},GGyF:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("wgjA")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="LeftOutlined";var h=g.forwardRef(b);F.default=h},GIiI:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="PoweroffOutlined";var b=F.a=d.forwardRef(A)},GMDS:function(J,F,e){var d=e("bYtY"),E=e("4NgU"),g=e("jkPA"),p=E.prototype,A=E.extend({type:"ordinal",init:function(h,i){(!h||d.isArray(h))&&(h=new g({categories:h})),this._ordinalMeta=h,this._extent=i||[0,h.categories.length-1]},parse:function(h){return typeof h=="string"?this._ordinalMeta.getOrdinal(h):Math.round(h)},contain:function(h){return h=this.parse(h),p.contain.call(this,h)&&this._ordinalMeta.categories[h]!=null},normalize:function(h){return p.normalize.call(this,this.parse(h))},scale:function(h){return Math.round(p.scale.call(this,h))},getTicks:function(){for(var h=[],i=this._extent,r=i[0];r<=i[1];)h.push(r),r++;return h},getLabel:function(h){if(!this.isBlank())return this._ordinalMeta.categories[h]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(h,i){this.unionExtent(h.getApproximateExtent(i))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:d.noop,niceExtent:d.noop});A.create=function(){return new A};var b=A;J.exports=b},GUcZ:function(J,F,e){"use strict";var d=e("fWQN"),E=e("mtLc"),g=function(){function ee(){Object(d.a)(this,ee)}return Object(E.a)(ee,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(z,$){return z.__proto__=$,z},Object.assign=Object.assign||function(z){if(z==null)throw new TypeError("Cannot convert undefined or null to object");for(var $=Object(z),le=1;le<arguments.length;le++){var ge=arguments[le];if(ge!=null)for(var Ae in ge)ge.hasOwnProperty(Ae)&&($[Ae]=ge[Ae])}return $},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),ee}();g.install();var p=g,A=e("+qE3"),b=e.n(A),h=function(){function ee(){Object(d.a)(this,ee)}return Object(E.a)(ee,null,[{key:"e",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","error",le),!ee.ENABLE_ERROR)return;console.error?console.error(le):console.warn?console.warn(le):console.log(le)}},{key:"i",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","info",le),!ee.ENABLE_INFO)return;console.info?console.info(le):console.log(le)}},{key:"w",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","warn",le),!ee.ENABLE_WARN)return;console.warn?console.warn(le):console.log(le)}},{key:"d",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","debug",le),!ee.ENABLE_DEBUG)return;console.debug?console.debug(le):console.log(le)}},{key:"v",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","verbose",le),!ee.ENABLE_VERBOSE)return;console.log(le)}}]),ee}();h.GLOBAL_TAG="flv.js",h.FORCE_GLOBAL_TAG=!1,h.ENABLE_ERROR=!0,h.ENABLE_INFO=!0,h.ENABLE_WARN=!0,h.ENABLE_DEBUG=!0,h.ENABLE_VERBOSE=!0,h.ENABLE_CALLBACK=!1,h.emitter=new b.a;var i=h,r=function(){function ee(){Object(d.a)(this,ee),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(E.a)(ee,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(z){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=z,this._totalBytes+=z):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=z,this._totalBytes+=z):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=z,this._totalBytes+=z,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var z=(this._now()-this._lastCheckpoint)/1e3;return z==0&&(z=1),this._intervalBytes/z/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 z=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/z/1024}}]),ee}(),a=r,s=e("yKVA"),l=e("879j"),n=function(){function ee(ie){Object(d.a)(this,ee),this._message=ie}return Object(E.a)(ee,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),ee}(),u=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);function z($){return Object(d.a)(this,z),ie.call(this,$)}return Object(E.a)(z,[{key:"name",get:function(){return"IllegalStateException"}}]),z}(n),t=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);function z($){return Object(d.a)(this,z),ie.call(this,$)}return Object(E.a)(z,[{key:"name",get:function(){return"InvalidArgumentException"}}]),z}(n),c=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);function z($){return Object(d.a)(this,z),ie.call(this,$)}return Object(E.a)(z,[{key:"name",get:function(){return"NotImplementedException"}}]),z}(n),o={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},f={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},v=function(){function ee(ie){Object(d.a)(this,ee),this._type=ie||"undefined",this._status=o.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(E.a)(ee,[{key:"destroy",value:function(){this._status=o.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===o.kConnecting||this._status===o.kBuffering}},{key:"open",value:function(z,$){throw new c("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new c("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(z){this._onContentLengthKnown=z}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(z){this._onURLRedirect=z}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(z){this._onDataArrival=z}},{key:"onError",get:function(){return this._onError},set:function(z){this._onError=z}},{key:"onComplete",get:function(){return this._onComplete},set:function(z){this._onComplete=z}}]),ee}(),y=e("oZsa");function L(ee,ie){for(;!Object.prototype.hasOwnProperty.call(ee,ie)&&!(ee=Object(y.a)(ee),ee===null););return ee}function S(ee,ie,z){return typeof Reflect!="undefined"&&Reflect.get?S=Reflect.get:S=function(le,ge,Ae){var Me=L(le,ge);if(!Me)return;var $e=Object.getOwnPropertyDescriptor(Me,ge);return $e.get?$e.get.call(Ae):$e.value},S(ee,ie,z||ee)}var x={};function O(){var ee=self.navigator.userAgent.toLowerCase(),ie=/(edge)\/([\w.]+)/.exec(ee)||/(opr)[\/]([\w.]+)/.exec(ee)||/(chrome)[ \/]([\w.]+)/.exec(ee)||/(iemobile)[\/]([\w.]+)/.exec(ee)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ee)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ee)||/(webkit)[ \/]([\w.]+)/.exec(ee)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ee)||/(msie) ([\w.]+)/.exec(ee)||ee.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(ee)||ee.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(ee)||[],z=/(ipad)/.exec(ee)||/(ipod)/.exec(ee)||/(windows phone)/.exec(ee)||/(iphone)/.exec(ee)||/(kindle)/.exec(ee)||/(android)/.exec(ee)||/(windows)/.exec(ee)||/(mac)/.exec(ee)||/(linux)/.exec(ee)||/(cros)/.exec(ee)||[],$={browser:ie[5]||ie[3]||ie[1]||"",version:ie[2]||ie[4]||"0",majorVersion:ie[4]||ie[2]||"0",platform:z[0]||""},le={};if($.browser){le[$.browser]=!0;var ge=$.majorVersion.split(".");le.version={major:parseInt($.majorVersion,10),string:$.version},ge.length>1&&(le.version.minor=parseInt(ge[1],10)),ge.length>2&&(le.version.build=parseInt(ge[2],10))}if($.platform&&(le[$.platform]=!0),(le.chrome||le.opr||le.safari)&&(le.webkit=!0),le.rv||le.iemobile){le.rv&&delete le.rv;var Ae="msie";$.browser=Ae,le[Ae]=!0}if(le.edge){delete le.edge;var Me="msedge";$.browser=Me,le[Me]=!0}if(le.opr){var $e="opera";$.browser=$e,le[$e]=!0}if(le.safari&&le.android){var kt="android";$.browser=kt,le[kt]=!0}le.name=$.browser,le.platform=$.platform;for(var $t in x)x.hasOwnProperty($t)&&delete x[$t];Object.assign(x,le)}O();var T=x,w=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(E.a)(z,null,[{key:"isSupported",value:function(){try{var le=T.msedge&&T.version.minor>=15048,ge=T.msedge?le:!0;return self.fetch&&self.ReadableStream&&ge}catch(Ae){return!1}}}]);function z($,le){var ge;return Object(d.a)(this,z),ge=ie.call(this,"fetch-stream-loader"),ge.TAG="FetchStreamLoader",ge._seekHandler=$,ge._config=le,ge._needStash=!0,ge._requestAbort=!1,ge._contentLength=null,ge._receivedLength=0,ge}return Object(E.a)(z,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le,ge){var Ae=this;this._dataSource=le,this._range=ge;var Me=le.url;this._config.reuseRedirectedURL&&le.redirectedURL!=null&&(Me=le.redirectedURL);var $e=this._seekHandler.getConfig(Me,ge),kt=new self.Headers;if(typeof $e.headers=="object"){var $t=$e.headers;for(var Lt in $t)$t.hasOwnProperty(Lt)&&kt.append(Lt,$t[Lt])}var Ut={method:"GET",headers:kt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Wt in this._config.headers)kt.append(Wt,this._config.headers[Wt]);le.cors===!1&&(Ut.mode="same-origin"),le.withCredentials&&(Ut.credentials="include"),le.referrerPolicy&&(Ut.referrerPolicy=le.referrerPolicy),this._status=o.kConnecting,self.fetch($e.url,Ut).then(function(Vt){if(Ae._requestAbort){Ae._requestAbort=!1,Ae._status=o.kIdle;return}if(Vt.ok&&Vt.status>=200&&Vt.status<=299){if(Vt.url!==$e.url&&Ae._onURLRedirect){var Tt=Ae._seekHandler.removeURLParameters(Vt.url);Ae._onURLRedirect(Tt)}var ur=Vt.headers.get("Content-Length");return ur!=null&&(Ae._contentLength=parseInt(ur),Ae._contentLength!==0&&(Ae._onContentLengthKnown&&Ae._onContentLengthKnown(Ae._contentLength))),Ae._pump.call(Ae,Vt.body.getReader())}else if(Ae._status=o.kError,Ae._onError)Ae._onError(f.HTTP_STATUS_CODE_INVALID,{code:Vt.status,msg:Vt.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+Vt.status+" "+Vt.statusText)}).catch(function(Vt){if(Ae._status=o.kError,Ae._onError)Ae._onError(f.EXCEPTION,{code:-1,msg:Vt.message});else throw Vt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(le){var ge=this;return le.read().then(function(Ae){if(Ae.done)if(ge._contentLength!==null&&ge._receivedLength<ge._contentLength){ge._status=o.kError;var Me=f.EARLY_EOF,$e={code:-1,msg:"Fetch stream meet Early-EOF"};if(ge._onError)ge._onError(Me,$e);else throw new n($e.msg)}else ge._status=o.kComplete,ge._onComplete&&ge._onComplete(ge._range.from,ge._range.from+ge._receivedLength-1);else{if(ge._requestAbort===!0)return ge._requestAbort=!1,ge._status=o.kComplete,le.cancel();ge._status=o.kBuffering;var kt=Ae.value.buffer,$t=ge._range.from+ge._receivedLength;ge._receivedLength+=kt.byteLength,ge._onDataArrival&&ge._onDataArrival(kt,$t,ge._receivedLength),ge._pump(le)}}).catch(function(Ae){if(Ae.code===11&&T.msedge)return;ge._status=o.kError;var Me=0,$e=null;if((Ae.code===19||Ae.message==="network error")&&(ge._contentLength===null||ge._contentLength!==null&&ge._receivedLength<ge._contentLength)?(Me=f.EARLY_EOF,$e={code:Ae.code,msg:"Fetch stream meet Early-EOF"}):(Me=f.EXCEPTION,$e={code:Ae.code,msg:Ae.message}),ge._onError)ge._onError(Me,$e);else throw new n($e.msg)})}}]),z}(v),C=w,N=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(E.a)(z,null,[{key:"isSupported",value:function(){try{var le=new XMLHttpRequest;return le.open("GET","https://example.com",!0),le.responseType="moz-chunked-arraybuffer",le.responseType==="moz-chunked-arraybuffer"}catch(ge){return i.w("MozChunkedLoader",ge.message),!1}}}]);function z($,le){var ge;return Object(d.a)(this,z),ge=ie.call(this,"xhr-moz-chunked-loader"),ge.TAG="MozChunkedLoader",ge._seekHandler=$,ge._config=le,ge._needStash=!0,ge._xhr=null,ge._requestAbort=!1,ge._contentLength=null,ge._receivedLength=0,ge}return Object(E.a)(z,[{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),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le,ge){this._dataSource=le,this._range=ge;var Ae=le.url;this._config.reuseRedirectedURL&&le.redirectedURL!=null&&(Ae=le.redirectedURL);var Me=this._seekHandler.getConfig(Ae,ge);this._requestURL=Me.url;var $e=this._xhr=new XMLHttpRequest;if($e.open("GET",Me.url,!0),$e.responseType="moz-chunked-arraybuffer",$e.onreadystatechange=this._onReadyStateChange.bind(this),$e.onprogress=this._onProgress.bind(this),$e.onloadend=this._onLoadEnd.bind(this),$e.onerror=this._onXhrError.bind(this),le.withCredentials&&($e.withCredentials=!0),typeof Me.headers=="object"){var kt=Me.headers;for(var $t in kt)kt.hasOwnProperty($t)&&$e.setRequestHeader($t,kt[$t])}if(typeof this._config.headers=="object"){var Lt=this._config.headers;for(var Ut in Lt)Lt.hasOwnProperty(Ut)&&$e.setRequestHeader(Ut,Lt[Ut])}this._status=o.kConnecting,$e.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=o.kComplete}},{key:"_onReadyStateChange",value:function(le){var ge=le.target;if(ge.readyState===2){if(ge.responseURL!=null&&ge.responseURL!==this._requestURL&&this._onURLRedirect){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);this._onURLRedirect(Ae)}if(ge.status!==0&&(ge.status<200||ge.status>299))if(this._status=o.kError,this._onError)this._onError(f.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+ge.status+" "+ge.statusText);else this._status=o.kBuffering}}},{key:"_onProgress",value:function(le){if(this._status===o.kError)return;this._contentLength===null&&(le.total!==null&&le.total!==0&&(this._contentLength=le.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var ge=le.target.response,Ae=this._range.from+this._receivedLength;this._receivedLength+=ge.byteLength,this._onDataArrival&&this._onDataArrival(ge,Ae,this._receivedLength)}},{key:"_onLoadEnd",value:function(le){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===o.kError)return;this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(le){this._status=o.kError;var ge=0,Ae=null;if(this._contentLength&&le.loaded<this._contentLength?(ge=f.EARLY_EOF,Ae={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(ge=f.EXCEPTION,Ae={code:-1,msg:le.constructor.name+" "+le.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}}]),z}(v),D=N,B=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(E.a)(z,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var le=new XMLHttpRequest;return le.open("GET","https://example.com",!0),le.responseType="ms-stream",le.responseType==="ms-stream"}catch(ge){return i.w("MSStreamLoader",ge.message),!1}}}]);function z($,le){var ge;return Object(d.a)(this,z),ge=ie.call(this,"xhr-msstream-loader"),ge.TAG="MSStreamLoader",ge._seekHandler=$,ge._config=le,ge._needStash=!0,ge._xhr=null,ge._reader=null,ge._totalRange=null,ge._currentRange=null,ge._currentRequestURL=null,ge._currentRedirectedURL=null,ge._contentLength=null,ge._receivedLength=0,ge._bufferLimit=16*1024*1024,ge._lastTimeBufferSize=0,ge._isReconnecting=!1,ge}return Object(E.a)(z,[{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),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le,ge){this._internalOpen(le,ge,!1)}},{key:"_internalOpen",value:function(le,ge,Ae){this._dataSource=le,Ae?this._currentRange=ge:this._totalRange=ge;var Me=le.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Me=this._currentRedirectedURL:le.redirectedURL!=null&&(Me=le.redirectedURL));var $e=this._seekHandler.getConfig(Me,ge);this._currentRequestURL=$e.url;var kt=this._reader=new self.MSStreamReader;kt.onprogress=this._msrOnProgress.bind(this),kt.onload=this._msrOnLoad.bind(this),kt.onerror=this._msrOnError.bind(this);var $t=this._xhr=new XMLHttpRequest;if($t.open("GET",$e.url,!0),$t.responseType="ms-stream",$t.onreadystatechange=this._xhrOnReadyStateChange.bind(this),$t.onerror=this._xhrOnError.bind(this),le.withCredentials&&($t.withCredentials=!0),typeof $e.headers=="object"){var Lt=$e.headers;for(var Ut in Lt)Lt.hasOwnProperty(Ut)&&$t.setRequestHeader(Ut,Lt[Ut])}if(typeof this._config.headers=="object"){var Wt=this._config.headers;for(var Vt in Wt)Wt.hasOwnProperty(Vt)&&$t.setRequestHeader(Vt,Wt[Vt])}this._isReconnecting?this._isReconnecting=!1:this._status=o.kConnecting,$t.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=o.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(le){var ge=le.target;if(ge.readyState===2)if(ge.status>=200&&ge.status<=299){if(this._status=o.kBuffering,ge.responseURL!=null){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);ge.responseURL!==this._currentRequestURL&&Ae!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ae,this._onURLRedirect&&this._onURLRedirect(Ae))}var Me=ge.getResponseHeader("Content-Length");if(Me!=null&&this._contentLength==null){var $e=parseInt(Me);$e>0&&(this._contentLength=$e,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=o.kError,this._onError)this._onError(f.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("MSStreamLoader: Http code invalid, "+ge.status+" "+ge.statusText);else if(ge.readyState===3&&(ge.status>=200&&ge.status<=299)){this._status=o.kBuffering;var kt=ge.response;this._reader.readAsArrayBuffer(kt)}}},{key:"_xhrOnError",value:function(le){this._status=o.kError;var ge=f.EXCEPTION,Ae={code:-1,msg:le.constructor.name+" "+le.type};if(this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}},{key:"_msrOnProgress",value:function(le){var ge=le.target,Ae=ge.result;if(Ae==null){this._doReconnectIfNeeded();return}var Me=Ae.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Ae.byteLength;var $e=this._totalRange.from+this._receivedLength;this._receivedLength+=Me.byteLength,this._onDataArrival&&this._onDataArrival(Me,$e,this._receivedLength),Ae.byteLength>=this._bufferLimit&&(i.v(this.TAG,"MSStream buffer exceeded max size near ".concat($e+Me.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 le={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,le,!0)}}},{key:"_msrOnLoad",value:function(le){this._status=o.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(le){this._status=o.kError;var ge=0,Ae=null;if(this._contentLength&&this._receivedLength<this._contentLength?(ge=f.EARLY_EOF,Ae={code:-1,msg:"MSStream meet Early-Eof"}):(ge=f.EARLY_EOF,Ae={code:-1,msg:le.constructor.name+" "+le.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}}]),z}(v),R=B,U=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(E.a)(z,null,[{key:"isSupported",value:function(){try{var le=new XMLHttpRequest;return le.open("GET","https://example.com",!0),le.responseType="arraybuffer",le.responseType==="arraybuffer"}catch(ge){return i.w("RangeLoader",ge.message),!1}}}]);function z($,le){var ge;return Object(d.a)(this,z),ge=ie.call(this,"xhr-range-loader"),ge.TAG="RangeLoader",ge._seekHandler=$,ge._config=le,ge._needStash=!1,ge._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],ge._currentChunkSizeKB=384,ge._currentSpeedNormalized=0,ge._zeroSpeedChunkCount=0,ge._xhr=null,ge._speedSampler=new a,ge._requestAbort=!1,ge._waitForTotalLength=!1,ge._totalLengthReceived=!1,ge._currentRequestURL=null,ge._currentRedirectedURL=null,ge._currentRequestRange=null,ge._totalLength=null,ge._contentLength=null,ge._receivedLength=0,ge._lastTimeLoaded=0,ge}return Object(E.a)(z,[{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),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le,ge){this._dataSource=le,this._range=ge,this._status=o.kConnecting;var Ae=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Ae=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Ae?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var le=this._currentChunkSizeKB*1024,ge=this._range.from+this._receivedLength,Ae=ge+le;this._contentLength!=null&&(Ae-this._range.from>=this._contentLength&&(Ae=this._range.from+this._contentLength-1)),this._currentRequestRange={from:ge,to:Ae},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(le,ge){this._lastTimeLoaded=0;var Ae=le.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Ae=this._currentRedirectedURL:le.redirectedURL!=null&&(Ae=le.redirectedURL));var Me=this._seekHandler.getConfig(Ae,ge);this._currentRequestURL=Me.url;var $e=this._xhr=new XMLHttpRequest;if($e.open("GET",Me.url,!0),$e.responseType="arraybuffer",$e.onreadystatechange=this._onReadyStateChange.bind(this),$e.onprogress=this._onProgress.bind(this),$e.onload=this._onLoad.bind(this),$e.onerror=this._onXhrError.bind(this),le.withCredentials&&($e.withCredentials=!0),typeof Me.headers=="object"){var kt=Me.headers;for(var $t in kt)kt.hasOwnProperty($t)&&$e.setRequestHeader($t,kt[$t])}if(typeof this._config.headers=="object"){var Lt=this._config.headers;for(var Ut in Lt)Lt.hasOwnProperty(Ut)&&$e.setRequestHeader(Ut,Lt[Ut])}$e.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=o.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(le){var ge=le.target;if(ge.readyState===2){if(ge.responseURL!=null){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);ge.responseURL!==this._currentRequestURL&&Ae!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ae,this._onURLRedirect&&this._onURLRedirect(Ae))}if(ge.status>=200&&ge.status<=299){if(this._waitForTotalLength)return;this._status=o.kBuffering}else if(this._status=o.kError,this._onError)this._onError(f.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("RangeLoader: Http code invalid, "+ge.status+" "+ge.statusText)}}},{key:"_onProgress",value:function(le){if(this._status===o.kError)return;if(this._contentLength===null){var ge=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,ge=!0;var Ae=le.total;this._internalAbort(),Ae!=null&Ae!==0&&(this._totalLength=Ae)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,ge){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Me=le.loaded-this._lastTimeLoaded;this._lastTimeLoaded=le.loaded,this._speedSampler.addBytes(Me)}},{key:"_normalizeSpeed",value:function(le){var ge=this._chunkSizeKBList,Ae=ge.length-1,Me=0,$e=0,kt=Ae;if(le<ge[0])return ge[0];for(;$e<=kt;){if(Me=$e+Math.floor((kt-$e)/2),Me===Ae||le>=ge[Me]&&le<ge[Me+1])return ge[Me];ge[Me]<le?$e=Me+1:kt=Me-1}}},{key:"_onLoad",value:function(le){if(this._status===o.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var ge=this._speedSampler.lastSecondKBps;if(ge===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(ge=this._speedSampler.currentKBps)),ge!==0){var Ae=this._normalizeSpeed(ge);this._currentSpeedNormalized!==Ae&&(this._currentSpeedNormalized=Ae,this._currentChunkSizeKB=Ae)}var Me=le.target.response,$e=this._range.from+this._receivedLength;this._receivedLength+=Me.byteLength;var kt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():kt=!0,this._onDataArrival&&this._onDataArrival(Me,$e,this._receivedLength),kt&&(this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(le){this._status=o.kError;var ge=0,Ae=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(ge=f.EARLY_EOF,Ae={code:-1,msg:"RangeLoader meet Early-Eof"}):(ge=f.EXCEPTION,Ae={code:-1,msg:le.constructor.name+" "+le.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),z}(v),M=U,j=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(E.a)(z,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(le){return!1}}}]);function z(){var $;return Object(d.a)(this,z),$=ie.call(this,"websocket-loader"),$.TAG="WebSocketLoader",$._needStash=!0,$._ws=null,$._requestAbort=!1,$._receivedLength=0,$}return Object(E.a)(z,[{key:"destroy",value:function(){this._ws&&this.abort(),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le){try{var ge=this._ws=new self.WebSocket(le.url);ge.binaryType="arraybuffer",ge.onopen=this._onWebSocketOpen.bind(this),ge.onclose=this._onWebSocketClose.bind(this),ge.onmessage=this._onWebSocketMessage.bind(this),ge.onerror=this._onWebSocketError.bind(this),this._status=o.kConnecting}catch(Me){this._status=o.kError;var Ae={code:Me.code,msg:Me.message};if(this._onError)this._onError(f.EXCEPTION,Ae);else throw new n(Ae.msg)}}},{key:"abort",value:function(){var le=this._ws;le&&(le.readyState===0||le.readyState===1)&&(this._requestAbort=!0,le.close()),this._ws=null,this._status=o.kComplete}},{key:"_onWebSocketOpen",value:function(le){this._status=o.kBuffering}},{key:"_onWebSocketClose",value:function(le){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=o.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(le){var ge=this;if(le.data instanceof ArrayBuffer)this._dispatchArrayBuffer(le.data);else if(le.data instanceof Blob){var Ae=new FileReader;Ae.onload=function(){ge._dispatchArrayBuffer(Ae.result)},Ae.readAsArrayBuffer(le.data)}else{this._status=o.kError;var Me={code:-1,msg:"Unsupported WebSocket message type: "+le.data.constructor.name};if(this._onError)this._onError(f.EXCEPTION,Me);else throw new n(Me.msg)}}},{key:"_dispatchArrayBuffer",value:function(le){var ge=le,Ae=this._receivedLength;this._receivedLength+=ge.byteLength,this._onDataArrival&&this._onDataArrival(ge,Ae,this._receivedLength)}},{key:"_onWebSocketError",value:function(le){this._status=o.kError;var ge={code:le.code,msg:le.message};if(this._onError)this._onError(f.EXCEPTION,ge);else throw new n(ge.msg)}}]),z}(v),P=j,K=function(){function ee(ie){Object(d.a)(this,ee),this._zeroStart=ie||!1}return Object(E.a)(ee,[{key:"getConfig",value:function(z,$){var le={};if($.from!==0||$.to!==-1){var ge;$.to!==-1?ge="bytes=".concat($.from.toString(),"-").concat($.to.toString()):ge="bytes=".concat($.from.toString(),"-"),le.Range=ge}else this._zeroStart&&(le.Range="bytes=0-");return{url:z,headers:le}}},{key:"removeURLParameters",value:function(z){return z}}]),ee}(),H=K,k=function(){function ee(ie,z){Object(d.a)(this,ee),this._startName=ie,this._endName=z}return Object(E.a)(ee,[{key:"getConfig",value:function(z,$){var le=z;if($.from!==0||$.to!==-1){var ge=!0;le.indexOf("?")===-1&&(le+="?",ge=!1),ge&&(le+="&"),le+="".concat(this._startName,"=").concat($.from.toString()),$.to!==-1&&(le+="&".concat(this._endName,"=").concat($.to.toString()))}return{url:le,headers:{}}}},{key:"removeURLParameters",value:function(z){var $=z.split("?")[0],le=void 0,ge=z.indexOf("?");ge!==-1&&(le=z.substring(ge+1));var Ae="";if(le!=null&&le.length>0)for(var Me=le.split("&"),$e=0;$e<Me.length;$e++){var kt=Me[$e].split("="),$t=$e>0;kt[0]!==this._startName&&kt[0]!==this._endName&&($t&&(Ae+="&"),Ae+=Me[$e])}return Ae.length===0?$:$+"?"+Ae}}]),ee}(),Z=k,Y=function(){function ee(ie,z,$){Object(d.a)(this,ee),this.TAG="IOController",this._config=z,this._extraData=$,this._stashInitialSize=1024*384,z.stashInitialSize!=null&&z.stashInitialSize>0&&(this._stashInitialSize=z.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,z.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=ie,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(ie.url),this._refTotalLength=ie.filesize?ie.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new a,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(E.a)(ee,[{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 z=this._config;if(z.seekType==="range")this._seekHandler=new H(this._config.rangeLoadZeroStart);else if(z.seekType==="param"){var $=z.seekParamStart||"bstart",le=z.seekParamEnd||"bend";this._seekHandler=new Z($,le)}else if(z.seekType==="custom"){if(typeof z.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new z.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(z.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=P;else if(C.isSupported())this._loaderClass=C;else if(D.isSupported())this._loaderClass=D;else if(M.isSupported())this._loaderClass=M;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(z){this._currentRange={from:0,to:-1},z&&(this._currentRange.from=z),this._speedSampler.reset(),z||(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 z=this._resumeFrom;this._resumeFrom=0,this._internalSeek(z,!0)}}},{key:"seek",value:function(z){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(z,!0)}},{key:"_internalSeek",value:function(z,$){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer($),this._loader.destroy(),this._loader=null;var le={from:z,to:-1};this._currentRange={from:le.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,le),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(z){if(!z||typeof z!="string"||z.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=z}},{key:"_expandBuffer",value:function(z){for(var $=this._stashSize;$+1024*1024*1<z;)$*=2;if($+=1024*1024*1,$===this._bufferSize)return;var le=new ArrayBuffer($);if(this._stashUsed>0){var ge=new Uint8Array(this._stashBuffer,0,this._stashUsed),Ae=new Uint8Array(le,0,$);Ae.set(ge,0)}this._stashBuffer=le,this._bufferSize=$}},{key:"_normalizeSpeed",value:function(z){var $=this._speedNormalizeList,le=$.length-1,ge=0,Ae=0,Me=le;if(z<$[0])return $[0];for(;Ae<=Me;){if(ge=Ae+Math.floor((Me-Ae)/2),ge===le||z>=$[ge]&&z<$[ge+1])return $[ge];$[ge]<z?Ae=ge+1:Me=ge-1}}},{key:"_adjustStashSize",value:function(z){var $=0;this._config.isLive||z<512?$=z:z>=512&&z<=1024?$=Math.floor(z*1.5):$=z*2,$>8192&&($=8192);var le=$*1024+1024*1024*1;this._bufferSize<le&&this._expandBuffer(le),this._stashSize=$*1024}},{key:"_dispatchChunks",value:function(z,$){return this._currentRange.to=$+z.byteLength-1,this._onDataArrival(z,$)}},{key:"_onURLRedirect",value:function(z){this._redirectedURL=z,this._onRedirect&&this._onRedirect(z)}},{key:"_onContentLengthKnown",value:function(z){z&&this._fullRequestFlag&&(this._totalLength=z,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(z,$,le){if(!this._onDataArrival)throw new u("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(z.byteLength);var ge=this._speedSampler.lastSecondKBps;if(ge!==0){var Ae=this._normalizeSpeed(ge);this._speedNormalized!==Ae&&(this._speedNormalized=Ae,this._adjustStashSize(Ae))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=$),this._stashUsed+z.byteLength<=this._stashSize){var Wt=new Uint8Array(this._stashBuffer,0,this._stashSize);Wt.set(new Uint8Array(z),this._stashUsed),this._stashUsed+=z.byteLength}else{var Vt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Tt=this._stashBuffer.slice(0,this._stashUsed),ur=this._dispatchChunks(Tt,this._stashByteStart);if(ur<Tt.byteLength){if(ur>0){var qt=new Uint8Array(Tt,ur);Vt.set(qt,0),this._stashUsed=qt.byteLength,this._stashByteStart+=ur}}else this._stashUsed=0,this._stashByteStart+=ur;this._stashUsed+z.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+z.byteLength),Vt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Vt.set(new Uint8Array(z),this._stashUsed),this._stashUsed+=z.byteLength}else{var ze=this._dispatchChunks(z,$);if(ze<z.byteLength){var nt=z.byteLength-ze;nt>this._bufferSize&&(this._expandBuffer(nt),Vt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Vt.set(new Uint8Array(z,ze),0),this._stashUsed+=nt,this._stashByteStart=$+ze}}}else if(this._stashUsed===0){var Me=this._dispatchChunks(z,$);if(Me<z.byteLength){var $e=z.byteLength-Me;$e>this._bufferSize&&this._expandBuffer($e);var kt=new Uint8Array(this._stashBuffer,0,this._bufferSize);kt.set(new Uint8Array(z,Me),0),this._stashUsed+=$e,this._stashByteStart=$+Me}}else{this._stashUsed+z.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+z.byteLength);var $t=new Uint8Array(this._stashBuffer,0,this._bufferSize);$t.set(new Uint8Array(z),this._stashUsed),this._stashUsed+=z.byteLength;var Lt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Lt<this._stashUsed&&Lt>0){var Ut=new Uint8Array(this._stashBuffer,Lt);$t.set(Ut,0)}this._stashUsed-=Lt,this._stashByteStart+=Lt}}},{key:"_flushStashBuffer",value:function(z){if(this._stashUsed>0){var $=this._stashBuffer.slice(0,this._stashUsed),le=this._dispatchChunks($,this._stashByteStart),ge=$.byteLength-le;if(le<$.byteLength)if(z)i.w(this.TAG,"".concat(ge," bytes unconsumed data remain when flush buffer, dropped"));else{if(le>0){var Ae=new Uint8Array(this._stashBuffer,0,this._bufferSize),Me=new Uint8Array($,le);Ae.set(Me,0),this._stashUsed=Me.byteLength,this._stashByteStart+=le}return 0}return this._stashUsed=0,this._stashByteStart=0,ge}return 0}},{key:"_onLoaderComplete",value:function(z,$){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(z,$){i.e(this.TAG,"Loader error, code = ".concat($.code,", msg = ").concat($.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,z=f.UNRECOVERABLE_EARLY_EOF);switch(z){case f.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var le=this._currentRange.to+1;le<this._totalLength&&(i.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(le,!1));return}z=f.UNRECOVERABLE_EARLY_EOF;break}case f.UNRECOVERABLE_EARLY_EOF:case f.CONNECTING_TIMEOUT:case f.HTTP_STATUS_CODE_INVALID:case f.EXCEPTION:break}if(this._onError)this._onError(z,$);else throw new n("IOException: "+$.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(z){this._extraData=z}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(z){this._onDataArrival=z}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(z){this._onSeeked=z}},{key:"onError",get:function(){return this._onError},set:function(z){this._onError=z}},{key:"onComplete",get:function(){return this._onComplete},set:function(z){this._onComplete=z}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(z){this._onRedirect=z}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(z){this._onRecoveredEarlyEof=z}},{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===M?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),ee}(),_=Y,Q={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function X(){return Object.assign({},Q)}var he=function(){function ee(){Object(d.a)(this,ee)}return Object(E.a)(ee,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var z=new _({},X()),$=z.loaderType;return z.destroy(),$=="fetch-stream-loader"||$=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var z=new _({},X()),$=z.loaderType;return z.destroy(),$}},{key:"supportNativeMediaPlayback",value:function(z){ee.videoElement==null&&(ee.videoElement=window.document.createElement("video"));var $=ee.videoElement.canPlayType(z);return $==="probably"||$=="maybe"}},{key:"getFeatureList",value:function(){var z={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return z.mseFlvPlayback=ee.supportMSEH264Playback(),z.networkStreamIO=ee.supportNetworkStreamIO(),z.networkLoaderName=ee.getNetworkLoaderTypeName(),z.mseLiveFlvPlayback=z.mseFlvPlayback&&z.networkStreamIO,z.nativeMP4H264Playback=ee.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),z.nativeWebmVP8Playback=ee.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),z.nativeWebmVP9Playback=ee.supportNativeMediaPlayback('video/webm; codecs="vp9"'),z}}]),ee}(),te=he,fe={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"},be=fe,we=function(){function ee(){Object(d.a)(this,ee)}return Object(E.a)(ee,null,[{key:"getConfig",value:function(){return{globalTag:i.GLOBAL_TAG,forceGlobalTag:i.FORCE_GLOBAL_TAG,enableVerbose:i.ENABLE_VERBOSE,enableDebug:i.ENABLE_DEBUG,enableInfo:i.ENABLE_INFO,enableWarn:i.ENABLE_WARN,enableError:i.ENABLE_ERROR,enableCallback:i.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(z){i.GLOBAL_TAG=z.globalTag,i.FORCE_GLOBAL_TAG=z.forceGlobalTag,i.ENABLE_VERBOSE=z.enableVerbose,i.ENABLE_DEBUG=z.enableDebug,i.ENABLE_INFO=z.enableInfo,i.ENABLE_WARN=z.enableWarn,i.ENABLE_ERROR=z.enableError,i.ENABLE_CALLBACK=z.enableCallback}},{key:"_notifyChange",value:function(){var z=ee.emitter;if(z.listenerCount("change")>0){var $=ee.getConfig();z.emit("change",$)}}},{key:"registerListener",value:function(z){ee.emitter.addListener("change",z)}},{key:"removeListener",value:function(z){ee.emitter.removeListener("change",z)}},{key:"addLogListener",value:function(z){i.emitter.addListener("log",z),i.emitter.listenerCount("log")>0&&(i.ENABLE_CALLBACK=!0,ee._notifyChange())}},{key:"removeLogListener",value:function(z){i.emitter.removeListener("log",z),i.emitter.listenerCount("log")===0&&(i.ENABLE_CALLBACK=!1,ee._notifyChange())}},{key:"forceGlobalTag",get:function(){return i.FORCE_GLOBAL_TAG},set:function(z){i.FORCE_GLOBAL_TAG=z,ee._notifyChange()}},{key:"globalTag",get:function(){return i.GLOBAL_TAG},set:function(z){i.GLOBAL_TAG=z,ee._notifyChange()}},{key:"enableAll",get:function(){return i.ENABLE_VERBOSE&&i.ENABLE_DEBUG&&i.ENABLE_INFO&&i.ENABLE_WARN&&i.ENABLE_ERROR},set:function(z){i.ENABLE_VERBOSE=z,i.ENABLE_DEBUG=z,i.ENABLE_INFO=z,i.ENABLE_WARN=z,i.ENABLE_ERROR=z,ee._notifyChange()}},{key:"enableDebug",get:function(){return i.ENABLE_DEBUG},set:function(z){i.ENABLE_DEBUG=z,ee._notifyChange()}},{key:"enableVerbose",get:function(){return i.ENABLE_VERBOSE},set:function(z){i.ENABLE_VERBOSE=z,ee._notifyChange()}},{key:"enableInfo",get:function(){return i.ENABLE_INFO},set:function(z){i.ENABLE_INFO=z,ee._notifyChange()}},{key:"enableWarn",get:function(){return i.ENABLE_WARN},set:function(z){i.ENABLE_WARN=z,ee._notifyChange()}},{key:"enableError",get:function(){return i.ENABLE_ERROR},set:function(z){i.ENABLE_ERROR=z,ee._notifyChange()}}]),ee}();we.emitter=new b.a;var Ke=we,qe=function(){function ee(){Object(d.a)(this,ee),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(E.a)(ee,[{key:"isComplete",value:function(){var z=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,$=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&&z&&$}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(z){if(this.keyframesIndex==null)return null;var $=this.keyframesIndex,le=this._search($.times,z);return{index:le,milliseconds:$.times[le],fileposition:$.filepositions[le]}}},{key:"_search",value:function(z,$){var le=0,ge=z.length-1,Ae=0,Me=0,$e=ge;for($<z[0]&&(le=0,Me=$e+1);Me<=$e;)if(Ae=Me+Math.floor(($e-Me)/2),Ae===ge||$>=z[Ae]&&$<z[Ae+1]){le=Ae;break}else z[Ae]<$?Me=Ae+1:$e=Ae-1;return le}}]),ee}(),xt=qe;function Fe(ee,ie,z){var $=ee;if(ie+z<$.length){for(;z--;)if(($[++ie]&192)!==128)return!1;return!0}else return!1}function Be(ee){for(var ie=[],z=ee,$=0,le=ee.length;$<le;){if(z[$]<128){ie.push(String.fromCharCode(z[$])),++$;continue}else if(!(z[$]<192)){if(z[$]<224){if(Fe(z,$,1)){var ge=(z[$]&31)<<6|z[$+1]&63;if(ge>=128){ie.push(String.fromCharCode(ge&65535)),$+=2;continue}}}else if(z[$]<240){if(Fe(z,$,2)){var Ae=(z[$]&15)<<12|(z[$+1]&63)<<6|z[$+2]&63;if(Ae>=2048&&(Ae&63488)!==55296){ie.push(String.fromCharCode(Ae&65535)),$+=3;continue}}}else if(z[$]<248&&Fe(z,$,3)){var Me=(z[$]&7)<<18|(z[$+1]&63)<<12|(z[$+2]&63)<<6|z[$+3]&63;if(Me>65536&&Me<1114112){Me-=65536,ie.push(String.fromCharCode(Me>>>10|55296)),ie.push(String.fromCharCode(Me&1023|56320)),$+=4;continue}}}ie.push(String.fromCharCode(65533)),++$}return ie.join("")}var bt=Be,lt=function(){var ee=new ArrayBuffer(2);return new DataView(ee).setInt16(0,256,!0),new Int16Array(ee)[0]===256}(),tt=function(){function ee(){Object(d.a)(this,ee)}return Object(E.a)(ee,null,[{key:"parseScriptData",value:function(z,$,le){var ge={};try{var Ae=ee.parseValue(z,$,le),Me=ee.parseValue(z,$+Ae.size,le-Ae.size);ge[Ae.data]=Me.data}catch($e){i.e("AMF",$e.toString())}return ge}},{key:"parseObject",value:function(z,$,le){if(le<3)throw new u("Data not enough when parse ScriptDataObject");var ge=ee.parseString(z,$,le),Ae=ee.parseValue(z,$+ge.size,le-ge.size),Me=Ae.objectEnd;return{data:{name:ge.data,value:Ae.data},size:ge.size+Ae.size,objectEnd:Me}}},{key:"parseVariable",value:function(z,$,le){return ee.parseObject(z,$,le)}},{key:"parseString",value:function(z,$,le){if(le<2)throw new u("Data not enough when parse String");var ge=new DataView(z,$,le),Ae=ge.getUint16(0,!lt),Me;return Ae>0?Me=bt(new Uint8Array(z,$+2,Ae)):Me="",{data:Me,size:2+Ae}}},{key:"parseLongString",value:function(z,$,le){if(le<4)throw new u("Data not enough when parse LongString");var ge=new DataView(z,$,le),Ae=ge.getUint32(0,!lt),Me;return Ae>0?Me=bt(new Uint8Array(z,$+4,Ae)):Me="",{data:Me,size:4+Ae}}},{key:"parseDate",value:function(z,$,le){if(le<10)throw new u("Data size invalid when parse Date");var ge=new DataView(z,$,le),Ae=ge.getFloat64(0,!lt),Me=ge.getInt16(8,!lt);return Ae+=Me*60*1e3,{data:new Date(Ae),size:8+2}}},{key:"parseValue",value:function(z,$,le){if(le<1)throw new u("Data not enough when parse Value");var ge=new DataView(z,$,le),Ae=1,Me=ge.getUint8(0),$e,kt=!1;try{switch(Me){case 0:$e=ge.getFloat64(1,!lt),Ae+=8;break;case 1:{var $t=ge.getUint8(1);$e=!!$t,Ae+=1;break}case 2:{var Lt=ee.parseString(z,$+1,le-1);$e=Lt.data,Ae+=Lt.size;break}case 3:{$e={};var Ut=0;for((ge.getUint32(le-4,!lt)&16777215)===9&&(Ut=3);Ae<le-4;){var Wt=ee.parseObject(z,$+Ae,le-Ae-Ut);if(Wt.objectEnd)break;$e[Wt.data.name]=Wt.data.value,Ae+=Wt.size}if(Ae<=le-3){var Vt=ge.getUint32(Ae-1,!lt)&16777215;Vt===9&&(Ae+=3)}break}case 8:{$e={},Ae+=4;var Tt=0;for((ge.getUint32(le-4,!lt)&16777215)===9&&(Tt=3);Ae<le-8;){var ur=ee.parseVariable(z,$+Ae,le-Ae-Tt);if(ur.objectEnd)break;$e[ur.data.name]=ur.data.value,Ae+=ur.size}if(Ae<=le-3){var qt=ge.getUint32(Ae-1,!lt)&16777215;qt===9&&(Ae+=3)}break}case 9:$e=void 0,Ae=1,kt=!0;break;case 10:{$e=[];var ze=ge.getUint32(1,!lt);Ae+=4;for(var nt=0;nt<ze;nt++){var Ye=ee.parseValue(z,$+Ae,le-Ae);$e.push(Ye.data),Ae+=Ye.size}break}case 11:{var Xe=ee.parseDate(z,$+1,le-1);$e=Xe.data,Ae+=Xe.size;break}case 12:{var yt=ee.parseString(z,$+1,le-1);$e=yt.data,Ae+=yt.size;break}default:Ae=le,i.w("AMF","Unsupported AMF value type "+Me)}}catch(mt){i.e("AMF",mt.toString())}return{data:$e,size:Ae,objectEnd:kt}}}]),ee}(),St=tt,ht=function(){function ee(ie){Object(d.a)(this,ee),this.TAG="ExpGolomb",this._buffer=ie,this._buffer_index=0,this._total_bytes=ie.byteLength,this._total_bits=ie.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(E.a)(ee,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var z=this._total_bytes-this._buffer_index;if(z<=0)throw new u("ExpGolomb: _fillCurrentWord() but no bytes available");var $=Math.min(4,z),le=new Uint8Array(4);le.set(this._buffer.subarray(this._buffer_index,this._buffer_index+$)),this._current_word=new DataView(le.buffer).getUint32(0,!1),this._buffer_index+=$,this._current_word_bits_left=$*8}},{key:"readBits",value:function(z){if(z>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(z<=this._current_word_bits_left){var $=this._current_word>>>32-z;return this._current_word<<=z,this._current_word_bits_left-=z,$}var le=this._current_word_bits_left?this._current_word:0;le=le>>>32-this._current_word_bits_left;var ge=z-this._current_word_bits_left;this._fillCurrentWord();var Ae=Math.min(ge,this._current_word_bits_left),Me=this._current_word>>>32-Ae;return this._current_word<<=Ae,this._current_word_bits_left-=Ae,le=le<<Ae|Me,le}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var z;for(z=0;z<this._current_word_bits_left;z++)if((this._current_word&2147483648>>>z)!==0)return this._current_word<<=z,this._current_word_bits_left-=z,z;return this._fillCurrentWord(),z+this._skipLeadingZero()}},{key:"readUEG",value:function(){var z=this._skipLeadingZero();return this.readBits(z+1)-1}},{key:"readSEG",value:function(){var z=this.readUEG();return z&1?z+1>>>1:-1*(z>>>1)}}]),ee}(),vt=ht,Ge=function(){function ee(){Object(d.a)(this,ee)}return Object(E.a)(ee,null,[{key:"_ebsp2rbsp",value:function(z){for(var $=z,le=$.byteLength,ge=new Uint8Array(le),Ae=0,Me=0;Me<le;Me++){if(Me>=2&&($[Me]===3&&$[Me-1]===0&&$[Me-2]===0))continue;ge[Ae]=$[Me],Ae++}return new Uint8Array(ge.buffer,0,Ae)}},{key:"parseSPS",value:function(z){var $=ee._ebsp2rbsp(z),le=new vt($);le.readByte();var ge=le.readByte();le.readByte();var Ae=le.readByte();le.readUEG();var Me=ee.getProfileString(ge),$e=ee.getLevelString(Ae),kt=1,$t=420,Lt=[0,420,422,444],Ut=8;if((ge===100||ge===110||ge===122||ge===244||ge===44||ge===83||ge===86||ge===118||ge===128||ge===138||ge===144)&&(kt=le.readUEG(),kt===3&&le.readBits(1),kt<=3&&($t=Lt[kt]),Ut=le.readUEG()+8,le.readUEG(),le.readBits(1),le.readBool()))for(var Wt=kt!==3?8:12,Vt=0;Vt<Wt;Vt++)le.readBool()&&(Vt<6?ee._skipScalingList(le,16):ee._skipScalingList(le,64));le.readUEG();var Tt=le.readUEG();if(Tt===0)le.readUEG();else if(Tt===1){le.readBits(1),le.readSEG(),le.readSEG();for(var ur=le.readUEG(),qt=0;qt<ur;qt++)le.readSEG()}var ze=le.readUEG();le.readBits(1);var nt=le.readUEG(),Ye=le.readUEG(),Xe=le.readBits(1);Xe===0&&le.readBits(1),le.readBits(1);var yt=0,mt=0,We=0,rt=0,ft=le.readBool();ft&&(yt=le.readUEG(),mt=le.readUEG(),We=le.readUEG(),rt=le.readUEG());var Yt=1,Ft=1,fr=0,mr=!0,Er=0,Lr=0,en=le.readBool();if(en){if(le.readBool()){var Qr=le.readByte(),Cr=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Gr=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Qr>0&&Qr<16?(Yt=Cr[Qr-1],Ft=Gr[Qr-1]):Qr===255&&(Yt=le.readByte()<<8|le.readByte(),Ft=le.readByte()<<8|le.readByte())}if(le.readBool()&&le.readBool(),le.readBool()&&(le.readBits(4),le.readBool()&&le.readBits(24)),le.readBool()&&(le.readUEG(),le.readUEG()),le.readBool()){var Nr=le.readBits(32),lr=le.readBits(32);mr=le.readBool(),Er=lr,Lr=Nr*2,fr=Er/Lr}}var pr=1;(Yt!==1||Ft!==1)&&(pr=Yt/Ft);var sr=0,dr=0;if(kt===0)sr=1,dr=2-Xe;else{var Sr=kt===3?1:2,Xr=kt===1?2:1;sr=Sr,dr=Xr*(2-Xe)}var cn=(nt+1)*16,Dn=(2-Xe)*((Ye+1)*16);cn-=(yt+mt)*sr,Dn-=(We+rt)*dr;var jr=Math.ceil(cn*pr);return le.destroy(),le=null,{profile_string:Me,level_string:$e,bit_depth:Ut,ref_frames:ze,chroma_format:$t,chroma_format_string:ee.getChromaFormatString($t),frame_rate:{fixed:mr,fps:fr,fps_den:Lr,fps_num:Er},sar_ratio:{width:Yt,height:Ft},codec_size:{width:cn,height:Dn},present_size:{width:jr,height:Dn}}}},{key:"_skipScalingList",value:function(z,$){for(var le=8,ge=8,Ae=0,Me=0;Me<$;Me++)ge!==0&&(Ae=z.readSEG(),ge=(le+Ae+256)%256),le=ge===0?le:ge}},{key:"getProfileString",value:function(z){switch(z){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(z){return(z/10).toFixed(1)}},{key:"getChromaFormatString",value:function(z){switch(z){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),ee}(),At=Ge,_e={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},De=_e;function Ie(ee){return ee>>>8&255|(ee&255)<<8}function st(ee){return(ee&4278190080)>>>24|(ee&16711680)>>>8|(ee&65280)<<8|(ee&255)<<24}function Et(ee,ie){return ee[ie]<<24|ee[ie+1]<<16|ee[ie+2]<<8|ee[ie+3]}var Mt=function(){function ee(ie,z){Object(d.a)(this,ee),this.TAG="FLVDemuxer",this._config=z,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=ie.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=ie.hasAudioTrack,this._hasVideo=ie.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new xt,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 $=new ArrayBuffer(2);return new DataView($).setInt16(0,256,!0),new Int16Array($)[0]===256}()}return Object(E.a)(ee,[{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(z){return z.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new xt}},{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(z,$){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new u("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var le=0,ge=this._littleEndian;if($===0)if(z.byteLength>13){var Ae=ee.probe(z);le=Ae.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,$+le!==this._dataOffset&&i.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Me=new DataView(z,le),$e=Me.getUint32(0,!ge);$e!==0&&i.w(this.TAG,"PrevTagSize0 !== 0 !!!"),le+=4}for(;le<z.byteLength;){this._dispatch=!0;var kt=new DataView(z,le);if(le+11+4>z.byteLength)break;var $t=kt.getUint8(0),Lt=kt.getUint32(0,!ge)&16777215;if(le+11+Lt+4>z.byteLength)break;if($t!==8&&$t!==9&&$t!==18){i.w(this.TAG,"Unsupported tag type ".concat($t,", skipped")),le+=11+Lt+4;continue}var Ut=kt.getUint8(4),Wt=kt.getUint8(5),Vt=kt.getUint8(6),Tt=kt.getUint8(7),ur=Vt|Wt<<8|Ut<<16|Tt<<24,qt=kt.getUint32(7,!ge)&16777215;qt!==0&&i.w(this.TAG,"Meet tag which has StreamID != 0!");var ze=le+11;switch($t){case 8:this._parseAudioData(z,ze,Lt,ur);break;case 9:this._parseVideoData(z,ze,Lt,ur,$+le);break;case 18:this._parseScriptData(z,ze,Lt);break}var nt=kt.getUint32(11+Lt,!ge);nt!==11+Lt&&i.w(this.TAG,"Invalid PrevTagSize ".concat(nt)),le+=11+Lt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),le}},{key:"_parseScriptData",value:function(z,$,le){var ge=St.parseScriptData(z,$,le);if(ge.hasOwnProperty("onMetaData")){if(ge.onMetaData==null||typeof ge.onMetaData!="object"){i.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&i.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ge;var Ae=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Ae)),typeof Ae.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Ae.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Ae.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Ae.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Ae.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Ae.audiodatarate),typeof Ae.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Ae.videodatarate),typeof Ae.width=="number"&&(this._mediaInfo.width=Ae.width),typeof Ae.height=="number"&&(this._mediaInfo.height=Ae.height),typeof Ae.duration=="number"){if(!this._durationOverrided){var Me=Math.floor(Ae.duration*this._timescale);this._duration=Me,this._mediaInfo.duration=Me}}else this._mediaInfo.duration=0;if(typeof Ae.framerate=="number"){var $e=Math.floor(Ae.framerate*1e3);if($e>0){var kt=$e/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=kt,this._referenceFrameRate.fps_num=$e,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=kt}}if(typeof Ae.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var $t=Ae.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex($t),Ae.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Ae,i.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ge).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ge)))}},{key:"_parseKeyframesIndex",value:function(z){for(var $=[],le=[],ge=1;ge<z.times.length;ge++){var Ae=this._timestampBase+Math.floor(z.times[ge]*1e3);$.push(Ae),le.push(z.filepositions[ge])}return{times:$,filepositions:le}}},{key:"_parseAudioData",value:function(z,$,le,ge){if(le<=1){i.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Ae=this._littleEndian,Me=new DataView(z,$,le),$e=Me.getUint8(0),kt=$e>>>4;if(kt!==2&&kt!==10){this._onError(De.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+kt);return}var $t=0,Lt=($e&12)>>>2;if(Lt>=0&&Lt<=4)$t=this._flvSoundRateTable[Lt];else{this._onError(De.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Lt);return}var Ut=($e&2)>>>1,Wt=$e&1,Vt=this._audioMetadata,Tt=this._audioTrack;if(Vt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Vt=this._audioMetadata={},Vt.type="audio",Vt.id=Tt.id,Vt.timescale=this._timescale,Vt.duration=this._duration,Vt.audioSampleRate=$t,Vt.channelCount=Wt===0?1:2),kt===10){var ur=this._parseAACAudioData(z,$+1,le-1);if(ur==null)return;if(ur.packetType===0){Vt.config&&i.w(this.TAG,"Found another AudioSpecificConfig!");var qt=ur.data;Vt.audioSampleRate=qt.samplingRate,Vt.channelCount=qt.channelCount,Vt.codec=qt.codec,Vt.originalCodec=qt.originalCodec,Vt.config=qt.config,Vt.refSampleDuration=1024/Vt.audioSampleRate*Vt.timescale,i.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",Vt);var ze=this._mediaInfo;ze.audioCodec=Vt.originalCodec,ze.audioSampleRate=Vt.audioSampleRate,ze.audioChannelCount=Vt.channelCount,ze.hasVideo?ze.videoCodec!=null&&(ze.mimeType='video/x-flv; codecs="'+ze.videoCodec+","+ze.audioCodec+'"'):ze.mimeType='video/x-flv; codecs="'+ze.audioCodec+'"',ze.isComplete()&&this._onMediaInfo(ze)}else if(ur.packetType===1){var nt=this._timestampBase+ge,Ye={unit:ur.data,length:ur.data.byteLength,dts:nt,pts:nt};Tt.samples.push(Ye),Tt.length+=ur.data.length}else i.e(this.TAG,"Flv: Unsupported AAC data type ".concat(ur.packetType))}else if(kt===2){if(!Vt.codec){var Xe=this._parseMP3AudioData(z,$+1,le-1,!0);if(Xe==null)return;Vt.audioSampleRate=Xe.samplingRate,Vt.channelCount=Xe.channelCount,Vt.codec=Xe.codec,Vt.originalCodec=Xe.originalCodec,Vt.refSampleDuration=1152/Vt.audioSampleRate*Vt.timescale,i.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Vt);var yt=this._mediaInfo;yt.audioCodec=Vt.codec,yt.audioSampleRate=Vt.audioSampleRate,yt.audioChannelCount=Vt.channelCount,yt.audioDataRate=Xe.bitRate,yt.hasVideo?yt.videoCodec!=null&&(yt.mimeType='video/x-flv; codecs="'+yt.videoCodec+","+yt.audioCodec+'"'):yt.mimeType='video/x-flv; codecs="'+yt.audioCodec+'"',yt.isComplete()&&this._onMediaInfo(yt)}var mt=this._parseMP3AudioData(z,$+1,le-1,!1);if(mt==null)return;var We=this._timestampBase+ge,rt={unit:mt,length:mt.byteLength,dts:We,pts:We};Tt.samples.push(rt),Tt.length+=mt.length}}},{key:"_parseAACAudioData",value:function(z,$,le){if(le<=1){i.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var ge={},Ae=new Uint8Array(z,$,le);return ge.packetType=Ae[0],Ae[0]===0?ge.data=this._parseAACAudioSpecificConfig(z,$+1,le-1):ge.data=Ae.subarray(1),ge}},{key:"_parseAACAudioSpecificConfig",value:function(z,$,le){var ge=new Uint8Array(z,$,le),Ae=null,Me=0,$e=0,kt=null,$t=0,Lt=null;if(Me=$e=ge[0]>>>3,$t=(ge[0]&7)<<1|ge[1]>>>7,$t<0||$t>=this._mpegSamplingRates.length){this._onError(De.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Ut=this._mpegSamplingRates[$t],Wt=(ge[1]&120)>>>3;if(Wt<0||Wt>=8){this._onError(De.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Me===5&&(Lt=(ge[1]&7)<<1|ge[2]>>>7,kt=(ge[2]&124)>>>2);var Vt=self.navigator.userAgent.toLowerCase();return Vt.indexOf("firefox")!==-1?$t>=6?(Me=5,Ae=new Array(4),Lt=$t-3):(Me=2,Ae=new Array(2),Lt=$t):Vt.indexOf("android")!==-1?(Me=2,Ae=new Array(2),Lt=$t):(Me=5,Lt=$t,Ae=new Array(4),$t>=6?Lt=$t-3:Wt===1&&(Me=2,Ae=new Array(2),Lt=$t)),Ae[0]=Me<<3,Ae[0]|=($t&15)>>>1,Ae[1]=($t&15)<<7,Ae[1]|=(Wt&15)<<3,Me===5&&(Ae[1]|=(Lt&15)>>>1,Ae[2]=(Lt&1)<<7,Ae[2]|=2<<2,Ae[3]=0),{config:Ae,samplingRate:Ut,channelCount:Wt,codec:"mp4a.40."+Me,originalCodec:"mp4a.40."+$e}}},{key:"_parseMP3AudioData",value:function(z,$,le,ge){if(le<4){i.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Ae=this._littleEndian,Me=new Uint8Array(z,$,le),$e=null;if(ge){if(Me[0]!==255)return;var kt=Me[1]>>>3&3,$t=(Me[1]&6)>>1,Lt=(Me[2]&240)>>>4,Ut=(Me[2]&12)>>>2,Wt=Me[3]>>>6&3,Vt=Wt!==3?2:1,Tt=0,ur=0,qt=34,ze="mp3";switch(kt){case 0:Tt=this._mpegAudioV25SampleRateTable[Ut];break;case 2:Tt=this._mpegAudioV20SampleRateTable[Ut];break;case 3:Tt=this._mpegAudioV10SampleRateTable[Ut];break}switch($t){case 1:qt=34,Lt<this._mpegAudioL3BitRateTable.length&&(ur=this._mpegAudioL3BitRateTable[Lt]);break;case 2:qt=33,Lt<this._mpegAudioL2BitRateTable.length&&(ur=this._mpegAudioL2BitRateTable[Lt]);break;case 3:qt=32,Lt<this._mpegAudioL1BitRateTable.length&&(ur=this._mpegAudioL1BitRateTable[Lt]);break}$e={bitRate:ur,samplingRate:Tt,channelCount:Vt,codec:ze,originalCodec:ze}}else $e=Me;return $e}},{key:"_parseVideoData",value:function(z,$,le,ge,Ae){if(le<=1){i.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Me=new Uint8Array(z,$,le)[0],$e=(Me&240)>>>4,kt=Me&15;if(kt!==7){this._onError(De.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(kt));return}this._parseAVCVideoPacket(z,$+1,le-1,ge,Ae,$e)}},{key:"_parseAVCVideoPacket",value:function(z,$,le,ge,Ae,Me){if(le<4){i.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var $e=this._littleEndian,kt=new DataView(z,$,le),$t=kt.getUint8(0),Lt=kt.getUint32(0,!$e)&16777215,Ut=Lt<<8>>8;if($t===0)this._parseAVCDecoderConfigurationRecord(z,$+4,le-4);else if($t===1)this._parseAVCVideoData(z,$+4,le-4,ge,Ae,Me,Ut);else if(!($t===2)){this._onError(De.FORMAT_ERROR,"Flv: Invalid video packet type ".concat($t));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(z,$,le){if(le<7){i.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var ge=this._videoMetadata,Ae=this._videoTrack,Me=this._littleEndian,$e=new DataView(z,$,le);ge?typeof ge.avcc!="undefined"&&i.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ge=this._videoMetadata={},ge.type="video",ge.id=Ae.id,ge.timescale=this._timescale,ge.duration=this._duration);var kt=$e.getUint8(0),$t=$e.getUint8(1),Lt=$e.getUint8(2),Ut=$e.getUint8(3);if(kt!==1||$t===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=($e.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(De.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Wt=$e.getUint8(5)&31;if(Wt===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Wt>1&&i.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Wt));for(var Vt=6,Tt=0;Tt<Wt;Tt++){var ur=$e.getUint16(Vt,!Me);if(Vt+=2,ur===0)continue;var qt=new Uint8Array(z,$+Vt,ur);Vt+=ur;var ze=At.parseSPS(qt);if(Tt!==0)continue;ge.codecWidth=ze.codec_size.width,ge.codecHeight=ze.codec_size.height,ge.presentWidth=ze.present_size.width,ge.presentHeight=ze.present_size.height,ge.profile=ze.profile_string,ge.level=ze.level_string,ge.bitDepth=ze.bit_depth,ge.chromaFormat=ze.chroma_format,ge.sarRatio=ze.sar_ratio,ge.frameRate=ze.frame_rate,(ze.frame_rate.fixed===!1||ze.frame_rate.fps_num===0||ze.frame_rate.fps_den===0)&&(ge.frameRate=this._referenceFrameRate);var nt=ge.frameRate.fps_den,Ye=ge.frameRate.fps_num;ge.refSampleDuration=ge.timescale*(nt/Ye);for(var Xe=qt.subarray(1,4),yt="avc1.",mt=0;mt<3;mt++){var We=Xe[mt].toString(16);We.length<2&&(We="0"+We),yt+=We}ge.codec=yt;var rt=this._mediaInfo;rt.width=ge.codecWidth,rt.height=ge.codecHeight,rt.fps=ge.frameRate.fps,rt.profile=ge.profile,rt.level=ge.level,rt.refFrames=ze.ref_frames,rt.chromaFormat=ze.chroma_format_string,rt.sarNum=ge.sarRatio.width,rt.sarDen=ge.sarRatio.height,rt.videoCodec=yt,rt.hasAudio?rt.audioCodec!=null&&(rt.mimeType='video/x-flv; codecs="'+rt.videoCodec+","+rt.audioCodec+'"'):rt.mimeType='video/x-flv; codecs="'+rt.videoCodec+'"',rt.isComplete()&&this._onMediaInfo(rt)}var ft=$e.getUint8(Vt);if(ft===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else ft>1&&i.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(ft));Vt++;for(var Yt=0;Yt<ft;Yt++){var Ft=$e.getUint16(Vt,!Me);if(Vt+=2,Ft===0)continue;Vt+=Ft}ge.avcc=new Uint8Array(le),ge.avcc.set(new Uint8Array(z,$,le),0),i.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",ge)}},{key:"_parseAVCVideoData",value:function(z,$,le,ge,Ae,Me,$e){for(var kt=this._littleEndian,$t=new DataView(z,$,le),Lt=[],Ut=0,Wt=0,Vt=this._naluLengthSize,Tt=this._timestampBase+ge,ur=Me===1;Wt<le;){if(Wt+4>=le){i.w(this.TAG,"Malformed Nalu near timestamp ".concat(Tt,", offset = ").concat(Wt,", dataSize = ").concat(le));break}var qt=$t.getUint32(Wt,!kt);if(Vt===3&&(qt>>>=8),qt>le-Vt){i.w(this.TAG,"Malformed Nalus near timestamp ".concat(Tt,", NaluSize > DataSize!"));return}var ze=$t.getUint8(Wt+Vt)&31;ze===5&&(ur=!0);var nt=new Uint8Array(z,$+Wt,Vt+qt),Ye={type:ze,data:nt};Lt.push(Ye),Ut+=nt.byteLength,Wt+=Vt+qt}if(Lt.length){var Xe=this._videoTrack,yt={units:Lt,length:Ut,isKeyframe:ur,dts:Tt,cts:$e,pts:Tt+$e};ur&&(yt.fileposition=Ae),Xe.samples.push(yt),Xe.length+=Ut}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(z){this._onTrackMetadata=z}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(z){this._onMediaInfo=z}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(z){this._onMetaDataArrived=z}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(z){this._onScriptDataArrived=z}},{key:"onError",get:function(){return this._onError},set:function(z){this._onError=z}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(z){this._onDataAvailable=z}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(z){this._timestampBase=z}},{key:"overridedDuration",get:function(){return this._duration},set:function(z){this._durationOverrided=!0,this._duration=z,this._mediaInfo.duration=z}},{key:"overridedHasAudio",set:function(z){this._hasAudioFlagOverrided=!0,this._hasAudio=z,this._mediaInfo.hasAudio=z}},{key:"overridedHasVideo",set:function(z){this._hasVideoFlagOverrided=!0,this._hasVideo=z,this._mediaInfo.hasVideo=z}}],[{key:"probe",value:function(z){var $=new Uint8Array(z),le={match:!1};if($[0]!==70||$[1]!==76||$[2]!==86||$[3]!==1)return le;var ge=($[4]&4)>>>2!==0,Ae=($[4]&1)!==0,Me=Et($,5);return Me<9?le:{match:!0,consumed:Me,dataOffset:Me,hasAudioTrack:ge,hasVideoTrack:Ae}}}]),ee}(),Pt=Mt,ke=function(){function ee(){Object(d.a)(this,ee)}return Object(E.a)(ee,null,[{key:"init",value:function(){ee.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 z in ee.types)ee.types.hasOwnProperty(z)&&(ee.types[z]=[z.charCodeAt(0),z.charCodeAt(1),z.charCodeAt(2),z.charCodeAt(3)]);var $=ee.constants={};$.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),$.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),$.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),$.STSC=$.STCO=$.STTS,$.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),$.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]),$.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]),$.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),$.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),$.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(z){for(var $=8,le=null,ge=Array.prototype.slice.call(arguments,1),Ae=ge.length,Me=0;Me<Ae;Me++)$+=ge[Me].byteLength;le=new Uint8Array($),le[0]=$>>>24&255,le[1]=$>>>16&255,le[2]=$>>>8&255,le[3]=$&255,le.set(z,4);for(var $e=8,kt=0;kt<Ae;kt++)le.set(ge[kt],$e),$e+=ge[kt].byteLength;return le}},{key:"generateInitSegment",value:function(z){var $=ee.box(ee.types.ftyp,ee.constants.FTYP),le=ee.moov(z),ge=new Uint8Array($.byteLength+le.byteLength);return ge.set($,0),ge.set(le,$.byteLength),ge}},{key:"moov",value:function(z){var $=ee.mvhd(z.timescale,z.duration),le=ee.trak(z),ge=ee.mvex(z);return ee.box(ee.types.moov,$,le,ge)}},{key:"mvhd",value:function(z,$){return ee.box(ee.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255,$>>>24&255,$>>>16&255,$>>>8&255,$&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(z){return ee.box(ee.types.trak,ee.tkhd(z),ee.mdia(z))}},{key:"tkhd",value:function(z){var $=z.id,le=z.duration,ge=z.presentWidth,Ae=z.presentHeight;return ee.box(ee.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,0,0,0,0,le>>>24&255,le>>>16&255,le>>>8&255,le&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,ge>>>8&255,ge&255,0,0,Ae>>>8&255,Ae&255,0,0]))}},{key:"mdia",value:function(z){return ee.box(ee.types.mdia,ee.mdhd(z),ee.hdlr(z),ee.minf(z))}},{key:"mdhd",value:function(z){var $=z.timescale,le=z.duration;return ee.box(ee.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,le>>>24&255,le>>>16&255,le>>>8&255,le&255,85,196,0,0]))}},{key:"hdlr",value:function(z){var $=null;return z.type==="audio"?$=ee.constants.HDLR_AUDIO:$=ee.constants.HDLR_VIDEO,ee.box(ee.types.hdlr,$)}},{key:"minf",value:function(z){var $=null;return z.type==="audio"?$=ee.box(ee.types.smhd,ee.constants.SMHD):$=ee.box(ee.types.vmhd,ee.constants.VMHD),ee.box(ee.types.minf,$,ee.dinf(),ee.stbl(z))}},{key:"dinf",value:function(){var z=ee.box(ee.types.dinf,ee.box(ee.types.dref,ee.constants.DREF));return z}},{key:"stbl",value:function(z){var $=ee.box(ee.types.stbl,ee.stsd(z),ee.box(ee.types.stts,ee.constants.STTS),ee.box(ee.types.stsc,ee.constants.STSC),ee.box(ee.types.stsz,ee.constants.STSZ),ee.box(ee.types.stco,ee.constants.STCO));return $}},{key:"stsd",value:function(z){return z.type==="audio"?z.codec==="mp3"?ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.mp3(z)):ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.mp4a(z)):ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.avc1(z))}},{key:"mp3",value:function(z){var $=z.channelCount,le=z.audioSampleRate,ge=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,$,0,16,0,0,0,0,le>>>8&255,le&255,0,0]);return ee.box(ee.types[".mp3"],ge)}},{key:"mp4a",value:function(z){var $=z.channelCount,le=z.audioSampleRate,ge=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,$,0,16,0,0,0,0,le>>>8&255,le&255,0,0]);return ee.box(ee.types.mp4a,ge,ee.esds(z))}},{key:"esds",value:function(z){var $=z.config||[],le=$.length,ge=new Uint8Array([0,0,0,0,3,23+le,0,1,0,4,15+le,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([le]).concat($).concat([6,1,2]));return ee.box(ee.types.esds,ge)}},{key:"avc1",value:function(z){var $=z.avcc,le=z.codecWidth,ge=z.codecHeight,Ae=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,le>>>8&255,le&255,ge>>>8&255,ge&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 ee.box(ee.types.avc1,Ae,ee.box(ee.types.avcC,$))}},{key:"mvex",value:function(z){return ee.box(ee.types.mvex,ee.trex(z))}},{key:"trex",value:function(z){var $=z.id,le=new Uint8Array([0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return ee.box(ee.types.trex,le)}},{key:"moof",value:function(z,$){return ee.box(ee.types.moof,ee.mfhd(z.sequenceNumber),ee.traf(z,$))}},{key:"mfhd",value:function(z){var $=new Uint8Array([0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255]);return ee.box(ee.types.mfhd,$)}},{key:"traf",value:function(z,$){var le=z.id,ge=ee.box(ee.types.tfhd,new Uint8Array([0,0,0,0,le>>>24&255,le>>>16&255,le>>>8&255,le&255])),Ae=ee.box(ee.types.tfdt,new Uint8Array([0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255])),Me=ee.sdtp(z),$e=ee.trun(z,Me.byteLength+16+16+8+16+8+8);return ee.box(ee.types.traf,ge,Ae,$e,Me)}},{key:"sdtp",value:function(z){for(var $=z.samples||[],le=$.length,ge=new Uint8Array(4+le),Ae=0;Ae<le;Ae++){var Me=$[Ae].flags;ge[Ae+4]=Me.isLeading<<6|Me.dependsOn<<4|Me.isDependedOn<<2|Me.hasRedundancy}return ee.box(ee.types.sdtp,ge)}},{key:"trun",value:function(z,$){var le=z.samples||[],ge=le.length,Ae=12+16*ge,Me=new Uint8Array(Ae);$+=8+Ae,Me.set([0,0,15,1,ge>>>24&255,ge>>>16&255,ge>>>8&255,ge&255,$>>>24&255,$>>>16&255,$>>>8&255,$&255],0);for(var $e=0;$e<ge;$e++){var kt=le[$e].duration,$t=le[$e].size,Lt=le[$e].flags,Ut=le[$e].cts;Me.set([kt>>>24&255,kt>>>16&255,kt>>>8&255,kt&255,$t>>>24&255,$t>>>16&255,$t>>>8&255,$t&255,Lt.isLeading<<2|Lt.dependsOn,Lt.isDependedOn<<6|Lt.hasRedundancy<<4|Lt.isNonSync,0,0,Ut>>>24&255,Ut>>>16&255,Ut>>>8&255,Ut&255],12+16*$e)}return ee.box(ee.types.trun,Me)}},{key:"mdat",value:function(z){return ee.box(ee.types.mdat,z)}}]),ee}();ke.init();var zt=ke,Ot=function(){function ee(){Object(d.a)(this,ee)}return Object(E.a)(ee,null,[{key:"getSilentFrame",value:function(z,$){if(z==="mp4a.40.2"){if($===1)return new Uint8Array([0,200,0,128,35,128]);if($===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if($===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if($===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if($===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($===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($===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($===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($===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}}]),ee}(),_t=Ot,Ve=function ee(ie,z,$,le,ge){Object(d.a)(this,ee),this.dts=ie,this.pts=z,this.duration=$,this.originalDts=le,this.isSyncPoint=ge,this.fileposition=null},Qe=function(){function ee(){Object(d.a)(this,ee),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(E.a)(ee,[{key:"appendSyncPoint",value:function(z){z.isSyncPoint=!0,this.syncPoints.push(z)}}]),ee}(),et=function(){function ee(){Object(d.a)(this,ee),this._list=[]}return Object(E.a)(ee,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(z){var $=this._list;if(z.length===0)return;$.length>0&&z[0].originalDts<$[$.length-1].originalDts&&this.clear(),Array.prototype.push.apply($,z)}},{key:"getLastSyncPointBeforeDts",value:function(z){if(this._list.length==0)return null;var $=this._list,le=0,ge=$.length-1,Ae=0,Me=0,$e=ge;for(z<$[0].dts&&(le=0,Me=$e+1);Me<=$e;)if(Ae=Me+Math.floor(($e-Me)/2),Ae===ge||z>=$[Ae].dts&&z<$[Ae+1].dts){le=Ae;break}else $[Ae].dts<z?Me=Ae+1:$e=Ae-1;return this._list[le]}}]),ee}(),dt=function(){function ee(ie){Object(d.a)(this,ee),this._type=ie,this._list=[],this._lastAppendLocation=-1}return Object(E.a)(ee,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(z){var $=this._list;if($.length===0)return-2;var le=$.length-1,ge=0,Ae=0,Me=le,$e=0;if(z<$[0].originalBeginDts)return $e=-1,$e;for(;Ae<=Me;)if(ge=Ae+Math.floor((Me-Ae)/2),ge===le||z>$[ge].lastSample.originalDts&&z<$[ge+1].originalBeginDts){$e=ge;break}else $[ge].originalBeginDts<z?Ae=ge+1:Me=ge-1;return $e}},{key:"_searchNearestSegmentAfter",value:function(z){return this._searchNearestSegmentBefore(z)+1}},{key:"append",value:function(z){var $=this._list,le=z,ge=this._lastAppendLocation,Ae=0;ge!==-1&&ge<$.length&&le.originalBeginDts>=$[ge].lastSample.originalDts&&(ge===$.length-1||ge<$.length-1&&le.originalBeginDts<$[ge+1].originalBeginDts)?Ae=ge+1:$.length>0&&(Ae=this._searchNearestSegmentBefore(le.originalBeginDts)+1),this._lastAppendLocation=Ae,this._list.splice(Ae,0,le)}},{key:"getLastSegmentBefore",value:function(z){var $=this._searchNearestSegmentBefore(z);return $>=0?this._list[$]:null}},{key:"getLastSampleBefore",value:function(z){var $=this.getLastSegmentBefore(z);return $!=null?$.lastSample:null}},{key:"getLastSyncPointBefore",value:function(z){for(var $=this._searchNearestSegmentBefore(z),le=this._list[$].syncPoints;le.length===0&&$>0;)$--,le=this._list[$].syncPoints;return le.length>0?le[le.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),ee}(),Ze=function(){function ee(ie){Object(d.a)(this,ee),this.TAG="MP4Remuxer",this._config=ie,this._isLive=ie.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new dt("audio"),this._videoSegmentInfoList=new dt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661)),this._fillSilentAfterSeek=T.msedge||T.msie,this._mp3UseMpegAudio=!T.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(E.a)(ee,[{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(z){return z.onDataAvailable=this.remux.bind(this),z.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(z){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(z,$){if(!this._onMediaSegment)throw new u("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(z,$),this._remuxVideo($),this._remuxAudio(z)}},{key:"_onTrackMetadataReceived",value:function(z,$){var le=null,ge="mp4",Ae=$.codec;if(z==="audio")this._audioMeta=$,$.codec==="mp3"&&this._mp3UseMpegAudio?(ge="mpeg",Ae="",le=new Uint8Array):le=zt.generateInitSegment($);else if(z==="video")this._videoMeta=$,le=zt.generateInitSegment($);else return;if(!this._onInitSegment)throw new u("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(z,{type:z,data:le.buffer,codec:Ae,container:"".concat(z,"/").concat(ge),mediaDuration:$.duration})}},{key:"_calculateDtsBase",value:function(z,$){if(this._dtsBaseInited)return;z.samples&&z.samples.length&&(this._audioDtsBase=z.samples[0].dts),$.samples&&$.samples.length&&(this._videoDtsBase=$.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var z=this._videoStashedLastSample,$=this._audioStashedLastSample,le={type:"video",id:1,sequenceNumber:0,samples:[],length:0};z!=null&&(le.samples.push(z),le.length=z.length);var ge={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};$!=null&&(ge.samples.push($),ge.length=$.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(le,!0),this._remuxAudio(ge,!0)}},{key:"_remuxAudio",value:function(z,$){if(this._audioMeta==null)return;var le=z,ge=le.samples,Ae=void 0,Me=-1,$e=-1,kt=-1,$t=this._audioMeta.refSampleDuration,Lt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ut=this._dtsBaseInited&&this._audioNextDts===void 0,Wt=!1;if(!ge||ge.length===0)return;if(ge.length===1&&!$)return;var Vt=0,Tt=null,ur=0;Lt?(Vt=0,ur=le.length):(Vt=8,ur=8+le.length);var qt=null;if(ge.length>1&&(qt=ge.pop(),ur-=qt.length),this._audioStashedLastSample!=null){var ze=this._audioStashedLastSample;this._audioStashedLastSample=null,ge.unshift(ze),ur+=ze.length}qt!=null&&(this._audioStashedLastSample=qt);var nt=ge[0].dts-this._dtsBase;if(this._audioNextDts)Ae=nt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Ae=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Wt=!0));else{var Ye=this._audioSegmentInfoList.getLastSampleBefore(nt);if(Ye!=null){var Xe=nt-(Ye.originalDts+Ye.duration);Xe<=3&&(Xe=0);var yt=Ye.dts+Ye.duration+Xe;Ae=nt-yt}else Ae=0}if(Wt){var mt=nt-Ae,We=this._videoSegmentInfoList.getLastSegmentBefore(nt);if(We!=null&&We.beginDts<mt){var rt=_t.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(rt){var ft=We.beginDts,Yt=mt-We.beginDts;i.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(ft,", duration: ").concat(Yt)),ge.unshift({unit:rt,dts:ft,pts:ft}),ur+=rt.byteLength}}else Wt=!1}for(var Ft=[],fr=0;fr<ge.length;fr++){var mr=ge[fr],Er=mr.unit,Lr=mr.dts-this._dtsBase,en=Lr-Ae;Me===-1&&(Me=en);var Qr=0;if(fr!==ge.length-1){var Cr=ge[fr+1].dts-this._dtsBase-Ae;Qr=Cr-en}else if(qt!=null){var Gr=qt.dts-this._dtsBase-Ae;Qr=Gr-en}else Ft.length>=1?Qr=Ft[Ft.length-1].duration:Qr=Math.floor($t);var Nr=!1,lr=null;if(Qr>$t*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){Nr=!0;var pr=Math.abs(Qr-$t),sr=Math.ceil(pr/$t),dr=en+$t;i.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(en+Qr," ms, expected: ").concat(en+Math.round($t)," ms, ")+"delta: ".concat(Math.round(pr)," ms, generate: ").concat(sr," frames"));var Sr=_t.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Sr==null&&(i.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),Sr=Er),lr=[];for(var Xr=0;Xr<sr;Xr++){var cn=Math.round(dr);if(lr.length>0){var Dn=lr[lr.length-1];Dn.duration=cn-Dn.dts}var jr={dts:cn,pts:cn,cts:0,unit:Sr,size:Sr.byteLength,duration:0,originalDts:Lr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};lr.push(jr),ur+=jr.size,dr+=$t}var On=lr[lr.length-1];On.duration=en+Qr-On.dts,Qr=Math.round($t)}Ft.push({dts:en,pts:en,cts:0,unit:mr.unit,size:mr.unit.byteLength,duration:Qr,originalDts:Lr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Nr&&Ft.push.apply(Ft,lr)}Lt?Tt=new Uint8Array(ur):(Tt=new Uint8Array(ur),Tt[0]=ur>>>24&255,Tt[1]=ur>>>16&255,Tt[2]=ur>>>8&255,Tt[3]=ur&255,Tt.set(zt.types.mdat,4));for(var gn=0;gn<Ft.length;gn++){var Un=Ft[gn].unit;Tt.set(Un,Vt),Vt+=Un.byteLength}var Wn=Ft[Ft.length-1];$e=Wn.dts+Wn.duration,this._audioNextDts=$e;var Jn=new Qe;Jn.beginDts=Me,Jn.endDts=$e,Jn.beginPts=Me,Jn.endPts=$e,Jn.originalBeginDts=Ft[0].originalDts,Jn.originalEndDts=Wn.originalDts+Wn.duration,Jn.firstSample=new Ve(Ft[0].dts,Ft[0].pts,Ft[0].duration,Ft[0].originalDts,!1),Jn.lastSample=new Ve(Wn.dts,Wn.pts,Wn.duration,Wn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Jn),le.samples=Ft,le.sequenceNumber++;var Qn=null;Lt?Qn=new Uint8Array:Qn=zt.moof(le,Me),le.samples=[],le.length=0;var Vn={type:"audio",data:this._mergeBoxes(Qn,Tt).buffer,sampleCount:Ft.length,info:Jn};Lt&&Ut&&(Vn.timestampOffset=Me),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function(z,$){if(this._videoMeta==null)return;var le=z,ge=le.samples,Ae=void 0,Me=-1,$e=-1,kt=-1,$t=-1;if(!ge||ge.length===0)return;if(ge.length===1&&!$)return;var Lt=8,Ut=null,Wt=8+z.length,Vt=null;if(ge.length>1&&(Vt=ge.pop(),Wt-=Vt.length),this._videoStashedLastSample!=null){var Tt=this._videoStashedLastSample;this._videoStashedLastSample=null,ge.unshift(Tt),Wt+=Tt.length}Vt!=null&&(this._videoStashedLastSample=Vt);var ur=ge[0].dts-this._dtsBase;if(this._videoNextDts)Ae=ur-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Ae=0;else{var qt=this._videoSegmentInfoList.getLastSampleBefore(ur);if(qt!=null){var ze=ur-(qt.originalDts+qt.duration);ze<=3&&(ze=0);var nt=qt.dts+qt.duration+ze;Ae=ur-nt}else Ae=0}for(var Ye=new Qe,Xe=[],yt=0;yt<ge.length;yt++){var mt=ge[yt],We=mt.dts-this._dtsBase,rt=mt.isKeyframe,ft=We-Ae,Yt=mt.cts,Ft=ft+Yt;Me===-1&&(Me=ft,kt=Ft);var fr=0;if(yt!==ge.length-1){var mr=ge[yt+1].dts-this._dtsBase-Ae;fr=mr-ft}else if(Vt!=null){var Er=Vt.dts-this._dtsBase-Ae;fr=Er-ft}else Xe.length>=1?fr=Xe[Xe.length-1].duration:fr=Math.floor(this._videoMeta.refSampleDuration);if(rt){var Lr=new Ve(ft,Ft,fr,mt.dts,!0);Lr.fileposition=mt.fileposition,Ye.appendSyncPoint(Lr)}Xe.push({dts:ft,pts:Ft,cts:Yt,units:mt.units,size:mt.length,isKeyframe:rt,duration:fr,originalDts:We,flags:{isLeading:0,dependsOn:rt?2:1,isDependedOn:rt?1:0,hasRedundancy:0,isNonSync:rt?0:1}})}Ut=new Uint8Array(Wt),Ut[0]=Wt>>>24&255,Ut[1]=Wt>>>16&255,Ut[2]=Wt>>>8&255,Ut[3]=Wt&255,Ut.set(zt.types.mdat,4);for(var en=0;en<Xe.length;en++)for(var Qr=Xe[en].units;Qr.length;){var Cr=Qr.shift(),Gr=Cr.data;Ut.set(Gr,Lt),Lt+=Gr.byteLength}var Nr=Xe[Xe.length-1];if($e=Nr.dts+Nr.duration,$t=Nr.pts+Nr.duration,this._videoNextDts=$e,Ye.beginDts=Me,Ye.endDts=$e,Ye.beginPts=kt,Ye.endPts=$t,Ye.originalBeginDts=Xe[0].originalDts,Ye.originalEndDts=Nr.originalDts+Nr.duration,Ye.firstSample=new Ve(Xe[0].dts,Xe[0].pts,Xe[0].duration,Xe[0].originalDts,Xe[0].isKeyframe),Ye.lastSample=new Ve(Nr.dts,Nr.pts,Nr.duration,Nr.originalDts,Nr.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Ye),le.samples=Xe,le.sequenceNumber++,this._forceFirstIDR){var lr=Xe[0].flags;lr.dependsOn=2,lr.isNonSync=0}var pr=zt.moof(le,Me);le.samples=[],le.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(pr,Ut).buffer,sampleCount:Xe.length,info:Ye})}},{key:"_mergeBoxes",value:function(z,$){var le=new Uint8Array(z.byteLength+$.byteLength);return le.set(z,0),le.set($,z.byteLength),le}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(z){this._onInitSegment=z}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(z){this._onMediaSegment=z}}]),ee}(),oe=Ze,me={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"},ot=me,Pe=function(){function ee(ie,z){Object(d.a)(this,ee),this.TAG="TransmuxingController",this._emitter=new b.a,this._config=z,ie.segments||(ie.segments=[{duration:ie.duration,filesize:ie.filesize,url:ie.url}]),typeof ie.cors!="boolean"&&(ie.cors=!0),typeof ie.withCredentials!="boolean"&&(ie.withCredentials=!1),this._mediaDataSource=ie,this._currentSegmentIndex=0;var $=0;this._mediaDataSource.segments.forEach(function(le){le.timestampBase=$,$+=le.duration,le.cors=ie.cors,le.withCredentials=ie.withCredentials,z.referrerPolicy&&(le.referrerPolicy=z.referrerPolicy)}),!isNaN($)&&this._mediaDataSource.duration!==$&&(this._mediaDataSource.duration=$),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(E.a)(ee,[{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(z,$){this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(z,$){this._currentSegmentIndex=z;var le=this._mediaDataSource.segments[z],ge=this._ioctl=new _(le,this._config,z);ge.onError=this._onIOException.bind(this),ge.onSeeked=this._onIOSeeked.bind(this),ge.onComplete=this._onIOComplete.bind(this),ge.onRedirect=this._onIORedirect.bind(this),ge.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),$?this._demuxer.bindDataSource(this._ioctl):ge.onDataArrival=this._onInitChunkArrival.bind(this),ge.open($)}},{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(z){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var $=this._searchSegmentIndexContains(z);if($===this._currentSegmentIndex){var le=this._mediaInfo.segments[$];if(le==null)this._pendingSeekTime=z;else{var ge=le.getNearestKeyframe(z);this._remuxer.seek(ge.milliseconds),this._ioctl.seek(ge.fileposition),this._pendingResolveSeekPoint=ge.milliseconds}}else{var Ae=this._mediaInfo.segments[$];if(Ae==null)this._pendingSeekTime=z,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment($);else{var Me=Ae.getNearestKeyframe(z);this._internalAbort(),this._remuxer.seek(z),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[$].timestampBase,this._loadSegment($,Me.fileposition),this._pendingResolveSeekPoint=Me.milliseconds,this._reportSegmentMediaInfo($)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(z){for(var $=this._mediaDataSource.segments,le=$.length-1,ge=0;ge<$.length;ge++)if(z<$[ge].timestampBase){le=ge-1;break}return le}},{key:"_onInitChunkArrival",value:function(z,$){var le=this,ge=null,Ae=0;if($>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Ae=this._demuxer.parseChunks(z,$);else if((ge=Pt.probe(z)).match){this._demuxer=new Pt(ge,this._config),this._remuxer||(this._remuxer=new oe(this._config));var Me=this._mediaDataSource;Me.duration!=null&&!isNaN(Me.duration)&&(this._demuxer.overridedDuration=Me.duration),typeof Me.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Me.hasAudio),typeof Me.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Me.hasVideo),this._demuxer.timestampBase=Me.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),Ae=this._demuxer.parseChunks(z,$)}else ge=null,i.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){le._internalAbort()}),this._emitter.emit(ot.DEMUX_ERROR,De.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Ae=0;return Ae}},{key:"_onMediaInfo",value:function(z){var $=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},z),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,xt.prototype));var le=Object.assign({},z);Object.setPrototypeOf(le,xt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=le,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var ge=$._pendingSeekTime;$._pendingSeekTime=null,$.seek(ge)})}},{key:"_onMetaDataArrived",value:function(z){this._emitter.emit(ot.METADATA_ARRIVED,z)}},{key:"_onScriptDataArrived",value:function(z){this._emitter.emit(ot.SCRIPTDATA_ARRIVED,z)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(z){var $=z,le=$+1;le<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(le)):(this._remuxer.flushStashedSamples(),this._emitter.emit(ot.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(z){var $=this._ioctl.extraData;this._mediaDataSource.segments[$].redirectedURL=z}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(ot.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(z,$){i.e(this.TAG,"IOException: type = ".concat(z,", code = ").concat($.code,", msg = ").concat($.msg)),this._emitter.emit(ot.IO_ERROR,z,$),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(z,$){i.e(this.TAG,"DemuxException: type = ".concat(z,", info = ").concat($)),this._emitter.emit(ot.DEMUX_ERROR,z,$)}},{key:"_onRemuxerInitSegmentArrival",value:function(z,$){this._emitter.emit(ot.INIT_SEGMENT,z,$)}},{key:"_onRemuxerMediaSegmentArrival",value:function(z,$){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(ot.MEDIA_SEGMENT,z,$),this._pendingResolveSeekPoint!=null&&z==="video"){var le=$.info.syncPoints,ge=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&le.length>0&&le[0].originalDts===ge&&(ge=le[0].pts),this._emitter.emit(ot.RECOMMEND_SEEKPOINT,ge)}}},{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(z){var $=this._mediaInfo.segments[z],le=Object.assign({},$);le.duration=this._mediaInfo.duration,le.segmentCount=this._mediaInfo.segmentCount,delete le.segments,delete le.keyframesIndex,this._emitter.emit(ot.MEDIA_INFO,le)}},{key:"_reportStatisticsInfo",value:function(){var z={};z.url=this._ioctl.currentURL,z.hasRedirect=this._ioctl.hasRedirect,z.hasRedirect&&(z.redirectedURL=this._ioctl.currentRedirectedURL),z.speed=this._ioctl.currentSpeed,z.loaderType=this._ioctl.loaderType,z.currentSegmentIndex=this._currentSegmentIndex,z.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(ot.STATISTICS_INFO,z)}}]),ee}(),pt=Pe,Rr=function(ie){var z="TransmuxingWorker",$=null,le=ur.bind(this);p.install(),ie.addEventListener("message",function(qt){switch(qt.data.cmd){case"init":$=new pt(qt.data.param[0],qt.data.param[1]),$.on(ot.IO_ERROR,Wt.bind(this)),$.on(ot.DEMUX_ERROR,Vt.bind(this)),$.on(ot.INIT_SEGMENT,ge.bind(this)),$.on(ot.MEDIA_SEGMENT,Ae.bind(this)),$.on(ot.LOADING_COMPLETE,Me.bind(this)),$.on(ot.RECOVERED_EARLY_EOF,$e.bind(this)),$.on(ot.MEDIA_INFO,kt.bind(this)),$.on(ot.METADATA_ARRIVED,$t.bind(this)),$.on(ot.SCRIPTDATA_ARRIVED,Lt.bind(this)),$.on(ot.STATISTICS_INFO,Ut.bind(this)),$.on(ot.RECOMMEND_SEEKPOINT,Tt.bind(this));break;case"destroy":$&&($.destroy(),$=null),ie.postMessage({msg:"destroyed"});break;case"start":$.start();break;case"stop":$.stop();break;case"seek":$.seek(qt.data.param);break;case"pause":$.pause();break;case"resume":$.resume();break;case"logging_config":{var ze=qt.data.param;Ke.applyConfig(ze),ze.enableCallback===!0?Ke.addLogListener(le):Ke.removeLogListener(le);break}}});function ge(qt,ze){var nt={msg:ot.INIT_SEGMENT,data:{type:qt,data:ze}};ie.postMessage(nt,[ze.data])}function Ae(qt,ze){var nt={msg:ot.MEDIA_SEGMENT,data:{type:qt,data:ze}};ie.postMessage(nt,[ze.data])}function Me(){var qt={msg:ot.LOADING_COMPLETE};ie.postMessage(qt)}function $e(){var qt={msg:ot.RECOVERED_EARLY_EOF};ie.postMessage(qt)}function kt(qt){var ze={msg:ot.MEDIA_INFO,data:qt};ie.postMessage(ze)}function $t(qt){var ze={msg:ot.METADATA_ARRIVED,data:qt};ie.postMessage(ze)}function Lt(qt){var ze={msg:ot.SCRIPTDATA_ARRIVED,data:qt};ie.postMessage(ze)}function Ut(qt){var ze={msg:ot.STATISTICS_INFO,data:qt};ie.postMessage(ze)}function Wt(qt,ze){ie.postMessage({msg:ot.IO_ERROR,data:{type:qt,info:ze}})}function Vt(qt,ze){ie.postMessage({msg:ot.DEMUX_ERROR,data:{type:qt,info:ze}})}function Tt(qt){ie.postMessage({msg:ot.RECOMMEND_SEEKPOINT,data:qt})}function ur(qt,ze){ie.postMessage({msg:"logcat_callback",data:{type:qt,logcat:ze}})}},It=Rr,nr=function(){function ee(ie,z){if(Object(d.a)(this,ee),this.TAG="Transmuxer",this._emitter=new b.a,z.enableWorker&&typeof Worker!="undefined")try{var $=e("0r65");this._worker=$(It),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[ie,z]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Ke.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Ke.getConfig()})}catch(ge){i.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new pt(ie,z)}else this._controller=new pt(ie,z);if(this._controller){var le=this._controller;le.on(ot.IO_ERROR,this._onIOError.bind(this)),le.on(ot.DEMUX_ERROR,this._onDemuxError.bind(this)),le.on(ot.INIT_SEGMENT,this._onInitSegment.bind(this)),le.on(ot.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),le.on(ot.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),le.on(ot.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),le.on(ot.MEDIA_INFO,this._onMediaInfo.bind(this)),le.on(ot.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),le.on(ot.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),le.on(ot.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),le.on(ot.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(E.a)(ee,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Ke.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(z,$){this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{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(z){this._worker?this._worker.postMessage({cmd:"seek",param:z}):this._controller.seek(z)}},{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(z,$){var le=this;Promise.resolve().then(function(){le._emitter.emit(ot.INIT_SEGMENT,z,$)})}},{key:"_onMediaSegment",value:function(z,$){var le=this;Promise.resolve().then(function(){le._emitter.emit(ot.MEDIA_SEGMENT,z,$)})}},{key:"_onLoadingComplete",value:function(){var z=this;Promise.resolve().then(function(){z._emitter.emit(ot.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var z=this;Promise.resolve().then(function(){z._emitter.emit(ot.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(ot.MEDIA_INFO,z)})}},{key:"_onMetaDataArrived",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(ot.METADATA_ARRIVED,z)})}},{key:"_onScriptDataArrived",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(ot.SCRIPTDATA_ARRIVED,z)})}},{key:"_onStatisticsInfo",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(ot.STATISTICS_INFO,z)})}},{key:"_onIOError",value:function(z,$){var le=this;Promise.resolve().then(function(){le._emitter.emit(ot.IO_ERROR,z,$)})}},{key:"_onDemuxError",value:function(z,$){var le=this;Promise.resolve().then(function(){le._emitter.emit(ot.DEMUX_ERROR,z,$)})}},{key:"_onRecommendSeekpoint",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(ot.RECOMMEND_SEEKPOINT,z)})}},{key:"_onLoggingConfigChanged",value:function(z){this._worker&&this._worker.postMessage({cmd:"logging_config",param:z})}},{key:"_onWorkerMessage",value:function(z){var $=z.data,le=$.data;if($.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch($.msg){case ot.INIT_SEGMENT:case ot.MEDIA_SEGMENT:this._emitter.emit($.msg,le.type,le.data);break;case ot.LOADING_COMPLETE:case ot.RECOVERED_EARLY_EOF:this._emitter.emit($.msg);break;case ot.MEDIA_INFO:Object.setPrototypeOf(le,xt.prototype),this._emitter.emit($.msg,le);break;case ot.METADATA_ARRIVED:case ot.SCRIPTDATA_ARRIVED:case ot.STATISTICS_INFO:this._emitter.emit($.msg,le);break;case ot.IO_ERROR:case ot.DEMUX_ERROR:this._emitter.emit($.msg,le.type,le.info);break;case ot.RECOMMEND_SEEKPOINT:this._emitter.emit($.msg,le);break;case"logcat_callback":i.emitter.emit("log",le.type,le.logcat);break;default:break}}}]),ee}(),Gt=nr,Jt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},hr=Jt,Xt=function(){function ee(ie){Object(d.a)(this,ee),this.TAG="MSEController",this._config=ie,this._emitter=new b.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 et}return Object(E.a)(ee,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(z,$){this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{key:"attachMediaElement",value:function(z){if(this._mediaSource)throw new u("MediaSource has been attached to an HTMLMediaElement!");var $=this._mediaSource=new window.MediaSource;$.addEventListener("sourceopen",this.e.onSourceOpen),$.addEventListener("sourceended",this.e.onSourceEnded),$.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=z,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),z.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var z=this._mediaSource;for(var $ in this._sourceBuffers){var le=this._pendingSegments[$];le.splice(0,le.length),this._pendingSegments[$]=null,this._pendingRemoveRanges[$]=null,this._lastInitSegments[$]=null;var ge=this._sourceBuffers[$];if(ge){if(z.readyState!=="closed"){try{z.removeSourceBuffer(ge)}catch(Ae){i.e(this.TAG,Ae.message)}ge.removeEventListener("error",this.e.onSourceBufferError),ge.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[$]=null,this._sourceBuffers[$]=null}}if(z.readyState==="open")try{z.endOfStream()}catch(Ae){i.e(this.TAG,Ae.message)}z.removeEventListener("sourceopen",this.e.onSourceOpen),z.removeEventListener("sourceended",this.e.onSourceEnded),z.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(z,$){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(z),this._pendingSegments[z.type].push(z);return}var le=z,ge="".concat(le.container);le.codec&&le.codec.length>0&&(ge+=";codecs=".concat(le.codec));var Ae=!1;if(i.v(this.TAG,"Received Initialization Segment, mimeType: "+ge),this._lastInitSegments[le.type]=le,ge!==this._mimeTypes[le.type]){if(this._mimeTypes[le.type])i.v(this.TAG,"Notice: ".concat(le.type," mimeType changed, origin: ").concat(this._mimeTypes[le.type],", target: ").concat(ge));else{Ae=!0;try{var Me=this._sourceBuffers[le.type]=this._mediaSource.addSourceBuffer(ge);Me.addEventListener("error",this.e.onSourceBufferError),Me.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch($e){i.e(this.TAG,$e.message),this._emitter.emit(hr.ERROR,{code:$e.code,msg:$e.message});return}}this._mimeTypes[le.type]=ge}$||this._pendingSegments[le.type].push(le),Ae||this._sourceBuffers[le.type]&&!this._sourceBuffers[le.type].updating&&this._doAppendSegments(),T.safari&&le.container==="audio/mpeg"&&le.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=le.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(z){var $=z;this._pendingSegments[$.type].push($),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var le=this._sourceBuffers[$.type];le&&!le.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(z){for(var $ in this._sourceBuffers){if(!this._sourceBuffers[$])continue;var le=this._sourceBuffers[$];if(this._mediaSource.readyState==="open")try{le.abort()}catch($t){i.e(this.TAG,$t.message)}this._idrList.clear();var ge=this._pendingSegments[$];if(ge.splice(0,ge.length),this._mediaSource.readyState==="closed")continue;for(var Ae=0;Ae<le.buffered.length;Ae++){var Me=le.buffered.start(Ae),$e=le.buffered.end(Ae);this._pendingRemoveRanges[$].push({start:Me,end:$e})}if(le.updating||this._doRemoveRanges(),T.safari){var kt=this._lastInitSegments[$];kt&&(this._pendingSegments[$].push(kt),le.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var z=this._mediaSource,$=this._sourceBuffers;if(!z||z.readyState!=="open"){z&&z.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}$.video&&$.video.updating||$.audio&&$.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,z.endOfStream())}},{key:"getNearestKeyframe",value:function(z){return this._idrList.getLastSyncPointBeforeDts(z)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var z=this._mediaElement.currentTime;for(var $ in this._sourceBuffers){var le=this._sourceBuffers[$];if(le){var ge=le.buffered;if(ge.length>=1&&z-ge.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var z=this._mediaElement.currentTime;for(var $ in this._sourceBuffers){var le=this._sourceBuffers[$];if(le){for(var ge=le.buffered,Ae=!1,Me=0;Me<ge.length;Me++){var $e=ge.start(Me),kt=ge.end(Me);if($e<=z&&z<kt+3){if(z-$e>=this._config.autoCleanupMaxBackwardDuration){Ae=!0;var $t=z-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[$].push({start:$e,end:$t})}}else kt<z&&(Ae=!0,this._pendingRemoveRanges[$].push({start:$e,end:kt}))}Ae&&!le.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var z=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(z.video&&z.video.updating||z.audio&&z.audio.updating)return;var $=this._mediaSource.duration,le=this._pendingMediaDuration;le>0&&(isNaN($)||le>$)&&(i.v(this.TAG,"Update MediaSource duration from ".concat($," to ").concat(le)),this._mediaSource.duration=le),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var z in this._pendingRemoveRanges){if(!this._sourceBuffers[z]||this._sourceBuffers[z].updating)continue;for(var $=this._sourceBuffers[z],le=this._pendingRemoveRanges[z];le.length&&!$.updating;){var ge=le.shift();$.remove(ge.start,ge.end)}}}},{key:"_doAppendSegments",value:function(){var z=this._pendingSegments;for(var $ in z){if(!this._sourceBuffers[$]||this._sourceBuffers[$].updating)continue;if(z[$].length>0){var le=z[$].shift();if(le.timestampOffset){var ge=this._sourceBuffers[$].timestampOffset,Ae=le.timestampOffset/1e3,Me=Math.abs(ge-Ae);Me>.1&&(i.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(ge," to ").concat(Ae)),this._sourceBuffers[$].timestampOffset=Ae),delete le.timestampOffset}if(!le.data||le.data.byteLength===0)continue;try{this._sourceBuffers[$].appendBuffer(le.data),this._isBufferFull=!1,$==="video"&&le.hasOwnProperty("info")&&this._idrList.appendArray(le.info.syncPoints)}catch($e){this._pendingSegments[$].unshift(le),$e.code===22?(this._isBufferFull||this._emitter.emit(hr.BUFFER_FULL),this._isBufferFull=!0):(i.e(this.TAG,$e.message),this._emitter.emit(hr.ERROR,{code:$e.code,msg:$e.message}))}}}}},{key:"_onSourceOpen",value:function(){if(i.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var z=this._pendingSourceBufferInit;z.length;){var $=z.shift();this.appendInitSegment($,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(hr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){i.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){i.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 z=this._pendingSegments;return z.video.length>0||z.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var z=this._pendingRemoveRanges;return z.video.length>0||z.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(hr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(z){i.e(this.TAG,"SourceBuffer Error: ".concat(z))}}]),ee}(),de=Xt,ue={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},se={NETWORK_EXCEPTION:f.EXCEPTION,NETWORK_STATUS_CODE_INVALID:f.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:f.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:f.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:De.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:De.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:De.CODEC_UNSUPPORTED},ae=function(){function ee(ie,z){if(Object(d.a)(this,ee),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new b.a,this._config=X(),typeof z=="object"&&Object.assign(this._config,z),ie.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");ie.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=ie,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 $=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!($||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(E.a)(ee,[{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(z,$){var le=this;z===be.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){le._emitter.emit(be.MEDIA_INFO,le.mediaInfo)}):z===be.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){le._emitter.emit(be.STATISTICS_INFO,le.statisticsInfo)})),this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{key:"attachMediaElement",value:function(z){var $=this;if(this._mediaElement=z,z.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),z.addEventListener("seeking",this.e.onvSeeking),z.addEventListener("canplay",this.e.onvCanPlay),z.addEventListener("stalled",this.e.onvStalled),z.addEventListener("progress",this.e.onvProgress),this._msectl=new de(this._config),this._msectl.on(hr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(hr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(hr.SOURCE_OPEN,function(){$._mseSourceOpened=!0,$._hasPendingLoad&&($._hasPendingLoad=!1,$.load())}),this._msectl.on(hr.ERROR,function(le){$._emitter.emit(be.ERROR,ue.MEDIA_ERROR,se.MEDIA_MSE_ERROR,le)}),this._msectl.attachMediaElement(z),this._pendingSeekTime!=null)try{z.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(le){}}},{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 z=this;if(!this._mediaElement)throw new u("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new u("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 Gt(this._mediaDataSource,this._config),this._transmuxer.on(ot.INIT_SEGMENT,function($,le){z._msectl.appendInitSegment(le)}),this._transmuxer.on(ot.MEDIA_SEGMENT,function($,le){if(z._msectl.appendMediaSegment(le),z._config.lazyLoad&&!z._config.isLive){var ge=z._mediaElement.currentTime;le.info.endDts>=(ge+z._config.lazyLoadMaxDuration)*1e3&&(z._progressChecker==null&&(i.v(z.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),z._suspendTransmuxer()))}}),this._transmuxer.on(ot.LOADING_COMPLETE,function(){z._msectl.endOfStream(),z._emitter.emit(be.LOADING_COMPLETE)}),this._transmuxer.on(ot.RECOVERED_EARLY_EOF,function(){z._emitter.emit(be.RECOVERED_EARLY_EOF)}),this._transmuxer.on(ot.IO_ERROR,function($,le){z._emitter.emit(be.ERROR,ue.NETWORK_ERROR,$,le)}),this._transmuxer.on(ot.DEMUX_ERROR,function($,le){z._emitter.emit(be.ERROR,ue.MEDIA_ERROR,$,{code:-1,msg:le})}),this._transmuxer.on(ot.MEDIA_INFO,function($){z._mediaInfo=$,z._emitter.emit(be.MEDIA_INFO,Object.assign({},$))}),this._transmuxer.on(ot.METADATA_ARRIVED,function($){z._emitter.emit(be.METADATA_ARRIVED,$)}),this._transmuxer.on(ot.SCRIPTDATA_ARRIVED,function($){z._emitter.emit(be.SCRIPTDATA_ARRIVED,$)}),this._transmuxer.on(ot.STATISTICS_INFO,function($){z._statisticsInfo=z._fillStatisticsInfo($),z._emitter.emit(be.STATISTICS_INFO,Object.assign({},z._statisticsInfo))}),this._transmuxer.on(ot.RECOMMEND_SEEKPOINT,function($){z._mediaElement&&!z._config.accurateSeek&&(z._requestSetTime=!0,z._mediaElement.currentTime=$/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(z){if(z.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return z;var $=!0,le=0,ge=0;if(this._mediaElement.getVideoPlaybackQuality){var Ae=this._mediaElement.getVideoPlaybackQuality();le=Ae.totalVideoFrames,ge=Ae.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(le=this._mediaElement.webkitDecodedFrameCount,ge=this._mediaElement.webkitDroppedFrameCount):$=!1;return $&&(z.decodedFrames=le,z.droppedFrames=ge),z}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var z=this._mediaElement.buffered,$=this._mediaElement.currentTime,le=0,ge=0,Ae=0;Ae<z.length;Ae++){var Me=z.start(Ae),$e=z.end(Ae);if(Me<=$&&$<$e){le=Me,ge=$e;break}}ge>=$+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(i.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){i.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 z=this._mediaElement.currentTime,$=this._mediaElement.buffered,le=!1,ge=0;ge<$.length;ge++){var Ae=$.start(ge),Me=$.end(ge);if(z>=Ae&&z<Me){z>=Me-this._config.lazyLoadRecoverDuration&&(le=!0);break}}le&&(window.clearInterval(this._progressChecker),this._progressChecker=null,le&&(i.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(z){for(var $=this._mediaElement.buffered,le=0;le<$.length;le++){var ge=$.start(le),Ae=$.end(le);if(z>=ge&&z<Ae)return!0}return!1}},{key:"_internalSeek",value:function(z){var $=this._isTimepointBuffered(z),le=!1,ge=0;if(z<1&&this._mediaElement.buffered.length>0){var Ae=this._mediaElement.buffered.start(0);(Ae<1&&z<Ae||T.safari)&&(le=!0,ge=T.safari?.1:Ae)}if(le)this._requestSetTime=!0,this._mediaElement.currentTime=ge;else if($){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=z;else{var Me=this._msectl.getNearestKeyframe(Math.floor(z*1e3));this._requestSetTime=!0,Me!=null?this._mediaElement.currentTime=Me.dts/1e3:this._mediaElement.currentTime=z}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(z),this._transmuxer.seek(Math.floor(z*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=z)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var z=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(z)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(z),this._transmuxer.seek(Math.floor(z*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=z))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(z){var $=this._mediaElement;if(z||!this._receivedCanPlay||$.readyState<2){var le=$.buffered;le.length>0&&$.currentTime<le.start(0)&&(i.w(this.TAG,"Playback seems stuck at ".concat($.currentTime,", seek to ").concat(le.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=le.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(z){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(z){var $=this._mediaElement.currentTime,le=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if($<1&&le.length>0){var ge=le.start(0);if(ge<1&&$<ge||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:ge;return}}if(this._isTimepointBuffered($)){if(this._alwaysSeekKeyframe){var Ae=this._msectl.getNearestKeyframe(Math.floor($*1e3));Ae!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Ae.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:$,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(z){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(z){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(z){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(z){this._mediaElement.volume=z}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(z){this._mediaElement.muted=z}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(z){this._mediaElement?this._internalSeek(z):this._pendingSeekTime=z}},{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)}}]),ee}(),ye=ae,Ce=function(){function ee(ie,z){if(Object(d.a)(this,ee),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new b.a,this._config=X(),typeof z=="object"&&Object.assign(this._config,z),ie.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(ie.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(ie.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=ie,this._mediaElement=null}return Object(E.a)(ee,[{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(z,$){var le=this;z===be.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){le._emitter.emit(be.MEDIA_INFO,le.mediaInfo)}):z===be.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){le._emitter.emit(be.STATISTICS_INFO,le.statisticsInfo)})),this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{key:"attachMediaElement",value:function(z){if(this._mediaElement=z,z.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{z.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch($){}}},{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 u("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(z){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(be.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(be.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(z){this._mediaElement.volume=z}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(z){this._mediaElement.muted=z}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(z){this._mediaElement?this._mediaElement.currentTime=z:this._pendingSeekTime=z}},{key:"mediaInfo",get:function(){var z=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",$={mimeType:z+this._mediaDataSource.type};return this._mediaElement&&($.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&($.width=this._mediaElement.videoWidth,$.height=this._mediaElement.videoHeight)),$}},{key:"statisticsInfo",get:function(){var z={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return z;var $=!0,le=0,ge=0;if(this._mediaElement.getVideoPlaybackQuality){var Ae=this._mediaElement.getVideoPlaybackQuality();le=Ae.totalVideoFrames,ge=Ae.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(le=this._mediaElement.webkitDecodedFrameCount,ge=this._mediaElement.webkitDroppedFrameCount):$=!1;return $&&(z.decodedFrames=le,z.droppedFrames=ge),z}}]),ee}(),Oe=Ce;p.install();function Te(ee,ie){var z=ee;if(z==null||typeof z!="object")throw new t("MediaDataSource must be an javascript object!");if(!z.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(z.type){case"flv":return new ye(z,ie);default:return new Oe(z,ie)}}function xe(){return te.supportMSEH264Playback()}function je(){return te.getFeatureList()}var ut={};ut.createPlayer=Te,ut.isSupported=xe,ut.getFeatureList=je,ut.BaseLoader=v,ut.LoaderStatus=o,ut.LoaderErrors=f,ut.Events=be,ut.ErrorTypes=ue,ut.ErrorDetails=se,ut.FlvPlayer=ye,ut.NativePlayer=Oe,ut.LoggingControl=Ke,Object.defineProperty(ut,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var wt=F.a=ut},GVMX:function(J,F,e){var d=e("JEkh"),E=d.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"}});J.exports=E},GeKi:function(J,F,e){var d=e("bYtY"),E=e("6Ic6"),g=e("IwbS"),p=e("y+Vt"),A=e("sK/D"),b=A.createClipPath,h=["itemStyle"],i=["emphasis","itemStyle"],r=["color","color0","borderColor","borderColor0"],a=E.extend({type:"candlestick",render:function(y,L,S){this.group.removeClipPath(),this._updateDrawMode(y),this._isLargeDraw?this._renderLarge(y):this._renderNormal(y)},incrementalPrepareRender:function(y,L,S){this._clear(),this._updateDrawMode(y)},incrementalRender:function(y,L,S,x){this._isLargeDraw?this._incrementalRenderLarge(y,L):this._incrementalRenderNormal(y,L)},_updateDrawMode:function(y){var L=y.pipelineContext.large;(this._isLargeDraw==null||L^this._isLargeDraw)&&(this._isLargeDraw=L,this._clear())},_renderNormal:function(y){var L=y.getData(),S=this._data,x=this.group,O=L.getLayout("isSimpleBox"),T=y.get("clip",!0),w=y.coordinateSystem,C=w.getArea&&w.getArea();this._data||x.removeAll(),L.diff(S).add(function(N){if(L.hasValue(N)){var D,B=L.getItemLayout(N);if(T&&n(C,B))return;D=l(B,N,!0),g.initProps(D,{shape:{points:B.ends}},y,N),u(D,L,N,O),x.add(D),L.setItemGraphicEl(N,D)}}).update(function(N,D){var B=S.getItemGraphicEl(D);if(!L.hasValue(N)){x.remove(B);return}var R=L.getItemLayout(N);if(T&&n(C,R)){x.remove(B);return}B?g.updateProps(B,{shape:{points:R.ends}},y,N):B=l(R,N),u(B,L,N,O),x.add(B),L.setItemGraphicEl(N,B)}).remove(function(N){var D=S.getItemGraphicEl(N);D&&x.remove(D)}).execute(),this._data=L},_renderLarge:function(y){this._clear(),o(y,this.group);var L=y.get("clip",!0)?b(y.coordinateSystem,!1,y):null;L?this.group.setClipPath(L):this.group.removeClipPath()},_incrementalRenderNormal:function(y,L){for(var S=L.getData(),x=S.getLayout("isSimpleBox"),O;(O=y.next())!=null;){var T,w=S.getItemLayout(O);T=l(w,O),u(T,S,O,x),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(y,L){o(L,this.group,!0)},remove:function(y){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:d.noop}),s=p.extend({type:"normalCandlestickBox",shape:{},buildPath:function(y,L){var S=L.points;this.__simpleBox?(y.moveTo(S[4][0],S[4][1]),y.lineTo(S[6][0],S[6][1])):(y.moveTo(S[0][0],S[0][1]),y.lineTo(S[1][0],S[1][1]),y.lineTo(S[2][0],S[2][1]),y.lineTo(S[3][0],S[3][1]),y.closePath(),y.moveTo(S[4][0],S[4][1]),y.lineTo(S[5][0],S[5][1]),y.moveTo(S[6][0],S[6][1]),y.lineTo(S[7][0],S[7][1]))}});function l(y,L,S){var x=y.ends;return new s({shape:{points:S?t(x,y):x},z2:100})}function n(y,L){for(var S=!0,x=0;x<L.ends.length;x++)if(y.contain(L.ends[x][0],L.ends[x][1])){S=!1;break}return S}function u(y,L,S,x){var O=L.getItemModel(S),T=O.getModel(h),w=L.getItemVisual(S,"color"),C=L.getItemVisual(S,"borderColor")||w,N=T.getItemStyle(r);y.useStyle(N),y.style.strokeNoScale=!0,y.style.fill=w,y.style.stroke=C,y.__simpleBox=x;var D=O.getModel(i).getItemStyle();g.setHoverStyle(y,D)}function t(y,L){return d.map(y,function(S){return S=S.slice(),S[1]=L.initBaseline,S})}var c=p.extend({type:"largeCandlestickBox",shape:{},buildPath:function(y,L){for(var S=L.points,x=0;x<S.length;)if(this.__sign===S[x++]){var O=S[x++];y.moveTo(O,S[x++]),y.lineTo(O,S[x++])}else x+=3}});function o(y,L,S){var x=y.getData(),O=x.getLayout("largePoints"),T=new c({shape:{points:O},__sign:1});L.add(T);var w=new c({shape:{points:O},__sign:-1});L.add(w),f(1,T,y,x),f(-1,w,y,x),S&&(T.incremental=!0,w.incremental=!0)}function f(y,L,S,x){var O=y>0?"P":"N",T=x.getVisual("borderColor"+O)||x.getVisual("color"+O),w=S.getModel(h).getItemStyle(r);L.useStyle(w),L.style.fill=null,L.style.stroke=T}var v=a;J.exports=v},Gev7:function(J,F,e){var d=e("bYtY"),E=e("K2GJ"),g=e("1bdT"),p=e("ni6a");function A(h){h=h||{},g.call(this,h);for(var i in h)h.hasOwnProperty(i)&&i!=="style"&&(this[i]=h[i]);this.style=new E(h.style,this),this._rect=null,this.__clipPaths=null}A.prototype={constructor:A,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(i){},afterBrush:function(i){},brush:function(i,r){},getBoundingRect:function(){},contain:function(i,r){return this.rectContain(i,r)},traverse:function(i,r){i.call(r,this)},rectContain:function(i,r){var a=this.transformCoordToLocal(i,r),s=this.getBoundingRect();return s.contain(a[0],a[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(i){return this.animate("style",i)},attrKV:function(i,r){i!=="style"?g.prototype.attrKV.call(this,i,r):this.style.set(r)},setStyle:function(i,r){return this.style.set(i,r),this.dirty(!1),this},useStyle:function(i){return this.style=new E(i,this),this.dirty(!1),this},calculateTextPosition:null},d.inherits(A,g),d.mixin(A,p);var b=A;J.exports=b},GrNh:function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("6Ic6");function p(a,s,l,n){var u=s.getData(),t=this.dataIndex,c=u.getName(t),o=s.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:a,name:c,seriesId:s.id}),u.each(function(f){A(u.getItemGraphicEl(f),u.getItemLayout(f),s.isSelected(u.getName(f)),o,l)})}function A(a,s,l,n,u){var t=(s.startAngle+s.endAngle)/2,c=Math.cos(t),o=Math.sin(t),f=l?n:0,v=[c*f,o*f];u?a.animate().when(200,{position:v}).start("bounceOut"):a.attr("position",v)}function b(a,s){E.Group.call(this);var l=new E.Sector({z2:2}),n=new E.Polyline,u=new E.Text;this.add(l),this.add(n),this.add(u),this.updateData(a,s,!0)}var h=b.prototype;h.updateData=function(a,s,l){var n=this.childAt(0),u=this.childAt(1),t=this.childAt(2),c=a.hostModel,o=a.getItemModel(s),f=a.getItemLayout(s),v=d.extend({},f);v.label=null;var y=c.getShallow("animationTypeUpdate");if(l){n.setShape(v);var L=c.getShallow("animationType");L==="scale"?(n.shape.r=f.r0,E.initProps(n,{shape:{r:f.r}},c,s)):(n.shape.endAngle=f.startAngle,E.updateProps(n,{shape:{endAngle:f.endAngle}},c,s))}else y==="expansion"?n.setShape(v):E.updateProps(n,{shape:v},c,s);var S=a.getItemVisual(s,"color");n.useStyle(d.defaults({lineJoin:"bevel",fill:S},o.getModel("itemStyle").getItemStyle())),n.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle();var x=o.getShallow("cursor");x&&n.attr("cursor",x),A(this,a.getItemLayout(s),c.isSelected(a.getName(s)),c.get("selectedOffset"),c.get("animation"));var O=!l&&y==="transition";this._updateLabel(a,s,O),this.highDownOnUpdate=c.get("silent")?null:function(T,w){var C=c.isAnimationEnabled()&&o.get("hoverAnimation");w==="emphasis"?(u.ignore=u.hoverIgnore,t.ignore=t.hoverIgnore,C&&(n.stopAnimation(!0),n.animateTo({shape:{r:f.r+c.get("hoverOffset")}},300,"elasticOut"))):(u.ignore=u.normalIgnore,t.ignore=t.normalIgnore,C&&(n.stopAnimation(!0),n.animateTo({shape:{r:f.r}},300,"elasticOut")))},E.setHoverStyle(this)},h._updateLabel=function(a,s,l){var n=this.childAt(1),u=this.childAt(2),t=a.hostModel,c=a.getItemModel(s),o=a.getItemLayout(s),f=o.label,v=a.getItemVisual(s,"color");if(!f||isNaN(f.x)||isNaN(f.y)){u.ignore=u.normalIgnore=u.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var y={points:f.linePoints||[[f.x,f.y],[f.x,f.y],[f.x,f.y]]},L={x:f.x,y:f.y};l?(E.updateProps(n,{shape:y},t,s),E.updateProps(u,{style:L},t,s)):(n.attr({shape:y}),u.attr({style:L})),u.attr({rotation:f.rotation,origin:[f.x,f.y],z2:10});var S=c.getModel("label"),x=c.getModel("emphasis.label"),O=c.getModel("labelLine"),T=c.getModel("emphasis.labelLine"),v=a.getItemVisual(s,"color");E.setLabelStyle(u.style,u.hoverStyle={},S,x,{labelFetcher:a.hostModel,labelDataIndex:s,defaultText:f.text,autoColor:v,useInsideStyle:!!f.inside},{textAlign:f.textAlign,textVerticalAlign:f.verticalAlign,opacity:a.getItemVisual(s,"opacity")}),u.ignore=u.normalIgnore=!S.get("show"),u.hoverIgnore=!x.get("show"),n.ignore=n.normalIgnore=!O.get("show"),n.hoverIgnore=!T.get("show"),n.setStyle({stroke:v,opacity:a.getItemVisual(s,"opacity")}),n.setStyle(O.getModel("lineStyle").getLineStyle()),n.hoverStyle=T.getModel("lineStyle").getLineStyle();var w=O.get("smooth");w&&w===!0&&(w=.4),n.setShape({smooth:w})},d.inherits(b,E.Group);var i=g.extend({type:"pie",init:function(){var a=new E.Group;this._sectorGroup=a},render:function(a,s,l,n){if(n&&n.from===this.uid)return;var u=a.getData(),t=this._data,c=this.group,o=s.get("animation"),f=!t,v=a.get("animationType"),y=a.get("animationTypeUpdate"),L=d.curry(p,this.uid,a,o,l),S=a.get("selectedMode");if(u.diff(t).add(function(C){var N=new b(u,C);f&&v!=="scale"&&N.eachChild(function(D){D.stopAnimation(!0)}),S&&N.on("click",L),u.setItemGraphicEl(C,N),c.add(N)}).update(function(C,N){var D=t.getItemGraphicEl(N);!f&&y!=="transition"&&D.eachChild(function(B){B.stopAnimation(!0)}),D.updateData(u,C),D.off("click"),S&&D.on("click",L),c.add(D),u.setItemGraphicEl(C,D)}).remove(function(C){var N=t.getItemGraphicEl(C);c.remove(N)}).execute(),o&&u.count()>0&&(f?v!=="scale":y!=="transition")){for(var x=u.getItemLayout(0),O=1;isNaN(x.startAngle)&&O<u.count();++O)x=u.getItemLayout(O);var T=Math.max(l.getWidth(),l.getHeight())/2,w=d.bind(c.removeClipPath,c);c.setClipPath(this._createClipPath(x.cx,x.cy,T,x.startAngle,x.clockwise,w,a,f))}else c.removeClipPath();this._data=u},dispose:function(){},_createClipPath:function(a,s,l,n,u,t,c,o){var f=new E.Sector({shape:{cx:a,cy:s,r0:0,r:l,startAngle:n,endAngle:n,clockwise:u}}),v=o?E.initProps:E.updateProps;return v(f,{shape:{endAngle:n+(u?1:-1)*Math.PI*2}},c,t),f},containPoint:function(a,s){var l=s.getData(),n=l.getItemLayout(0);if(n){var u=a[0]-n.cx,t=a[1]-n.cy,c=Math.sqrt(u*u+t*t);return c<=n.r&&c>=n.r0}}}),r=i;J.exports=r},Gytx:function(J,F){J.exports=function(d,E,g,p){var A=g?g.call(p,d,E):void 0;if(A!==void 0)return!!A;if(d===E)return!0;if(typeof d!="object"||!d||typeof E!="object"||!E)return!1;var b=Object.keys(d),h=Object.keys(E);if(b.length!==h.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(E),r=0;r<b.length;r++){var a=b[r];if(!i(a))return!1;var s=d[a],l=E[a];if(A=g?g.call(p,s,l,a):void 0,A===!1||A===void 0&&s!==l)return!1}return!0}},GzdX:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("q1tI"),p=e.n(g),A=e("rePB"),b=e("1OyB"),h=e("vuIU"),i=e("Ji7U"),r=e("md7G"),a=e("foSv"),s=e("m+aA"),l=e("TSYQ"),n=e.n(l),u=e("4IlW");function t(K){var H=K.pageXOffset,k="scrollLeft";if(typeof H!="number"){var Z=K.document;H=Z.documentElement[k],typeof H!="number"&&(H=Z.body[k])}return H}function c(K){var H,k,Z=K.ownerDocument,Y=Z.body,_=Z&&Z.documentElement,Q=K.getBoundingClientRect();return H=Q.left,k=Q.top,H-=_.clientLeft||Y.clientLeft||0,k-=_.clientTop||Y.clientTop||0,{left:H,top:k}}function o(K){var H=c(K),k=K.ownerDocument,Z=k.defaultView||k.parentWindow;return H.left+=t(Z),H.left}function f(K){var H=v();return function(){var Z=Object(a.a)(K),Y;if(H){var _=Object(a.a)(this).constructor;Y=Reflect.construct(Z,arguments,_)}else Y=Z.apply(this,arguments);return Object(r.a)(this,Y)}}function v(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(K){return!1}}var y=function(K){Object(i.a)(k,K);var H=f(k);function k(){var Z;return Object(b.a)(this,k),Z=H.apply(this,arguments),Z.onHover=function(Y){var _=Z.props,Q=_.onHover,X=_.index;Q(Y,X)},Z.onClick=function(Y){var _=Z.props,Q=_.onClick,X=_.index;Q(Y,X)},Z.onKeyDown=function(Y){var _=Z.props,Q=_.onClick,X=_.index;Y.keyCode===13&&Q(Y,X)},Z}return Object(h.a)(k,[{key:"getClassName",value:function(){var Y=this.props,_=Y.prefixCls,Q=Y.index,X=Y.value,he=Y.allowHalf,te=Y.focused,fe=Q+1,be=_;return X===0&&Q===0&&te?be+=" ".concat(_,"-focused"):he&&X+.5>=fe&&X<fe?(be+=" ".concat(_,"-half ").concat(_,"-active"),te&&(be+=" ".concat(_,"-focused"))):(be+=fe<=X?" ".concat(_,"-full"):" ".concat(_,"-zero"),fe===X&&te&&(be+=" ".concat(_,"-focused"))),be}},{key:"render",value:function(){var Y=this.onHover,_=this.onClick,Q=this.onKeyDown,X=this.props,he=X.disabled,te=X.prefixCls,fe=X.character,be=X.characterRender,we=X.index,Ke=X.count,qe=X.value,xt=typeof fe=="function"?fe(this.props):fe,Fe=p.a.createElement("li",{className:this.getClassName()},p.a.createElement("div",{onClick:he?null:_,onKeyDown:he?null:Q,onMouseMove:he?null:Y,role:"radio","aria-checked":qe>we?"true":"false","aria-posinset":we+1,"aria-setsize":Ke,tabIndex:he?-1:0},p.a.createElement("div",{className:"".concat(te,"-first")},xt),p.a.createElement("div",{className:"".concat(te,"-second")},xt)));return be&&(Fe=be(Fe,this.props)),Fe}}]),k}(p.a.Component);function L(K,H){var k=Object.keys(K);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(K);H&&(Z=Z.filter(function(Y){return Object.getOwnPropertyDescriptor(K,Y).enumerable})),k.push.apply(k,Z)}return k}function S(K){for(var H=1;H<arguments.length;H++){var k=arguments[H]!=null?arguments[H]:{};H%2?L(Object(k),!0).forEach(function(Z){Object(A.a)(K,Z,k[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(K,Object.getOwnPropertyDescriptors(k)):L(Object(k)).forEach(function(Z){Object.defineProperty(K,Z,Object.getOwnPropertyDescriptor(k,Z))})}return K}function x(K){var H=O();return function(){var Z=Object(a.a)(K),Y;if(H){var _=Object(a.a)(this).constructor;Y=Reflect.construct(Z,arguments,_)}else Y=Z.apply(this,arguments);return Object(r.a)(this,Y)}}function O(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(K){return!1}}function T(){}var w=function(K){Object(i.a)(k,K);var H=x(k);function k(Z){var Y;Object(b.a)(this,k),Y=H.call(this,Z),Y.onHover=function(Q,X){var he=Y.props.onHoverChange,te=Y.getStarValue(X,Q.pageX),fe=Y.state.cleanedValue;te!==fe&&Y.setState({hoverValue:te,cleanedValue:null}),he(te)},Y.onMouseLeave=function(){var Q=Y.props.onHoverChange;Y.setState({hoverValue:void 0,cleanedValue:null}),Q(void 0)},Y.onClick=function(Q,X){var he=Y.props.allowClear,te=Y.state.value,fe=Y.getStarValue(X,Q.pageX),be=!1;he&&(be=fe===te),Y.onMouseLeave(),Y.changeValue(be?0:fe),Y.setState({cleanedValue:be?fe:null})},Y.onFocus=function(){var Q=Y.props.onFocus;Y.setState({focused:!0}),Q&&Q()},Y.onBlur=function(){var Q=Y.props.onBlur;Y.setState({focused:!1}),Q&&Q()},Y.onKeyDown=function(Q){var X=Q.keyCode,he=Y.props,te=he.count,fe=he.allowHalf,be=he.onKeyDown,we=he.direction,Ke=we==="rtl",qe=Y.state.value;X===u.a.RIGHT&&qe<te&&!Ke?(fe?qe+=.5:qe+=1,Y.changeValue(qe),Q.preventDefault()):X===u.a.LEFT&&qe>0&&!Ke||X===u.a.RIGHT&&qe>0&&Ke?(fe?qe-=.5:qe-=1,Y.changeValue(qe),Q.preventDefault()):X===u.a.LEFT&&qe<te&&Ke&&(fe?qe+=.5:qe+=1,Y.changeValue(qe),Q.preventDefault()),be&&be(Q)},Y.saveRef=function(Q){return function(X){Y.stars[Q]=X}},Y.saveRate=function(Q){Y.rate=Q};var _=Z.value;return _===void 0&&(_=Z.defaultValue),Y.stars={},Y.state={value:_,focused:!1,cleanedValue:null},Y}return Object(h.a)(k,[{key:"componentDidMount",value:function(){var Y=this.props,_=Y.autoFocus,Q=Y.disabled;_&&!Q&&this.focus()}},{key:"getStarDOM",value:function(Y){return Object(s.a)(this.stars[Y])}},{key:"getStarValue",value:function(Y,_){var Q=this.props,X=Q.allowHalf,he=Q.direction,te=he==="rtl",fe=Y+1;if(X){var be=this.getStarDOM(Y),we=o(be),Ke=be.clientWidth;(te&&_-we>Ke/2||!te&&_-we<Ke/2)&&(fe-=.5)}return fe}},{key:"focus",value:function(){var Y=this.props.disabled;Y||this.rate.focus()}},{key:"blur",value:function(){var Y=this.props.disabled;Y||this.rate.blur()}},{key:"changeValue",value:function(Y){var _=this.props.onChange;"value"in this.props||this.setState({value:Y}),_(Y)}},{key:"render",value:function(){for(var Y=this.props,_=Y.count,Q=Y.allowHalf,X=Y.style,he=Y.prefixCls,te=Y.disabled,fe=Y.className,be=Y.character,we=Y.characterRender,Ke=Y.tabIndex,qe=Y.direction,xt=this.state,Fe=xt.value,Be=xt.hoverValue,bt=xt.focused,lt=[],tt=te?"".concat(he,"-disabled"):"",St=0;St<_;St+=1)lt.push(p.a.createElement(y,{ref:this.saveRef(St),index:St,count:_,disabled:te,prefixCls:"".concat(he,"-star"),allowHalf:Q,value:Be===void 0?Fe:Be,onClick:this.onClick,onHover:this.onHover,key:St,character:be,characterRender:we,focused:bt}));var ht=n()(he,tt,fe,Object(A.a)({},"".concat(he,"-rtl"),qe==="rtl"));return p.a.createElement("ul",{className:ht,style:X,onMouseLeave:te?null:this.onMouseLeave,tabIndex:te?-1:Ke,onFocus:te?null:this.onFocus,onBlur:te?null:this.onBlur,onKeyDown:te?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},lt)}}],[{key:"getDerivedStateFromProps",value:function(Y,_){return"value"in Y&&Y.value!==void 0?S(S({},_),{},{value:Y.value}):_}}]),k}(p.a.Component);w.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:T,character:"\u2605",onHoverChange:T,tabIndex:0,direction:"ltr"};var C=w,N=C,D=e("Lerx"),B=e.n(D),R=e("3S7+"),U=e("H84U"),M=function(K,H){var k={};for(var Z in K)Object.prototype.hasOwnProperty.call(K,Z)&&H.indexOf(Z)<0&&(k[Z]=K[Z]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,Z=Object.getOwnPropertySymbols(K);Y<Z.length;Y++)H.indexOf(Z[Y])<0&&Object.prototype.propertyIsEnumerable.call(K,Z[Y])&&(k[Z[Y]]=K[Z[Y]]);return k},j=g.forwardRef(function(K,H){var k=K.prefixCls,Z=K.tooltips,Y=M(K,["prefixCls","tooltips"]),_=function(be,we){var Ke=we.index;return Z?g.createElement(R.a,{title:Z[Ke]},be):be},Q=g.useContext(U.b),X=Q.getPrefixCls,he=Q.direction,te=X("rate",k);return g.createElement(N,E()({ref:H,characterRender:_},Y,{prefixCls:te,direction:he}))});j.displayName="Rate",j.defaultProps={character:g.createElement(B.a,null)};var P=F.a=j},H6uX:function(J,F){var e=Array.prototype.slice,d=function(b){this._$handlers={},this._$eventProcessor=b};d.prototype={constructor:d,one:function(b,h,i,r){return g(this,b,h,i,r,!0)},on:function(b,h,i,r){return g(this,b,h,i,r,!1)},isSilent:function(b){var h=this._$handlers;return!h[b]||!h[b].length},off:function(b,h){var i=this._$handlers;if(!b)return this._$handlers={},this;if(h){if(i[b]){for(var r=[],a=0,s=i[b].length;a<s;a++)i[b][a].h!==h&&r.push(i[b][a]);i[b]=r}i[b]&&i[b].length===0&&delete i[b]}else delete i[b];return this},trigger:function(b){var h=this._$handlers[b],i=this._$eventProcessor;if(h){var r=arguments,a=r.length;a>3&&(r=e.call(r,1));for(var s=h.length,l=0;l<s;){var n=h[l];if(i&&i.filter&&n.query!=null&&!i.filter(b,n.query)){l++;continue}switch(a){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,r[1]);break;case 3:n.h.call(n.ctx,r[1],r[2]);break;default:n.h.apply(n.ctx,r);break}n.one?(h.splice(l,1),s--):l++}}return i&&i.afterTrigger&&i.afterTrigger(b),this},triggerWithContext:function(b){var h=this._$handlers[b],i=this._$eventProcessor;if(h){var r=arguments,a=r.length;a>4&&(r=e.call(r,1,r.length-1));for(var s=r[r.length-1],l=h.length,n=0;n<l;){var u=h[n];if(i&&i.filter&&u.query!=null&&!i.filter(b,u.query)){n++;continue}switch(a){case 1:u.h.call(s);break;case 2:u.h.call(s,r[1]);break;case 3:u.h.call(s,r[1],r[2]);break;default:u.h.apply(s,r);break}u.one?(h.splice(n,1),l--):n++}}return i&&i.afterTrigger&&i.afterTrigger(b),this}};function E(A,b){var h=A._$eventProcessor;return b!=null&&h&&h.normalizeQuery&&(b=h.normalizeQuery(b)),b}function g(A,b,h,i,r,a){var s=A._$handlers;if(typeof h=="function"&&(r=i,i=h,h=null),!i||!b)return A;h=E(A,h),s[b]||(s[b]=[]);for(var l=0;l<s[b].length;l++)if(s[b][l].h===i)return A;var n={h:i,one:a,query:h,ctx:r||A,callAtLast:i.zrEventfulCallAtLast},u=s[b].length-1,t=s[b][u];return t&&t.callAtLast?s[b].splice(u,0,n):s[b].push(n),A}var p=d;J.exports=p},H8j4:function(J,F,e){var d=e("QkVE");function E(g,p){var A=d(this,g),b=A.size;return A.set(g,p),this.size+=A.size==b?0:1,this}J.exports=E},HBhm:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},HDyB:function(J,F,e){var d=e("nmnc"),E=e("JHRd"),g=e("ljhN"),p=e("or5M"),A=e("7fqy"),b=e("rEGp"),h=1,i=2,r="[object Boolean]",a="[object Date]",s="[object Error]",l="[object Map]",n="[object Number]",u="[object RegExp]",t="[object Set]",c="[object String]",o="[object Symbol]",f="[object ArrayBuffer]",v="[object DataView]",y=d?d.prototype:void 0,L=y?y.valueOf:void 0;function S(x,O,T,w,C,N,D){switch(T){case v:if(x.byteLength!=O.byteLength||x.byteOffset!=O.byteOffset)return!1;x=x.buffer,O=O.buffer;case f:return!(x.byteLength!=O.byteLength||!N(new E(x),new E(O)));case r:case a:case n:return g(+x,+O);case s:return x.name==O.name&&x.message==O.message;case u:case c:return x==O+"";case l:var B=A;case t:var R=w&h;if(B||(B=b),x.size!=O.size&&!R)return!1;var U=D.get(x);if(U)return U==O;w|=i,D.set(x,O);var M=p(B(x),B(O),w,C,N,D);return D.delete(x),M;case o:if(L)return L.call(x)==L.call(O)}return!1}J.exports=S},"HF/U":function(J,F,e){var d=e("QBsz");function E(p){var A=p.coordinateSystem;if(A&&A.type!=="view")return;var b=p.getGraph();b.eachNode(function(h){var i=h.getModel();h.setLayout([+i.get("x"),+i.get("y")])}),g(b)}function g(p){p.eachEdge(function(A){var b=A.getModel().get("lineStyle.curveness")||0,h=d.clone(A.node1.getLayout()),i=d.clone(A.node2.getLayout()),r=[h,i];+b&&r.push([(h[0]+i[0])/2-(h[1]-i[1])*b,(h[1]+i[1])/2-(i[0]-h[0])*b]),A.setLayout(r)})}F.simpleLayout=E,F.simpleLayoutEdge=g},"HM/N":function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("/SeX"),A=e("OELB"),b=A.parsePercent,h=e("aX7z"),i=h.createScaleByModel,r=h.niceScaleExtent,a=e("IDmD"),s=e("7hqr"),l=s.getStackedDimension;e("ePAk");function n(o,f,v){var y=f.get("center"),L=v.getWidth(),S=v.getHeight();o.cx=b(y[0],L),o.cy=b(y[1],S);var x=o.getRadiusAxis(),O=Math.min(L,S)/2,T=f.get("radius");T==null?T=[0,"100%"]:g.isArray(T)||(T=[0,T]),T=[b(T[0],O),b(T[1],O)],x.inverse?x.setExtent(T[1],T[0]):x.setExtent(T[0],T[1])}function u(o,f){var v=this,y=v.getAngleAxis(),L=v.getRadiusAxis();if(y.scale.setExtent(Infinity,-Infinity),L.scale.setExtent(Infinity,-Infinity),o.eachSeries(function(O){if(O.coordinateSystem===v){var T=O.getData();g.each(T.mapDimension("radius",!0),function(w){L.scale.unionExtentFromData(T,l(T,w))}),g.each(T.mapDimension("angle",!0),function(w){y.scale.unionExtentFromData(T,l(T,w))})}}),r(y.scale,y.model),r(L.scale,L.model),y.type==="category"&&!y.onBand){var S=y.getExtent(),x=360/y.scale.count();y.inverse?S[1]+=x:S[1]-=x,y.setExtent(S[0],S[1])}}function t(o,f){if(o.type=f.get("type"),o.scale=i(f),o.onBand=f.get("boundaryGap")&&o.type==="category",o.inverse=f.get("inverse"),f.mainType==="angleAxis"){o.inverse^=f.get("clockwise");var v=f.get("startAngle");o.setExtent(v,v+(o.inverse?-360:360))}f.axis=o,o.model=f}var c={dimensions:p.prototype.dimensions,create:function(o,f){var v=[];return o.eachComponent("polar",function(y,L){var S=new p(L);S.update=u;var x=S.getRadiusAxis(),O=S.getAngleAxis(),T=y.findAxisModel("radiusAxis"),w=y.findAxisModel("angleAxis");t(x,T),t(O,w),n(S,y,f),v.push(S),y.coordinateSystem=S,S.model=y}),o.eachSeries(function(y){if(y.get("coordinateSystem")==="polar"){var L=o.queryComponents({mainType:"polar",index:y.get("polarIndex"),id:y.get("polarId")})[0];y.coordinateSystem=L.coordinateSystem}}),v}};a.register("polar",c)},HOxn:function(J,F,e){var d=e("Cwc5"),E=e("Kz5y"),g=d(E,"Promise");J.exports=g},HQEm:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("Sj0X"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},HjIi:function(J,F,e){var d=e("bYtY"),E=e("OELB"),g=E.parsePercent,p=e("7hqr"),A=p.isDimensionStacked;function b(s){return s.get("stack")||"__ec_stack_"+s.seriesIndex}function h(s,l){return l.dim+s.model.componentIndex}function i(s,l,n){var u={},t=r(d.filter(l.getSeriesByType(s),function(c){return!l.isSeriesFiltered(c)&&c.coordinateSystem&&c.coordinateSystem.type==="polar"}));l.eachSeriesByType(s,function(c){if(c.coordinateSystem.type!=="polar")return;var o=c.getData(),f=c.coordinateSystem,v=f.getBaseAxis(),y=h(f,v),L=b(c),S=t[y][L],x=S.offset,O=S.width,T=f.getOtherAxis(v),w=c.coordinateSystem.cx,C=c.coordinateSystem.cy,N=c.get("barMinHeight")||0,D=c.get("barMinAngle")||0;u[L]=u[L]||[];for(var B=o.mapDimension(T.dim),R=o.mapDimension(v.dim),U=A(o,B),M=v.dim!=="radius"||!c.get("roundCap",!0),j=T.getExtent()[0],P=0,K=o.count();P<K;P++){var H=o.get(B,P),k=o.get(R,P),Z=H>=0?"p":"n",Y=j;U&&(u[L][k]||(u[L][k]={p:j,n:j}),Y=u[L][k][Z]);var _,Q,X,he;if(T.dim==="radius"){var te=T.dataToRadius(H)-j,fe=v.dataToAngle(k);Math.abs(te)<N&&(te=(te<0?-1:1)*N),_=Y,Q=Y+te,X=fe-x,he=X-O,U&&(u[L][k][Z]=Q)}else{var be=T.dataToAngle(H,M)-j,we=v.dataToRadius(k);Math.abs(be)<D&&(be=(be<0?-1:1)*D),_=we+x,Q=_+O,X=Y,he=Y+be,U&&(u[L][k][Z]=he)}o.setItemLayout(P,{cx:w,cy:C,r0:_,r:Q,startAngle:-X*Math.PI/180,endAngle:-he*Math.PI/180})}},this)}function r(s,l){var n={};d.each(s,function(t,c){var o=t.getData(),f=t.coordinateSystem,v=f.getBaseAxis(),y=h(f,v),L=v.getExtent(),S=v.type==="category"?v.getBandWidth():Math.abs(L[1]-L[0])/o.count(),x=n[y]||{bandWidth:S,remainedWidth:S,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},O=x.stacks;n[y]=x;var T=b(t);O[T]||x.autoWidthCount++,O[T]=O[T]||{width:0,maxWidth:0};var w=g(t.get("barWidth"),S),C=g(t.get("barMaxWidth"),S),N=t.get("barGap"),D=t.get("barCategoryGap");w&&!O[T].width&&(w=Math.min(x.remainedWidth,w),O[T].width=w,x.remainedWidth-=w),C&&(O[T].maxWidth=C),N!=null&&(x.gap=N),D!=null&&(x.categoryGap=D)});var u={};return d.each(n,function(t,c){u[c]={};var o=t.stacks,f=t.bandWidth,v=g(t.categoryGap,f),y=g(t.gap,1),L=t.remainedWidth,S=t.autoWidthCount,x=(L-v)/(S+(S-1)*y);x=Math.max(x,0),d.each(o,function(C,N){var D=C.maxWidth;D&&D<x&&(D=Math.min(D,L),C.width&&(D=Math.min(D,C.width)),L-=D,C.width=D,S--)}),x=(L-v)/(S+(S-1)*y),x=Math.max(x,0);var O=0,T;d.each(o,function(C,N){C.width||(C.width=x),T=C,O+=C.width*(1+y)}),T&&(O-=T.width*y);var w=-O/2;d.each(o,function(C,N){u[c][N]=u[c][N]||{offset:w,width:C.width},w+=C.width*(1+y)})}),u}var a=i;J.exports=a},HjOm:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d={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"},E=d;F.default=E},Hvzi:function(J,F){function e(d){var E=this.has(d)&&delete this.__data__[d];return this.size-=E?1:0,E}J.exports=e},Hw7h:function(J,F,e){var d=e("y+Vt"),E=d.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(g,p){var A=Math.cos,b=Math.sin,h=p.r,i=p.width,r=p.angle,a=p.x-A(r)*i*(i>=h/3?1:2),s=p.y-b(r)*i*(i>=h/3?1:2);r=p.angle-Math.PI/2,g.moveTo(a,s),g.lineTo(p.x+A(r)*i,p.y+b(r)*i),g.lineTo(p.x+A(p.angle)*h,p.y+b(p.angle)*h),g.lineTo(p.x-A(r)*i,p.y-b(r)*i),g.lineTo(a,s);return}});J.exports=E},Hxpc:function(J,F,e){var d=e("bYtY"),E=e("4NO4"),g=e("bLfw"),p=e("Qxkt"),A=e("cCMj"),b=e("7uqq"),h=g.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(r){g.prototype.init.apply(this,arguments),E.defaultEmphasis(r,"label",["show"])},optionUpdated:function(){var r=this.option,a=this;r.regions=b.getFilledRegions(r.regions,r.map,r.nameMap),this._optionModelMap=d.reduce(r.regions||[],function(s,l){return l.name&&s.set(l.name,new p(l,a)),s},d.createHashMap()),this.updateSelectedMap(r.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(r){return this._optionModelMap.get(r)||new p(null,this,this.ecModel)},getFormattedLabel:function(r,a){var s=this.getRegionModel(r),l=s.get("label"+(a==="normal"?".":a+".")+"formatter"),n={name:r};if(typeof l=="function")return n.status=a,l(n);if(typeof l=="string")return l.replace("{a}",r!=null?r:"")},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r}});d.mixin(h,A);var i=h;J.exports=i},"I+77":function(J,F,e){var d=e("ProS");e("h54F"),e("lwQL"),e("10cm");var E=e("Z1r0"),g=e("f5Yq"),p=e("KUOm"),A=e("3m61"),b=e("01d+"),h=e("rdor"),i=e("WGYa"),r=e("ewwo");d.registerProcessor(E),d.registerVisual(g("graph","circle",null)),d.registerVisual(p),d.registerVisual(A),d.registerLayout(b),d.registerLayout(d.PRIORITY.VISUAL.POST_CHART_LAYOUT,h),d.registerLayout(i),d.registerCoordinateSystem("graphView",{create:r})},"I+Bx":function(J,F,e){var d=e("bYtY"),E=e("eIcI"),g=e("ieMj"),p=e("OELB"),A=e("aX7z"),b=A.getScaleExtent,h=A.niceScaleExtent,i=e("IDmD"),r=e("jCoz");function a(l,n,u){this._model=l,this.dimensions=[],this._indicatorAxes=d.map(l.getIndicatorModels(),function(t,c){var o="indicator_"+c,f=new E(o,t.get("axisType")==="log"?new r:new g);return f.name=t.get("name"),f.model=t,t.axis=f,this.dimensions.push(o),f},this),this.resize(l,u),this.cx,this.cy,this.r,this.r0,this.startAngle}a.prototype.getIndicatorAxes=function(){return this._indicatorAxes},a.prototype.dataToPoint=function(l,n){var u=this._indicatorAxes[n];return this.coordToPoint(u.dataToCoord(l),n)},a.prototype.coordToPoint=function(l,n){var u=this._indicatorAxes[n],t=u.angle,c=this.cx+l*Math.cos(t),o=this.cy-l*Math.sin(t);return[c,o]},a.prototype.pointToData=function(l){var n=l[0]-this.cx,u=l[1]-this.cy,t=Math.sqrt(n*n+u*u);n/=t,u/=t;for(var c=Math.atan2(-u,n),o=Infinity,f,v=-1,y=0;y<this._indicatorAxes.length;y++){var L=this._indicatorAxes[y],S=Math.abs(c-L.angle);S<o&&(f=L,v=y,o=S)}return[v,+(f&&f.coordToData(t))]},a.prototype.resize=function(l,n){var u=l.get("center"),t=n.getWidth(),c=n.getHeight(),o=Math.min(t,c)/2;this.cx=p.parsePercent(u[0],t),this.cy=p.parsePercent(u[1],c),this.startAngle=l.get("startAngle")*Math.PI/180;var f=l.get("radius");(typeof f=="string"||typeof f=="number")&&(f=[0,f]),this.r0=p.parsePercent(f[0],o),this.r=p.parsePercent(f[1],o),d.each(this._indicatorAxes,function(v,y){v.setExtent(this.r0,this.r);var L=this.startAngle+y*Math.PI*2/this._indicatorAxes.length;L=Math.atan2(Math.sin(L),Math.cos(L)),v.angle=L},this)},a.prototype.update=function(l,n){var u=this._indicatorAxes,t=this._model;d.each(u,function(f){f.scale.setExtent(Infinity,-Infinity)}),l.eachSeriesByType("radar",function(f,v){if(f.get("coordinateSystem")!=="radar"||l.getComponent("radar",f.get("radarIndex"))!==t)return;var y=f.getData();d.each(u,function(L){L.scale.unionExtentFromData(y,y.mapDimension(L.dim))})},this);var c=t.get("splitNumber");function o(f){var v=Math.pow(10,Math.floor(Math.log(f)/Math.LN10)),y=f/v;return y===2?y=5:y*=2,y*v}d.each(u,function(f,v){var y=b(f.scale,f.model).extent;h(f.scale,f.model);var L=f.model,S=f.scale,x=L.getMin(),O=L.getMax(),T=S.getInterval();if(x!=null&&O!=null)S.setExtent(+x,+O),S.setInterval((O-x)/c);else if(x!=null){var w;do w=x+T*c,S.setExtent(+x,w),S.setInterval(T),T=o(T);while(w<y[1]&&isFinite(w)&&isFinite(y[1]))}else if(O!=null){var C;do C=O-T*c,S.setExtent(C,+O),S.setInterval(T),T=o(T);while(C>y[0]&&isFinite(C)&&isFinite(y[0]))}else{var N=S.getTicks().length-1;N>c&&(T=o(T));var w=Math.ceil(y[1]/T)*T,C=p.round(w-T*c);S.setExtent(C,w),S.setInterval(T)}})},a.dimensions=[],a.create=function(l,n){var u=[];return l.eachComponent("radar",function(t){var c=new a(t,l,n);u.push(c),t.coordinateSystem=c}),l.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=u[t.get("radarIndex")||0])}),u},i.register("radar",a);var s=a;J.exports=s},"I3/A":function(J,F,e){var d=e("bYtY"),E=e("YXkt"),g=e("c2i1"),p=e("Mdki"),A=e("sdST"),b=e("IDmD"),h=e("MwEJ");function i(r,a,s,l,n){for(var u=new g(l),t=0;t<r.length;t++)u.addNode(d.retrieve(r[t].id,r[t].name,t),t);for(var c=[],o=[],f=0,t=0;t<a.length;t++){var v=a[t],y=v.source,L=v.target;u.addEdge(y,L,f)&&(o.push(v),c.push(d.retrieve(v.id,y+" > "+L)),f++)}var S=s.get("coordinateSystem"),x;if(S==="cartesian2d"||S==="polar")x=h(r,s);else{var O=b.get(S),T=O&&O.type!=="view"?O.dimensions||[]:[];d.indexOf(T,"value")<0&&T.concat(["value"]);var w=A(r,{coordDimensions:T});x=new E(w,s),x.initData(r)}var C=new E(["value"],s);return C.initData(o,c),n&&n(x,C),p({mainData:x,struct:u,structAttr:"graph",datas:{node:x,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),u.update(),u}J.exports=i},"I9Y+":function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("4xFK")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DoubleRightOutlined";var h=g.forwardRef(b);F.default=h},ICMv:function(J,F,e){var d=e("bYtY"),E={getMin:function(g){var p=this.option,A=!g&&p.rangeStart!=null?p.rangeStart:p.min;return this.axis&&A!=null&&A!=="dataMin"&&typeof A!="function"&&!d.eqNaN(A)&&(A=this.axis.scale.parse(A)),A},getMax:function(g){var p=this.option,A=!g&&p.rangeEnd!=null?p.rangeEnd:p.max;return this.axis&&A!=null&&A!=="dataMax"&&typeof A!="function"&&!d.eqNaN(A)&&(A=this.axis.scale.parse(A)),A},getNeedCrossZero:function(){var g=this.option;return g.rangeStart!=null||g.rangeEnd!=null?!1:!g.scale},getCoordSysModel:d.noop,setRange:function(g,p){this.option.rangeStart=g,this.option.rangeEnd=p},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};J.exports=E},IDmD:function(J,F,e){var d=e("bYtY"),E={};function g(){this._coordinateSystems=[]}g.prototype={constructor:g,create:function(A,b){var h=[];d.each(E,function(i,r){var a=i.create(A,b);h=h.concat(a||[])}),this._coordinateSystems=h},update:function(A,b){d.each(this._coordinateSystems,function(h){h.update&&h.update(A,b)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},g.register=function(A,b){E[A]=b},g.get=function(A){return E[A]};var p=g;J.exports=p},IMiH:function(J,F,e){var d=e("Sj9i"),E=e("QBsz"),g=e("4mN7"),p=e("mFDi"),A=e("LPTA"),b=A.devicePixelRatio,h={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},i=[],r=[],a=[],s=[],l=Math.min,n=Math.max,u=Math.cos,t=Math.sin,c=Math.sqrt,o=Math.abs,f=typeof Float32Array!="undefined",v=function(S){this._saveData=!(S||!1),this._saveData&&(this.data=[]),this._ctx=null};v.prototype={constructor:v,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(S,x,O){O=O||0,this._ux=o(O/b/S)||0,this._uy=o(O/b/x)||0},getContext:function(){return this._ctx},beginPath:function(S){return this._ctx=S,S&&S.beginPath(),S&&(this.dpr=S.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(S,x){return this.addData(h.M,S,x),this._ctx&&this._ctx.moveTo(S,x),this._x0=S,this._y0=x,this._xi=S,this._yi=x,this},lineTo:function(S,x){var O=o(S-this._xi)>this._ux||o(x-this._yi)>this._uy||this._len<5;return this.addData(h.L,S,x),this._ctx&&O&&(this._needsDash()?this._dashedLineTo(S,x):this._ctx.lineTo(S,x)),O&&(this._xi=S,this._yi=x),this},bezierCurveTo:function(S,x,O,T,w,C){return this.addData(h.C,S,x,O,T,w,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(S,x,O,T,w,C):this._ctx.bezierCurveTo(S,x,O,T,w,C)),this._xi=w,this._yi=C,this},quadraticCurveTo:function(S,x,O,T){return this.addData(h.Q,S,x,O,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(S,x,O,T):this._ctx.quadraticCurveTo(S,x,O,T)),this._xi=O,this._yi=T,this},arc:function(S,x,O,T,w,C){return this.addData(h.A,S,x,O,O,T,w-T,0,C?0:1),this._ctx&&this._ctx.arc(S,x,O,T,w,C),this._xi=u(w)*O+S,this._yi=t(w)*O+x,this},arcTo:function(S,x,O,T,w){return this._ctx&&this._ctx.arcTo(S,x,O,T,w),this},rect:function(S,x,O,T){return this._ctx&&this._ctx.rect(S,x,O,T),this.addData(h.R,S,x,O,T),this},closePath:function(){this.addData(h.Z);var S=this._ctx,x=this._x0,O=this._y0;return S&&(this._needsDash()&&this._dashedLineTo(x,O),S.closePath()),this._xi=x,this._yi=O,this},fill:function(S){S&&S.fill(),this.toStatic()},stroke:function(S){S&&S.stroke(),this.toStatic()},setLineDash:function(S){if(S instanceof Array){this._lineDash=S,this._dashIdx=0;for(var x=0,O=0;O<S.length;O++)x+=S[O];this._dashSum=x}return this},setLineDashOffset:function(S){return this._dashOffset=S,this},len:function(){return this._len},setData:function(S){var x=S.length;!(this.data&&this.data.length===x)&&f&&(this.data=new Float32Array(x));for(var O=0;O<x;O++)this.data[O]=S[O];this._len=x},appendPath:function(S){S instanceof Array||(S=[S]);for(var x=S.length,O=0,T=this._len,w=0;w<x;w++)O+=S[w].len();f&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+O));for(var w=0;w<x;w++)for(var C=S[w].data,N=0;N<C.length;N++)this.data[T++]=C[N];this._len=T},addData:function(S){if(!this._saveData)return;var x=this.data;this._len+arguments.length>x.length&&(this._expandData(),x=this.data);for(var O=0;O<arguments.length;O++)x[this._len++]=arguments[O];this._prevCmd=S},_expandData:function(){if(!(this.data instanceof Array)){for(var S=[],x=0;x<this._len;x++)S[x]=this.data[x];this.data=S}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(S,x){var O=this._dashSum,T=this._dashOffset,w=this._lineDash,C=this._ctx,N=this._xi,D=this._yi,B=S-N,R=x-D,U=c(B*B+R*R),M=N,j=D,P,K=w.length,H;for(B/=U,R/=U,T<0&&(T=O+T),T%=O,M-=T*B,j-=T*R;B>0&&M<=S||B<0&&M>=S||B===0&&(R>0&&j<=x||R<0&&j>=x);){if(H=this._dashIdx,P=w[H],M+=B*P,j+=R*P,this._dashIdx=(H+1)%K,B>0&&M<N||B<0&&M>N||R>0&&j<D||R<0&&j>D)continue;C[H%2?"moveTo":"lineTo"](B>=0?l(M,S):n(M,S),R>=0?l(j,x):n(j,x))}B=M-S,R=j-x,this._dashOffset=-c(B*B+R*R)},_dashedBezierTo:function(S,x,O,T,w,C){var N=this._dashSum,D=this._dashOffset,B=this._lineDash,R=this._ctx,U=this._xi,M=this._yi,j,P,K,H=d.cubicAt,k=0,Z=this._dashIdx,Y=B.length,_,Q,X=0;for(D<0&&(D=N+D),D%=N,j=0;j<1;j+=.1)P=H(U,S,O,w,j+.1)-H(U,S,O,w,j),K=H(M,x,T,C,j+.1)-H(M,x,T,C,j),k+=c(P*P+K*K);for(;Z<Y&&!(X+=B[Z],X>D);Z++);for(j=(X-D)/k;j<=1;)_=H(U,S,O,w,j),Q=H(M,x,T,C,j),Z%2?R.moveTo(_,Q):R.lineTo(_,Q),j+=B[Z]/k,Z=(Z+1)%Y;Z%2!==0&&R.lineTo(w,C),P=w-_,K=C-Q,this._dashOffset=-c(P*P+K*K)},_dashedQuadraticTo:function(S,x,O,T){var w=O,C=T;O=(O+2*S)/3,T=(T+2*x)/3,S=(this._xi+2*S)/3,x=(this._yi+2*x)/3,this._dashedBezierTo(S,x,O,T,w,C)},toStatic:function(){var S=this.data;S instanceof Array&&(S.length=this._len,f&&(this.data=new Float32Array(S)))},getBoundingRect:function(){i[0]=i[1]=a[0]=a[1]=Number.MAX_VALUE,r[0]=r[1]=s[0]=s[1]=-Number.MAX_VALUE;for(var S=this.data,x=0,O=0,T=0,w=0,C=0;C<S.length;){var N=S[C++];C===1&&(x=S[C],O=S[C+1],T=x,w=O);switch(N){case h.M:T=S[C++],w=S[C++],x=T,O=w,a[0]=T,a[1]=w,s[0]=T,s[1]=w;break;case h.L:g.fromLine(x,O,S[C],S[C+1],a,s),x=S[C++],O=S[C++];break;case h.C:g.fromCubic(x,O,S[C++],S[C++],S[C++],S[C++],S[C],S[C+1],a,s),x=S[C++],O=S[C++];break;case h.Q:g.fromQuadratic(x,O,S[C++],S[C++],S[C],S[C+1],a,s),x=S[C++],O=S[C++];break;case h.A:var D=S[C++],B=S[C++],R=S[C++],U=S[C++],M=S[C++],j=S[C++]+M;C+=1;var P=1-S[C++];C===1&&(T=u(M)*R+D,w=t(M)*U+B),g.fromArc(D,B,R,U,M,j,P,a,s),x=u(j)*R+D,O=t(j)*U+B;break;case h.R:T=x=S[C++],w=O=S[C++];var K=S[C++],H=S[C++];g.fromLine(T,w,T+K,w+H,a,s);break;case h.Z:x=T,O=w;break}E.min(i,i,a),E.max(r,r,s)}return C===0&&(i[0]=i[1]=r[0]=r[1]=0),new p(i[0],i[1],r[0]-i[0],r[1]-i[1])},rebuildPath:function(S){for(var x=this.data,O,T,w,C,N,D,B=this._ux,R=this._uy,U=this._len,M=0;M<U;){var j=x[M++];M===1&&(w=x[M],C=x[M+1],O=w,T=C);switch(j){case h.M:O=w=x[M++],T=C=x[M++],S.moveTo(w,C);break;case h.L:N=x[M++],D=x[M++],(o(N-w)>B||o(D-C)>R||M===U-1)&&(S.lineTo(N,D),w=N,C=D);break;case h.C:S.bezierCurveTo(x[M++],x[M++],x[M++],x[M++],x[M++],x[M++]),w=x[M-2],C=x[M-1];break;case h.Q:S.quadraticCurveTo(x[M++],x[M++],x[M++],x[M++]),w=x[M-2],C=x[M-1];break;case h.A:var P=x[M++],K=x[M++],H=x[M++],k=x[M++],Z=x[M++],Y=x[M++],_=x[M++],Q=x[M++],X=H>k?H:k,he=H>k?1:H/k,te=H>k?k/H:1,fe=Math.abs(H-k)>.001,be=Z+Y;fe?(S.translate(P,K),S.rotate(_),S.scale(he,te),S.arc(0,0,X,Z,be,1-Q),S.scale(1/he,1/te),S.rotate(-_),S.translate(-P,-K)):S.arc(P,K,X,Z,be,1-Q),M===1&&(O=u(Z)*H+P,T=t(Z)*k+K),w=u(be)*H+P,C=t(be)*k+K;break;case h.R:O=w=x[M],T=C=x[M+1],S.rect(x[M++],x[M++],x[M++],x[M++]);break;case h.Z:S.closePath(),w=O,C=T}}}},v.CMD=h;var y=v;J.exports=y},IUWy:function(J,F){var e={};function d(g,p){e[g]=p}function E(g){return e[g]}F.register=d,F.get=E},IWNH:function(J,F,e){var d=e("T4UG"),E=e("Bsck"),g=e("7aKB"),p=g.encodeHTML,A=e("Qxkt"),b=d.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(h){var i={name:h.name,children:h.data},r=h.leaves||{},a=new A(r,this,this.ecModel),s=E.createTree(i,this,{},l);function l(c){c.wrapMethod("getItemModel",function(o,f){var v=s.getNodeByDataIndex(f);return(!v.children.length||!v.isExpand)&&(o.parentModel=a),o})}var n=0;s.eachNode("preorder",function(c){c.depth>n&&(n=c.depth)});var u=h.expandAndCollapse,t=u&&h.initialTreeDepth>=0?h.initialTreeDepth:n;return s.root.eachNode("preorder",function(c){var o=c.hostTree.data.getRawDataItem(c.dataIndex);c.isExpand=o&&o.collapsed!=null?!o.collapsed:c.depth<=t}),s.data},getOrient:function(){var h=this.get("orient");return h==="horizontal"?h="LR":h==="vertical"&&(h="TB"),h},setZoom:function(h){this.option.zoom=h},setCenter:function(h){this.option.center=h},formatTooltip:function(h){for(var i=this.getData().tree,r=i.root.children[0],a=i.getNodeByDataIndex(h),s=a.getValue(),l=a.name;a&&a!==r;)l=a.parentNode.name+"."+l,a=a.parentNode;return p(l+(isNaN(s)||s==null?"":" : "+s))},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}});J.exports=b},IWp7:function(J,F,e){var d=e("bYtY"),E=e("OELB"),g=e("7aKB"),p=e("lE7J"),A=e("ieMj"),b=A.prototype,h=Math.ceil,i=Math.floor,r=1e3,a=r*60,s=a*60,l=s*24,n=function(o,f,v,y){for(;v<y;){var L=v+y>>>1;o[L][1]<f?v=L+1:y=L}return v},u=A.extend({type:"time",getLabel:function(o){var f=this._stepLvl,v=new Date(o);return g.formatTime(f[0],v,this.getSetting("useUTC"))},niceExtent:function(o){var f=this._extent;if(f[0]===f[1]&&(f[0]-=l,f[1]+=l),f[1]===-Infinity&&f[0]===Infinity){var v=new Date;f[1]=+new Date(v.getFullYear(),v.getMonth(),v.getDate()),f[0]=f[1]-l}this.niceTicks(o.splitNumber,o.minInterval,o.maxInterval);var y=this._interval;o.fixMin||(f[0]=E.round(i(f[0]/y)*y)),o.fixMax||(f[1]=E.round(h(f[1]/y)*y))},niceTicks:function(o,f,v){o=o||10;var y=this._extent,L=y[1]-y[0],S=L/o;f!=null&&S<f&&(S=f),v!=null&&S>v&&(S=v);var x=t.length,O=n(t,S,0,x),T=t[Math.min(O,x-1)],w=T[1];if(T[0]==="year"){var C=L/w,N=E.nice(C/o,!0);w*=N}var D=this.getSetting("useUTC")?0:new Date(+y[0]||+y[1]).getTimezoneOffset()*60*1e3,B=[Math.round(h((y[0]-D)/w)*w+D),Math.round(i((y[1]-D)/w)*w+D)];p.fixExtent(B,y),this._stepLvl=T,this._interval=w,this._niceExtent=B},parse:function(o){return+E.parseDate(o)}});d.each(["contain","normalize"],function(o){u.prototype[o]=function(f){return b[o].call(this,this.parse(f))}});var t=[["hh:mm:ss",r],["hh:mm:ss",r*5],["hh:mm:ss",r*10],["hh:mm:ss",r*15],["hh:mm:ss",r*30],[`hh:mm
|
|
|
MM-dd`,a],[`hh:mm
|
|
|
MM-dd`,a*5],[`hh:mm
|
|
|
MM-dd`,a*10],[`hh:mm
|
|
|
MM-dd`,a*15],[`hh:mm
|
|
|
MM-dd`,a*30],[`hh:mm
|
|
|
MM-dd`,s],[`hh:mm
|
|
|
MM-dd`,s*2],[`hh:mm
|
|
|
MM-dd`,s*6],[`hh:mm
|
|
|
MM-dd`,s*12],[`MM-dd
|
|
|
yyyy`,l],[`MM-dd
|
|
|
yyyy`,l*2],[`MM-dd
|
|
|
yyyy`,l*3],[`MM-dd
|
|
|
yyyy`,l*4],[`MM-dd
|
|
|
yyyy`,l*5],[`MM-dd
|
|
|
yyyy`,l*6],["week",l*7],[`MM-dd
|
|
|
yyyy`,l*10],["week",l*14],["week",l*21],["month",l*31],["week",l*42],["month",l*62],["week",l*70],["quarter",l*95],["month",l*31*4],["month",l*31*5],["half-year",l*380/2],["month",l*31*8],["month",l*31*10],["year",l*380]];u.create=function(o){return new u({useUTC:o.ecModel.get("useUTC")})};var c=u;J.exports=c},IXuL:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("MwEJ"),p=e("T4UG"),A=p.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(b,h){return g(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}});J.exports=A},IXyC:function(J,F,e){var d=e("bYtY"),E=e("bLfw");e("3zoK");var g=E.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(){E.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(p){var A=this.option;p&&d.merge(A,p,!0),this._initDimensions()},contains:function(p,A){var b=p.get("parallelIndex");return b!=null&&A.getComponent("parallel",b)===this},setAxisExpand:function(p){d.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(A){p.hasOwnProperty(A)&&(this.option[A]=p[A])},this)},_initDimensions:function(){var p=this.dimensions=[],A=this.parallelAxisIndex=[],b=d.filter(this.dependentModels.parallelAxis,function(h){return(h.get("parallelIndex")||0)===this.componentIndex},this);d.each(b,function(h){p.push("dim"+h.get("dim")),A.push(h.componentIndex)})}});J.exports=g},ItGF:function(J,F){var e={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?e={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?e={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?e={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e=E(navigator.userAgent);var d=e;function E(g){var p={},A={},b=g.match(/Firefox\/([\d.]+)/),h=g.match(/MSIE\s([\d.]+)/)||g.match(/Trident\/.+?rv:(([\d.]+))/),i=g.match(/Edge\/([\d.]+)/),r=/micromessenger/i.test(g);return b&&(A.firefox=!0,A.version=b[1]),h&&(A.ie=!0,A.version=h[1]),i&&(A.edge=!0,A.version=i[1]),r&&(A.weChat=!0),{browser:A,os:p,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!A.ie&&!A.edge,pointerEventsSupported:"onpointerdown"in window&&(A.edge||A.ie&&A.version>=11),domSupported:typeof document!="undefined"}}J.exports=d},Itpr:function(J,F,e){var d=e("+TT/");function E(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var c=[t],o,f;o=c.pop();)if(f=o.children,o.isExpand&&f.length)for(var v=f.length,y=v-1;y>=0;y--){var L=f[y];L.hierNode={defaultAncestor:null,ancestor:L,prelim:0,modifier:0,change:0,shift:0,i:y,thread:null},c.push(L)}}function g(t,c){var o=t.isExpand?t.children:[],f=t.parentNode.children,v=t.hierNode.i?f[t.hierNode.i-1]:null;if(o.length){i(t);var y=(o[0].hierNode.prelim+o[o.length-1].hierNode.prelim)/2;v?(t.hierNode.prelim=v.hierNode.prelim+c(t,v),t.hierNode.modifier=t.hierNode.prelim-y):t.hierNode.prelim=y}else v&&(t.hierNode.prelim=v.hierNode.prelim+c(t,v));t.parentNode.hierNode.defaultAncestor=r(t,v,t.parentNode.hierNode.defaultAncestor||f[0],c)}function p(t){var c=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:c},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function A(t){return arguments.length?t:u}function b(t,c){var o={};return t-=Math.PI/2,o.x=c*Math.cos(t),o.y=c*Math.sin(t),o}function h(t,c){return d.getLayoutRect(t.getBoxLayoutParams(),{width:c.getWidth(),height:c.getHeight()})}function i(t){for(var c=t.children,o=c.length,f=0,v=0;--o>=0;){var y=c[o];y.hierNode.prelim+=f,y.hierNode.modifier+=f,v+=y.hierNode.change,f+=y.hierNode.shift+v}}function r(t,c,o,f){if(c){for(var v=t,y=t,L=y.parentNode.children[0],S=c,x=v.hierNode.modifier,O=y.hierNode.modifier,T=L.hierNode.modifier,w=S.hierNode.modifier;S=a(S),y=s(y),S&&y;){v=a(v),L=s(L),v.hierNode.ancestor=t;var C=S.hierNode.prelim+w-y.hierNode.prelim-O+f(S,y);C>0&&(n(l(S,t,o),t,C),O+=C,x+=C),w+=S.hierNode.modifier,O+=y.hierNode.modifier,x+=v.hierNode.modifier,T+=L.hierNode.modifier}S&&!a(v)&&(v.hierNode.thread=S,v.hierNode.modifier+=w-x),y&&!s(L)&&(L.hierNode.thread=y,L.hierNode.modifier+=O-T,o=t)}return o}function a(t){var c=t.children;return c.length&&t.isExpand?c[c.length-1]:t.hierNode.thread}function s(t){var c=t.children;return c.length&&t.isExpand?c[0]:t.hierNode.thread}function l(t,c,o){return t.hierNode.ancestor.parentNode===c.parentNode?t.hierNode.ancestor:o}function n(t,c,o){var f=o/(c.hierNode.i-t.hierNode.i);c.hierNode.change-=f,c.hierNode.shift+=o,c.hierNode.modifier+=o,c.hierNode.prelim+=o,t.hierNode.change+=f}function u(t,c){return t.parentNode===c.parentNode?1:2}F.init=E,F.firstWalk=g,F.secondWalk=p,F.separation=A,F.radialCoordinate=b,F.getViewRect=h},IwbS:function(J,F,e){var d=e("bYtY"),E=e("NC18"),g=e("Qe9p"),p=e("Fofx"),A=e("QBsz"),b=e("y+Vt"),h=e("DN4a"),i=e("Dagg");F.Image=i;var r=e("4fz+");F.Group=r;var a=e("dqUG");F.Text=a;var s=e("2fw6");F.Circle=s;var l=e("SqI9");F.Sector=l;var n=e("RXMa");F.Ring=n;var u=e("h7HQ");F.Polygon=u;var t=e("1Jh7");F.Polyline=t;var c=e("x6Kt");F.Rect=c;var o=e("yxFR");F.Line=o;var f=e("rA99");F.BezierCurve=f;var v=e("jTL6");F.Arc=v;var y=e("1MYJ");F.CompoundPath=y;var L=e("SKnc");F.LinearGradient=L;var S=e("3e3G");F.RadialGradient=S;var x=e("mFDi");F.BoundingRect=x;var O=e("OS9S");F.IncrementalDisplayable=O;var T=e("nPnh"),w=Math.max,C=Math.min,N={},D=1,B={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},R="emphasis",U="normal",M=1,j={},P={};function K(se){return b.extend(se)}function H(se,ae){return E.extendFromString(se,ae)}function k(se,ae){P[se]=ae}function Z(se){if(P.hasOwnProperty(se))return P[se]}function Y(se,ae,ye,Ce){var Oe=E.createFromString(se,ae);return ye&&(Ce==="center"&&(ye=Q(ye,Oe.getBoundingRect())),he(Oe,ye)),Oe}function _(se,ae,ye){var Ce=new i({style:{image:se,x:ae.x,y:ae.y,width:ae.width,height:ae.height},onload:function(Oe){if(ye==="center"){var Te={width:Oe.width,height:Oe.height};Ce.setStyle(Q(ae,Te))}}});return Ce}function Q(se,ae){var ye=ae.width/ae.height,Ce=se.height*ye,Oe;Ce<=se.width?Oe=se.height:(Ce=se.width,Oe=Ce/ye);var Te=se.x+se.width/2,xe=se.y+se.height/2;return{x:Te-Ce/2,y:xe-Oe/2,width:Ce,height:Oe}}var X=E.mergePath;function he(se,ae){if(!se.applyTransform)return;var ye=se.getBoundingRect(),Ce=ye.calculateTransform(ae);se.applyTransform(Ce)}function te(se){return T.subPixelOptimizeLine(se.shape,se.shape,se.style),se}function fe(se){return T.subPixelOptimizeRect(se.shape,se.shape,se.style),se}var be=T.subPixelOptimize;function we(se){return se!=null&&se!=="none"}var Ke=d.createHashMap(),qe=0;function xt(se){if(typeof se!="string")return se;var ae=Ke.get(se);return ae||(ae=g.lift(se,-.1),qe<1e4&&(Ke.set(se,ae),qe++)),ae}function Fe(se){if(!se.__hoverStlDirty)return;se.__hoverStlDirty=!1;var ae=se.__hoverStl;if(!ae){se.__cachedNormalStl=se.__cachedNormalZ2=null;return}var ye=se.__cachedNormalStl={};se.__cachedNormalZ2=se.z2;var Ce=se.style;for(var Oe in ae)ae[Oe]!=null&&(ye[Oe]=Ce[Oe]);ye.fill=Ce.fill,ye.stroke=Ce.stroke}function Be(se){var ae=se.__hoverStl;if(!ae||se.__highlighted)return;var ye=se.__zr,Ce=se.useHoverLayer&&ye&&ye.painter.type==="canvas";if(se.__highlighted=Ce?"layer":"plain",se.isGroup||!ye&&se.useHoverLayer)return;var Oe=se,Te=se.style;Ce&&(Oe=ye.addHover(se),Te=Oe.style),dt(Te),Ce||Fe(Oe),Te.extendFrom(ae),bt(Te,ae,"fill"),bt(Te,ae,"stroke"),et(Te),Ce||(se.dirty(!1),se.z2+=D)}function bt(se,ae,ye){!we(ae[ye])&&we(se[ye])&&(se[ye]=xt(se[ye]))}function lt(se){var ae=se.__highlighted;if(!ae)return;if(se.__highlighted=!1,se.isGroup)return;if(ae==="layer")se.__zr&&se.__zr.removeHover(se);else{var ye=se.style,Ce=se.__cachedNormalStl;Ce&&(dt(ye),se.setStyle(Ce),et(ye));var Oe=se.__cachedNormalZ2;Oe!=null&&se.z2-Oe===D&&(se.z2=Oe)}}function tt(se,ae,ye){var Ce=U,Oe=U,Te;se.__highlighted&&(Ce=R,Te=!0),ae(se,ye),se.__highlighted&&(Oe=R,Te=!0),se.isGroup&&se.traverse(function(xe){!xe.isGroup&&ae(xe,ye)}),Te&&se.__highDownOnUpdate&&se.__highDownOnUpdate(Ce,Oe)}function St(se,ae){ae=se.__hoverStl=ae!==!1&&(se.hoverStyle||ae||{}),se.__hoverStlDirty=!0,se.__highlighted&&(se.__cachedNormalStl=null,lt(se),Be(se))}function ht(se){!_e(this,se)&&!this.__highByOuter&&tt(this,Be)}function vt(se){!_e(this,se)&&!this.__highByOuter&&tt(this,lt)}function Ge(se){this.__highByOuter|=1<<(se||0),tt(this,Be)}function At(se){!(this.__highByOuter&=~(1<<(se||0)))&&tt(this,lt)}function _e(se,ae){return se.__highDownSilentOnTouch&&ae.zrByTouch}function De(se,ae){Ie(se,!0),tt(se,St,ae)}function Ie(se,ae){var ye=ae===!1;if(se.__highDownSilentOnTouch=se.highDownSilentOnTouch,se.__highDownOnUpdate=se.highDownOnUpdate,!ye||se.__highDownDispatcher){var Ce=ye?"off":"on";se[Ce]("mouseover",ht)[Ce]("mouseout",vt),se[Ce]("emphasis",Ge)[Ce]("normal",At),se.__highByOuter=se.__highByOuter||0,se.__highDownDispatcher=!ye}}function st(se){return!!(se&&se.__highDownDispatcher)}function Et(se){var ae=j[se];return ae==null&&M<=32&&(ae=j[se]=M++),ae}function Mt(se,ae,ye,Ce,Oe,Te,xe){Oe=Oe||N;var je=Oe.labelFetcher,ut=Oe.labelDataIndex,wt=Oe.labelDimIndex,ee=Oe.labelProp,ie=ye.getShallow("show"),z=Ce.getShallow("show"),$;(ie||z)&&(je&&($=je.getFormattedLabel(ut,"normal",null,wt,ee)),$==null&&($=d.isFunction(Oe.defaultText)?Oe.defaultText(ut,Oe):Oe.defaultText));var le=ie?$:null,ge=z?d.retrieve2(je?je.getFormattedLabel(ut,"emphasis",null,wt,ee):null,$):null;(le!=null||ge!=null)&&(ke(se,ye,Te,Oe),ke(ae,Ce,xe,Oe,!0)),se.text=le,ae.text=ge}function Pt(se,ae,ye){var Ce=se.style;ae&&(dt(Ce),se.setStyle(ae),et(Ce)),Ce=se.__hoverStl,ye&&Ce&&(dt(Ce),d.extend(Ce,ye),et(Ce))}function ke(se,ae,ye,Ce,Oe){return Ot(se,ae,Ce,Oe),ye&&d.extend(se,ye),se}function zt(se,ae,ye){var Ce={isRectText:!0},Oe;ye===!1?Oe=!0:Ce.autoColor=ye,Ot(se,ae,Ce,Oe)}function Ot(se,ae,ye,Ce){if(ye=ye||N,ye.isRectText){var Oe;ye.getTextPosition?Oe=ye.getTextPosition(ae,Ce):(Oe=ae.getShallow("position")||(Ce?null:"inside"),Oe==="outside"&&(Oe="top")),se.textPosition=Oe,se.textOffset=ae.getShallow("offset");var Te=ae.getShallow("rotate");Te!=null&&(Te*=Math.PI/180),se.textRotation=Te,se.textDistance=d.retrieve2(ae.getShallow("distance"),Ce?null:5)}var xe=ae.ecModel,je=xe&&xe.option.textStyle,ut=_t(ae),wt;if(ut){wt={};for(var ee in ut)if(ut.hasOwnProperty(ee)){var ie=ae.getModel(["rich",ee]);Ve(wt[ee]={},ie,je,ye,Ce)}}return se.rich=wt,Ve(se,ae,je,ye,Ce,!0),ye.forceRich&&!ye.textStyle&&(ye.textStyle={}),se}function _t(se){for(var ae;se&&se!==se.ecModel;){var ye=(se.option||N).rich;if(ye){ae=ae||{};for(var Ce in ye)ye.hasOwnProperty(Ce)&&(ae[Ce]=1)}se=se.parentModel}return ae}function Ve(se,ae,ye,Ce,Oe,Te){ye=!Oe&&ye||N,se.textFill=Qe(ae.getShallow("color"),Ce)||ye.color,se.textStroke=Qe(ae.getShallow("textBorderColor"),Ce)||ye.textBorderColor,se.textStrokeWidth=d.retrieve2(ae.getShallow("textBorderWidth"),ye.textBorderWidth),Oe||(Te&&(se.insideRollbackOpt=Ce,et(se)),se.textFill==null&&(se.textFill=Ce.autoColor)),se.fontStyle=ae.getShallow("fontStyle")||ye.fontStyle,se.fontWeight=ae.getShallow("fontWeight")||ye.fontWeight,se.fontSize=ae.getShallow("fontSize")||ye.fontSize,se.fontFamily=ae.getShallow("fontFamily")||ye.fontFamily,se.textAlign=ae.getShallow("align"),se.textVerticalAlign=ae.getShallow("verticalAlign")||ae.getShallow("baseline"),se.textLineHeight=ae.getShallow("lineHeight"),se.textWidth=ae.getShallow("width"),se.textHeight=ae.getShallow("height"),se.textTag=ae.getShallow("tag"),(!Te||!Ce.disableBox)&&(se.textBackgroundColor=Qe(ae.getShallow("backgroundColor"),Ce),se.textPadding=ae.getShallow("padding"),se.textBorderColor=Qe(ae.getShallow("borderColor"),Ce),se.textBorderWidth=ae.getShallow("borderWidth"),se.textBorderRadius=ae.getShallow("borderRadius"),se.textBoxShadowColor=ae.getShallow("shadowColor"),se.textBoxShadowBlur=ae.getShallow("shadowBlur"),se.textBoxShadowOffsetX=ae.getShallow("shadowOffsetX"),se.textBoxShadowOffsetY=ae.getShallow("shadowOffsetY")),se.textShadowColor=ae.getShallow("textShadowColor")||ye.textShadowColor,se.textShadowBlur=ae.getShallow("textShadowBlur")||ye.textShadowBlur,se.textShadowOffsetX=ae.getShallow("textShadowOffsetX")||ye.textShadowOffsetX,se.textShadowOffsetY=ae.getShallow("textShadowOffsetY")||ye.textShadowOffsetY}function Qe(se,ae){return se!=="auto"?se:ae&&ae.autoColor?ae.autoColor:null}function et(se){var ae=se.textPosition,ye=se.insideRollbackOpt,Ce;if(ye&&se.textFill==null){var Oe=ye.autoColor,Te=ye.isRectText,xe=ye.useInsideStyle,je=xe!==!1&&(xe===!0||Te&&ae&&typeof ae=="string"&&ae.indexOf("inside")>=0),ut=!je&&Oe!=null;(je||ut)&&(Ce={textFill:se.textFill,textStroke:se.textStroke,textStrokeWidth:se.textStrokeWidth}),je&&(se.textFill="#fff",se.textStroke==null&&(se.textStroke=Oe,se.textStrokeWidth==null&&(se.textStrokeWidth=2))),ut&&(se.textFill=Oe)}se.insideRollback=Ce}function dt(se){var ae=se.insideRollback;ae&&(se.textFill=ae.textFill,se.textStroke=ae.textStroke,se.textStrokeWidth=ae.textStrokeWidth,se.insideRollback=null)}function Ze(se,ae){var ye=ae&&ae.getModel("textStyle");return d.trim([se.fontStyle||ye&&ye.getShallow("fontStyle")||"",se.fontWeight||ye&&ye.getShallow("fontWeight")||"",(se.fontSize||ye&&ye.getShallow("fontSize")||12)+"px",se.fontFamily||ye&&ye.getShallow("fontFamily")||"sans-serif"].join(" "))}function oe(se,ae,ye,Ce,Oe,Te){typeof Oe=="function"&&(Te=Oe,Oe=null);var xe=Ce&&Ce.isAnimationEnabled();if(xe){var je=se?"Update":"",ut=Ce.getShallow("animationDuration"+je),wt=Ce.getShallow("animationEasing"+je),ee=Ce.getShallow("animationDelay"+je);typeof ee=="function"&&(ee=ee(Oe,Ce.getAnimationDelayParams?Ce.getAnimationDelayParams(ae,Oe):null)),typeof ut=="function"&&(ut=ut(Oe)),ut>0?ae.animateTo(ye,ut,ee||0,wt,Te,!!Te):(ae.stopAnimation(),ae.attr(ye),Te&&Te())}else ae.stopAnimation(),ae.attr(ye),Te&&Te()}function me(se,ae,ye,Ce,Oe){oe(!0,se,ae,ye,Ce,Oe)}function ot(se,ae,ye,Ce,Oe){oe(!1,se,ae,ye,Ce,Oe)}function Pe(se,ae){for(var ye=p.identity([]);se&&se!==ae;)p.mul(ye,se.getLocalTransform(),ye),se=se.parent;return ye}function pt(se,ae,ye){return ae&&!d.isArrayLike(ae)&&(ae=h.getLocalTransform(ae)),ye&&(ae=p.invert([],ae)),A.applyTransform([],se,ae)}function Rr(se,ae,ye){var Ce=ae[4]===0||ae[5]===0||ae[0]===0?1:Math.abs(2*ae[4]/ae[0]),Oe=ae[4]===0||ae[5]===0||ae[2]===0?1:Math.abs(2*ae[4]/ae[2]),Te=[se==="left"?-Ce:se==="right"?Ce:0,se==="top"?-Oe:se==="bottom"?Oe:0];return Te=pt(Te,ae,ye),Math.abs(Te[0])>Math.abs(Te[1])?Te[0]>0?"right":"left":Te[1]>0?"bottom":"top"}function It(se,ae,ye,Ce){if(!se||!ae)return;function Oe(je){var ut={};return je.traverse(function(wt){!wt.isGroup&&wt.anid&&(ut[wt.anid]=wt)}),ut}function Te(je){var ut={position:A.clone(je.position),rotation:je.rotation};return je.shape&&(ut.shape=d.extend({},je.shape)),ut}var xe=Oe(se);ae.traverse(function(je){if(!je.isGroup&&je.anid){var ut=xe[je.anid];if(ut){var wt=Te(je);je.attr(Te(ut)),me(je,wt,ye,je.dataIndex)}}})}function nr(se,ae){return d.map(se,function(ye){var Ce=ye[0];Ce=w(Ce,ae.x),Ce=C(Ce,ae.x+ae.width);var Oe=ye[1];return Oe=w(Oe,ae.y),Oe=C(Oe,ae.y+ae.height),[Ce,Oe]})}function Gt(se,ae){var ye=w(se.x,ae.x),Ce=C(se.x+se.width,ae.x+ae.width),Oe=w(se.y,ae.y),Te=C(se.y+se.height,ae.y+ae.height);if(Ce>=ye&&Te>=Oe)return{x:ye,y:Oe,width:Ce-ye,height:Te-Oe}}function Jt(se,ae,ye){ae=d.extend({rectHover:!0},ae);var Ce=ae.style={strokeNoScale:!0};if(ye=ye||{x:-1,y:-1,width:2,height:2},se)return se.indexOf("image://")===0?(Ce.image=se.slice(8),d.defaults(Ce,ye),new i(ae)):Y(se.replace("path://",""),ae,ye,"center")}function hr(se,ae,ye,Ce,Oe){for(var Te=0,xe=Oe[Oe.length-1];Te<Oe.length;Te++){var je=Oe[Te];if(Xt(se,ae,ye,Ce,je[0],je[1],xe[0],xe[1]))return!0;xe=je}}function Xt(se,ae,ye,Ce,Oe,Te,xe,je){var ut=ye-se,wt=Ce-ae,ee=xe-Oe,ie=je-Te,z=de(ee,ie,ut,wt);if(ue(z))return!1;var $=se-Oe,le=ae-Te,ge=de($,le,ut,wt)/z;if(ge<0||ge>1)return!1;var Ae=de($,le,ee,ie)/z;return!(Ae<0||Ae>1)}function de(se,ae,ye,Ce){return se*Ce-ye*ae}function ue(se){return se<=1e-6&&se>=-1e-6}k("circle",s),k("sector",l),k("ring",n),k("polygon",u),k("polyline",t),k("rect",c),k("line",o),k("bezierCurve",f),k("arc",v),F.Z2_EMPHASIS_LIFT=D,F.CACHED_LABEL_STYLE_PROPERTIES=B,F.extendShape=K,F.extendPath=H,F.registerShape=k,F.getShapeClass=Z,F.makePath=Y,F.makeImage=_,F.mergePath=X,F.resizePath=he,F.subPixelOptimizeLine=te,F.subPixelOptimizeRect=fe,F.subPixelOptimize=be,F.setElementHoverStyle=St,F.setHoverStyle=De,F.setAsHighDownDispatcher=Ie,F.isHighDownDispatcher=st,F.getHighlightDigit=Et,F.setLabelStyle=Mt,F.modifyLabelStyle=Pt,F.setTextStyle=ke,F.setText=zt,F.getFont=Ze,F.updateProps=me,F.initProps=ot,F.getTransform=Pe,F.applyTransform=pt,F.transformDirection=Rr,F.groupTransition=It,F.clipPointsByRect=nr,F.clipRectByRect=Gt,F.createIcon=Jt,F.linePolygonIntersect=hr,F.lineLineIntersect=Xt},IyUQ:function(J,F,e){var d=e("bYtY"),E=e("YH21"),g=e("IwbS"),p=e("iLNv"),A=e("fc+c"),b=e("OELB"),h=e("+TT/"),i=e("72pK"),r=g.Rect,a=b.linearMap,s=b.asc,l=d.bind,n=d.each,u=7,t=1,c=30,o="horizontal",f="vertical",v=5,y=["line","bar","candlestick","scatter"],L=A.extend({type:"dataZoom.slider",init:function(T,w){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=w},render:function(T,w,C,N){if(L.superApply(this,"render",arguments),p.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!N||N.type!=="dataZoom"||N.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){L.superApply(this,"remove",arguments),p.clear(this,"_dispatchZoomAction")},dispose:function(){L.superApply(this,"dispose",arguments),p.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var w=this._displayables.barGroup=new g.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(w),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,w=this.api,C=this._findCoordRect(),N={width:w.getWidth(),height:w.getHeight()},D=this._orient===o?{right:N.width-C.x-C.width,top:N.height-c-u,width:C.width,height:c}:{right:u,top:C.y,width:c,height:C.height},B=h.getLayoutParams(T.option);d.each(["right","top","width","height"],function(U){B[U]==="ph"&&(B[U]=D[U])});var R=h.getLayoutRect(B,N,T.padding);this._location={x:R.x,y:R.y},this._size=[R.width,R.height],this._orient===f&&this._size.reverse()},_positionGroup:function(){var T=this.group,w=this._location,C=this._orient,N=this.dataZoomModel.getFirstTargetAxisModel(),D=N&&N.get("inverse"),B=this._displayables.barGroup,R=(this._dataShadowInfo||{}).otherAxisInverse;B.attr(C===o&&!D?{scale:R?[1,1]:[1,-1]}:C===o&&D?{scale:R?[-1,1]:[-1,-1]}:C===f&&!D?{scale:R?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:R?[-1,-1]:[-1,1],rotation:Math.PI/2});var U=T.getBoundingRect([B]);T.attr("position",[w.x-U.x,w.y-U.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,w=this._size,C=this._displayables.barGroup;C.add(new r({silent:!0,shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:T.get("backgroundColor")},z2:-40})),C.add(new r({shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:"transparent"},z2:0,onclick:d.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var w=this._size,C=T.series,N=C.getRawData(),D=C.getShadowDim?C.getShadowDim():T.otherDim;if(D==null)return;var B=N.getDataExtent(D),R=(B[1]-B[0])*.3;B=[B[0]-R,B[1]+R];var U=[0,w[1]],M=[0,w[0]],j=[[w[0],0],[0,0]],P=[],K=M[1]/(N.count()-1),H=0,k=Math.round(N.count()/w[0]),Z;N.each([D],function(_,Q){if(k>0&&Q%k){H+=K;return}var X=_==null||isNaN(_)||_==="",he=X?0:a(_,B,U,!0);X&&!Z&&Q?(j.push([j[j.length-1][0],0]),P.push([P[P.length-1][0],0])):!X&&Z&&(j.push([H,0]),P.push([H,0])),j.push([H,he]),P.push([H,he]),H+=K,Z=X});var Y=this.dataZoomModel;this._displayables.barGroup.add(new g.Polygon({shape:{points:j},style:d.defaults({fill:Y.get("dataBackgroundColor")},Y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new g.Polyline({shape:{points:P},style:Y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,w=T.get("showDataShadow");if(w===!1)return;var C,N=this.ecModel;return T.eachTargetAxis(function(D,B){var R=T.getAxisProxy(D.name,B).getTargetSeriesModels();d.each(R,function(U){if(C)return;if(w!==!0&&d.indexOf(y,U.get("type"))<0)return;var M=N.getComponent(D.axis,B).axis,j=S(D.name),P,K=U.coordinateSystem;j!=null&&K.getOtherAxis&&(P=K.getOtherAxis(M).inverse),j=U.getData().mapDimension(j),C={thisAxis:M,series:U,thisDim:D.name,otherDim:j,otherAxisInverse:P}},this)},this),C},_renderHandle:function(){var T=this._displayables,w=T.handles=[],C=T.handleLabels=[],N=this._displayables.barGroup,D=this._size,B=this.dataZoomModel;N.add(T.filler=new r({draggable:!0,cursor:x(this._orient),drift:l(this._onDragMove,this,"all"),ondragstart:l(this._showDataInfo,this,!0),ondragend:l(this._onDragEnd,this),onmouseover:l(this._showDataInfo,this,!0),onmouseout:l(this._showDataInfo,this,!1),style:{fill:B.get("fillerColor"),textPosition:"inside"}})),N.add(new r({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:D[0],height:D[1]},style:{stroke:B.get("dataBackgroundColor")||B.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(R){var U=g.createIcon(B.get("handleIcon"),{cursor:x(this._orient),draggable:!0,drift:l(this._onDragMove,this,R),ondragend:l(this._onDragEnd,this),onmouseover:l(this._showDataInfo,this,!0),onmouseout:l(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),M=U.getBoundingRect();this._handleHeight=b.parsePercent(B.get("handleSize"),this._size[1]),this._handleWidth=M.width/M.height*this._handleHeight,U.setStyle(B.getModel("handleStyle").getItemStyle());var j=B.get("handleColor");j!=null&&(U.style.fill=j),N.add(w[R]=U);var P=B.textStyleModel;this.group.add(C[R]=new g.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:P.getTextColor(),textFont:P.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),w=this._getViewExtent();this._handleEnds=[a(T[0],[0,100],w,!0),a(T[1],[0,100],w,!0)]},_updateInterval:function(T,w){var C=this.dataZoomModel,N=this._handleEnds,D=this._getViewExtent(),B=C.findRepresentativeAxisProxy().getMinMaxSpan(),R=[0,100];i(w,N,D,C.get("zoomLock")?"all":T,B.minSpan!=null?a(B.minSpan,R,D,!0):null,B.maxSpan!=null?a(B.maxSpan,R,D,!0):null);var U=this._range,M=this._range=s([a(N[0],D,R,!0),a(N[1],D,R,!0)]);return!U||U[0]!==M[0]||U[1]!==M[1]},_updateView:function(T){var w=this._displayables,C=this._handleEnds,N=s(C.slice()),D=this._size;n([0,1],function(B){var R=w.handles[B],U=this._handleHeight;R.attr({scale:[U/2,U/2],position:[C[B],D[1]/2-U/2]})},this),w.filler.setShape({x:N[0],y:0,width:N[1]-N[0],height:D[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var w=this.dataZoomModel,C=this._displayables,N=C.handleLabels,D=this._orient,B=["",""];if(w.get("showDetail")){var R=w.findRepresentativeAxisProxy();if(R){var U=R.getAxisModel().axis,M=this._range,j=T?R.calculateDataWindow({start:M[0],end:M[1]}).valueWindow:R.getDataValueWindow();B=[this._formatLabel(j[0],U),this._formatLabel(j[1],U)]}}var P=s(this._handleEnds.slice());K.call(this,0),K.call(this,1);function K(H){var k=g.getTransform(C.handles[H].parent,this.group),Z=g.transformDirection(H===0?"right":"left",k),Y=this._handleWidth/2+v,_=g.applyTransform([P[H]+(H===0?-Y:Y),this._size[1]/2],k);N[H].setStyle({x:_[0],y:_[1],textVerticalAlign:D===o?"middle":Z,textAlign:D===o?Z:"center",text:B[H]})}},_formatLabel:function(T,w){var C=this.dataZoomModel,N=C.get("labelFormatter"),D=C.get("labelPrecision");(D==null||D==="auto")&&(D=w.getPixelPrecision());var B=T==null||isNaN(T)?"":w.type==="category"||w.type==="time"?w.scale.getLabel(Math.round(T)):T.toFixed(Math.min(D,20));return d.isFunction(N)?N(T,B):d.isString(N)?N.replace("{value}",B):B},_showDataInfo:function(T){T=this._dragging||T;var w=this._displayables.handleLabels;w[0].attr("invisible",!T),w[1].attr("invisible",!T)},_onDragMove:function(T,w,C,N){this._dragging=!0,E.stop(N.event);var D=this._displayables.barGroup.getLocalTransform(),B=g.applyTransform([w,C],D,!0),R=this._updateInterval(T,B[0]),U=this.dataZoomModel.get("realtime");this._updateView(!U),R&&U&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var w=this._size,C=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(C[0]<0||C[0]>w[0]||C[1]<0||C[1]>w[1])return;var N=this._handleEnds,D=(N[0]+N[1])/2,B=this._updateInterval("all",C[0]-D);this._updateView(),B&&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(N){if(!T&&N.length){var D=N[0].model.coordinateSystem;T=D.getRect&&D.getRect()}}),!T){var w=this.api.getWidth(),C=this.api.getHeight();T={x:w*.2,y:C*.2,width:w*.6,height:C*.6}}return T}});function S(T){var w={x:"y",y:"x",radius:"angle",angle:"radius"};return w[T]}function x(T){return T==="vertical"?"ns-resize":"ew-resize"}var O=L;J.exports=O},IzEo:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("lnY3"),p=e.n(g),A=e("Znn+"),b=e("14J3"),h=e("jCWc")},J66h:function(J,F,e){(function(d){var E,g;(function(p,A){J.exports=A(p)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof d!="undefined"?d:this,function(p){"use strict";p=p||{};var A=p.Base64,b="2.6.4",h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=function(U){for(var M={},j=0,P=U.length;j<P;j++)M[U.charAt(j)]=j;return M}(h),r=String.fromCharCode,a=function(M){if(M.length<2){var j=M.charCodeAt(0);return j<128?M:j<2048?r(192|j>>>6)+r(128|j&63):r(224|j>>>12&15)+r(128|j>>>6&63)+r(128|j&63)}else{var j=65536+(M.charCodeAt(0)-55296)*1024+(M.charCodeAt(1)-56320);return r(240|j>>>18&7)+r(128|j>>>12&63)+r(128|j>>>6&63)+r(128|j&63)}},s=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l=function(M){return M.replace(s,a)},n=function(M){var j=[0,2,1][M.length%3],P=M.charCodeAt(0)<<16|(M.length>1?M.charCodeAt(1):0)<<8|(M.length>2?M.charCodeAt(2):0),K=[h.charAt(P>>>18),h.charAt(P>>>12&63),j>=2?"=":h.charAt(P>>>6&63),j>=1?"=":h.charAt(P&63)];return K.join("")},u=p.btoa&&typeof p.btoa=="function"?function(U){return p.btoa(U)}:function(U){if(U.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return U.replace(/[\s\S]{1,3}/g,n)},t=function(M){return u(l(String(M)))},c=function(M){return M.replace(/[+\/]/g,function(j){return j=="+"?"-":"_"}).replace(/=/g,"")},o=function(M,j){return j?c(t(M)):t(M)},f=function(M){return o(M,!0)},v;p.Uint8Array&&(v=function(M,j){for(var P="",K=0,H=M.length;K<H;K+=3){var k=M[K],Z=M[K+1],Y=M[K+2],_=k<<16|Z<<8|Y;P+=h.charAt(_>>>18)+h.charAt(_>>>12&63)+(typeof Z!="undefined"?h.charAt(_>>>6&63):"=")+(typeof Y!="undefined"?h.charAt(_&63):"=")}return j?c(P):P});var y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,L=function(M){switch(M.length){case 4:var j=(7&M.charCodeAt(0))<<18|(63&M.charCodeAt(1))<<12|(63&M.charCodeAt(2))<<6|63&M.charCodeAt(3),P=j-65536;return r((P>>>10)+55296)+r((P&1023)+56320);case 3:return r((15&M.charCodeAt(0))<<12|(63&M.charCodeAt(1))<<6|63&M.charCodeAt(2));default:return r((31&M.charCodeAt(0))<<6|63&M.charCodeAt(1))}},S=function(M){return M.replace(y,L)},x=function(M){var j=M.length,P=j%4,K=(j>0?i[M.charAt(0)]<<18:0)|(j>1?i[M.charAt(1)]<<12:0)|(j>2?i[M.charAt(2)]<<6:0)|(j>3?i[M.charAt(3)]:0),H=[r(K>>>16),r(K>>>8&255),r(K&255)];return H.length-=[0,0,2,1][P],H.join("")},O=p.atob&&typeof p.atob=="function"?function(U){return p.atob(U)}:function(U){return U.replace(/\S{1,4}/g,x)},T=function(M){return O(String(M).replace(/[^A-Za-z0-9\+\/]/g,""))},w=function(M){return S(O(M))},C=function(M){return String(M).replace(/[-_]/g,function(j){return j=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},N=function(M){return w(C(M))},D;p.Uint8Array&&(D=function(M){return Uint8Array.from(T(C(M)),function(j){return j.charCodeAt(0)})});var B=function(){var M=p.Base64;return p.Base64=A,M};if(p.Base64={VERSION:b,atob:T,btoa:u,fromBase64:N,toBase64:o,utob:l,encode:o,encodeURI:f,btou:S,decode:N,noConflict:B,fromUint8Array:v,toUint8Array:D},typeof Object.defineProperty=="function"){var R=function(M){return{value:M,enumerable:!1,writable:!0,configurable:!0}};p.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",R(function(){return N(this)})),Object.defineProperty(String.prototype,"toBase64",R(function(U){return o(this,U)})),Object.defineProperty(String.prototype,"toBase64URI",R(function(){return o(this,!0)}))}}return p.Meteor&&(Base64=p.Base64),J.exports?J.exports.Base64=p.Base64:!(E=[],g=function(){return p.Base64}.apply(F,E),g!==void 0&&(J.exports=g)),{Base64:p.Base64}})}).call(this,e("yLpj"))},JEkh:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("bYtY"),A=e("ItGF"),b=e("4NO4"),h=e("7aKB"),i=e("OKJ2"),r=h.addCommas,a=h.encodeHTML;function s(u){b.defaultEmphasis(u,"label",["show"])}var l=g.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(u,t,c){this.mergeDefaultAndTheme(u,c),this._mergeOption(u,c,!1,!0)},isAnimationEnabled:function(){if(A.node)return!1;var u=this.__hostSeries;return this.getShallow("animation")&&u&&u.isAnimationEnabled()},mergeOption:function(u,t){this._mergeOption(u,t,!1,!1)},_mergeOption:function(u,t,c,o){var f=this.constructor,v=this.mainType+"Model";c||t.eachSeries(function(y){var L=y.get(this.mainType,!0),S=y[v];if(!L||!L.data){y[v]=null;return}S?S._mergeOption(L,t,!0):(o&&s(L),p.each(L.data,function(x){x instanceof Array?(s(x[0]),s(x[1])):s(x)}),S=new f(L,this,t),p.extend(S,{mainType:this.mainType,seriesIndex:y.seriesIndex,name:y.name,createdBySelf:!0}),S.__hostSeries=y),y[v]=S},this)},formatTooltip:function(u){var t=this.getData(),c=this.getRawValue(u),o=p.isArray(c)?p.map(c,r).join(", "):r(c),f=t.getName(u),v=a(this.name);return(c!=null||f)&&(v+="<br />"),f&&(v+=a(f),c!=null&&(v+=" : ")),c!=null&&(v+=a(o)),v},getData:function(){return this._data},setData:function(u){this._data=u}});p.mixin(l,i);var n=l;J.exports=n},JGo8:function(J,F,e){},JHRd:function(J,F,e){var d=e("Kz5y"),E=d.Uint8Array;J.exports=E},JHgL:function(J,F,e){var d=e("QkVE");function E(g){return d(this,g).get(g)}J.exports=E},JLnu:function(J,F,e){var d=e("+TT/"),E=e("OELB"),g=E.parsePercent,p=E.linearMap;function A(r,a){return d.getLayoutRect(r.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function b(r,a){for(var s=r.mapDimension("value"),l=r.mapArray(s,function(o){return o}),n=[],u=a==="ascending",t=0,c=r.count();t<c;t++)n[t]=t;return typeof a=="function"?n.sort(a):a!=="none"&&n.sort(function(o,f){return u?l[o]-l[f]:l[f]-l[o]}),n}function h(r){r.each(function(a){var s=r.getItemModel(a),l=s.getModel("label"),n=l.get("position"),u=s.getModel("labelLine"),t=r.getItemLayout(a),c=t.points,o=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",f,v,y,L;if(o)n==="insideLeft"?(v=(c[0][0]+c[3][0])/2+5,y=(c[0][1]+c[3][1])/2,f="left"):n==="insideRight"?(v=(c[1][0]+c[2][0])/2-5,y=(c[1][1]+c[2][1])/2,f="right"):(v=(c[0][0]+c[1][0]+c[2][0]+c[3][0])/4,y=(c[0][1]+c[1][1]+c[2][1]+c[3][1])/4,f="center"),L=[[v,y],[v,y]];else{var S,x,O,T=u.get("length");n==="left"?(S=(c[3][0]+c[0][0])/2,x=(c[3][1]+c[0][1])/2,O=S-T,v=O-5,f="right"):n==="right"?(S=(c[1][0]+c[2][0])/2,x=(c[1][1]+c[2][1])/2,O=S+T,v=O+5,f="left"):n==="rightTop"?(S=c[1][0],x=c[1][1],O=S+T,v=O+5,f="top"):n==="rightBottom"?(S=c[2][0],x=c[2][1],O=S+T,v=O+5,f="bottom"):n==="leftTop"?(S=c[0][0],x=c[1][1],O=S-T,v=O-5,f="right"):n==="leftBottom"?(S=c[3][0],x=c[2][1],O=S-T,v=O-5,f="right"):(S=(c[1][0]+c[2][0])/2,x=(c[1][1]+c[2][1])/2,O=S+T,v=O+5,f="left");var w=x;L=[[S,x],[O,w]],y=w}t.label={linePoints:L,x:v,y,verticalAlign:"middle",textAlign:f,inside:o}})}function i(r,a,s){r.eachSeriesByType("funnel",function(l){var n=l.getData(),u=n.mapDimension("value"),t=l.get("sort"),c=A(l,a),o=b(n,t),f=[g(l.get("minSize"),c.width),g(l.get("maxSize"),c.width)],v=n.getDataExtent(u),y=l.get("min"),L=l.get("max");y==null&&(y=Math.min(v[0],0)),L==null&&(L=v[1]);var S=l.get("funnelAlign"),x=l.get("gap"),O=(c.height-x*(n.count()-1))/n.count(),T=c.y,w=function(j,P){var K=n.get(u,j)||0,H=p(K,[y,L],f,!0),k;switch(S){case"left":k=c.x;break;case"center":k=c.x+(c.width-H)/2;break;case"right":k=c.x+c.width-H;break}return[[k,P],[k+H,P]]};t==="ascending"&&(O=-O,x=-x,T+=c.height,o=o.reverse());for(var C=0;C<o.length;C++){var N=o[C],D=o[C+1],B=n.getItemModel(N),R=B.get("itemStyle.height");R==null?R=O:(R=g(R,c.height),t==="ascending"&&(R=-R));var U=w(N,T),M=w(D,T+R);T+=R+x,n.setItemLayout(N,{points:U.concat(M.slice().reverse())})}h(n)})}J.exports=i},JSQU:function(J,F,e){var d=e("YESw"),E="__lodash_hash_undefined__";function g(p,A){var b=this.__data__;return this.size+=this.has(p)?0:1,b[p]=d&&A===void 0?E:A,this}J.exports=g},JTzB:function(J,F,e){var d=e("NykK"),E=e("ExA7"),g="[object Arguments]";function p(A){return E(A)&&d(A)==g}J.exports=p},JVwQ:function(J,F,e){var d=e("ProS"),E=e("1NG9"),g=E.Polygon,p=e("IwbS"),A=e("bYtY"),b=A.bind,h=A.extend,i=e("gPAo"),r=d.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(s,l,n){var u=s.getData(),t=this.group,c=s.getLayerSeries(),o=u.getLayout("layoutInfo"),f=o.rect,v=o.boundaryGap;t.attr("position",[0,f.y+v[0]]);function y(O){return O.name}var L=new i(this._layersSeries||[],c,y,y),S={};L.add(b(x,this,"add")).update(b(x,this,"update")).remove(b(x,this,"remove")).execute();function x(O,T,w){var C=this._layers;if(O==="remove"){t.remove(C[T]);return}for(var N=[],D=[],B,R=c[T].indices,U=0;U<R.length;U++){var M=u.getItemLayout(R[U]),j=M.x,P=M.y0,K=M.y;N.push([j,P]),D.push([j,P+K]),B=u.getItemVisual(R[U],"color")}var H,k,Z=u.getItemLayout(R[0]),Y=u.getItemModel(R[U-1]),_=Y.getModel("label"),Q=_.get("margin");if(O==="add"){var X=S[T]=new p.Group;H=new g({shape:{points:N,stackedOnPoints:D,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),k=new p.Text({style:{x:Z.x-Q,y:Z.y0+Z.y/2}}),X.add(H),X.add(k),t.add(X),H.setClipPath(a(H.getBoundingRect(),s,function(){H.removeClipPath()}))}else{var X=C[w];H=X.childAt(0),k=X.childAt(1),t.add(X),S[T]=X,p.updateProps(H,{shape:{points:N,stackedOnPoints:D}},s),p.updateProps(k,{style:{x:Z.x-Q,y:Z.y0+Z.y/2}},s)}var he=Y.getModel("emphasis.itemStyle"),te=Y.getModel("itemStyle");p.setTextStyle(k.style,_,{text:_.get("show")?s.getFormattedLabel(R[U-1],"normal")||u.getName(R[U-1]):null,textVerticalAlign:"middle"}),H.setStyle(h({fill:B},te.getItemStyle(["color"]))),p.setHoverStyle(H,he.getItemStyle())}this._layersSeries=c,this._layers=S},dispose:function(){}});function a(s,l,n){var u=new p.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return p.initProps(u,{shape:{width:s.width+20,height:s.height+20}},l,n),u}J.exports=r},JgUQ:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},JsLm:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e("i8i4"),o=e("TSYQ"),f=e.n(o),v=e("zT1h"),y=e("cDf5"),L=e.n(y),S=e("BGR+"),x=e("t23M"),O=e("H84U"),T=e("PEeC");function w(qe){return qe!==window?qe.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function C(qe,xt,Fe){return Fe!==void 0&&xt.top>qe.top-Fe?Fe+xt.top:void 0}function N(qe,xt,Fe){if(Fe!==void 0&&xt.bottom<qe.bottom+Fe){var Be=window.innerHeight-xt.bottom;return Fe+Be}return}var D=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],B=[];function R(){return B}function U(qe,xt){if(!qe)return;var Fe=B.find(function(Be){return Be.target===qe});Fe?Fe.affixList.push(xt):(Fe={target:qe,affixList:[xt],eventHandlers:{}},B.push(Fe),D.forEach(function(Be){Fe.eventHandlers[Be]=Object(v.a)(qe,Be,function(){Fe.affixList.forEach(function(bt){bt.lazyUpdatePosition()})})}))}function M(qe){var xt=B.find(function(Fe){var Be=Fe.affixList.some(function(bt){return bt===qe});return Be&&(Fe.affixList=Fe.affixList.filter(function(bt){return bt!==qe})),Be});xt&&xt.affixList.length===0&&(B=B.filter(function(Fe){return Fe!==xt}),D.forEach(function(Fe){var Be=xt.eventHandlers[Fe];Be&&Be.remove&&Be.remove()}))}var j=function(qe,xt,Fe,Be){var bt=arguments.length,lt=bt<3?xt:Be===null?Be=Object.getOwnPropertyDescriptor(xt,Fe):Be,tt;if((typeof Reflect=="undefined"?"undefined":L()(Reflect))==="object"&&typeof Reflect.decorate=="function")lt=Reflect.decorate(qe,xt,Fe,Be);else for(var St=qe.length-1;St>=0;St--)(tt=qe[St])&&(lt=(bt<3?tt(lt):bt>3?tt(xt,Fe,lt):tt(xt,Fe))||lt);return bt>3&<&&Object.defineProperty(xt,Fe,lt),lt};function P(){return typeof window!="undefined"?window:null}var K;(function(qe){qe[qe.None=0]="None",qe[qe.Prepare=1]="Prepare"})(K||(K={}));var H=function(qe){l()(Fe,qe);var xt=u()(Fe);function Fe(){var Be;return b()(this,Fe),Be=xt.apply(this,arguments),Be.state={status:K.None,lastAffix:!1,prevTarget:null},Be.getOffsetTop=function(){var bt=Be.props.offsetBottom,lt=Be.props.offsetTop;return bt===void 0&<===void 0&&(lt=0),lt},Be.getOffsetBottom=function(){return Be.props.offsetBottom},Be.savePlaceholderNode=function(bt){Be.placeholderNode=bt},Be.saveFixedNode=function(bt){Be.fixedNode=bt},Be.measure=function(){var bt=Be.state,lt=bt.status,tt=bt.lastAffix,St=Be.props.onChange,ht=Be.getTargetFunc();if(lt!==K.Prepare||!Be.fixedNode||!Be.placeholderNode||!ht)return;var vt=Be.getOffsetTop(),Ge=Be.getOffsetBottom(),At=ht();if(!At)return;var _e={status:K.None},De=w(At),Ie=w(Be.placeholderNode),st=C(Ie,De,vt),Et=N(Ie,De,Ge);st!==void 0?(_e.affixStyle={position:"fixed",top:st,width:Ie.width,height:Ie.height},_e.placeholderStyle={width:Ie.width,height:Ie.height}):Et!==void 0&&(_e.affixStyle={position:"fixed",bottom:Et,width:Ie.width,height:Ie.height},_e.placeholderStyle={width:Ie.width,height:Ie.height}),_e.lastAffix=!!_e.affixStyle,St&&tt!==_e.lastAffix&&St(_e.lastAffix),Be.setState(_e)},Be.prepareMeasure=function(){if(Be.setState({status:K.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var bt},Be.render=function(){var bt=Be.context.getPrefixCls,lt=Be.state,tt=lt.affixStyle,St=lt.placeholderStyle,ht=Be.props,vt=ht.prefixCls,Ge=ht.children,At=f()(p()({},bt("affix",vt),tt)),_e=Object(S.default)(Be.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(x.a,{onResize:function(){Be.updatePosition()}},t.createElement("div",E()({},_e,{ref:Be.savePlaceholderNode}),tt&&t.createElement("div",{style:St,"aria-hidden":"true"}),t.createElement("div",{className:At,ref:Be.saveFixedNode,style:tt},t.createElement(x.a,{onResize:function(){Be.updatePosition()}},Ge))))},Be}return i()(Fe,[{key:"getTargetFunc",value:function(){var bt=this.context.getTargetContainer,lt=this.props.target;return lt!==void 0?lt:bt||P}},{key:"componentDidMount",value:function(){var bt=this,lt=this.getTargetFunc();lt&&(this.timeout=setTimeout(function(){U(lt(),bt),bt.updatePosition()}))}},{key:"componentDidUpdate",value:function(bt){var lt=this.state.prevTarget,tt=this.getTargetFunc(),St=null;tt&&(St=tt()||null),lt!==St&&(M(this),St&&(U(St,this),this.updatePosition()),this.setState({prevTarget:St})),(bt.offsetTop!==this.props.offsetTop||bt.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),M(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var bt=this.getTargetFunc(),lt=this.state.affixStyle;if(bt&<){var tt=this.getOffsetTop(),St=this.getOffsetBottom(),ht=bt();if(ht&&this.placeholderNode){var vt=w(ht),Ge=w(this.placeholderNode),At=C(Ge,vt,tt),_e=N(Ge,vt,St);if(At!==void 0&<.top===At||_e!==void 0&<.bottom===_e)return}}this.prepareMeasure()}}]),Fe}(t.Component);H.contextType=O.b,j([Object(T.b)()],H.prototype,"updatePosition",null),j([Object(T.b)()],H.prototype,"lazyUpdatePosition",null);var k=H,Z=e("zAh6"),Y=e("i6bk"),_=t.createContext(null),Q=_;function X(){return window}function he(qe,xt){if(!qe.getClientRects().length)return 0;var Fe=qe.getBoundingClientRect();return Fe.width||Fe.height?xt===window?(xt=qe.ownerDocument.documentElement,Fe.top-xt.clientTop):Fe.top-xt.getBoundingClientRect().top:Fe.top}var te=/#(\S+)$/,fe=function(qe){l()(Fe,qe);var xt=u()(Fe);function Fe(){var Be;return b()(this,Fe),Be=xt.apply(this,arguments),Be.state={activeLink:null},Be.links=[],Be.registerLink=function(bt){Be.links.includes(bt)||Be.links.push(bt)},Be.unregisterLink=function(bt){var lt=Be.links.indexOf(bt);lt!==-1&&Be.links.splice(lt,1)},Be.getContainer=function(){var bt=Be.context.getTargetContainer,lt=Be.props.getContainer,tt=lt||bt||X;return tt()},Be.handleScrollTo=function(bt){var lt=Be.props,tt=lt.offsetTop,St=lt.targetOffset;Be.setCurrentActiveLink(bt);var ht=Be.getContainer(),vt=Object(Y.a)(ht,!0),Ge=te.exec(bt);if(!Ge)return;var At=document.getElementById(Ge[1]);if(!At)return;var _e=he(At,ht),De=vt+_e;De-=St!==void 0?St:tt||0,Be.animating=!0,Object(Z.a)(De,{callback:function(){Be.animating=!1},getContainer:Be.getContainer})},Be.saveInkNode=function(bt){Be.inkNode=bt},Be.setCurrentActiveLink=function(bt){var lt=Be.state.activeLink,tt=Be.props.onChange;lt!==bt&&(Be.setState({activeLink:bt}),tt&&tt(bt))},Be.handleScroll=function(){if(Be.animating)return;var bt=Be.props,lt=bt.offsetTop,tt=bt.bounds,St=bt.targetOffset,ht=Be.getCurrentAnchor(St!==void 0?St:lt||0,tt);Be.setCurrentActiveLink(ht)},Be.updateInk=function(){var bt=a()(Be),lt=bt.prefixCls,tt=c.findDOMNode(a()(Be)),St=tt.getElementsByClassName("".concat(lt,"-link-title-active"))[0];St&&(Be.inkNode.style.top="".concat(St.offsetTop+St.clientHeight/2-4.5,"px"))},Be.render=function(){var bt=Be.context,lt=bt.getPrefixCls,tt=bt.direction,St=Be.props,ht=St.prefixCls,vt=St.className,Ge=vt===void 0?"":vt,At=St.style,_e=St.offsetTop,De=St.affix,Ie=St.showInkInFixed,st=St.children,Et=Be.state.activeLink,Mt=lt("anchor",ht);Be.prefixCls=Mt;var Pt=f()("".concat(Mt,"-ink-ball"),{visible:Et}),ke=f()(Ge,"".concat(Mt,"-wrapper"),p()({},"".concat(Mt,"-rtl"),tt==="rtl")),zt=f()(Mt,{fixed:!De&&!Ie}),Ot=E()({maxHeight:_e?"calc(100vh - ".concat(_e,"px)"):"100vh"},At),_t=t.createElement("div",{className:ke,style:Ot},t.createElement("div",{className:zt},t.createElement("div",{className:"".concat(Mt,"-ink")},t.createElement("span",{className:Pt,ref:Be.saveInkNode})),st));return t.createElement(Q.Provider,{value:{registerLink:Be.registerLink,unregisterLink:Be.unregisterLink,activeLink:Be.state.activeLink,scrollTo:Be.handleScrollTo,onClick:Be.props.onClick}},De?t.createElement(k,{offsetTop:_e,target:Be.getContainer},_t):_t)},Be}return i()(Fe,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(v.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var bt=this.getContainer();this.scrollContainer!==bt&&(this.scrollContainer=bt,this.scrollEvent.remove(),this.scrollEvent=Object(v.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,tt=this.props.getCurrentAnchor;if(typeof tt=="function")return tt();var St=[],ht=this.getContainer();if(this.links.forEach(function(Ge){var At=te.exec(Ge.toString());if(!At)return;var _e=document.getElementById(At[1]);if(_e){var De=he(_e,ht);De<bt+lt&&St.push({link:Ge,top:De})}}),St.length){var vt=St.reduce(function(Ge,At){return At.top>Ge.top?At:Ge});return vt.link}return""}}]),Fe}(t.Component);fe.defaultProps={affix:!0,showInkInFixed:!1},fe.contextType=O.b;var be=function(qe){l()(Fe,qe);var xt=u()(Fe);function Fe(){var Be;return b()(this,Fe),Be=xt.apply(this,arguments),Be.handleClick=function(bt){var lt=Be.context,tt=lt.scrollTo,St=lt.onClick,ht=Be.props,vt=ht.href,Ge=ht.title;St&&St(bt,{title:Ge,href:vt}),tt(vt)},Be.renderAnchorLink=function(bt){var lt=bt.getPrefixCls,tt=Be.props,St=tt.prefixCls,ht=tt.href,vt=tt.title,Ge=tt.children,At=tt.className,_e=tt.target,De=lt("anchor",St),Ie=Be.context.activeLink===ht,st=f()(At,"".concat(De,"-link"),p()({},"".concat(De,"-link-active"),Ie)),Et=f()("".concat(De,"-link-title"),p()({},"".concat(De,"-link-title-active"),Ie));return t.createElement("div",{className:st},t.createElement("a",{className:Et,href:ht,title:typeof vt=="string"?vt:"",target:_e,onClick:Be.handleClick},vt),Ge)},Be}return i()(Fe,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(bt){var lt=bt.href,tt=this.props.href;lt!==tt&&(this.context.unregisterLink(lt),this.context.registerLink(tt))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(O.a,null,this.renderAnchorLink)}}]),Fe}(t.Component);be.defaultProps={href:"#"},be.contextType=Q;var we=be;fe.Link=we;var Ke=F.a=fe},JuEJ:function(J,F,e){var d=e("bYtY"),E=e("4NO4"),g=d.each,p=d.isObject,A=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function b(t){var c=t&&t.itemStyle;if(!c)return;for(var o=0,f=A.length;o<f;o++){var v=A[o],y=c.normal,L=c.emphasis;y&&y[v]&&(t[v]=t[v]||{},t[v].normal?d.merge(t[v].normal,y[v]):t[v].normal=y[v],y[v]=null),L&&L[v]&&(t[v]=t[v]||{},t[v].emphasis?d.merge(t[v].emphasis,L[v]):t[v].emphasis=L[v],L[v]=null)}}function h(t,c,o){if(t&&t[c]&&(t[c].normal||t[c].emphasis)){var f=t[c].normal,v=t[c].emphasis;f&&(o?(t[c].normal=t[c].emphasis=null,d.defaults(t[c],f)):t[c]=f),v&&(t.emphasis=t.emphasis||{},t.emphasis[c]=v)}}function i(t){h(t,"itemStyle"),h(t,"lineStyle"),h(t,"areaStyle"),h(t,"label"),h(t,"labelLine"),h(t,"upperLabel"),h(t,"edgeLabel")}function r(t,c){var o=p(t)&&t[c],f=p(o)&&o.textStyle;if(f)for(var v=0,y=E.TEXT_STYLE_OPTIONS.length;v<y;v++){var c=E.TEXT_STYLE_OPTIONS[v];f.hasOwnProperty(c)&&(o[c]=f[c])}}function a(t){t&&(i(t),r(t,"label"),t.emphasis&&r(t.emphasis,"label"))}function s(t){if(!p(t))return;b(t),i(t),r(t,"label"),r(t,"upperLabel"),r(t,"edgeLabel"),t.emphasis&&(r(t.emphasis,"label"),r(t.emphasis,"upperLabel"),r(t.emphasis,"edgeLabel"));var c=t.markPoint;c&&(b(c),a(c));var o=t.markLine;o&&(b(o),a(o));var f=t.markArea;f&&a(f);var v=t.data;if(t.type==="graph"){v=v||t.nodes;var y=t.links||t.edges;if(y&&!d.isTypedArray(y))for(var L=0;L<y.length;L++)a(y[L]);d.each(t.categories,function(O){i(O)})}if(v&&!d.isTypedArray(v))for(var L=0;L<v.length;L++)a(v[L]);var c=t.markPoint;if(c&&c.data)for(var S=c.data,L=0;L<S.length;L++)a(S[L]);var o=t.markLine;if(o&&o.data)for(var x=o.data,L=0;L<x.length;L++)d.isArray(x[L])?(a(x[L][0]),a(x[L][1])):a(x[L]);t.type==="gauge"?(r(t,"axisLabel"),r(t,"title"),r(t,"detail")):t.type==="treemap"?(h(t.breadcrumb,"itemStyle"),d.each(t.levels,function(O){i(O)})):t.type==="tree"&&i(t.leaves)}function l(t){return d.isArray(t)?t:t?[t]:[]}function n(t){return(d.isArray(t)?t[0]:t)||{}}function u(t,c){g(l(t.series),function(f){p(f)&&s(f)});var o=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];c&&o.push("valueAxis","categoryAxis","logAxis","timeAxis"),g(o,function(f){g(l(t[f]),function(v){v&&(r(v,"axisLabel"),r(v.axisPointer,"label"))})}),g(l(t.parallel),function(f){var v=f&&f.parallelAxisDefault;r(v,"axisLabel"),r(v&&v.axisPointer,"label")}),g(l(t.calendar),function(f){h(f,"itemStyle"),r(f,"dayLabel"),r(f,"monthLabel"),r(f,"yearLabel")}),g(l(t.radar),function(f){r(f,"name")}),g(l(t.geo),function(f){p(f)&&(a(f),g(l(f.regions),function(v){a(v)}))}),g(l(t.timeline),function(f){a(f),h(f,"label"),h(f,"itemStyle"),h(f,"controlStyle",!0);var v=f.data;d.isArray(v)&&d.each(v,function(y){d.isObject(y)&&(h(y,"label"),h(y,"itemStyle"))})}),g(l(t.toolbox),function(f){h(f,"iconStyle"),g(f.feature,function(v){h(v,"iconStyle")})}),r(n(t.axisPointer),"label"),r(n(t.tooltip).axisPointer,"label")}J.exports=u},K2GJ:function(J,F,e){var d=e("fW2E"),E=e("gut8"),g=E.ContextCachedBy,p=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],A=function(n){this.extendFrom(n,!1)};function b(l,n,u){var t=n.x==null?0:n.x,c=n.x2==null?1:n.x2,o=n.y==null?0:n.y,f=n.y2==null?0:n.y2;n.global||(t=t*u.width+u.x,c=c*u.width+u.x,o=o*u.height+u.y,f=f*u.height+u.y),t=isNaN(t)?0:t,c=isNaN(c)?1:c,o=isNaN(o)?0:o,f=isNaN(f)?0:f;var v=l.createLinearGradient(t,o,c,f);return v}function h(l,n,u){var t=u.width,c=u.height,o=Math.min(t,c),f=n.x==null?.5:n.x,v=n.y==null?.5:n.y,y=n.r==null?.5:n.r;n.global||(f=f*t+u.x,v=v*c+u.y,y=y*o);var L=l.createRadialGradient(f,v,0,f,v,y);return L}A.prototype={constructor:A,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,u,t){var c=this,o=t&&t.style,f=!o||n.__attrCachedBy!==g.STYLE_BIND;n.__attrCachedBy=g.STYLE_BIND;for(var v=0;v<p.length;v++){var y=p[v],L=y[0];(f||c[L]!==o[L])&&(n[L]=d(n,L,c[L]||y[1]))}if((f||c.fill!==o.fill)&&(n.fillStyle=c.fill),(f||c.stroke!==o.stroke)&&(n.strokeStyle=c.stroke),(f||c.opacity!==o.opacity)&&(n.globalAlpha=c.opacity==null?1:c.opacity),(f||c.blend!==o.blend)&&(n.globalCompositeOperation=c.blend||"source-over"),this.hasStroke()){var S=c.lineWidth;n.lineWidth=S/(this.strokeNoScale&&u&&u.getLineScale?u.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,u){if(n)for(var t in n)n.hasOwnProperty(t)&&(u===!0||(u===!1?!this.hasOwnProperty(t):n[t]!=null))&&(this[t]=n[t])},set:function(n,u){typeof n=="string"?this[n]=u:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,u,t){for(var c=u.type==="radial"?h:b,o=c(n,u,t),f=u.colorStops,v=0;v<f.length;v++)o.addColorStop(f[v].offset,f[v].color);return o}};for(var i=A.prototype,r=0;r<p.length;r++){var a=p[r];a[0]in i||(i[a[0]]=a[1])}A.getGradient=i.getGradient;var s=A;J.exports=s},K4ya:function(J,F,e){var d=e("bYtY"),E=e("XxSj"),g=d.each;function p(r){if(r){for(var a in r)if(r.hasOwnProperty(a))return!0}}function A(r,a,s){var l={};return g(a,function(u){var t=l[u]=n();g(r[u],function(c,o){if(!E.isValidType(o))return;var f={type:o,visual:c};s&&s(f,u),t[o]=new E(f),o==="opacity"&&(f=d.clone(f),f.type="colorAlpha",t.__hidden.__alphaForOpacity=new E(f))})}),l;function n(){var u=function(){};u.prototype.__hidden=u.prototype;var t=new u;return t}}function b(r,a,s){var l;d.each(s,function(n){a.hasOwnProperty(n)&&p(a[n])&&(l=!0)}),l&&d.each(s,function(n){a.hasOwnProperty(n)&&p(a[n])?r[n]=d.clone(a[n]):delete r[n]})}function h(r,a,s,l,n,u){var t={};d.each(r,function(y){var L=E.prepareVisualTypes(a[y]);t[y]=L});var c;function o(y){return s.getItemVisual(c,y)}function f(y,L){s.setItemVisual(c,y,L)}u==null?s.each(v):s.each([u],v);function v(y,L){c=u==null?y:L;var S=s.getRawDataItem(c);if(S&&S.visualMap===!1)return;for(var x=l.call(n,y),O=a[x],T=t[x],w=0,C=T.length;w<C;w++){var N=T[w];O[N]&&O[N].applyVisual(y,o,f)}}}function i(r,a,s,l){var n={};d.each(r,function(t){var c=E.prepareVisualTypes(a[t]);n[t]=c});function u(t,c){l!=null&&(l=c.getDimension(l));function o(N){return c.getItemVisual(v,N)}function f(N,D){c.setItemVisual(v,N,D)}for(var v;(v=t.next())!=null;){var y=c.getRawDataItem(v);if(y&&y.visualMap===!1)continue;for(var L=l!=null?c.get(l,v,!0):v,S=s(L),x=a[S],O=n[S],T=0,w=O.length;T<w;T++){var C=O[T];x[C]&&x[C].applyVisual(L,o,f)}}}return{progress:u}}F.createVisualMappings=A,F.replaceVisualOption=b,F.applyVisual=h,F.incrementalApplyVisual=i},KCY9:function(J,F,e){},KCsZ:function(J,F,e){var d=e("bYtY");function E(g){for(var p=0;p<g.length;p++)g[p][1]||(g[p][1]=g[p][0]);return function(A,b,h){for(var i={},r=0;r<g.length;r++){var a=g[r][1];if(b&&d.indexOf(b,a)>=0||h&&d.indexOf(h,a)<0)continue;var s=A.getShallow(a);s!=null&&(i[g[r][0]]=s)}return i}}J.exports=E},KMkd:function(J,F){function e(){this.__data__=[],this.size=0}J.exports=e},KPFz:function(J,F,e){},KQeH:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},KS52:function(J,F,e){var d=e("OELB"),E=d.parsePercent,g=d.linearMap,p=e("+TT/"),A=e("u3DP"),b=e("bYtY"),h=Math.PI*2,i=Math.PI/180;function r(s,l){return p.getLayoutRect(s.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()})}function a(s,l,n,u){l.eachSeriesByType(s,function(t){var c=t.getData(),o=c.mapDimension("value"),f=r(t,n),v=t.get("center"),y=t.get("radius");b.isArray(y)||(y=[0,y]),b.isArray(v)||(v=[v,v]);var L=E(f.width,n.getWidth()),S=E(f.height,n.getHeight()),x=Math.min(L,S),O=E(v[0],L)+f.x,T=E(v[1],S)+f.y,w=E(y[0],x/2),C=E(y[1],x/2),N=-t.get("startAngle")*i,D=t.get("minAngle")*i,B=0;c.each(o,function(Q){!isNaN(Q)&&B++});var R=c.getSum(o),U=Math.PI/(R||B)*2,M=t.get("clockwise"),j=t.get("roseType"),P=t.get("stillShowZeroSum"),K=c.getDataExtent(o);K[0]=0;var H=h,k=0,Z=N,Y=M?1:-1;if(c.each(o,function(Q,X){var he;if(isNaN(Q)){c.setItemLayout(X,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:O,cy:T,r0:w,r:j?NaN:C,viewRect:f});return}j!=="area"?he=R===0&&P?U:Q*U:he=h/B,he<D?(he=D,H-=D):k+=Q;var te=Z+Y*he;c.setItemLayout(X,{angle:he,startAngle:Z,endAngle:te,clockwise:M,cx:O,cy:T,r0:w,r:j?g(Q,K,[w,C]):C,viewRect:f}),Z=te}),H<h&&B)if(H<=.001){var _=h/B;c.each(o,function(Q,X){if(!isNaN(Q)){var he=c.getItemLayout(X);he.angle=_,he.startAngle=N+Y*X*_,he.endAngle=N+Y*(X+1)*_}})}else U=H/k,Z=N,c.each(o,function(Q,X){if(!isNaN(Q)){var he=c.getItemLayout(X),te=he.angle===D?D:Q*U;he.startAngle=Z,he.endAngle=Z+Y*te,Z+=Y*te}});A(t,C,f.width,f.height,f.x,f.y)})}J.exports=a},KUOm:function(J,F){function e(d){var E={};d.eachSeriesByType("graph",function(g){var p=g.getCategoriesData(),A=g.getData(),b={};p.each(function(h){var i=p.getName(h);b["ec-"+i]=h;var r=p.getItemModel(h),a=r.get("itemStyle.color")||g.getColorFromPalette(i,E);p.setItemVisual(h,"color",a);for(var s=["opacity","symbol","symbolSize","symbolKeepAspect"],l=0;l<s.length;l++){var n=r.getShallow(s[l],!0);n!=null&&p.setItemVisual(h,s[l],n)}}),p.count()&&A.each(function(h){var i=A.getItemModel(h),r=i.getShallow("category");if(r!=null){typeof r=="string"&&(r=b["ec-"+r]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)A.getItemVisual(h,a[s],!0)==null&&A.setItemVisual(h,a[s],p.getItemVisual(r,a[s]))}})})}J.exports=e},Kagy:function(J,F){var e={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};J.exports=e},KamJ:function(J,F,e){var d=e("ProS"),E=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),d.registerPreprocessor(E)},KmBX:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("CP8R")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FilterFilled";var h=g.forwardRef(b);F.default=h},"KpQ+":function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("E/ki")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="ClockCircleOutlined";var h=g.forwardRef(b);F.default=h},KrTs:function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("cDf5"),p=e.n(g),A=e("pVnL"),b=e.n(A),h=e("q1tI"),i=e("UmKh"),r=e("TSYQ"),a=e.n(r),s=e("J4zp"),l=e.n(s),n=e("H84U"),u=e("0n0R"),t=function(C,N){var D={};for(var B in C)Object.prototype.hasOwnProperty.call(C,B)&&N.indexOf(B)<0&&(D[B]=C[B]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,B=Object.getOwnPropertySymbols(C);R<B.length;R++)N.indexOf(B[R])<0&&Object.prototype.propertyIsEnumerable.call(C,B[R])&&(D[B[R]]=C[B[R]]);return D};function c(C){return C?C.toString().split("").reverse().map(function(N){var D=Number(N);return isNaN(D)?N:D}):[]}function o(C,N){for(var D=[],B=0;B<30;B++)D.push(h.createElement("p",{key:B.toString(),className:a()(N,{current:C===B})},B%10));return D}var f=function(N){var D=N.prefixCls,B=N.count,R=N.className,U=N.style,M=N.title,j=N.component,P=j===void 0?"sup":j,K=N.displayComponent,H=N.onAnimated,k=H===void 0?function(){}:H,Z=t(N,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),Y=h.useState(!0),_=l()(Y,2),Q=_[0],X=_[1],he=h.useState(B),te=l()(he,2),fe=te[0],be=te[1],we=h.useState(B),Ke=l()(we,2),qe=Ke[0],xt=Ke[1],Fe=h.useState(B),Be=l()(Fe,2),bt=Be[0],lt=Be[1],tt=h.useContext(n.b),St=tt.getPrefixCls,ht=St("scroll-number",D);qe!==B&&(X(!0),xt(B)),h.useEffect(function(){lt(fe);var De;return Q&&(De=setTimeout(function(){X(!1),be(B),k()})),function(){De&&clearTimeout(De)}},[Q,B,k]);var vt=function(Ie,st){var Et=Math.abs(Number(fe)),Mt=Math.abs(Number(bt)),Pt=Math.abs(c(fe)[st]),ke=Math.abs(c(Mt)[st]);return Q?10+Ie:Et>Mt?Pt>=ke?10+Ie:20+Ie:Pt<=ke?10+Ie:Ie},Ge=function(Ie,st){if(typeof Ie=="number"){var Et=vt(Ie,st),Mt=Q||c(bt)[st]===void 0;return h.createElement("span",{className:"".concat(ht,"-only"),style:{transition:Mt?"none":void 0,msTransform:"translateY(".concat(-Et*100,"%)"),WebkitTransform:"translateY(".concat(-Et*100,"%)"),transform:"translateY(".concat(-Et*100,"%)")},key:st},o(Et,"".concat(ht,"-only-unit")))}return h.createElement("span",{key:"symbol",className:"".concat(ht,"-symbol")},Ie)},At=function(){return fe&&Number(fe)%1===0?c(fe).map(function(Ie,st){return Ge(Ie,st)}).reverse():fe},_e=b()(b()({},Z),{style:U,className:a()(ht,R),title:M});return U&&U.borderColor&&(_e.style=b()(b()({},U),{boxShadow:"0 0 0 1px ".concat(U.borderColor," inset")})),K?Object(u.a)(K,{className:a()("".concat(ht,"-custom-component"),K.props&&K.props.className)}):h.createElement(P,_e,At())},v=f,y=e("09Wf");function L(C){return y.a.indexOf(C)!==-1}var S=function(N){var D,B=N.className,R=N.prefixCls,U=N.style,M=N.color,j=N.children,P=N.text,K=N.placement,H=K===void 0?"end":K,k=h.useContext(n.b),Z=k.getPrefixCls,Y=k.direction,_=Z("ribbon",R),Q=L(M),X=a()(_,B,"".concat(_,"-placement-").concat(H),(D={},E()(D,"".concat(_,"-rtl"),Y==="rtl"),E()(D,"".concat(_,"-color-").concat(M),Q),D)),he={},te={};return M&&!Q&&(he.background=M,te.color=M),h.createElement("div",{className:"".concat(_,"-wrapper")},j,h.createElement("div",{className:X,style:b()(b()({},he),U)},P,h.createElement("div",{className:"".concat(_,"-corner"),style:te})))},x=S,O=function(C,N){var D={};for(var B in C)Object.prototype.hasOwnProperty.call(C,B)&&N.indexOf(B)<0&&(D[B]=C[B]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,B=Object.getOwnPropertySymbols(C);R<B.length;R++)N.indexOf(B[R])<0&&Object.prototype.propertyIsEnumerable.call(C,B[R])&&(D[B[R]]=C[B[R]]);return D},T=function(N){var D,B,R=N.prefixCls,U=N.scrollNumberPrefixCls,M=N.children,j=N.status,P=N.text,K=N.color,H=N.count,k=H===void 0?null:H,Z=N.overflowCount,Y=Z===void 0?99:Z,_=N.dot,Q=_===void 0?!1:_,X=N.size,he=X===void 0?"default":X,te=N.title,fe=N.offset,be=N.style,we=N.className,Ke=N.showZero,qe=Ke===void 0?!1:Ke,xt=O(N,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),Fe=h.useContext(n.b),Be=Fe.getPrefixCls,bt=Fe.direction,lt=Be("badge",R),tt=function(){var Ve=k>Y?"".concat(Y,"+"):k;return Ve},St=function(){return!!j||!!K},ht=function(){var Ve=tt();return Ve==="0"||Ve===0},vt=function(){return Q&&!ht()||St()},Ge=function(){return vt()?"":tt()},At=function(){return te||(typeof k=="string"||typeof k=="number"?k:void 0)},_e=function(){return bt==="rtl"?fe?b()({left:parseInt(fe[0],10),marginTop:fe[1]},be):be:fe?b()({right:-parseInt(fe[0],10),marginTop:fe[1]},be):be},De=function(){var Ve=Ge(),Qe=Ve==null||Ve==="";return(Qe||ht()&&!qe)&&!vt()},Ie=function(){var Ve=De();return Ve||!P?null:h.createElement("span",{className:"".concat(lt,"-status-text")},P)},st=function(){var Ve=k;return!Ve||p()(Ve)!=="object"?void 0:Object(u.a)(Ve,{style:b()(b()({},_e()),Ve.props&&Ve.props.style)})},Et=function(){var Ve,Qe=Be("scroll-number",U),et=Ge(),dt=vt(),Ze=De(),oe=a()((Ve={},E()(Ve,"".concat(lt,"-dot"),dt),E()(Ve,"".concat(lt,"-count"),!dt),E()(Ve,"".concat(lt,"-count-sm"),he==="small"),E()(Ve,"".concat(lt,"-multiple-words"),!dt&&k&&k.toString&&k.toString().length>1),E()(Ve,"".concat(lt,"-status-").concat(j),!!j),E()(Ve,"".concat(lt,"-status-").concat(K),L(K)),Ve)),me=_e();return K&&!L(K)&&(me=me||{},me.background=K),Ze?null:h.createElement(v,{prefixCls:Qe,"data-show":!Ze,className:oe,count:et,displayComponent:st(),title:At(),style:me,key:"scrollNumber"})},Mt=a()((D={},E()(D,"".concat(lt,"-status-dot"),St()),E()(D,"".concat(lt,"-status-").concat(j),!!j),E()(D,"".concat(lt,"-status-").concat(K),L(K)),D)),Pt={};K&&!L(K)&&(Pt.background=K);var ke=a()(we,lt,(B={},E()(B,"".concat(lt,"-status"),St()),E()(B,"".concat(lt,"-not-a-wrapper"),!M),E()(B,"".concat(lt,"-rtl"),bt==="rtl"),B));if(!M&&St()){var zt=_e(),Ot=zt&&zt.color;return h.createElement("span",b()({},xt,{className:ke,style:zt}),h.createElement("span",{className:Mt,style:Pt}),h.createElement("span",{style:{color:Ot},className:"".concat(lt,"-status-text")},P))}return h.createElement("span",b()({},xt,{className:ke}),M,h.createElement(i.a,{component:"",showProp:"data-show",transitionName:M?"".concat(lt,"-zoom"):"",transitionAppear:!0},Et()),Ie())};T.Ribbon=x;var w=F.a=T},Kvyg:function(J,F,e){},KxBF:function(J,F){function e(d,E,g){var p=-1,A=d.length;E<0&&(E=-E>A?0:A+E),g=g>A?A:g,g<0&&(g+=A),A=E>g?0:g-E>>>0,E>>>=0;for(var b=Array(A);++p<A;)b[p]=d[p+E];return b}J.exports=e},KxFI:function(J,F,e){},KxfA:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=g.isTypedArray,A=g.extend,b=g.assert,h=g.each,i=g.isObject,r=e("4NO4"),a=r.getDataItemValue,s=r.isDataItemOption,l=e("OELB"),n=l.parseDate,u=e("7G+c"),t=e("k9D9"),c=t.SOURCE_FORMAT_TYPED_ARRAY,o=t.SOURCE_FORMAT_ARRAY_ROWS,f=t.SOURCE_FORMAT_ORIGINAL,v=t.SOURCE_FORMAT_OBJECT_ROWS;function y(M,j){u.isInstance(M)||(M=u.seriesDataToSource(M)),this._source=M;var P=this._data=M.data,K=M.sourceFormat;K===c&&(this._offset=0,this._dimSize=j,this._data=P);var H=S[K===o?K+"_"+M.seriesLayoutBy:K];A(this,H)}var L=y.prototype;L.pure=!1,L.persistent=!0,L.getSource=function(){return this._source};var S={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(M){return this._data[M+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var M=this._data[0];return M?Math.max(0,M.length-this._source.startIndex):0},getItem:function(M){M+=this._source.startIndex;for(var j=[],P=this._data,K=0;K<P.length;K++){var H=P[K];j.push(H?H[M]:null)}return j},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:x,getItem:O,appendData:T},keyedColumns:{pure:!0,count:function(){var M=this._source.dimensionsDefine[0].name,j=this._data[M];return j?j.length:0},getItem:function(M){for(var j=[],P=this._source.dimensionsDefine,K=0;K<P.length;K++){var H=this._data[P[K].name];j.push(H?H[M]:null)}return j},appendData:function(M){var j=this._data;h(M,function(P,K){for(var H=j[K]||(j[K]=[]),k=0;k<(P||[]).length;k++)H.push(P[k])})}},original:{count:x,getItem:O,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(M,j){M=M-this._offset,j=j||[];for(var P=this._dimSize*M,K=0;K<this._dimSize;K++)j[K]=this._data[P+K];return j},appendData:function(M){this._data=M},clean:function(){this._offset+=this.count(),this._data=null}}};function x(){return this._data.length}function O(M){return this._data[M]}function T(M){for(var j=0;j<M.length;j++)this._data.push(M[j])}var w={arrayRows:C,objectRows:function(M,j,P,K){return P!=null?M[K]:M},keyedColumns:C,original:function(M,j,P,K){var H=a(M);return P==null||!(H instanceof Array)?H:H[P]},typedArray:C};function C(M,j,P,K){return P!=null?M[P]:M}var N={arrayRows:D,objectRows:function(M,j,P,K){return B(M[j],this._dimensionInfos[j])},keyedColumns:D,original:function(M,j,P,K){var H=M&&(M.value==null?M:M.value);return!this._rawData.pure&&s(M)&&(this.hasItemOption=!0),B(H instanceof Array?H[K]:H,this._dimensionInfos[j])},typedArray:function(M,j,P,K){return M[K]}};function D(M,j,P,K){return B(M[K],this._dimensionInfos[j])}function B(M,j){var P=j&&j.type;if(P==="ordinal"){var K=j&&j.ordinalMeta;return K?K.parseAndCollect(M):M}return P==="time"&&typeof M!="number"&&M!=null&&M!=="-"&&(M=+n(M)),M==null||M===""?NaN:+M}function R(M,j,P){if(!M)return;var K=M.getRawDataItem(j);if(K==null)return;var H=M.getProvider().getSource().sourceFormat,k,Z,Y=M.getDimensionInfo(P);return Y&&(k=Y.name,Z=Y.index),w[H](K,j,Z,k)}function U(M,j,P){if(!M)return;var K=M.getProvider().getSource().sourceFormat;if(K!==f&&K!==v)return;var H=M.getRawDataItem(j);if(K===f&&!i(H)&&(H=null),H)return H[P]}F.DefaultDataProvider=y,F.defaultDimValueGetters=N,F.retrieveRawValue=R,F.retrieveRawAttr=U},L0Ub:function(J,F,e){var d=e("bYtY"),E=d.each,g=d.createHashMap,p=d.assert,A=e("Tghj"),b=A.__DEV__,h=g(["tooltip","label","itemName","itemId","seriesName"]);function i(l){var n={},u=n.encode={},t=g(),c=[],o=[],f=n.userOutput={dimensionNames:l.dimensions.slice(),encode:{}};E(l.dimensions,function(x){var O=l.getDimensionInfo(x),T=O.coordDim;if(T){var w=O.coordDimIndex;r(u,T)[w]=x,O.isExtraCoord||(t.set(T,1),s(O.type)&&(c[0]=x),r(f.encode,T)[w]=O.index),O.defaultTooltip&&o.push(x)}h.each(function(C,N){var D=r(u,N),B=O.otherDims[N];B!=null&&B!==!1&&(D[B]=O.name)})});var v=[],y={};t.each(function(x,O){var T=u[O];y[O]=T[0],v=v.concat(T)}),n.dataDimsOnCoord=v,n.encodeFirstDimNotExtra=y;var L=u.label;L&&L.length&&(c=L.slice());var S=u.tooltip;return S&&S.length?o=S.slice():o.length||(o=c.slice()),u.defaultedLabel=c,u.defaultedTooltip=o,n}function r(l,n){return l.hasOwnProperty(n)||(l[n]=[]),l[n]}function a(l){return l==="category"?"ordinal":l==="time"?"time":"float"}function s(l){return!(l==="ordinal"||l==="time")}F.OTHER_DIMENSIONS=h,F.summarizeDimensions=i,F.getDimensionTypeByAxis=a},L3Oj:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),d.registerLayout(E.curry(g,"bar")),d.extendComponentView({type:"polar"})},L5E0:function(J,F){var e=["itemStyle","borderColor"];function d(E,g){var p=E.get("color");E.eachRawSeriesByType("boxplot",function(A){var b=p[A.seriesIndex%p.length],h=A.getData();h.setVisual({legendSymbol:"roundRect",color:A.get(e)||b}),E.isSeriesFiltered(A)||h.each(function(i){var r=h.getItemModel(i);h.setItemVisual(i,{color:r.get(e,!0)})})})}J.exports=d},L8xA:function(J,F){function e(d){var E=this.__data__,g=E.delete(d);return this.size=E.size,g}J.exports=e},LBfv:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=E.createHashMap,p=E.each;d.registerProcessor({getTargetSeries:function(A){var b=g();return A.eachComponent("dataZoom",function(h){h.eachTargetAxis(function(i,r,a){var s=a.getAxisProxy(i.name,r);p(s.getTargetSeriesModels(),function(l){b.set(l.uid,l)})})}),b},modifyOutputEnd:!0,overallReset:function(A,b){A.eachComponent("dataZoom",function(h){h.eachTargetAxis(function(i,r,a){a.getAxisProxy(i.name,r).reset(a,b)}),h.eachTargetAxis(function(i,r,a){a.getAxisProxy(i.name,r).filterData(a,b)})}),A.eachComponent("dataZoom",function(h){var i=h.findRepresentativeAxisProxy(),r=i.getDataPercentWindow(),a=i.getDataValueWindow();h.setCalculatedRange({start:r[0],end:r[1],startValue:a[0],endValue:a[1]})})}})},LPTA:function(J,F){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var d=0,E=e;F.debugMode=d,F.devicePixelRatio=E},LPzL:function(J,F,e){var d=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),d.extendComponentView({type:"single"})},LSTS:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d=function(){function l(n,u){for(var t=0;t<u.length;t++){var c=u[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,u,t){return u&&l(n.prototype,u),t&&l(n,t),n}}(),E=e("q1tI"),g=b(E),p=e("17x9"),A=b(p);function b(l){return l&&l.__esModule?l:{default:l}}function h(l,n){var u={};for(var t in l){if(n.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(l,t))continue;u[t]=l[t]}return u}function i(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}function r(l,n){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:l}function a(l,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(l,n):l.__proto__=n)}var s=function(l){a(n,l);function n(u){i(this,n);var t=r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,u));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return d(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,c={get passive(){t=!0}};try{document.addEventListener("test",null,c),document.removeEventListener("test",null,c)}catch(o){}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 c=this.props.getScrollParent&&this.props.getScrollParent();return c!=null?c: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 c=window;this.props.useWindow===!1&&(c=t),c.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),c.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),c.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,c=window,o=this.getParentElement(t),f=void 0;if(this.props.useWindow){var v=document.documentElement||document.body.parentNode||document.body,y=c.pageYOffset!==void 0?c.pageYOffset:v.scrollTop;this.props.isReverse?f=y:f=this.calculateOffset(t,y)}else this.props.isReverse?f=o.scrollTop:f=t.scrollHeight-o.scrollTop-o.clientHeight;f<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=o.scrollHeight,this.beforeScrollTop=o.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,c){return t?this.calculateTopPosition(t)+(t.offsetHeight-c-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,c=this.filterProps(this.props),o=c.children,f=c.element,v=c.hasMore,y=c.initialLoad,L=c.isReverse,S=c.loader,x=c.loadMore,O=c.pageStart,T=c.ref,w=c.threshold,C=c.useCapture,N=c.useWindow,D=c.getScrollParent,B=h(c,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);B.ref=function(U){t.scrollComponent=U,T&&T(U)};var R=[o];return v&&(S?L?R.unshift(S):R.push(S):this.defaultLoader&&(L?R.unshift(this.defaultLoader):R.push(this.defaultLoader))),g.default.createElement(f,B,R)}}]),n}(E.Component);s.propTypes={children:A.default.node.isRequired,element:A.default.node,hasMore:A.default.bool,initialLoad:A.default.bool,isReverse:A.default.bool,loader:A.default.node,loadMore:A.default.func.isRequired,pageStart:A.default.number,ref:A.default.func,getScrollParent:A.default.func,threshold:A.default.number,useCapture:A.default.bool,useWindow:A.default.bool},s.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},F.default=s,J.exports=F.default},LXxW:function(J,F){function e(d,E){for(var g=-1,p=d==null?0:d.length,A=0,b=[];++g<p;){var h=d[g];E(h,g,d)&&(b[A++]=h)}return b}J.exports=e},Lerx:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("Mds0"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},Llu2:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="DeliveredProcedureOutlined";var b=F.a=d.forwardRef(A)},LtfV:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="InboxOutlined";var b=F.a=d.forwardRef(A)},Lyp1:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="QuestionCircleOutlined";var b=F.a=d.forwardRef(A)},LzGr:function(J,F,e){var d=e("ProS"),E=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),d.registerPreprocessor(E)},MBQ8:function(J,F,e){var d=e("T4UG"),E=e("MwEJ"),g=d.extend({type:"series.__base_bar__",getInitialData:function(p,A){return E(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(p){var A=this.coordinateSystem;if(A){var b=A.dataToPoint(A.clampData(p)),h=this.getData(),i=h.getLayout("offset"),r=h.getLayout("size"),a=A.getBaseAxis().isHorizontal()?0:1;return b[a]+=i+r/2,b}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:{}}});J.exports=g},MEGo:function(J,F,e){var d=e("4fz+"),E=e("Dagg"),g=e("dqUG"),p=e("2fw6"),A=e("x6Kt"),b=e("rmlV"),h=e("yxFR"),i=e("y+Vt"),r=e("h7HQ"),a=e("1Jh7"),s=e("SKnc"),l=e("K2GJ"),n=e("Fofx"),u=e("NC18"),t=u.createFromString,c=e("bYtY"),o=c.isString,f=c.extend,v=c.defaults,y=c.trim,L=c.each,S=/[\s,]+/;function x(Y){if(o(Y)){var _=new DOMParser;Y=_.parseFromString(Y,"text/xml")}for(Y.nodeType===9&&(Y=Y.firstChild);Y.nodeName.toLowerCase()!=="svg"||Y.nodeType!==1;)Y=Y.nextSibling;return Y}function O(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}O.prototype.parse=function(Y,_){_=_||{};var Q=x(Y);if(!Q)throw new Error("Illegal svg");var X=new d;this._root=X;var he=Q.getAttribute("viewBox")||"",te=parseFloat(Q.getAttribute("width")||_.width),fe=parseFloat(Q.getAttribute("height")||_.height);isNaN(te)&&(te=null),isNaN(fe)&&(fe=null),R(Q,X,null,!0);for(var be=Q.firstChild;be;)this._parseNode(be,X),be=be.nextSibling;var we,Ke;if(he){var qe=y(he).split(S);qe.length>=4&&(we={x:parseFloat(qe[0]||0),y:parseFloat(qe[1]||0),width:parseFloat(qe[2]),height:parseFloat(qe[3])})}if(we&&te!=null&&fe!=null&&(Ke=k(we,te,fe),!_.ignoreViewBox)){var xt=X;X=new d,X.add(xt),xt.scale=Ke.scale.slice(),xt.position=Ke.position.slice()}return!_.ignoreRootClip&&te!=null&&fe!=null&&X.setClipPath(new A({shape:{x:0,y:0,width:te,height:fe}})),{root:X,width:te,height:fe,viewBoxRect:we,viewBoxTransform:Ke}},O.prototype._parseNode=function(Y,_){var Q=Y.nodeName.toLowerCase();Q==="defs"?this._isDefine=!0:Q==="text"&&(this._isText=!0);var X;if(this._isDefine){var he=w[Q];if(he){var te=he.call(this,Y),fe=Y.getAttribute("id");fe&&(this._defs[fe]=te)}}else{var he=T[Q];he&&(X=he.call(this,Y,_),_.add(X))}for(var be=Y.firstChild;be;)be.nodeType===1&&this._parseNode(be,X),be.nodeType===3&&this._isText&&this._parseText(be,X),be=be.nextSibling;Q==="defs"?this._isDefine=!1:Q==="text"&&(this._isText=!1)},O.prototype._parseText=function(Y,_){if(Y.nodeType===1){var Q=Y.getAttribute("dx")||0,X=Y.getAttribute("dy")||0;this._textX+=parseFloat(Q),this._textY+=parseFloat(X)}var he=new g({style:{text:Y.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});N(_,he),R(Y,he,this._defs);var te=he.style.fontSize;te&&te<9&&(he.style.fontSize=9,he.scale=he.scale||[1,1],he.scale[0]*=te/9,he.scale[1]*=te/9);var fe=he.getBoundingRect();return this._textX+=fe.width,_.add(he),he};var T={g:function(_,Q){var X=new d;return N(Q,X),R(_,X,this._defs),X},rect:function(_,Q){var X=new A;return N(Q,X),R(_,X,this._defs),X.setShape({x:parseFloat(_.getAttribute("x")||0),y:parseFloat(_.getAttribute("y")||0),width:parseFloat(_.getAttribute("width")||0),height:parseFloat(_.getAttribute("height")||0)}),X},circle:function(_,Q){var X=new p;return N(Q,X),R(_,X,this._defs),X.setShape({cx:parseFloat(_.getAttribute("cx")||0),cy:parseFloat(_.getAttribute("cy")||0),r:parseFloat(_.getAttribute("r")||0)}),X},line:function(_,Q){var X=new h;return N(Q,X),R(_,X,this._defs),X.setShape({x1:parseFloat(_.getAttribute("x1")||0),y1:parseFloat(_.getAttribute("y1")||0),x2:parseFloat(_.getAttribute("x2")||0),y2:parseFloat(_.getAttribute("y2")||0)}),X},ellipse:function(_,Q){var X=new b;return N(Q,X),R(_,X,this._defs),X.setShape({cx:parseFloat(_.getAttribute("cx")||0),cy:parseFloat(_.getAttribute("cy")||0),rx:parseFloat(_.getAttribute("rx")||0),ry:parseFloat(_.getAttribute("ry")||0)}),X},polygon:function(_,Q){var X=_.getAttribute("points");X&&(X=D(X));var he=new r({shape:{points:X||[]}});return N(Q,he),R(_,he,this._defs),he},polyline:function(_,Q){var X=new i;N(Q,X),R(_,X,this._defs);var he=_.getAttribute("points");he&&(he=D(he));var te=new a({shape:{points:he||[]}});return te},image:function(_,Q){var X=new E;return N(Q,X),R(_,X,this._defs),X.setStyle({image:_.getAttribute("xlink:href"),x:_.getAttribute("x"),y:_.getAttribute("y"),width:_.getAttribute("width"),height:_.getAttribute("height")}),X},text:function(_,Q){var X=_.getAttribute("x")||0,he=_.getAttribute("y")||0,te=_.getAttribute("dx")||0,fe=_.getAttribute("dy")||0;this._textX=parseFloat(X)+parseFloat(te),this._textY=parseFloat(he)+parseFloat(fe);var be=new d;return N(Q,be),R(_,be,this._defs),be},tspan:function(_,Q){var X=_.getAttribute("x"),he=_.getAttribute("y");X!=null&&(this._textX=parseFloat(X)),he!=null&&(this._textY=parseFloat(he));var te=_.getAttribute("dx")||0,fe=_.getAttribute("dy")||0,be=new d;return N(Q,be),R(_,be,this._defs),this._textX+=te,this._textY+=fe,be},path:function(_,Q){var X=_.getAttribute("d")||"",he=t(X);return N(Q,he),R(_,he,this._defs),he}},w={lineargradient:function(_){var Q=parseInt(_.getAttribute("x1")||0,10),X=parseInt(_.getAttribute("y1")||0,10),he=parseInt(_.getAttribute("x2")||10,10),te=parseInt(_.getAttribute("y2")||0,10),fe=new s(Q,X,he,te);return C(_,fe),fe},radialgradient:function(_){}};function C(Y,_){for(var Q=Y.firstChild;Q;){if(Q.nodeType===1){var X=Q.getAttribute("offset");X.indexOf("%")>0?X=parseInt(X,10)/100:X?X=parseFloat(X):X=0;var he=Q.getAttribute("stop-color")||"#000000";_.addColorStop(X,he)}Q=Q.nextSibling}}function N(Y,_){Y&&Y.__inheritedStyle&&(_.__inheritedStyle||(_.__inheritedStyle={}),v(_.__inheritedStyle,Y.__inheritedStyle))}function D(Y){for(var _=y(Y).split(S),Q=[],X=0;X<_.length;X+=2){var he=parseFloat(_[X]),te=parseFloat(_[X+1]);Q.push([he,te])}return Q}var B={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 R(Y,_,Q,X){var he=_.__inheritedStyle||{},te=_.type==="text";if(Y.nodeType===1&&(P(Y,_),f(he,H(Y)),!X)){for(var fe in B)if(B.hasOwnProperty(fe)){var be=Y.getAttribute(fe);be!=null&&(he[B[fe]]=be)}}var we=te?"textFill":"fill",Ke=te?"textStroke":"stroke";_.style=_.style||new l;var qe=_.style;he.fill!=null&&qe.set(we,M(he.fill,Q)),he.stroke!=null&&qe.set(Ke,M(he.stroke,Q)),L(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(xt){var Fe=xt==="lineWidth"&&te?"textStrokeWidth":xt;he[xt]!=null&&qe.set(Fe,parseFloat(he[xt]))}),(!he.textBaseline||he.textBaseline==="auto")&&(he.textBaseline="alphabetic"),he.textBaseline==="alphabetic"&&(he.textBaseline="bottom"),he.textAlign==="start"&&(he.textAlign="left"),he.textAlign==="end"&&(he.textAlign="right"),L(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(xt){he[xt]!=null&&qe.set(xt,he[xt])}),he.lineDash&&(_.style.lineDash=y(he.lineDash).split(S)),qe[Ke]&&qe[Ke]!=="none"&&(_[Ke]=!0),_.__inheritedStyle=he}var U=/url\(\s*#(.*?)\)/;function M(Y,_){var Q=_&&Y&&Y.match(U);if(Q){var X=y(Q[1]),he=_[X];return he}return Y}var j=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function P(Y,_){var Q=Y.getAttribute("transform");if(Q){Q=Q.replace(/,/g," ");var X=null,he=[];Q.replace(j,function(we,Ke,qe){he.push(Ke,qe)});for(var te=he.length-1;te>0;te-=2){var fe=he[te],be=he[te-1];X=X||n.create();switch(be){case"translate":fe=y(fe).split(S),n.translate(X,X,[parseFloat(fe[0]),parseFloat(fe[1]||0)]);break;case"scale":fe=y(fe).split(S),n.scale(X,X,[parseFloat(fe[0]),parseFloat(fe[1]||fe[0])]);break;case"rotate":fe=y(fe).split(S),n.rotate(X,X,parseFloat(fe[0]));break;case"skew":fe=y(fe).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":var fe=y(fe).split(S);X[0]=parseFloat(fe[0]),X[1]=parseFloat(fe[1]),X[2]=parseFloat(fe[2]),X[3]=parseFloat(fe[3]),X[4]=parseFloat(fe[4]),X[5]=parseFloat(fe[5]);break}}_.setLocalTransform(X)}}var K=/([^\s:;]+)\s*:\s*([^:;]+)/g;function H(Y){var _=Y.getAttribute("style"),Q={};if(!_)return Q;var X={};K.lastIndex=0;for(var he;(he=K.exec(_))!=null;)X[he[1]]=he[2];for(var te in B)B.hasOwnProperty(te)&&X[te]!=null&&(Q[B[te]]=X[te]);return Q}function k(Y,_,Q){var X=_/Y.width,he=Q/Y.height,te=Math.min(X,he),fe=[te,te],be=[-(Y.x+Y.width/2)*te+_/2,-(Y.y+Y.height/2)*te+Q/2];return{scale:fe,position:be}}function Z(Y,_){var Q=new O;return Q.parse(Y,_)}F.parseXML=x,F.makeViewBoxTransform=k,F.parseSVG=Z},MFOe:function(J,F,e){(function(d){var E=b(),g=h(),p=i(),A=typeof window!="undefined"?window:d;J.exports={assign:E,create:g,trim:p,bind:r,slice:a,each:s,map:l,pluck:n,isList:u,isFunction:t,isObject:c,Global:A};function b(){return Object.assign?Object.assign:function(f,v,y,L){for(var S=1;S<arguments.length;S++)s(Object(arguments[S]),function(x,O){f[O]=x});return f}}function h(){if(Object.create)return function(v,y,L,S){var x=a(arguments,1);return E.apply(this,[Object.create(v)].concat(x))};var o=function(){};return function(v,y,L,S){var x=a(arguments,1);return o.prototype=v,E.apply(this,[new o].concat(x))}}function i(){return String.prototype.trim?function(f){return String.prototype.trim.call(f)}:function(f){return f.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function r(o,f){return function(){return f.apply(o,Array.prototype.slice.call(arguments,0))}}function a(o,f){return Array.prototype.slice.call(o,f||0)}function s(o,f){n(o,function(v,y){return f(v,y),!1})}function l(o,f){var v=u(o)?[]:{};return n(o,function(y,L){return v[L]=f(y,L),!1}),v}function n(o,f){if(u(o)){for(var v=0;v<o.length;v++)if(f(o[v],v))return o[v]}else for(var y in o)if(o.hasOwnProperty(y)&&f(o[y],y))return o[y]}function u(o){return o!=null&&typeof o!="function"&&typeof o.length=="number"}function t(o){return o&&{}.toString.call(o)==="[object Function]"}function c(o){return o&&{}.toString.call(o)==="[object Object]"}}).call(this,e("yLpj"))},MH26:function(J,F,e){var d=e("bYtY"),E=e("YXkt"),g=e("OELB"),p=e("kj2x"),A=e("c8qY"),b=e("iPDy"),h=e("7hqr"),i=h.getStackedDimension,r=function(c,o,f,v){var y=c.getData(),L=v.type;if(!d.isArray(v)&&(L==="min"||L==="max"||L==="average"||L==="median"||v.xAxis!=null||v.yAxis!=null)){var S,x;if(v.yAxis!=null||v.xAxis!=null)S=o.getAxis(v.yAxis!=null?"y":"x"),x=d.retrieve(v.yAxis,v.xAxis);else{var O=p.getAxisInfo(v,y,o,c);S=O.valueAxis;var T=i(y,O.valueDataDim);x=p.numCalculate(y,T,L)}var w=S.dim==="x"?0:1,C=1-w,N=d.clone(v),D={};N.type=null,N.coord=[],D.coord=[],N.coord[C]=-Infinity,D.coord[C]=Infinity;var B=f.get("precision");B>=0&&typeof x=="number"&&(x=+x.toFixed(Math.min(B,20))),N.coord[w]=D.coord[w]=x,v=[N,D,{type:L,valueIndex:v.valueIndex,value:x}]}return v=[p.dataTransform(c,v[0]),p.dataTransform(c,v[1]),d.extend({},v[2])],v[2].type=v[2].type||"",d.merge(v[2],v[0]),d.merge(v[2],v[1]),v};function a(c){return!isNaN(c)&&!isFinite(c)}function s(c,o,f,v){var y=1-c,L=v.dimensions[c];return a(o[y])&&a(f[y])&&o[c]===f[c]&&v.getAxis(L).containData(o[c])}function l(c,o){if(c.type==="cartesian2d"){var f=o[0].coord,v=o[1].coord;if(f&&v&&(s(1,f,v,c)||s(0,f,v,c)))return!0}return p.dataFilter(c,o[0])&&p.dataFilter(c,o[1])}function n(c,o,f,v,y){var L=v.coordinateSystem,S=c.getItemModel(o),x,O=g.parsePercent(S.get("x"),y.getWidth()),T=g.parsePercent(S.get("y"),y.getHeight());if(!isNaN(O)&&!isNaN(T))x=[O,T];else{if(v.getMarkerPosition)x=v.getMarkerPosition(c.getValues(c.dimensions,o));else{var w=L.dimensions,C=c.get(w[0],o),N=c.get(w[1],o);x=L.dataToPoint([C,N])}if(L.type==="cartesian2d"){var D=L.getAxis("x"),B=L.getAxis("y"),w=L.dimensions;a(c.get(w[0],o))?x[0]=D.toGlobalCoord(D.getExtent()[f?0:1]):a(c.get(w[1],o))&&(x[1]=B.toGlobalCoord(B.getExtent()[f?0:1]))}isNaN(O)||(x[0]=O),isNaN(T)||(x[1]=T)}c.setItemLayout(o,x)}var u=b.extend({type:"markLine",updateTransform:function(c,o,f){o.eachSeries(function(v){var y=v.markLineModel;if(y){var L=y.getData(),S=y.__from,x=y.__to;S.each(function(O){n(S,O,!0,v,f),n(x,O,!1,v,f)}),L.each(function(O){L.setItemLayout(O,[S.getItemLayout(O),x.getItemLayout(O)])}),this.markerGroupMap.get(v.id).updateLayout()}},this)},renderSeries:function(c,o,f,v){var y=c.coordinateSystem,L=c.id,S=c.getData(),x=this.markerGroupMap,O=x.get(L)||x.set(L,new A);this.group.add(O.group);var T=t(y,c,o),w=T.from,C=T.to,N=T.line;o.__from=w,o.__to=C,o.setData(N);var D=o.get("symbol"),B=o.get("symbolSize");d.isArray(D)||(D=[D,D]),typeof B=="number"&&(B=[B,B]),T.from.each(function(U){R(w,U,!0),R(C,U,!1)}),N.each(function(U){var M=N.getItemModel(U).get("lineStyle.color");N.setItemVisual(U,{color:M||w.getItemVisual(U,"color")}),N.setItemLayout(U,[w.getItemLayout(U),C.getItemLayout(U)]),N.setItemVisual(U,{fromSymbolSize:w.getItemVisual(U,"symbolSize"),fromSymbol:w.getItemVisual(U,"symbol"),toSymbolSize:C.getItemVisual(U,"symbolSize"),toSymbol:C.getItemVisual(U,"symbol")})}),O.updateData(N),T.line.eachItemGraphicEl(function(U,M){U.traverse(function(j){j.dataModel=o})});function R(U,M,j){var P=U.getItemModel(M);n(U,M,j,c,v),U.setItemVisual(M,{symbolSize:P.get("symbolSize")||B[j?0:1],symbol:P.get("symbol",!0)||D[j?0:1],color:P.get("itemStyle.color")||S.getVisual("color")})}O.__keep=!0,O.group.silent=o.get("silent")||c.get("silent")}});function t(c,o,f){var v;c?v=d.map(c&&c.dimensions,function(T){var w=o.getData().getDimensionInfo(o.getData().mapDimension(T))||{};return d.defaults({name:T},w)}):v=[{name:"value",type:"float"}];var y=new E(v,f),L=new E(v,f),S=new E([],f),x=d.map(f.get("data"),d.curry(r,o,c,f));c&&(x=d.filter(x,d.curry(l,c)));var O=c?p.dimValueGetter:function(T){return T.value};return y.initData(d.map(x,function(T){return T[0]}),null,O),L.initData(d.map(x,function(T){return T[1]}),null,O),S.initData(d.map(x,function(T){return T[2]})),S.hasItemOption=!0,{from:y,to:L,line:S}}J.exports=u},MHoB:function(J,F,e){var d=e("bYtY"),E=e("6uqw"),g=e("OELB"),p=[20,140],A=E.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(i,r){A.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(a){a.mappingMethod="linear",a.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){A.superApply(this,"resetItemSize",arguments);var i=this.itemSize;this._orient==="horizontal"&&i.reverse(),(i[0]==null||isNaN(i[0]))&&(i[0]=p[0]),(i[1]==null||isNaN(i[1]))&&(i[1]=p[1])},_resetRange:function(){var i=this.getExtent(),r=this.option.range;!r||r.auto?(i.auto=1,this.option.range=i):d.isArray(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],i[0]),r[1]=Math.min(r[1],i[1]))},completeVisualOption:function(){E.prototype.completeVisualOption.apply(this,arguments),d.each(this.stateList,function(i){var r=this.option.controller[i].symbolSize;r&&r[0]!==r[1]&&(r[0]=0)},this)},setSelected:function(i){this.option.range=i.slice(),this._resetRange()},getSelected:function(){var i=this.getExtent(),r=g.asc((this.get("range")||[]).slice());return r[0]>i[1]&&(r[0]=i[1]),r[1]>i[1]&&(r[1]=i[1]),r[0]<i[0]&&(r[0]=i[0]),r[1]<i[0]&&(r[1]=i[0]),r},getValueState:function(i){var r=this.option.range,a=this.getExtent();return(r[0]<=a[0]||r[0]<=i)&&(r[1]>=a[1]||i<=r[1])?"inRange":"outOfRange"},findTargetDataIndices:function(i){var r=[];return this.eachTargetSeries(function(a){var s=[],l=a.getData();l.each(this.getDataDimension(l),function(n,u){i[0]<=n&&n<=i[1]&&s.push(u)},this),r.push({seriesId:a.id,dataIndex:s})},this),r},getVisualMeta:function(i){var r=b(this,"outOfRange",this.getExtent()),a=b(this,"inRange",this.option.range.slice()),s=[];function l(v,y){s.push({value:v,color:i(v,y)})}for(var n=0,u=0,t=a.length,c=r.length;u<c&&(!a.length||r[u]<=a[0]);u++)r[u]<a[n]&&l(r[u],"outOfRange");for(var o=1;n<t;n++,o=0)o&&s.length&&l(a[n],"outOfRange"),l(a[n],"inRange");for(var o=1;u<c;u++)(!a.length||a[a.length-1]<r[u])&&(o&&(s.length&&l(s[s.length-1].value,"outOfRange"),o=0),l(r[u],"outOfRange"));var f=s.length;return{stops:s,outerColors:[f?s[0].color:"transparent",f?s[f-1].color:"transparent"]}}});function b(i,r,a){if(a[0]===a[1])return a.slice();for(var s=200,l=(a[1]-a[0])/s,n=a[0],u=[],t=0;t<=s&&n<a[1];t++)u.push(n),n+=l;return u.push(a[1]),u}var h=A;J.exports=h},MHtr:function(J,F,e){var d=e("bYtY");function E(p,A){var b=this.getAxis(),h=A instanceof Array?A[0]:A,i=(p instanceof Array?p[0]:p)/2;return b.type==="category"?b.getBandWidth():Math.abs(b.dataToCoord(h-i)-b.dataToCoord(h+i))}function g(p){var A=p.getRect();return{coordSys:{type:"singleAxis",x:A.x,y:A.y,width:A.width,height:A.height},api:{coord:function(b){return p.dataToPoint(b)},size:d.bind(E,p)}}}J.exports=g},MJZm:function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("q1tI"),b=e("fAei"),h=e("TSYQ"),i=e.n(h),r=e("RIqP"),a=e.n(r),s=e("J4zp"),l=e.n(s),n=e("sEfC"),u=e.n(n),t=e("OZM5"),c=e("815F"),o=e("vk+C"),f=e.n(o),v=e("Vy0f"),y=e.n(v),L=e("kGiB"),S=e.n(L),x=e("H84U"),O;(function(Z){Z[Z.None=0]="None",Z[Z.Start=1]="Start",Z[Z.End=2]="End"})(O||(O={}));function T(Z,Y){function _(Q){var X=Q.key,he=Q.children;Y(X,Q)!==!1&&T(he||[],Y)}Z.forEach(_)}function w(Z){var Y=Z.treeData,_=Z.expandedKeys,Q=Z.startKey,X=Z.endKey,he=[],te=O.None;if(Q&&Q===X)return[Q];if(!Q||!X)return[];function fe(be){return be===Q||be===X}return T(Y,function(be){if(te===O.End)return!1;if(fe(be)){if(he.push(be),te===O.None)te=O.Start;else if(te===O.Start)return te=O.End,!1}else te===O.Start&&he.push(be);return!(_.indexOf(be)===-1)}),he}function C(Z,Y){var _=a()(Y),Q=[];return T(Z,function(X,he){var te=_.indexOf(X);return te!==-1&&(Q.push(he),_.splice(te,1)),!!_.length}),Q}var N=function(Z,Y){var _={};for(var Q in Z)Object.prototype.hasOwnProperty.call(Z,Q)&&Y.indexOf(Q)<0&&(_[Q]=Z[Q]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,Q=Object.getOwnPropertySymbols(Z);X<Q.length;X++)Y.indexOf(Q[X])<0&&Object.prototype.propertyIsEnumerable.call(Z,Q[X])&&(_[Q[X]]=Z[Q[X]]);return _};function D(Z){var Y=Z.isLeaf,_=Z.expanded;return Y?A.createElement(f.a,null):_?A.createElement(y.a,null):A.createElement(S.a,null)}function B(Z){var Y=Z.treeData,_=Z.children;return Y||Object(c.c)(_)}var R=function(Y,_){var Q=Y.defaultExpandAll,X=Y.defaultExpandParent,he=Y.defaultExpandedKeys,te=N(Y,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),fe=A.useRef(),be=A.useRef(),we=A.createRef();A.useImperativeHandle(_,function(){return we.current});var Ke=function(){var Ve=Object(c.a)(B(te)),Qe=Ve.keyEntities,et;return Q?et=Object.keys(Qe):X?et=Object(t.e)(te.expandedKeys||he,Qe):et=te.expandedKeys||he,et},qe=A.useState(te.selectedKeys||te.defaultSelectedKeys||[]),xt=l()(qe,2),Fe=xt[0],Be=xt[1],bt=A.useState(Ke()),lt=l()(bt,2),tt=lt[0],St=lt[1];A.useEffect(function(){"selectedKeys"in te&&Be(te.selectedKeys)},[te.selectedKeys]),A.useEffect(function(){"expandedKeys"in te&&St(te.expandedKeys)},[te.expandedKeys]);var ht=function(Ve,Qe){var et=Qe.isLeaf;if(et||Ve.shiftKey||Ve.metaKey||Ve.ctrlKey)return;we.current.onNodeExpand(Ve,Qe)},vt=u()(ht,200,{leading:!0}),Ge=function(Ve,Qe){return"expandedKeys"in te||St(Ve),te.onExpand?te.onExpand(Ve,Qe):void 0},At=function(Ve,Qe){var et=te.expandAction;et==="click"&&vt(Ve,Qe),te.onClick&&te.onClick(Ve,Qe)},_e=function(Ve,Qe){var et=te.expandAction;et==="doubleClick"&&vt(Ve,Qe),te.onDoubleClick&&te.onDoubleClick(Ve,Qe)},De=function(Ve,Qe){var et=te.multiple,dt=Qe.node,Ze=Qe.nativeEvent,oe=dt.key,me=oe===void 0?"":oe,ot=B(te),Pe=p()(p()({},Qe),{selected:!0}),pt=Ze.ctrlKey||Ze.metaKey,Rr=Ze.shiftKey,It;et&&pt?(It=Ve,fe.current=me,be.current=It,Pe.selectedNodes=C(ot,It)):et&&Rr?(It=Array.from(new Set([].concat(a()(be.current||[]),a()(w({treeData:ot,expandedKeys:tt,startKey:me,endKey:fe.current}))))),Pe.selectedNodes=C(ot,It)):(It=[me],fe.current=me,be.current=It,Pe.selectedNodes=C(ot,It)),te.onSelect&&te.onSelect(It,Pe),"selectedKeys"in te||Be(It)},Ie=A.useContext(x.b),st=Ie.getPrefixCls,Et=Ie.direction,Mt=te.prefixCls,Pt=te.className,ke=N(te,["prefixCls","className"]),zt=st("tree",Mt),Ot=i()("".concat(zt,"-directory"),Pt,E()({},"".concat(zt,"-directory-rtl"),Et==="rtl"));return A.createElement(H,p()({icon:D,ref:we,blockNode:!0},ke,{prefixCls:zt,className:Ot,expandedKeys:tt,selectedKeys:Fe,onSelect:De,onClick:At,onDoubleClick:_e,onExpand:Ge}))},U=A.forwardRef(R);U.displayName="DirectoryTree",U.defaultProps={showIcon:!0,expandAction:"click"};var M=U,j=e("EXcs"),P=e("2jpz"),K=A.forwardRef(function(Z,Y){var _,Q=A.useContext(x.b),X=Q.getPrefixCls,he=Q.direction,te=Q.virtual,fe=Z.prefixCls,be=Z.className,we=Z.showIcon,Ke=Z.showLine,qe=Z.switcherIcon,xt=Z.blockNode,Fe=Z.children,Be=Z.checkable,bt=p()(p()({},Z),{showLine:Boolean(Ke)}),lt=X("tree",fe);return A.createElement(b.b,p()({itemHeight:20,ref:Y,virtual:te},bt,{prefixCls:lt,className:i()(be,(_={},E()(_,"".concat(lt,"-icon-hide"),!we),E()(_,"".concat(lt,"-block-node"),xt),E()(_,"".concat(lt,"-rtl"),he==="rtl"),_)),checkable:Be&&A.createElement("span",{className:"".concat(lt,"-checkbox-inner")}),switcherIcon:function(St){return Object(P.a)(lt,qe,Ke,St)}}),Fe)});K.TreeNode=b.a,K.DirectoryTree=M,K.defaultProps={checkable:!1,showIcon:!1,motion:p()(p()({},j.a),{motionAppear:!1}),blockNode:!1};var H=K,k=F.a=H},MKOG:function(J,F,e){var d=e("bYtY"),E=e("YH21"),g=E.Dispatcher,p=e("mLcG"),A=e("Bq2U"),b=function(r){r=r||{},this.stage=r.stage||{},this.onframe=r.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,g.call(this)};b.prototype={constructor:b,addClip:function(r){this._clips.push(r)},addAnimator:function(r){r.animation=this;for(var a=r.getClips(),s=0;s<a.length;s++)this.addClip(a[s])},removeClip:function(r){var a=d.indexOf(this._clips,r);a>=0&&this._clips.splice(a,1)},removeAnimator:function(r){for(var a=r.getClips(),s=0;s<a.length;s++)this.removeClip(a[s]);r.animation=null},_update:function(){for(var r=new Date().getTime()-this._pausedTime,a=r-this._time,s=this._clips,l=s.length,n=[],u=[],t=0;t<l;t++){var c=s[t],o=c.step(r,a);o&&(n.push(o),u.push(c))}for(var t=0;t<l;)s[t]._needsRemove?(s[t]=s[l-1],s.pop(),l--):t++;l=n.length;for(var t=0;t<l;t++)u[t].fire(n[t]);this._time=r,this.onframe(a),this.trigger("frame",a),this.stage.update&&this.stage.update()},_startLoop:function(){var r=this;this._running=!0;function a(){r._running&&(p(a),!r._paused&&r._update())}p(a)},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(r,a){a=a||{};var s=new A(r,a.loop,a.getter,a.setter);return this.addAnimator(s),s}},d.mixin(b,g);var h=b;J.exports=h},MMmD:function(J,F,e){var d=e("lSCD"),E=e("shjB");function g(p){return p!=null&&E(p.length)&&!d(p)}J.exports=g},MRoa:function(J,F,e){var d=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var E=e("gawk"),g=e("Dg8C");d.registerLayout(E),d.registerVisual(g)},MT78:function(J,F,e){var d=e("ProS");(function(){for(var g in d){if(d==null||!d.hasOwnProperty(g)||g==="default"||g==="__esModule")return;F[g]=d[g]}})();var E=e("txkQ");(function(){for(var g in E){if(E==null||!E.hasOwnProperty(g)||g==="default"||g==="__esModule")return;F[g]=E[g]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("Kvyg"),p=e.n(g)},Mdki:function(J,F,e){var d=e("bYtY"),E=d.each,g="\0__link_datas",p="\0__link_mainData";function A(u){var t=u.mainData,c=u.datas;c||(c={main:t},u.datasAttr={main:"data"}),u.datas=u.mainData=null,s(t,c,u),E(c,function(o){E(t.TRANSFERABLE_METHODS,function(f){o.wrapMethod(f,d.curry(b,u))})}),t.wrapMethod("cloneShallow",d.curry(i,u)),E(t.CHANGABLE_METHODS,function(o){t.wrapMethod(o,d.curry(h,u))}),d.assert(c[t.dataType]===t)}function b(u,t){if(a(this)){var c=d.extend({},this[g]);c[this.dataType]=t,s(t,c,u)}else l(t,this.dataType,this[p],u);return t}function h(u,t){return u.struct&&u.struct.update(this),t}function i(u,t){return E(t[g],function(c,o){c!==t&&l(c.cloneShallow(),o,t,u)}),t}function r(u){var t=this[p];return u==null||t==null?t:t[g][u]}function a(u){return u[p]===u}function s(u,t,c){u[g]={},E(t,function(o,f){l(o,f,u,c)})}function l(u,t,c,o){c[g][t]=u,u[p]=c,u.dataType=t,o.struct&&(u[o.structAttr]=o.struct,o.struct[o.datasAttr[t]]=u),u.getLinkedData=r}var n=A;J.exports=n},Mds0:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("8IMR")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="StarFilled";var h=g.forwardRef(b);F.default=h},Mgri:function(J,F,e){for(var d=e("bYtY"),E=e("8nly"),g=[126,25],p=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],A=0;A<p.length;A++)for(var b=0;b<p[A].length;b++)p[A][b][0]/=10.5,p[A][b][1]/=-10.5/.75,p[A][b][0]+=g[0],p[A][b][1]+=g[1];function h(i,r){i==="china"&&r.push(new E("\u5357\u6D77\u8BF8\u5C9B",d.map(p,function(a){return{type:"polygon",exterior:a}}),g))}J.exports=h},MqEG:function(J,F,e){var d=e("bYtY"),E=e("fc+c"),g=e("72pK"),p=e("VXYp"),A=d.bind,b=E.extend({type:"dataZoom.inside",init:function(s,l){this._range},render:function(s,l,n,u){b.superApply(this,"render",arguments),this._range=s.getPercentRange(),d.each(this.getTargetCoordInfo(),function(t,c){var o=d.map(t,function(f){return p.generateCoordId(f.model)});d.each(t,function(f){var v=f.model,y={};d.each(["pan","zoom","scrollMove"],function(L){y[L]=A(h[L],this,f,c)},this),p.register(n,{coordId:p.generateCoordId(v),allCoordIds:o,containsPoint:function(L,S,x){return v.coordinateSystem.containPoint([S,x])},dataZoomId:s.id,dataZoomModel:s,getRange:y})},this)},this)},dispose:function(){p.unregister(this.api,this.dataZoomModel.id),b.superApply(this,"dispose",arguments),this._range=null}}),h={zoom:function(s,l,n,u){var t=this._range,c=t.slice(),o=s.axisModels[0];if(!o)return;var f=r[l](null,[u.originX,u.originY],o,n,s),v=(f.signal>0?f.pixelStart+f.pixelLength-f.pixel:f.pixel-f.pixelStart)/f.pixelLength*(c[1]-c[0])+c[0],y=Math.max(1/u.scale,0);c[0]=(c[0]-v)*y+v,c[1]=(c[1]-v)*y+v;var L=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(g(0,c,[0,100],0,L.minSpan,L.maxSpan),this._range=c,t[0]!==c[0]||t[1]!==c[1])return c},pan:i(function(s,l,n,u,t,c){var o=r[u]([c.oldX,c.oldY],[c.newX,c.newY],l,t,n);return o.signal*(s[1]-s[0])*o.pixel/o.pixelLength}),scrollMove:i(function(s,l,n,u,t,c){var o=r[u]([0,0],[c.scrollDelta,c.scrollDelta],l,t,n);return o.signal*(s[1]-s[0])*c.scrollDelta})};function i(s){return function(l,n,u,t){var c=this._range,o=c.slice(),f=l.axisModels[0];if(!f)return;var v=s(o,f,l,n,u,t);if(g(v,o,[0,100],"all"),this._range=o,c[0]!==o[0]||c[1]!==o[1])return o}}var r={grid:function(s,l,n,u,t){var c=n.axis,o={},f=t.model.coordinateSystem.getRect();return s=s||[0,0],c.dim==="x"?(o.pixel=l[0]-s[0],o.pixelLength=f.width,o.pixelStart=f.x,o.signal=c.inverse?1:-1):(o.pixel=l[1]-s[1],o.pixelLength=f.height,o.pixelStart=f.y,o.signal=c.inverse?-1:1),o},polar:function(s,l,n,u,t){var c=n.axis,o={},f=t.model.coordinateSystem,v=f.getRadiusAxis().getExtent(),y=f.getAngleAxis().getExtent();return s=s?f.pointToCoord(s):[0,0],l=f.pointToCoord(l),n.mainType==="radiusAxis"?(o.pixel=l[0]-s[0],o.pixelLength=v[1]-v[0],o.pixelStart=v[0],o.signal=c.inverse?1:-1):(o.pixel=l[1]-s[1],o.pixelLength=y[1]-y[0],o.pixelStart=y[0],o.signal=c.inverse?-1:1),o},singleAxis:function(s,l,n,u,t){var c=n.axis,o=t.model.coordinateSystem.getRect(),f={};return s=s||[0,0],c.orient==="horizontal"?(f.pixel=l[0]-s[0],f.pixelLength=o.width,f.pixelStart=o.x,f.signal=c.inverse?1:-1):(f.pixel=l[1]-s[1],f.pixelLength=o.height,f.pixelStart=o.y,f.signal=c.inverse?-1:1),f}},a=b;J.exports=a},MvSz:function(J,F,e){var d=e("LXxW"),E=e("0ycA"),g=Object.prototype,p=g.propertyIsEnumerable,A=Object.getOwnPropertySymbols,b=A?function(h){return h==null?[]:(h=Object(h),d(A(h),function(i){return p.call(h,i)}))}:E;J.exports=b},MwEJ:function(J,F,e){var d=e("bYtY"),E=e("YXkt"),g=e("sdST"),p=e("k9D9"),A=p.SOURCE_FORMAT_ORIGINAL,b=e("L0Ub"),h=b.getDimensionTypeByAxis,i=e("4NO4"),r=i.getDataItemValue,a=e("IDmD"),s=e("i38C"),l=s.getCoordSysInfoBySeries,n=e("7G+c"),u=e("7hqr"),t=u.enableDataStack,c=e("D5nY"),o=c.makeSeriesEncodeForAxisCoordSys;function f(S,x,O){O=O||{},n.isInstance(S)||(S=n.seriesDataToSource(S));var T=x.get("coordinateSystem"),w=a.get(T),C=l(x),N;C&&(N=d.map(C.coordSysDims,function(P){var K={name:P},H=C.axisMap.get(P);if(H){var k=H.get("type");K.type=h(k)}return K})),N||(N=w&&(w.getDimensionsInfo?w.getDimensionsInfo():w.dimensions.slice())||["x","y"]);var D=g(S,{coordDimensions:N,generateCoord:O.generateCoord,encodeDefaulter:O.useEncodeDefaulter?d.curry(o,N,x):null}),B,R;C&&d.each(D,function(P,K){var H=P.coordDim,k=C.categoryAxisMap.get(H);k&&(B==null&&(B=K),P.ordinalMeta=k.getOrdinalMeta()),P.otherDims.itemName!=null&&(R=!0)}),!R&&B!=null&&(D[B].otherDims.itemName=0);var U=t(x,D),M=new E(D,x);M.setCalculationInfo(U);var j=B!=null&&v(S)?function(P,K,H,k){return k===B?H:this.defaultDimValueGetter(P,K,H,k)}:null;return M.hasItemOption=!1,M.initData(S,null,j),M}function v(S){if(S.sourceFormat===A){var x=y(S.data||[]);return x!=null&&!d.isArray(r(x))}}function y(S){for(var x=0;x<S.length&&S[x]==null;)x++;return S[x]}var L=f;J.exports=L},Mylv:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("IwbS"),p=e("oVpE"),A=p.createSymbol,b=e("OELB"),h=b.parsePercent,i=b.isNumeric,r=e("56rv"),a=r.setLabel,s=["itemStyle","borderWidth"],l=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new g.Circle,u=d.extendChartView({type:"pictorialBar",render:function(Z,Y,_){var Q=this.group,X=Z.getData(),he=this._data,te=Z.coordinateSystem,fe=te.getBaseAxis(),be=!!fe.isHorizontal(),we=te.grid.getRect(),Ke={ecSize:{width:_.getWidth(),height:_.getHeight()},seriesModel:Z,coordSys:te,coordSysExtent:[[we.x,we.x+we.width],[we.y,we.y+we.height]],isHorizontal:be,valueDim:l[+be],categoryDim:l[1-be]};return X.diff(he).add(function(qe){if(!X.hasValue(qe))return;var xt=w(X,qe),Fe=t(X,qe,xt,Ke),Be=B(X,Ke,Fe);X.setItemGraphicEl(qe,Be),Q.add(Be),K(Be,Ke,Fe)}).update(function(qe,xt){var Fe=he.getItemGraphicEl(xt);if(!X.hasValue(qe)){Q.remove(Fe);return}var Be=w(X,qe),bt=t(X,qe,Be,Ke),lt=M(X,bt);Fe&<!==Fe.__pictorialShapeStr&&(Q.remove(Fe),X.setItemGraphicEl(qe,null),Fe=null),Fe?R(Fe,Ke,bt):Fe=B(X,Ke,bt,!0),X.setItemGraphicEl(qe,Fe),Fe.__pictorialSymbolMeta=bt,Q.add(Fe),K(Fe,Ke,bt)}).remove(function(qe){var xt=he.getItemGraphicEl(qe);xt&&U(he,qe,xt.__pictorialSymbolMeta.animationModel,xt)}).execute(),this._data=X,this.group},dispose:E.noop,remove:function(Z,Y){var _=this.group,Q=this._data;Z.get("animation")?Q&&Q.eachItemGraphicEl(function(X){U(Q,X.dataIndex,Z,X)}):_.removeAll()}});function t(Z,Y,_,Q){var X=Z.getItemLayout(Y),he=_.get("symbolRepeat"),te=_.get("symbolClip"),fe=_.get("symbolPosition")||"start",be=_.get("symbolRotate"),we=(be||0)*Math.PI/180||0,Ke=_.get("symbolPatternSize")||2,qe=_.isAnimationEnabled(),xt={dataIndex:Y,layout:X,itemModel:_,symbolType:Z.getItemVisual(Y,"symbol")||"circle",color:Z.getItemVisual(Y,"color"),symbolClip:te,symbolRepeat:he,symbolRepeatDirection:_.get("symbolRepeatDirection"),symbolPatternSize:Ke,rotation:we,animationModel:qe?_:null,hoverAnimation:qe&&_.get("hoverAnimation"),z2:_.getShallow("z",!0)||0};c(_,he,X,Q,xt),f(Z,Y,X,he,te,xt.boundingLength,xt.pxSign,Ke,Q,xt),v(_,xt.symbolScale,we,Q,xt);var Fe=xt.symbolSize,Be=_.get("symbolOffset");return E.isArray(Be)&&(Be=[h(Be[0],Fe[0]),h(Be[1],Fe[1])]),y(_,Fe,X,he,te,Be,fe,xt.valueLineWidth,xt.boundingLength,xt.repeatCutLength,Q,xt),xt}function c(Z,Y,_,Q,X){var he=Q.valueDim,te=Z.get("symbolBoundingData"),fe=Q.coordSys.getOtherAxis(Q.coordSys.getBaseAxis()),be=fe.toGlobalCoord(fe.dataToCoord(0)),we=1-+(_[he.wh]<=0),Ke;if(E.isArray(te)){var qe=[o(fe,te[0])-be,o(fe,te[1])-be];qe[1]<qe[0]&&qe.reverse(),Ke=qe[we]}else te!=null?Ke=o(fe,te)-be:Y?Ke=Q.coordSysExtent[he.index][we]-be:Ke=_[he.wh];X.boundingLength=Ke,Y&&(X.repeatCutLength=_[he.wh]),X.pxSign=Ke>0?1:Ke<0?-1:0}function o(Z,Y){return Z.toGlobalCoord(Z.dataToCoord(Z.scale.parse(Y)))}function f(Z,Y,_,Q,X,he,te,fe,be,we){var Ke=be.valueDim,qe=be.categoryDim,xt=Math.abs(_[qe.wh]),Fe=Z.getItemVisual(Y,"symbolSize");E.isArray(Fe)?Fe=Fe.slice():(Fe==null&&(Fe="100%"),Fe=[Fe,Fe]),Fe[qe.index]=h(Fe[qe.index],xt),Fe[Ke.index]=h(Fe[Ke.index],Q?xt:Math.abs(he)),we.symbolSize=Fe;var Be=we.symbolScale=[Fe[0]/fe,Fe[1]/fe];Be[Ke.index]*=(be.isHorizontal?-1:1)*te}function v(Z,Y,_,Q,X){var he=Z.get(s)||0;he&&(n.attr({scale:Y.slice(),rotation:_}),n.updateTransform(),he/=n.getLineScale(),he*=Y[Q.valueDim.index]),X.valueLineWidth=he}function y(Z,Y,_,Q,X,he,te,fe,be,we,Ke,qe){var xt=Ke.categoryDim,Fe=Ke.valueDim,Be=qe.pxSign,bt=Math.max(Y[Fe.index]+fe,0),lt=bt;if(Q){var tt=Math.abs(be),St=E.retrieve(Z.get("symbolMargin"),"15%")+"",ht=!1;St.lastIndexOf("!")===St.length-1&&(ht=!0,St=St.slice(0,St.length-1)),St=h(St,Y[Fe.index]);var vt=Math.max(bt+St*2,0),Ge=ht?0:St*2,At=i(Q),_e=At?Q:H((tt+Ge)/vt),De=tt-_e*bt;St=De/2/(ht?_e:_e-1),vt=bt+St*2,Ge=ht?0:St*2,!At&&Q!=="fixed"&&(_e=we?H((Math.abs(we)+Ge)/vt):0),lt=_e*vt-Ge,qe.repeatTimes=_e,qe.symbolMargin=St}var Ie=Be*(lt/2),st=qe.pathPosition=[];st[xt.index]=_[xt.wh]/2,st[Fe.index]=te==="start"?Ie:te==="end"?be-Ie:be/2,he&&(st[0]+=he[0],st[1]+=he[1]);var Et=qe.bundlePosition=[];Et[xt.index]=_[xt.xy],Et[Fe.index]=_[Fe.xy];var Mt=qe.barRectShape=E.extend({},_);Mt[Fe.wh]=Be*Math.max(Math.abs(_[Fe.wh]),Math.abs(st[Fe.index]+Ie)),Mt[xt.wh]=_[xt.wh];var Pt=qe.clipShape={};Pt[xt.xy]=-_[xt.xy],Pt[xt.wh]=Ke.ecSize[xt.wh],Pt[Fe.xy]=0,Pt[Fe.wh]=_[Fe.wh]}function L(Z){var Y=Z.symbolPatternSize,_=A(Z.symbolType,-Y/2,-Y/2,Y,Y,Z.color);return _.attr({culling:!0}),_.type!=="image"&&_.setStyle({strokeNoScale:!0}),_}function S(Z,Y,_,Q){var X=Z.__pictorialBundle,he=_.symbolSize,te=_.valueLineWidth,fe=_.pathPosition,be=Y.valueDim,we=_.repeatTimes||0,Ke=0,qe=he[Y.valueDim.index]+te+_.symbolMargin*2;for(j(Z,function(tt){tt.__pictorialAnimationIndex=Ke,tt.__pictorialRepeatTimes=we,Ke<we?P(tt,null,Be(Ke),_,Q):P(tt,null,{scale:[0,0]},_,Q,function(){X.remove(tt)}),D(tt,_),Ke++});Ke<we;Ke++){var xt=L(_);xt.__pictorialAnimationIndex=Ke,xt.__pictorialRepeatTimes=we,X.add(xt);var Fe=Be(Ke);P(xt,{position:Fe.position,scale:[0,0]},{scale:Fe.scale,rotation:Fe.rotation},_,Q),xt.on("mouseover",bt).on("mouseout",lt),D(xt,_)}function Be(tt){var St=fe.slice(),ht=_.pxSign,vt=tt;return(_.symbolRepeatDirection==="start"?ht>0:ht<0)&&(vt=we-1-tt),St[be.index]=qe*(vt-we/2+.5)+fe[be.index],{position:St,scale:_.symbolScale.slice(),rotation:_.rotation}}function bt(){j(Z,function(tt){tt.trigger("emphasis")})}function lt(){j(Z,function(tt){tt.trigger("normal")})}}function x(Z,Y,_,Q){var X=Z.__pictorialBundle,he=Z.__pictorialMainPath;he?P(he,null,{position:_.pathPosition.slice(),scale:_.symbolScale.slice(),rotation:_.rotation},_,Q):(he=Z.__pictorialMainPath=L(_),X.add(he),P(he,{position:_.pathPosition.slice(),scale:[0,0],rotation:_.rotation},{scale:_.symbolScale.slice()},_,Q),he.on("mouseover",te).on("mouseout",fe)),D(he,_);function te(){this.trigger("emphasis")}function fe(){this.trigger("normal")}}function O(Z,Y,_){var Q=E.extend({},Y.barRectShape),X=Z.__pictorialBarRect;X?P(X,null,{shape:Q},Y,_):(X=Z.__pictorialBarRect=new g.Rect({z2:2,shape:Q,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),Z.add(X))}function T(Z,Y,_,Q){if(_.symbolClip){var X=Z.__pictorialClipPath,he=E.extend({},_.clipShape),te=Y.valueDim,fe=_.animationModel,be=_.dataIndex;if(X)g.updateProps(X,{shape:he},fe,be);else{he[te.wh]=0,X=new g.Rect({shape:he}),Z.__pictorialBundle.setClipPath(X),Z.__pictorialClipPath=X;var we={};we[te.wh]=_.clipShape[te.wh],g[Q?"updateProps":"initProps"](X,{shape:we},fe,be)}}}function w(Z,Y){var _=Z.getItemModel(Y);return _.getAnimationDelayParams=C,_.isAnimationEnabled=N,_}function C(Z){return{index:Z.__pictorialAnimationIndex,count:Z.__pictorialRepeatTimes}}function N(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function D(Z,Y){Z.off("emphasis").off("normal");var _=Y.symbolScale.slice();Y.hoverAnimation&&Z.on("emphasis",function(){this.animateTo({scale:[_[0]*1.1,_[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:_.slice()},400,"elasticOut")})}function B(Z,Y,_,Q){var X=new g.Group,he=new g.Group;return X.add(he),X.__pictorialBundle=he,he.attr("position",_.bundlePosition.slice()),_.symbolRepeat?S(X,Y,_):x(X,Y,_),O(X,_,Q),T(X,Y,_,Q),X.__pictorialShapeStr=M(Z,_),X.__pictorialSymbolMeta=_,X}function R(Z,Y,_){var Q=_.animationModel,X=_.dataIndex,he=Z.__pictorialBundle;g.updateProps(he,{position:_.bundlePosition.slice()},Q,X),_.symbolRepeat?S(Z,Y,_,!0):x(Z,Y,_,!0),O(Z,_,!0),T(Z,Y,_,!0)}function U(Z,Y,_,Q){var X=Q.__pictorialBarRect;X&&(X.style.text=null);var he=[];j(Q,function(te){he.push(te)}),Q.__pictorialMainPath&&he.push(Q.__pictorialMainPath),Q.__pictorialClipPath&&(_=null),E.each(he,function(te){g.updateProps(te,{scale:[0,0]},_,Y,function(){Q.parent&&Q.parent.remove(Q)})}),Z.setItemGraphicEl(Y,null)}function M(Z,Y){return[Z.getItemVisual(Y.dataIndex,"symbol")||"none",!!Y.symbolRepeat,!!Y.symbolClip].join(":")}function j(Z,Y,_){E.each(Z.__pictorialBundle.children(),function(Q){Q!==Z.__pictorialBarRect&&Y.call(_,Q)})}function P(Z,Y,_,Q,X,he){Y&&Z.attr(Y),Q.symbolClip&&!X?_&&Z.attr(_):_&&g[X?"updateProps":"initProps"](Z,_,Q.animationModel,Q.dataIndex,he)}function K(Z,Y,_){var Q=_.color,X=_.dataIndex,he=_.itemModel,te=he.getModel("itemStyle").getItemStyle(["color"]),fe=he.getModel("emphasis.itemStyle").getItemStyle(),be=he.getShallow("cursor");j(Z,function(xt){xt.setColor(Q),xt.setStyle(E.defaults({fill:Q,opacity:_.opacity},te)),g.setHoverStyle(xt,fe),be&&(xt.cursor=be),xt.z2=_.z2});var we={},Ke=Y.valueDim.posDesc[+(_.boundingLength>0)],qe=Z.__pictorialBarRect;a(qe.style,we,he,Q,Y.seriesModel,X,Ke),g.setHoverStyle(qe,we)}function H(Z){var Y=Math.round(Z);return Math.abs(Z-Y)<1e-4?Y:Math.ceil(Z)}var k=u;J.exports=k},N5BQ:function(J,F,e){var d=e("OlYY"),E=d.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"}}}),g=E;J.exports=g},NA0q:function(J,F,e){var d=e("bYtY"),E=e("6Ic6"),g=e("TkdX"),p=e("gPAo"),A=e("7aKB"),b=A.windowOpen,h="sunburstRootToNode",i=E.extend({type:"sunburst",init:function(){},render:function(a,s,l,n){var u=this;this.seriesModel=a,this.api=l,this.ecModel=s;var t=a.getData(),c=t.tree.root,o=a.getViewRoot(),f=this.group,v=a.get("renderLabelForZeroData"),y=[];o.eachNode(function(N){y.push(N)});var L=this._oldChildren||[];if(O(y,L),C(c,o),n&&n.highlight&&n.highlight.piece){var S=a.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(S)}else if(n&&n.unhighlight){var x=this.virtualPiece;!x&&c.children.length&&(x=c.children[0].piece),x&&x.onNormal()}this._initEvents(),this._oldChildren=y;function O(N,D){if(N.length===0&&D.length===0)return;new p(D,N,B,B).add(R).update(R).remove(d.curry(R,null)).execute();function B(U){return U.getId()}function R(U,M){var j=U==null?null:N[U],P=M==null?null:D[M];T(j,P)}}function T(N,D){if(!v&&N&&!N.getValue()&&(N=null),N!==c&&D!==c){if(D&&D.piece)N?(D.piece.updateData(!1,N,"normal",a,s),t.setItemGraphicEl(N.dataIndex,D.piece)):w(D);else if(N){var B=new g(N,a,s);f.add(B),t.setItemGraphicEl(N.dataIndex,B)}}}function w(N){if(!N)return;N.piece&&(f.remove(N.piece),N.piece=null)}function C(N,D){if(D.depth>0){u.virtualPiece?u.virtualPiece.updateData(!1,N,"normal",a,s):(u.virtualPiece=new g(N,a,s),f.add(u.virtualPiece)),D.piece._onclickEvent&&D.piece.off("click",D.piece._onclickEvent);var B=function(R){u._rootToNode(D.parentNode)};D.piece._onclickEvent=B,u.virtualPiece.on("click",B)}else u.virtualPiece&&(f.remove(u.virtualPiece),u.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var a=this,s=function(l){var n=!1,u=a.seriesModel.getViewRoot();u.eachNode(function(t){if(!n&&t.piece&&t.piece.childAt(0)===l.target){var c=t.getModel().get("nodeClick");if(c==="rootToNode")a._rootToNode(t);else if(c==="link"){var o=t.getModel(),f=o.get("link");if(f){var v=o.get("target",!0)||"_blank";b(f,v)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",s),this.group._onclickEvent=s},_rootToNode:function(a){a!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:h,from:this.uid,seriesId:this.seriesModel.id,targetNode:a})},containPoint:function(a,s){var l=s.getData(),n=l.getItemLayout(0);if(n){var u=a[0]-n.cx,t=a[1]-n.cy,c=Math.sqrt(u*u+t*t);return c<=n.r&&c>=n.r0}}}),r=i;J.exports=r},NAnI:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("wXyp"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},NC18:function(J,F,e){var d=e("y+Vt"),E=e("IMiH"),g=e("7oTu"),p=Math.sqrt,A=Math.sin,b=Math.cos,h=Math.PI,i=function(y){return Math.sqrt(y[0]*y[0]+y[1]*y[1])},r=function(y,L){return(y[0]*L[0]+y[1]*L[1])/(i(y)*i(L))},a=function(y,L){return(y[0]*L[1]<y[1]*L[0]?-1:1)*Math.acos(r(y,L))};function s(v,y,L,S,x,O,T,w,C,N,D){var B=C*(h/180),R=b(B)*(v-L)/2+A(B)*(y-S)/2,U=-1*A(B)*(v-L)/2+b(B)*(y-S)/2,M=R*R/(T*T)+U*U/(w*w);M>1&&(T*=p(M),w*=p(M));var j=(x===O?-1:1)*p((T*T*(w*w)-T*T*(U*U)-w*w*(R*R))/(T*T*(U*U)+w*w*(R*R)))||0,P=j*T*U/w,K=j*-w*R/T,H=(v+L)/2+b(B)*P-A(B)*K,k=(y+S)/2+A(B)*P+b(B)*K,Z=a([1,0],[(R-P)/T,(U-K)/w]),Y=[(R-P)/T,(U-K)/w],_=[(-1*R-P)/T,(-1*U-K)/w],Q=a(Y,_);r(Y,_)<=-1&&(Q=h),r(Y,_)>=1&&(Q=0),O===0&&Q>0&&(Q=Q-2*h),O===1&&Q<0&&(Q=Q+2*h),D.addData(N,H,k,T,w,Z,Q,B,O)}var l=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function u(v){if(!v)return new E;for(var y=0,L=0,S=y,x=L,O,T=new E,w=E.CMD,C=v.match(l),N=0;N<C.length;N++){for(var D=C[N],B=D.charAt(0),R,U=D.match(n)||[],M=U.length,j=0;j<M;j++)U[j]=parseFloat(U[j]);for(var P=0;P<M;){var K,H,k,Z,Y,_,Q,X=y,he=L;switch(B){case"l":y+=U[P++],L+=U[P++],R=w.L,T.addData(R,y,L);break;case"L":y=U[P++],L=U[P++],R=w.L,T.addData(R,y,L);break;case"m":y+=U[P++],L+=U[P++],R=w.M,T.addData(R,y,L),S=y,x=L,B="l";break;case"M":y=U[P++],L=U[P++],R=w.M,T.addData(R,y,L),S=y,x=L,B="L";break;case"h":y+=U[P++],R=w.L,T.addData(R,y,L);break;case"H":y=U[P++],R=w.L,T.addData(R,y,L);break;case"v":L+=U[P++],R=w.L,T.addData(R,y,L);break;case"V":L=U[P++],R=w.L,T.addData(R,y,L);break;case"C":R=w.C,T.addData(R,U[P++],U[P++],U[P++],U[P++],U[P++],U[P++]),y=U[P-2],L=U[P-1];break;case"c":R=w.C,T.addData(R,U[P++]+y,U[P++]+L,U[P++]+y,U[P++]+L,U[P++]+y,U[P++]+L),y+=U[P-2],L+=U[P-1];break;case"S":K=y,H=L;var te=T.len(),fe=T.data;O===w.C&&(K+=y-fe[te-4],H+=L-fe[te-3]),R=w.C,X=U[P++],he=U[P++],y=U[P++],L=U[P++],T.addData(R,K,H,X,he,y,L);break;case"s":K=y,H=L;var te=T.len(),fe=T.data;O===w.C&&(K+=y-fe[te-4],H+=L-fe[te-3]),R=w.C,X=y+U[P++],he=L+U[P++],y+=U[P++],L+=U[P++],T.addData(R,K,H,X,he,y,L);break;case"Q":X=U[P++],he=U[P++],y=U[P++],L=U[P++],R=w.Q,T.addData(R,X,he,y,L);break;case"q":X=U[P++]+y,he=U[P++]+L,y+=U[P++],L+=U[P++],R=w.Q,T.addData(R,X,he,y,L);break;case"T":K=y,H=L;var te=T.len(),fe=T.data;O===w.Q&&(K+=y-fe[te-4],H+=L-fe[te-3]),y=U[P++],L=U[P++],R=w.Q,T.addData(R,K,H,y,L);break;case"t":K=y,H=L;var te=T.len(),fe=T.data;O===w.Q&&(K+=y-fe[te-4],H+=L-fe[te-3]),y+=U[P++],L+=U[P++],R=w.Q,T.addData(R,K,H,y,L);break;case"A":k=U[P++],Z=U[P++],Y=U[P++],_=U[P++],Q=U[P++],X=y,he=L,y=U[P++],L=U[P++],R=w.A,s(X,he,y,L,_,Q,k,Z,Y,R,T);break;case"a":k=U[P++],Z=U[P++],Y=U[P++],_=U[P++],Q=U[P++],X=y,he=L,y+=U[P++],L+=U[P++],R=w.A,s(X,he,y,L,_,Q,k,Z,Y,R,T);break}}(B==="z"||B==="Z")&&(R=w.Z,T.addData(R),y=S,L=x),O=R}return T.toStatic(),T}function t(v,y){var L=u(v);return y=y||{},y.buildPath=function(S){if(S.setData){S.setData(L.data);var x=S.getContext();x&&S.rebuildPath(x)}else{var x=S;L.rebuildPath(x)}},y.applyTransform=function(S){g(L,S),this.dirty(!0)},y}function c(v,y){return new d(t(v,y))}function o(v,y){return d.extend(t(v,y))}function f(v,y){for(var L=[],S=v.length,x=0;x<S;x++){var O=v[x];O.path||O.createPathProxy(),O.__dirtyPath&&O.buildPath(O.path,O.shape,!0),L.push(O.path)}var T=new d(y);return T.createPathProxy(),T.buildPath=function(w){w.appendPath(L);var C=w.getContext();C&&w.rebuildPath(C)},T}F.createFromString=c,F.extendFromString=o,F.mergePath=f},NH9N:function(J,F,e){var d=e("bYtY"),E=e("mFDi"),g=e("Fofx"),p=e("IwbS"),A=e("+TT/"),b=e("kzvK"),h=e("CMP+"),i=e("oVpE"),r=i.createSymbol,a=e("aX7z"),s=e("OELB"),l=e("7aKB"),n=l.encodeHTML,u=d.bind,t=d.each,c=Math.PI,o=b.extend({type:"timeline.slider",init:function(S,x){this.api=x,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(S,x,O,T){if(this.model=S,this.api=O,this.ecModel=x,this.group.removeAll(),S.get("show",!0)){var w=this._layout(S,O),C=this._createGroup("mainGroup"),N=this._createGroup("labelGroup"),D=this._axis=this._createAxis(w,S);S.formatTooltip=function(B){return n(D.scale.getLabel(B))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(B){this["_render"+B](w,C,D,S)},this),this._renderAxisLabel(w,N,D,S),this._position(w,S)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(S,x){var O=S.get("label.position"),T=S.get("orient"),w=f(S,x);O==null||O==="auto"?O=T==="horizontal"?w.y+w.height/2<x.getHeight()/2?"-":"+":w.x+w.width/2<x.getWidth()/2?"+":"-":isNaN(O)&&(O={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][O]);var C={horizontal:"center",vertical:O>=0||O==="+"?"left":"right"},N={horizontal:O>=0||O==="+"?"top":"bottom",vertical:"middle"},D={horizontal:0,vertical:c/2},B=T==="vertical"?w.height:w.width,R=S.getModel("controlStyle"),U=R.get("show",!0),M=U?R.get("itemSize"):0,j=U?R.get("itemGap"):0,P=M+j,K=S.get("label.rotate")||0;K=K*c/180;var H,k,Z,Y,_=R.get("position",!0),Q=U&&R.get("showPlayBtn",!0),X=U&&R.get("showPrevBtn",!0),he=U&&R.get("showNextBtn",!0),te=0,fe=B;return _==="left"||_==="bottom"?(Q&&(H=[0,0],te+=P),X&&(k=[te,0],te+=P),he&&(Z=[fe-M,0],fe-=P)):(Q&&(H=[fe-M,0],fe-=P),X&&(k=[0,0],te+=P),he&&(Z=[fe-M,0],fe-=P)),Y=[te,fe],S.get("inverse")&&Y.reverse(),{viewRect:w,mainLength:B,orient:T,rotation:D[T],labelRotation:K,labelPosOpt:O,labelAlign:S.get("label.align")||C[T],labelBaseline:S.get("label.verticalAlign")||S.get("label.baseline")||N[T],playPosition:H,prevBtnPosition:k,nextBtnPosition:Z,axisExtent:Y,controlSize:M,controlGap:j}},_position:function(S,x){var O=this._mainGroup,T=this._labelGroup,w=S.viewRect;if(S.orient==="vertical"){var C=g.create(),N=w.x,D=w.y+w.height;g.translate(C,C,[-N,-D]),g.rotate(C,C,-c/2),g.translate(C,C,[N,D]),w=w.clone(),w.applyTransform(C)}var B=k(w),R=k(O.getBoundingRect()),U=k(T.getBoundingRect()),M=O.position,j=T.position;j[0]=M[0]=B[0][0];var P=S.labelPosOpt;if(isNaN(P)){var K=P==="+"?0:1;Z(M,R,B,1,K),Z(j,U,B,1,1-K)}else{var K=P>=0?0:1;Z(M,R,B,1,K),j[1]=M[1]+P}O.attr("position",M),T.attr("position",j),O.rotation=T.rotation=S.rotation,H(O),H(T);function H(Y){var _=Y.position;Y.origin=[B[0][0]-_[0],B[1][0]-_[1]]}function k(Y){return[[Y.x,Y.x+Y.width],[Y.y,Y.y+Y.height]]}function Z(Y,_,Q,X,he){Y[X]+=Q[X][he]-_[X][he]}},_createAxis:function(S,x){var O=x.getData(),T=x.get("axisType"),w=a.createScaleByModel(x,T);w.getTicks=function(){return O.mapArray(["value"],function(D){return D})};var C=O.getDataExtent("value");w.setExtent(C[0],C[1]),w.niceTicks();var N=new h("value",w,S.axisExtent,T);return N.model=x,N},_createGroup:function(S){var x=this["_"+S]=new p.Group;return this.group.add(x),x},_renderAxisLine:function(S,x,O,T){var w=O.getExtent();if(!T.get("lineStyle.show"))return;x.add(new p.Line({shape:{x1:w[0],y1:0,x2:w[1],y2:0},style:d.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(S,x,O,T){var w=T.getData(),C=O.scale.getTicks();t(C,function(N){var D=O.dataToCoord(N),B=w.getItemModel(N),R=B.getModel("itemStyle"),U=B.getModel("emphasis.itemStyle"),M={position:[D,0],onclick:u(this._changeTimeline,this,N)},j=y(B,R,x,M);p.setHoverStyle(j,U.getItemStyle()),B.get("tooltip")?(j.dataIndex=N,j.dataModel=T):j.dataIndex=j.dataModel=null},this)},_renderAxisLabel:function(S,x,O,T){var w=O.getLabelModel();if(!w.get("show"))return;var C=T.getData(),N=O.getViewLabels();t(N,function(D){var B=D.tickValue,R=C.getItemModel(B),U=R.getModel("label"),M=R.getModel("emphasis.label"),j=O.dataToCoord(D.tickValue),P=new p.Text({position:[j,0],rotation:S.labelRotation-S.rotation,onclick:u(this._changeTimeline,this,B),silent:!1});p.setTextStyle(P.style,U,{text:D.formattedLabel,textAlign:S.labelAlign,textVerticalAlign:S.labelBaseline}),x.add(P),p.setHoverStyle(P,p.setTextStyle({},M))},this)},_renderControl:function(S,x,O,T){var w=S.controlSize,C=S.rotation,N=T.getModel("controlStyle").getItemStyle(),D=T.getModel("emphasis.controlStyle").getItemStyle(),B=[0,-w/2,w,w],R=T.getPlayState(),U=T.get("inverse",!0);M(S.nextBtnPosition,"controlStyle.nextIcon",u(this._changeTimeline,this,U?"-":"+")),M(S.prevBtnPosition,"controlStyle.prevIcon",u(this._changeTimeline,this,U?"+":"-")),M(S.playPosition,"controlStyle."+(R?"stopIcon":"playIcon"),u(this._handlePlayClick,this,!R),!0);function M(j,P,K,H){if(!j)return;var k={position:j,origin:[w/2,0],rotation:H?-C:0,rectHover:!0,style:N,onclick:K},Z=v(T,P,B,k);x.add(Z),p.setHoverStyle(Z,D)}},_renderCurrentPointer:function(S,x,O,T){var w=T.getData(),C=T.getCurrentIndex(),N=w.getItemModel(C).getModel("checkpointStyle"),D=this,B={onCreate:function(R){R.draggable=!0,R.drift=u(D._handlePointerDrag,D),R.ondragend=u(D._handlePointerDragend,D),L(R,C,O,T,!0)},onUpdate:function(R){L(R,C,O,T)}};this._currentPointer=y(N,N,this._mainGroup,{},this._currentPointer,B)},_handlePlayClick:function(S){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:S,from:this.uid})},_handlePointerDrag:function(S,x,O){this._clearTimer(),this._pointerChangeTimeline([O.offsetX,O.offsetY])},_handlePointerDragend:function(S){this._pointerChangeTimeline([S.offsetX,S.offsetY],!0)},_pointerChangeTimeline:function(S,x){var O=this._toAxisCoord(S)[0],T=this._axis,w=s.asc(T.getExtent().slice());O>w[1]&&(O=w[1]),O<w[0]&&(O=w[0]),this._currentPointer.position[0]=O,this._currentPointer.dirty();var C=this._findNearestTick(O),N=this.model;(x||C!==N.getCurrentIndex()&&N.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(u(S,this),this.model.get("playInterval")));function S(){var x=this.model;this._changeTimeline(x.getCurrentIndex()+(x.get("rewind",!0)?-1:1))}},_toAxisCoord:function(S){var x=this._mainGroup.getLocalTransform();return p.applyTransform(S,x,!0)},_findNearestTick:function(S){var x=this.model.getData(),O=Infinity,T,w=this._axis;return x.each(["value"],function(C,N){var D=w.dataToCoord(C),B=Math.abs(D-S);B<O&&(O=B,T=N)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(S){var x=this.model.getCurrentIndex();S==="+"?S=x+1:S==="-"&&(S=x-1),this.api.dispatchAction({type:"timelineChange",currentIndex:S,from:this.uid})}});function f(S,x){return A.getLayoutRect(S.getBoxLayoutParams(),{width:x.getWidth(),height:x.getHeight()},S.get("padding"))}function v(S,x,O,T){var w=p.makePath(S.get(x).replace(/^path:\/\//,""),d.clone(T||{}),new E(O[0],O[1],O[2],O[3]),"center");return w}function y(S,x,O,T,w,C){var N=x.get("color");if(w)w.setColor(N),O.add(w),C&&C.onUpdate(w);else{var D=S.get("symbol");w=r(D,-1,-1,2,2,N),w.setStyle("strokeNoScale",!0),O.add(w),C&&C.onCreate(w)}var B=x.getItemStyle(["color","symbol","symbolSize"]);w.setStyle(B),T=d.merge({rectHover:!0,z2:100},T,!0);var R=S.get("symbolSize");R=R instanceof Array?R.slice():[+R,+R],R[0]/=2,R[1]/=2,T.scale=R;var U=S.get("symbolOffset");if(U){var M=T.position=T.position||[0,0];M[0]+=s.parsePercent(U[0],R[0]),M[1]+=s.parsePercent(U[1],R[1])}var j=S.get("symbolRotate");return T.rotation=(j||0)*Math.PI/180||0,w.attr(T),w.updateTransform(),w}function L(S,x,O,T,w){if(S.dragging)return;var C=T.getModel("checkpointStyle"),N=O.dataToCoord(T.getData().get(["value"],x));w||!C.get("animation",!0)?S.attr({position:[N,0]}):(S.stopAnimation(!0),S.animateTo({position:[N,0]},C.get("animationDuration",!0),C.get("animationEasing",!0)))}J.exports=o},NJEC:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("J4zp"),p=e.n(g),A=e("q1tI"),b=e.n(A),h=e("TSYQ"),i=e.n(h),r=e("sKbD"),a=e.n(r),s=e("4IlW"),l=e("3S7+"),n=e("2/Rp"),u=e("zvFY"),t=e("YMnH"),c=e("ZvpZ"),o=e("H84U"),f=e("bogI"),v=e("0n0R"),y=void 0,L=function(x,O){var T={};for(var w in x)Object.prototype.hasOwnProperty.call(x,w)&&O.indexOf(w)<0&&(T[w]=x[w]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,w=Object.getOwnPropertySymbols(x);C<w.length;C++)O.indexOf(w[C])<0&&Object.prototype.propertyIsEnumerable.call(x,w[C])&&(T[w[C]]=x[w[C]]);return T},S=A.forwardRef(function(x,O){var T=A.useState(x.visible),w=p()(T,2),C=w[0],N=w[1];A.useEffect(function(){"visible"in x&&N(x.visible)},[x.visible]),A.useEffect(function(){"defaultVisible"in x&&N(x.defaultVisible)},[x.defaultVisible]);var D=function(be,we){"visible"in x||N(be),x.onVisibleChange&&x.onVisibleChange(be,we)},B=function(be){D(!1,be),x.onConfirm&&x.onConfirm.call(y,be)},R=function(be){D(!1,be),x.onCancel&&x.onCancel.call(y,be)},U=function(be){be.keyCode===s.a.ESC&&C&&D(!1,be)},M=function(be){var we=x.disabled;if(we)return;D(be)},j=function(be,we){var Ke=x.okButtonProps,qe=x.cancelButtonProps,xt=x.title,Fe=x.cancelText,Be=x.okText,bt=x.okType,lt=x.icon;return A.createElement("div",{className:"".concat(be,"-inner-content")},A.createElement("div",{className:"".concat(be,"-message")},lt,A.createElement("div",{className:"".concat(be,"-message-title")},Object(f.a)(xt))),A.createElement("div",{className:"".concat(be,"-buttons")},A.createElement(n.a,E()({onClick:R,size:"small"},qe),Fe||we.cancelText),A.createElement(n.a,E()({onClick:B},Object(u.a)(bt),{size:"small"},Ke),Be||we.okText)))},P=A.useContext(o.b),K=P.getPrefixCls,H=x.prefixCls,k=x.placement,Z=x.children,Y=x.overlayClassName,_=L(x,["prefixCls","placement","children","overlayClassName"]),Q=K("popover",H),X=K("popconfirm",H),he=i()(X,Y),te=A.createElement(t.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},function(fe){return j(Q,fe)});return A.createElement(l.a,E()({},_,{prefixCls:Q,placement:k,onVisibleChange:M,visible:C,overlay:te,overlayClassName:he,ref:O}),Object(v.a)(Z,{onKeyDown:function(be){var we,Ke;(Ke=Z==null?void 0:(we=Z.props).onKeyDown)===null||Ke===void 0||Ke.call(we,be),U(be)}}))});S.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:A.createElement(a.a,null),disabled:!1},F.a=S},NKxu:function(J,F,e){var d=e("lSCD"),E=e("E2jh"),g=e("GoyQ"),p=e("3Fdi"),A=/[\\^$.*+?()[\]{}|]/g,b=/^\[object .+?Constructor\]$/,h=Function.prototype,i=Object.prototype,r=h.toString,a=i.hasOwnProperty,s=RegExp("^"+r.call(a).replace(A,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(n){if(!g(n)||E(n))return!1;var u=d(n)?s:b;return u.test(p(n))}J.exports=l},NUBc:function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("q1tI"),b=e.n(A),h=e("wx14"),i=e("rePB"),r=e("1OyB"),a=e("vuIU"),s=e("Ji7U"),l=e("md7G"),n=e("foSv"),u=e("TSYQ"),t=e.n(u),c=function(bt){var lt,tt="".concat(bt.rootPrefixCls,"-item"),St=t()(tt,"".concat(tt,"-").concat(bt.page),(lt={},Object(i.a)(lt,"".concat(tt,"-active"),bt.active),Object(i.a)(lt,bt.className,!!bt.className),Object(i.a)(lt,"".concat(tt,"-disabled"),!bt.page),lt)),ht=function(){bt.onClick(bt.page)},vt=function(At){bt.onKeyPress(At,bt.onClick,bt.page)};return b.a.createElement("li",{title:bt.showTitle?bt.page:null,className:St,onClick:ht,onKeyPress:vt,tabIndex:"0"},bt.itemRender(bt.page,"page",b.a.createElement("a",{rel:"nofollow"},bt.page)))},o=c,f={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};function v(Be){var bt=y();return function(){var tt=Object(n.a)(Be),St;if(bt){var ht=Object(n.a)(this).constructor;St=Reflect.construct(tt,arguments,ht)}else St=tt.apply(this,arguments);return Object(l.a)(this,St)}}function y(){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}}var L=function(Be){Object(s.a)(lt,Be);var bt=v(lt);function lt(){var tt;Object(r.a)(this,lt);for(var St=arguments.length,ht=new Array(St),vt=0;vt<St;vt++)ht[vt]=arguments[vt];return tt=bt.call.apply(bt,[this].concat(ht)),tt.state={goInputText:""},tt.buildOptionText=function(Ge){return"".concat(Ge," ").concat(tt.props.locale.items_per_page)},tt.changeSize=function(Ge){tt.props.changeSize(Number(Ge))},tt.handleChange=function(Ge){tt.setState({goInputText:Ge.target.value})},tt.handleBlur=function(Ge){var At=tt.props,_e=At.goButton,De=At.quickGo,Ie=At.rootPrefixCls,st=tt.state.goInputText;if(_e||st==="")return;if(Ge.relatedTarget&&(Ge.relatedTarget.className.indexOf("".concat(Ie,"-prev"))>=0||Ge.relatedTarget.className.indexOf("".concat(Ie,"-next"))>=0))return;tt.setState({goInputText:""}),De(tt.getValidValue())},tt.go=function(Ge){var At=tt.state.goInputText;if(At==="")return;(Ge.keyCode===f.ENTER||Ge.type==="click")&&(tt.setState({goInputText:""}),tt.props.quickGo(tt.getValidValue()))},tt}return Object(a.a)(lt,[{key:"getValidValue",value:function(){var St=this.state,ht=St.goInputText,vt=St.current;return!ht||isNaN(ht)?vt:Number(ht)}},{key:"getPageSizeOptions",value:function(){var St=this.props,ht=St.pageSize,vt=St.pageSizeOptions;return vt.some(function(Ge){return Ge.toString()===ht.toString()})?vt:vt.concat([ht.toString()]).sort(function(Ge,At){var _e=isNaN(Number(Ge))?0:Number(Ge),De=isNaN(Number(At))?0:Number(At);return _e-De})}},{key:"render",value:function(){var St=this,ht=this.props,vt=ht.pageSize,Ge=ht.locale,At=ht.rootPrefixCls,_e=ht.changeSize,De=ht.quickGo,Ie=ht.goButton,st=ht.selectComponentClass,Et=ht.buildOptionText,Mt=ht.selectPrefixCls,Pt=ht.disabled,ke=this.state.goInputText,zt="".concat(At,"-options"),Ot=st,_t=null,Ve=null,Qe=null;if(!_e&&!De)return null;var et=this.getPageSizeOptions();if(_e&&Ot){var dt=et.map(function(Ze,oe){return b.a.createElement(Ot.Option,{key:oe,value:Ze},(Et||St.buildOptionText)(Ze))});_t=b.a.createElement(Ot,{disabled:Pt,prefixCls:Mt,showSearch:!1,className:"".concat(zt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(vt||et[0]).toString(),onChange:this.changeSize,getPopupContainer:function(oe){return oe.parentNode}},dt)}return De&&(Ie&&(Qe=typeof Ie=="boolean"?b.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Pt,className:"".concat(zt,"-quick-jumper-button")},Ge.jump_to_confirm):b.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Ie)),Ve=b.a.createElement("div",{className:"".concat(zt,"-quick-jumper")},Ge.jump_to,b.a.createElement("input",{disabled:Pt,type:"text",value:ke,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ge.page,Qe)),b.a.createElement("li",{className:"".concat(zt)},_t,Ve)}}]),lt}(b.a.Component);L.defaultProps={pageSizeOptions:["10","20","50","100"]};var S=L,x=e("N2Kk");function O(Be,bt){var lt=Object.keys(Be);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(Be);bt&&(tt=tt.filter(function(St){return Object.getOwnPropertyDescriptor(Be,St).enumerable})),lt.push.apply(lt,tt)}return lt}function T(Be){for(var bt=1;bt<arguments.length;bt++){var lt=arguments[bt]!=null?arguments[bt]:{};bt%2?O(Object(lt),!0).forEach(function(tt){Object(i.a)(Be,tt,lt[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Be,Object.getOwnPropertyDescriptors(lt)):O(Object(lt)).forEach(function(tt){Object.defineProperty(Be,tt,Object.getOwnPropertyDescriptor(lt,tt))})}return Be}function w(Be){var bt=C();return function(){var tt=Object(n.a)(Be),St;if(bt){var ht=Object(n.a)(this).constructor;St=Reflect.construct(tt,arguments,ht)}else St=tt.apply(this,arguments);return Object(l.a)(this,St)}}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Be){return!1}}function N(){}function D(Be){return typeof Be=="number"&&isFinite(Be)&&Math.floor(Be)===Be}function B(Be,bt,lt){return lt}function R(Be,bt,lt){var tt=typeof Be=="undefined"?bt.pageSize:Be;return Math.floor((lt.total-1)/tt)+1}var U=function(Be){Object(s.a)(lt,Be);var bt=w(lt);function lt(tt){var St;Object(r.a)(this,lt),St=bt.call(this,tt),St.getJumpPrevPage=function(){return Math.max(1,St.state.current-(St.props.showLessItems?3:5))},St.getJumpNextPage=function(){return Math.min(R(void 0,St.state,St.props),St.state.current+(St.props.showLessItems?3:5))},St.getItemIcon=function(_e,De){var Ie=St.props.prefixCls,st=_e||b.a.createElement("button",{type:"button","aria-label":De,className:"".concat(Ie,"-item-link")});return typeof _e=="function"&&(st=b.a.createElement(_e,T({},St.props))),st},St.savePaginationNode=function(_e){St.paginationNode=_e},St.isValid=function(_e){return D(_e)&&_e!==St.state.current},St.shouldDisplayQuickJumper=function(){var _e=St.props,De=_e.showQuickJumper,Ie=_e.pageSize,st=_e.total;return st<=Ie?!1:De},St.handleKeyDown=function(_e){(_e.keyCode===f.ARROW_UP||_e.keyCode===f.ARROW_DOWN)&&_e.preventDefault()},St.handleKeyUp=function(_e){var De=St.getValidValue(_e),Ie=St.state.currentInputValue;De!==Ie&&St.setState({currentInputValue:De}),_e.keyCode===f.ENTER?St.handleChange(De):_e.keyCode===f.ARROW_UP?St.handleChange(De-1):_e.keyCode===f.ARROW_DOWN&&St.handleChange(De+1)},St.changePageSize=function(_e){var De=St.state.current,Ie=R(_e,St.state,St.props);De=De>Ie?Ie:De,Ie===0&&(De=St.state.current),typeof _e=="number"&&("pageSize"in St.props||St.setState({pageSize:_e}),"current"in St.props||St.setState({current:De,currentInputValue:De})),St.props.onShowSizeChange(De,_e),"onChange"in St.props&&St.props.onChange&&St.props.onChange(De,_e)},St.handleChange=function(_e){var De=St.props.disabled,Ie=_e;if(St.isValid(Ie)&&!De){var st=R(void 0,St.state,St.props);Ie>st?Ie=st:Ie<1&&(Ie=1),"current"in St.props||St.setState({current:Ie,currentInputValue:Ie});var Et=St.state.pageSize;return St.props.onChange(Ie,Et),Ie}return St.state.current},St.prev=function(){St.hasPrev()&&St.handleChange(St.state.current-1)},St.next=function(){St.hasNext()&&St.handleChange(St.state.current+1)},St.jumpPrev=function(){St.handleChange(St.getJumpPrevPage())},St.jumpNext=function(){St.handleChange(St.getJumpNextPage())},St.hasPrev=function(){return St.state.current>1},St.hasNext=function(){return St.state.current<R(void 0,St.state,St.props)},St.runIfEnter=function(_e,De){if(_e.key==="Enter"||_e.charCode===13){for(var Ie=arguments.length,st=new Array(Ie>2?Ie-2:0),Et=2;Et<Ie;Et++)st[Et-2]=arguments[Et];De.apply(void 0,st)}},St.runIfEnterPrev=function(_e){St.runIfEnter(_e,St.prev)},St.runIfEnterNext=function(_e){St.runIfEnter(_e,St.next)},St.runIfEnterJumpPrev=function(_e){St.runIfEnter(_e,St.jumpPrev)},St.runIfEnterJumpNext=function(_e){St.runIfEnter(_e,St.jumpNext)},St.handleGoTO=function(_e){(_e.keyCode===f.ENTER||_e.type==="click")&&St.handleChange(St.state.currentInputValue)};var ht=tt.onChange!==N,vt="current"in tt;vt&&!ht&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ge=tt.defaultCurrent;"current"in tt&&(Ge=tt.current);var At=tt.defaultPageSize;return"pageSize"in tt&&(At=tt.pageSize),Ge=Math.min(Ge,R(At,void 0,tt)),St.state={current:Ge,currentInputValue:Ge,pageSize:At},St}return Object(a.a)(lt,[{key:"componentDidUpdate",value:function(St,ht){var vt=this.props.prefixCls;if(ht.current!==this.state.current&&this.paginationNode){var Ge=this.paginationNode.querySelector(".".concat(vt,"-item-").concat(ht.current));Ge&&document.activeElement===Ge&&Ge.blur()}}},{key:"getValidValue",value:function(St){var ht=St.target.value,vt=R(void 0,this.state,this.props),Ge=this.state.currentInputValue,At;return ht===""?At=ht:isNaN(Number(ht))?At=Ge:ht>=vt?At=vt:At=Number(ht),At}},{key:"getShowSizeChanger",value:function(){var St=this.props,ht=St.showSizeChanger,vt=St.total,Ge=St.totalBoundaryShowSizeChanger;return typeof ht!="undefined"?ht:vt>Ge}},{key:"renderPrev",value:function(St){var ht=this.props,vt=ht.prevIcon,Ge=ht.itemRender,At=Ge(St,"prev",this.getItemIcon(vt,"prev page")),_e=!this.hasPrev();return Object(A.isValidElement)(At)?Object(A.cloneElement)(At,{disabled:_e}):At}},{key:"renderNext",value:function(St){var ht=this.props,vt=ht.nextIcon,Ge=ht.itemRender,At=Ge(St,"next",this.getItemIcon(vt,"next page")),_e=!this.hasNext();return Object(A.isValidElement)(At)?Object(A.cloneElement)(At,{disabled:_e}):At}},{key:"render",value:function(){var St=this,ht=this.props,vt=ht.prefixCls,Ge=ht.className,At=ht.style,_e=ht.disabled,De=ht.hideOnSinglePage,Ie=ht.total,st=ht.locale,Et=ht.showQuickJumper,Mt=ht.showLessItems,Pt=ht.showTitle,ke=ht.showTotal,zt=ht.simple,Ot=ht.itemRender,_t=ht.showPrevNextJumpers,Ve=ht.jumpPrevIcon,Qe=ht.jumpNextIcon,et=ht.selectComponentClass,dt=ht.selectPrefixCls,Ze=ht.pageSizeOptions,oe=this.state,me=oe.current,ot=oe.pageSize,Pe=oe.currentInputValue;if(De===!0&&Ie<=ot)return null;var pt=R(void 0,this.state,this.props),Rr=[],It=null,nr=null,Gt=null,Jt=null,hr=null,Xt=Et&&Et.goButton,de=Mt?1:2,ue=me-1>0?me-1:0,se=me+1<pt?me+1:pt,ae=Object.keys(this.props).reduce(function(le,ge){return(ge.substr(0,5)==="data-"||ge.substr(0,5)==="aria-"||ge==="role")&&(le[ge]=St.props[ge]),le},{});if(zt)return Xt&&(typeof Xt=="boolean"?hr=b.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},st.jump_to_confirm):hr=b.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Xt),hr=b.a.createElement("li",{title:Pt?"".concat(st.jump_to).concat(me,"/").concat(pt):null,className:"".concat(vt,"-simple-pager")},hr)),b.a.createElement("ul",Object(h.a)({className:t()(vt,"".concat(vt,"-simple"),Object(i.a)({},"".concat(vt,"-disabled"),_e),Ge),style:At,ref:this.savePaginationNode},ae),b.a.createElement("li",{title:Pt?st.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(vt,"-prev"),Object(i.a)({},"".concat(vt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(ue)),b.a.createElement("li",{title:Pt?"".concat(me,"/").concat(pt):null,className:"".concat(vt,"-simple-pager")},b.a.createElement("input",{type:"text",value:Pe,disabled:_e,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),b.a.createElement("span",{className:"".concat(vt,"-slash")},"/"),pt),b.a.createElement("li",{title:Pt?st.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(vt,"-next"),Object(i.a)({},"".concat(vt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(se)),hr);if(pt<=3+de*2){var ye={locale:st,rootPrefixCls:vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Pt,itemRender:Ot};pt||Rr.push(b.a.createElement(o,Object(h.a)({},ye,{key:"noPager",page:pt,className:"".concat(vt,"-disabled")})));for(var Ce=1;Ce<=pt;Ce+=1){var Oe=me===Ce;Rr.push(b.a.createElement(o,Object(h.a)({},ye,{key:Ce,page:Ce,active:Oe})))}}else{var Te=Mt?st.prev_3:st.prev_5,xe=Mt?st.next_3:st.next_5;_t&&(It=b.a.createElement("li",{title:Pt?Te:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(vt,"-jump-prev"),Object(i.a)({},"".concat(vt,"-jump-prev-custom-icon"),!!Ve))},Ot(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ve,"prev page"))),nr=b.a.createElement("li",{title:Pt?xe:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(vt,"-jump-next"),Object(i.a)({},"".concat(vt,"-jump-next-custom-icon"),!!Qe))},Ot(this.getJumpNextPage(),"jump-next",this.getItemIcon(Qe,"next page")))),Jt=b.a.createElement(o,{locale:st,last:!0,rootPrefixCls:vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:pt,page:pt,active:!1,showTitle:Pt,itemRender:Ot}),Gt=b.a.createElement(o,{locale:st,rootPrefixCls:vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Pt,itemRender:Ot});var je=Math.max(1,me-de),ut=Math.min(me+de,pt);me-1<=de&&(ut=1+de*2),pt-me<=de&&(je=pt-de*2);for(var wt=je;wt<=ut;wt+=1){var ee=me===wt;Rr.push(b.a.createElement(o,{locale:st,rootPrefixCls:vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:wt,page:wt,active:ee,showTitle:Pt,itemRender:Ot}))}me-1>=de*2&&me!==1+2&&(Rr[0]=Object(A.cloneElement)(Rr[0],{className:"".concat(vt,"-item-after-jump-prev")}),Rr.unshift(It)),pt-me>=de*2&&me!==pt-2&&(Rr[Rr.length-1]=Object(A.cloneElement)(Rr[Rr.length-1],{className:"".concat(vt,"-item-before-jump-next")}),Rr.push(nr)),je!==1&&Rr.unshift(Gt),ut!==pt&&Rr.push(Jt)}var ie=null;ke&&(ie=b.a.createElement("li",{className:"".concat(vt,"-total-text")},ke(Ie,[Ie===0?0:(me-1)*ot+1,me*ot>Ie?Ie:me*ot])));var z=!this.hasPrev()||!pt,$=!this.hasNext()||!pt;return b.a.createElement("ul",Object(h.a)({className:t()(vt,Ge,Object(i.a)({},"".concat(vt,"-disabled"),_e)),style:At,unselectable:"unselectable",ref:this.savePaginationNode},ae),ie,b.a.createElement("li",{title:Pt?st.prev_page:null,onClick:this.prev,tabIndex:z?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(vt,"-prev"),Object(i.a)({},"".concat(vt,"-disabled"),z)),"aria-disabled":z},this.renderPrev(ue)),Rr,b.a.createElement("li",{title:Pt?st.next_page:null,onClick:this.next,tabIndex:$?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(vt,"-next"),Object(i.a)({},"".concat(vt,"-disabled"),$)),"aria-disabled":$},this.renderNext(se)),b.a.createElement(S,{disabled:_e,locale:st,rootPrefixCls:vt,selectComponentClass:et,selectPrefixCls:dt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:me,pageSize:ot,pageSizeOptions:Ze,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Xt}))}}],[{key:"getDerivedStateFromProps",value:function(St,ht){var vt={};if("current"in St&&(vt.current=St.current,St.current!==ht.current&&(vt.currentInputValue=vt.current)),"pageSize"in St&&St.pageSize!==ht.pageSize){var Ge=ht.current,At=R(St.pageSize,ht,St);Ge=Ge>At?At:Ge,"current"in St||(vt.current=Ge,vt.currentInputValue=Ge),vt.pageSize=St.pageSize}return vt}}]),lt}(b.a.Component);U.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:N,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:N,locale:x.a,style:{},itemRender:B,totalBoundaryShowSizeChanger:50};var M=U,j=e("H4fg"),P=e("DFhj"),K=e.n(P),H=e("fEPi"),k=e.n(H),Z=e("u9fO"),Y=e.n(Z),_=e("mO/d"),Q=e.n(_),X=e("2fM7"),he=function(bt){return A.createElement(X.a,p()({size:"small"},bt))};he.Option=X.a.Option;var te=he,fe=e("YMnH"),be=e("H84U"),we=e("5OYt"),Ke=function(Be,bt){var lt={};for(var tt in Be)Object.prototype.hasOwnProperty.call(Be,tt)&&bt.indexOf(tt)<0&&(lt[tt]=Be[tt]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,tt=Object.getOwnPropertySymbols(Be);St<tt.length;St++)bt.indexOf(tt[St])<0&&Object.prototype.propertyIsEnumerable.call(Be,tt[St])&&(lt[tt[St]]=Be[tt[St]]);return lt},qe=function(bt){var lt=bt.prefixCls,tt=bt.selectPrefixCls,St=bt.className,ht=bt.size,vt=bt.locale,Ge=Ke(bt,["prefixCls","selectPrefixCls","className","size","locale"]),At=Object(we.a)(),_e=At.xs,De=A.useContext(be.b),Ie=De.getPrefixCls,st=De.direction,Et=Ie("pagination",lt),Mt=function(){var zt=A.createElement("span",{className:"".concat(Et,"-item-ellipsis")},"\u2022\u2022\u2022"),Ot=A.createElement("button",{className:"".concat(Et,"-item-link"),type:"button",tabIndex:-1},A.createElement(K.a,null)),_t=A.createElement("button",{className:"".concat(Et,"-item-link"),type:"button",tabIndex:-1},A.createElement(k.a,null)),Ve=A.createElement("a",{className:"".concat(Et,"-item-link")},A.createElement("div",{className:"".concat(Et,"-item-container")},A.createElement(Y.a,{className:"".concat(Et,"-item-link-icon")}),zt)),Qe=A.createElement("a",{className:"".concat(Et,"-item-link")},A.createElement("div",{className:"".concat(Et,"-item-container")},A.createElement(Q.a,{className:"".concat(Et,"-item-link-icon")}),zt));if(st==="rtl"){var et=[_t,Ot];Ot=et[0],_t=et[1];var dt=[Qe,Ve];Ve=dt[0],Qe=dt[1]}return{prevIcon:Ot,nextIcon:_t,jumpPrevIcon:Ve,jumpNextIcon:Qe}},Pt=function(zt){var Ot=p()(p()({},zt),vt),_t=ht==="small"||!!(_e&&!ht&&Ge.responsive),Ve=Ie("select",tt),Qe=t()(St,E()({mini:_t},"".concat(Et,"-rtl"),st==="rtl"));return A.createElement(M,p()({},Ge,{prefixCls:Et,selectPrefixCls:Ve},Mt(),{className:Qe,selectComponentClass:_t?te:X.a,locale:Ot}))};return A.createElement(fe.a,{componentName:"Pagination",defaultLocale:j.a},Pt)},xt=qe,Fe=F.a=xt},NohK:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=function(g){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,A=null;return function(){for(var b=this,h=arguments.length,i=new Array(h),r=0;r<h;r++)i[r]=arguments[r];clearTimeout(A),A=setTimeout(function(){g.apply(b,i)},p)}};F.default=d},Npjl:function(J,F){function e(d,E){return d==null?void 0:d[E]}J.exports=e},Nu4q:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={icon:function(g,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:g}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:p}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:p}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:p}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:g}}]}},name:"picture",theme:"twotone"};F.default=d},NvD2:function(J,F,e){"use strict";e.d(F,"a",function(){return b});var d=e("Kwbf");function E(h,i){var r=new Set;return h.forEach(function(a){i.has(a)||r.add(a)}),r}function g(h){var i=h||{},r=i.disabled,a=i.disableCheckbox,s=i.checkable;return!!(r||a)||s===!1}function p(h,i,r,a){for(var s=new Set(h),l=new Set,n=0;n<=r;n+=1){var u=i.get(n)||new Set;u.forEach(function(f){var v=f.key,y=f.node,L=f.children,S=L===void 0?[]:L;s.has(v)&&!a(y)&&S.filter(function(x){return!a(x.node)}).forEach(function(x){s.add(x.key)})})}for(var t=new Set,c=r;c>=0;c-=1){var o=i.get(c)||new Set;o.forEach(function(f){var v=f.parent,y=f.node;if(a(y)||!f.parent||t.has(f.parent.key))return;if(a(f.parent.node)){t.add(v.key);return}var L=!0,S=!1;(v.children||[]).filter(function(x){return!a(x.node)}).forEach(function(x){var O=x.key,T=s.has(O);L&&!T&&(L=!1),!S&&(T||l.has(O))&&(S=!0)}),L&&s.add(v.key),S&&l.add(v.key),t.add(v.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(E(l,s))}}function A(h,i,r,a,s){for(var l=new Set(h),n=new Set(i),u=0;u<=a;u+=1){var t=r.get(u)||new Set;t.forEach(function(v){var y=v.key,L=v.node,S=v.children,x=S===void 0?[]:S;!l.has(y)&&!n.has(y)&&!s(L)&&x.filter(function(O){return!s(O.node)}).forEach(function(O){l.delete(O.key)})})}n=new Set;for(var c=new Set,o=a;o>=0;o-=1){var f=r.get(o)||new Set;f.forEach(function(v){var y=v.parent,L=v.node;if(s(L)||!v.parent||c.has(v.parent.key))return;if(s(v.parent.node)){c.add(y.key);return}var S=!0,x=!1;(y.children||[]).filter(function(O){return!s(O.node)}).forEach(function(O){var T=O.key,w=l.has(T);S&&!w&&(S=!1),!x&&(w||n.has(T))&&(x=!0)}),S||l.delete(y.key),x&&n.add(y.key),c.add(y.key)})}return{checkedKeys:Array.from(l),halfCheckedKeys:Array.from(E(n,l))}}function b(h,i,r,a){var s=[],l;a?l=a:l=g;var n=new Set(h.filter(function(o){var f=!!r[o];return f||s.push(o),f})),u=new Map,t=0;Object.keys(r).forEach(function(o){var f=r[o],v=f.level,y=u.get(v);y||(y=new Set,u.set(v,y)),y.add(f),t=Math.max(t,v)}),Object(d.a)(!s.length,"Tree missing follow keys: ".concat(s.slice(0,100).map(function(o){return"'".concat(o,"'")}).join(", ")));var c;return i===!0?c=p(n,u,t,l):c=A(n,i.halfCheckedKeys,u,t,l),c}},"O/iA":function(J,F,e){},O3gP:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("O/iA"),p=e.n(g),A=e("OaEy")},OELB:function(J,F,e){var d=e("bYtY"),E=1e-4;function g(x){return x.replace(/^\s+|\s+$/g,"")}function p(x,O,T,w){var C=O[1]-O[0],N=T[1]-T[0];if(C===0)return N===0?T[0]:(T[0]+T[1])/2;if(w)if(C>0){if(x<=O[0])return T[0];if(x>=O[1])return T[1]}else{if(x>=O[0])return T[0];if(x<=O[1])return T[1]}else{if(x===O[0])return T[0];if(x===O[1])return T[1]}return(x-O[0])/C*N+T[0]}function A(x,O){switch(x){case"center":case"middle":x="50%";break;case"left":case"top":x="0%";break;case"right":case"bottom":x="100%";break}return typeof x=="string"?g(x).match(/%$/)?parseFloat(x)/100*O:parseFloat(x):x==null?NaN:+x}function b(x,O,T){return O==null&&(O=10),O=Math.min(Math.max(0,O),20),x=(+x).toFixed(O),T?x:+x}function h(x){return x.sort(function(O,T){return O-T}),x}function i(x){if(x=+x,isNaN(x))return 0;for(var O=1,T=0;Math.round(x*O)/O!==x;)O*=10,T++;return T}function r(x){var O=x.toString(),T=O.indexOf("e");if(T>0){var w=+O.slice(T+1);return w<0?-w:0}else{var C=O.indexOf(".");return C<0?0:O.length-1-C}}function a(x,O){var T=Math.log,w=Math.LN10,C=Math.floor(T(x[1]-x[0])/w),N=Math.round(T(Math.abs(O[1]-O[0]))/w),D=Math.min(Math.max(-C+N,0),20);return isFinite(D)?D:20}function s(x,O,T){if(!x[O])return 0;var w=d.reduce(x,function(H,k){return H+(isNaN(k)?0:k)},0);if(w===0)return 0;for(var C=Math.pow(10,T),N=d.map(x,function(H){return(isNaN(H)?0:H)/w*C*100}),D=C*100,B=d.map(N,function(H){return Math.floor(H)}),R=d.reduce(B,function(H,k){return H+k},0),U=d.map(N,function(H,k){return H-B[k]});R<D;){for(var M=Number.NEGATIVE_INFINITY,j=null,P=0,K=U.length;P<K;++P)U[P]>M&&(M=U[P],j=P);++B[j],U[j]=0,++R}return B[O]/C}var l=9007199254740991;function n(x){var O=Math.PI*2;return(x%O+O)%O}function u(x){return x>-E&&x<E}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 c(x){if(x instanceof Date)return x;if(typeof x=="string"){var O=t.exec(x);if(!O)return new Date(NaN);if(O[8]){var T=+O[4]||0;return O[8].toUpperCase()!=="Z"&&(T-=O[8].slice(0,3)),new Date(Date.UTC(+O[1],+(O[2]||1)-1,+O[3]||1,T,+(O[5]||0),+O[6]||0,+O[7]||0))}else return new Date(+O[1],+(O[2]||1)-1,+O[3]||1,+O[4]||0,+(O[5]||0),+O[6]||0,+O[7]||0)}else if(x==null)return new Date(NaN);return new Date(Math.round(x))}function o(x){return Math.pow(10,f(x))}function f(x){if(x===0)return 0;var O=Math.floor(Math.log(x)/Math.LN10);return x/Math.pow(10,O)>=10&&O++,O}function v(x,O){var T=f(x),w=Math.pow(10,T),C=x/w,N;return O?C<1.5?N=1:C<2.5?N=2:C<4?N=3:C<7?N=5:N=10:C<1?N=1:C<2?N=2:C<3?N=3:C<5?N=5:N=10,x=N*w,T>=-20?+x.toFixed(T<0?-T:0):x}function y(x,O){var T=(x.length-1)*O+1,w=Math.floor(T),C=+x[w-1],N=T-w;return N?C+N*(x[w]-C):C}function L(x){x.sort(function(R,U){return B(R,U,0)?-1:1});for(var O=-Infinity,T=1,w=0;w<x.length;){for(var C=x[w].interval,N=x[w].close,D=0;D<2;D++)C[D]<=O&&(C[D]=O,N[D]=D?1:1-T),O=C[D],T=N[D];C[0]===C[1]&&N[0]*N[1]!==1?x.splice(w,1):w++}return x;function B(R,U,M){return R.interval[M]<U.interval[M]||R.interval[M]===U.interval[M]&&(R.close[M]-U.close[M]===(M?-1:1)||!M&&B(R,U,1))}}function S(x){return x-parseFloat(x)>=0}F.linearMap=p,F.parsePercent=A,F.round=b,F.asc=h,F.getPrecision=i,F.getPrecisionSafe=r,F.getPixelPrecision=a,F.getPercentWithPrecision=s,F.MAX_SAFE_INTEGER=l,F.remRadian=n,F.isRadianAroundZero=u,F.parseDate=c,F.quantity=o,F.quantityExponent=f,F.nice=v,F.quantile=y,F.reformIntervals=L,F.isNumeric=S},OKJ2:function(J,F,e){var d=e("KxfA"),E=d.retrieveRawValue,g=e("7aKB"),p=g.getTooltipMarker,A=g.formatTpl,b=e("4NO4"),h=b.getTooltipRenderMode,i=/\{@(.+?)\}/g,r={getDataParams:function(a,s){var l=this.getData(s),n=this.getRawValue(a,s),u=l.getRawIndex(a),t=l.getName(a),c=l.getRawDataItem(a),o=l.getItemVisual(a,"color"),f=l.getItemVisual(a,"borderColor"),v=this.ecModel.getComponent("tooltip"),y=v&&v.get("renderMode"),L=h(y),S=this.mainType,x=S==="series",O=l.userOutput;return{componentType:S,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:x?this.subType:null,seriesIndex:this.seriesIndex,seriesId:x?this.id:null,seriesName:x?this.name:null,name:t,dataIndex:u,data:c,dataType:s,value:n,color:o,borderColor:f,dimensionNames:O?O.dimensionNames:null,encode:O?O.encode:null,marker:p({color:o,renderMode:L}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(a,s,l,n,u){s=s||"normal";var t=this.getData(l),c=t.getItemModel(a),o=this.getDataParams(a,l);n!=null&&o.value instanceof Array&&(o.value=o.value[n]);var f=c.get(s==="normal"?[u||"label","formatter"]:[s,u||"label","formatter"]);if(typeof f=="function")return o.status=s,o.dimensionIndex=n,f(o);if(typeof f=="string"){var v=A(f,o);return v.replace(i,function(y,L){var S=L.length;return L.charAt(0)==="["&&L.charAt(S-1)==="]"&&(L=+L.slice(1,S-1)),E(t,a,L)})}},getRawValue:function(a,s){return E(this.getData(s),a)},formatTooltip:function(){}};J.exports=r},OPEp:function(J,F,e){},OQFs:function(J,F,e){var d=e("KCsZ"),E=d([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),g={getLineStyle:function(p){var A=E(this,p);return A.lineDash=this.getLineDash(A.lineWidth),A},getLineDash:function(p){p==null&&(p=1);var A=this.get("type"),b=Math.max(p,2),h=p*4;return A==="solid"||A==null?!1:A==="dashed"?[h,h]:[b,b]}};J.exports=g},OS9S:function(J,F,e){var d=e("bYtY"),E=d.inherits,g=e("Gev7"),p=e("mFDi");function A(i){g.call(this,i),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}A.prototype.incremental=!0,A.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},A.prototype.addDisplayable=function(i,r){r?this._temporaryDisplayables.push(i):this._displayables.push(i),this.dirty()},A.prototype.addDisplayables=function(i,r){r=r||!1;for(var a=0;a<i.length;a++)this.addDisplayable(i[a],r)},A.prototype.eachPendingDisplayable=function(i){for(var r=this._cursor;r<this._displayables.length;r++)i&&i(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)i&&i(this._temporaryDisplayables[r])},A.prototype.update=function(){this.updateTransform();for(var i=this._cursor;i<this._displayables.length;i++){var r=this._displayables[i];r.parent=this,r.update(),r.parent=null}for(var i=0;i<this._temporaryDisplayables.length;i++){var r=this._temporaryDisplayables[i];r.parent=this,r.update(),r.parent=null}},A.prototype.brush=function(i,r){for(var a=this._cursor;a<this._displayables.length;a++){var s=this._displayables[a];s.beforeBrush&&s.beforeBrush(i),s.brush(i,a===this._cursor?null:this._displayables[a-1]),s.afterBrush&&s.afterBrush(i)}this._cursor=a;for(var a=0;a<this._temporaryDisplayables.length;a++){var s=this._temporaryDisplayables[a];s.beforeBrush&&s.beforeBrush(i),s.brush(i,a===0?null:this._temporaryDisplayables[a-1]),s.afterBrush&&s.afterBrush(i)}this._temporaryDisplayables=[],this.notClear=!0};var b=[];A.prototype.getBoundingRect=function(){if(!this._rect){for(var i=new p(Infinity,Infinity,-Infinity,-Infinity),r=0;r<this._displayables.length;r++){var a=this._displayables[r],s=a.getBoundingRect().clone();a.needLocalTransform()&&s.applyTransform(a.getLocalTransform(b)),i.union(s)}this._rect=i}return this._rect},A.prototype.contain=function(i,r){var a=this.transformCoordToLocal(i,r),s=this.getBoundingRect();if(s.contain(a[0],a[1]))for(var l=0;l<this._displayables.length;l++){var n=this._displayables[l];if(n.contain(i,r))return!0}return!1},E(A,g);var h=A;J.exports=h},OUJF:function(J,F,e){var d=e("ProS"),E=e("bYtY");d.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(g,p){var A=p.getComponent("timeline");return A&&g.currentIndex!=null&&(A.setCurrentIndex(g.currentIndex),!A.get("loop",!0)&&A.isIndexMax()&&A.setPlayState(!1)),p.resetOption("timeline"),E.defaults({currentIndex:A.option.currentIndex},g)}),d.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(g,p){var A=p.getComponent("timeline");A&&g.playState!=null&&A.setPlayState(g.playState)})},OXB0:function(J,F,e){var d=e("T4UG"),E=e("MwEJ"),g=e("IDmD"),p=d.extend({type:"series.heatmap",getInitialData:function(A,b){return E(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var A=g.get(this.get("coordinateSystem"));if(A&&A.dimensions)return A.dimensions[0]==="lng"&&A.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});J.exports=p},OZM5:function(J,F,e){"use strict";e.d(F,"b",function(){return a}),e.d(F,"a",function(){return s}),e.d(F,"k",function(){return l}),e.d(F,"h",function(){return n}),e.d(F,"i",function(){return u}),e.d(F,"g",function(){return t}),e.d(F,"c",function(){return c}),e.d(F,"d",function(){return o}),e.d(F,"j",function(){return y}),e.d(F,"e",function(){return L}),e.d(F,"f",function(){return S});var d=e("KQm4"),E=e("U8pU"),g=e("Ff2n"),p=e("q1tI"),A=e.n(p),b=e("Kwbf"),h=e("WaYH"),i=.25,r=2;function a(x,O){var T=x.slice(),w=T.indexOf(O);return w>=0&&T.splice(w,1),T}function s(x,O){var T=x.slice();return T.indexOf(O)===-1&&T.push(O),T}function l(x){return x.split("-")}function n(x,O){return"".concat(x,"-").concat(O)}function u(x){return x&&x.type&&x.type.isTreeNode}function t(x,O){var T=[x],w=O[x];function C(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];N.forEach(function(D){var B=D.key,R=D.children;T.push(B),C(R)})}return C(w.children),T}function c(x,O){var T=x.clientY,w=O.selectHandle.getBoundingClientRect(),C=w.top,N=w.bottom,D=w.height,B=Math.max(D*i,r);return T<=C+B?-1:T>=N-B?1:0}function o(x,O){if(!x)return;var T=O.multiple;return T?x.slice():x.length?[x[0]]:x}var f=function(O){return O};function v(x,O){if(!x)return[];var T=O||{},w=T.processProps,C=w===void 0?f:w,N=Array.isArray(x)?x:[x];return N.map(function(D){var B=D.children,R=Object(g.a)(D,["children"]),U=v(B,O);return A.a.createElement(h.a,Object.assign({},C(R)),U)})}function y(x){if(!x)return null;var O;if(Array.isArray(x))O={checkedKeys:x,halfCheckedKeys:void 0};else if(Object(E.a)(x)==="object")O={checkedKeys:x.checked||void 0,halfCheckedKeys:x.halfChecked||void 0};else return Object(b.a)(!1,"`checkedKeys` is not an array or an object"),null;return O}function L(x,O){var T=new Set;function w(C){if(T.has(C))return;var N=O[C];if(!N)return;T.add(C);var D=N.parent,B=N.node;if(B.disabled)return;D&&w(D.key)}return(x||[]).forEach(function(C){w(C)}),Object(d.a)(T)}function S(x){var O={};return Object.keys(x).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(O[T]=x[T])}),O}},OaEy:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("bKJz"),p=e.n(g),A=e("R9oj")},"Of+w":function(J,F,e){var d=e("Cwc5"),E=e("Kz5y"),g=d(E,"WeakMap");J.exports=g},Ol7k:function(J,F,e){"use strict";var d=e("PKem"),E=e("ZX9x");d.b.Sider=E.b,F.a=d.b},OlYY:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("bYtY"),A=e("ItGF"),b=e("4NO4"),h=e("UOVi"),i=e("zDms"),r=p.each,a=h.eachAxisDim,s=g.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,c,o){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var f=l(t);this.settledOption=f,this.mergeDefaultAndTheme(t,o),this.doInit(f)},mergeOption:function(t){var c=l(t);p.merge(this.option,t,!0),p.merge(this.settledOption,c,!0),this.doInit(c)},doInit:function(t){var c=this.option;A.canvasSupported||(c.realtime=!1),this._setDefaultThrottle(t),n(this,t);var o=this.settledOption;r([["start","startValue"],["end","endValue"]],function(f,v){this._rangePropMode[v]==="value"&&(c[f[0]]=o[f[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(c,o,f,v){var y=this.dependentModels[c.axis][o],L=y.__dzAxisProxy||(y.__dzAxisProxy=new i(c.name,o,this,v));t[c.name+"_"+o]=L},this)},_resetTarget:function(){var t=this.option,c=this._judgeAutoMode();a(function(o){var f=o.axisIndex;t[f]=b.normalizeToArray(t[f])},this),c==="axisIndex"?this._autoSetAxisIndex():c==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,c=!1;a(function(f){t[f.axisIndex]!=null&&(c=!0)},this);var o=t.orient;if(o==null&&c)return"orient";if(!c)return o==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,c=this.get("orient",!0),o=this.option,f=this.dependentModels;if(t){var v=c==="vertical"?"y":"x";f[v+"Axis"].length?(o[v+"AxisIndex"]=[0],t=!1):r(f.singleAxis,function(y){t&&y.get("orient",!0)===c&&(o.singleAxisIndex=[y.componentIndex],t=!1)})}t&&a(function(y){if(!t)return;var L=[],S=this.dependentModels[y.axis];if(S.length&&!L.length)for(var x=0,O=S.length;x<O;x++)S[x].get("type")==="category"&&L.push(x);o[y.axisIndex]=L,L.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(y){this._isSeriesHasAllAxesTypeOf(y,"value")&&a(function(L){var S=o[L.axisIndex],x=y.get(L.axisIndex),O=y.get(L.axisId),T=y.ecModel.queryComponents({mainType:L.axis,index:x,id:O})[0];x=T.componentIndex,p.indexOf(S,x)<0&&S.push(x)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(c){!t&&(t=c.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,c){var o=!0;return a(function(f){var v=t.get(f.axisIndex),y=this.dependentModels[f.axis][v];(!y||y.get("type")!==c)&&(o=!1)},this),o},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var c=this.ecModel.option;this.option.throttle=c.animation&&c.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return a(function(c){if(t==null){var o=this.get(c.axisIndex);o.length&&(t=this.dependentModels[c.axis][o[0]])}},this),t},eachTargetAxis:function(t,c){var o=this.ecModel;a(function(f){r(this.get(f.axisIndex),function(v){t.call(c,f,v,this,o)},this)},this)},getAxisProxy:function(t,c){return this._axisProxies[t+"_"+c]},getAxisModel:function(t,c){var o=this.getAxisProxy(t,c);return o&&o.getAxisModel()},setRawRange:function(t){var c=this.option,o=this.settledOption;r([["start","startValue"],["end","endValue"]],function(f){(t[f[0]]!=null||t[f[1]]!=null)&&(c[f[0]]=o[f[0]]=t[f[0]],c[f[1]]=o[f[1]]=t[f[1]])},this),n(this,t)},setCalculatedRange:function(t){var c=this.option;r(["start","startValue","end","endValue"],function(o){c[o]=t[o]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,c){if(t==null&&c==null){var o=this.findRepresentativeAxisProxy();if(o)return o.getDataValueWindow()}else return this.getAxisProxy(t,c).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var c=this._axisProxies;for(var o in c)if(c.hasOwnProperty(o)&&c[o].hostedBy(this))return c[o];for(var o in c)if(c.hasOwnProperty(o)&&!c[o].hostedBy(this))return c[o]},getRangePropMode:function(){return this._rangePropMode.slice()}});function l(t){var c={};return r(["start","end","startValue","endValue","throttle"],function(o){t.hasOwnProperty(o)&&(c[o]=t[o])}),c}function n(t,c){var o=t._rangePropMode,f=t.get("rangeMode");r([["start","startValue"],["end","endValue"]],function(v,y){var L=c[v[0]]!=null,S=c[v[1]]!=null;L&&!S?o[y]="percent":!L&&S?o[y]="value":f?o[y]=f[y]:L&&(o[y]="percent")})}var u=s;J.exports=u},OnYD:function(J,F,e){},"Oy/b":function(J,F,e){(function(E,g){J.exports=g()})(typeof self!="undefined"?self:this,function(){return function(d){var E={};function g(p){if(E[p])return E[p].exports;var A=E[p]={i:p,l:!1,exports:{}};return d[p].call(A.exports,A,A.exports,g),A.l=!0,A.exports}return g.m=d,g.c=E,g.d=function(p,A,b){g.o(p,A)||Object.defineProperty(p,A,{enumerable:!0,get:b})},g.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},g.t=function(p,A){if(A&1&&(p=g(p)),A&8)return p;if(A&4&&typeof p=="object"&&p&&p.__esModule)return p;var b=Object.create(null);if(g.r(b),Object.defineProperty(b,"default",{enumerable:!0,value:p}),A&2&&typeof p!="string")for(var h in p)g.d(b,h,function(i){return p[i]}.bind(null,h));return b},g.n=function(p){var A=p&&p.__esModule?function(){return p.default}:function(){return p};return g.d(A,"a",A),A},g.o=function(p,A){return Object.prototype.hasOwnProperty.call(p,A)},g.p="",g(g.s=1)}([function(d,E,g){},function(d,E,g){"use strict";g.r(E);var p=g(0),A=function(){function Dt(re,ce,pe){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=re,this.start=ce,this.end=pe}return Dt.range=function(ce,pe){return pe?!ce||!ce.loc||!pe.loc||ce.loc.lexer!==pe.loc.lexer?null:new Dt(ce.loc.lexer,ce.loc.start,pe.loc.end):ce&&ce.loc},Dt}(),b=function(){function Dt(ce,pe){this.text=void 0,this.loc=void 0,this.text=ce,this.loc=pe}var re=Dt.prototype;return re.range=function(pe,Le){return new Dt(Le,A.range(this,pe))},Dt}(),h=function Dt(re,ce){this.position=void 0;var pe="KaTeX parse error: "+re,Le,ct=ce&&ce.loc;if(ct&&ct.start<=ct.end){var Rt=ct.lexer.input;Le=ct.start;var cr=ct.end;Le===Rt.length?pe+=" at end of input: ":pe+=" at position "+(Le+1)+": ";var gr=Rt.slice(Le,cr).replace(/[^]/g,"$&\u0332"),Br;Le>15?Br="\u2026"+Rt.slice(Le-15,Le):Br=Rt.slice(0,Le);var qr;cr+15<Rt.length?qr=Rt.slice(cr,cr+15)+"\u2026":qr=Rt.slice(cr),pe+=Br+gr+qr}var ln=new Error(pe);return ln.name="ParseError",ln.__proto__=Dt.prototype,ln.position=Le,ln};h.prototype.__proto__=Error.prototype;var i=h,r=function(re,ce){return re.indexOf(ce)!==-1},a=function(re,ce){return re===void 0?ce:re},s=/([A-Z])/g,l=function(re){return re.replace(s,"-$1").toLowerCase()},n={"&":"&",">":">","<":"<",'"':""","'":"'"},u=/[&><"']/g;function t(Dt){return String(Dt).replace(u,function(re){return n[re]})}var c=function Dt(re){return re.type==="ordgroup"||re.type==="color"?re.body.length===1?Dt(re.body[0]):re:re.type==="font"?Dt(re.body):re},o=function(re){var ce=c(re);return ce.type==="mathord"||ce.type==="textord"||ce.type==="atom"},f=function(re){if(!re)throw new Error("Expected non-null, but got "+String(re));return re},v=function(re){var ce=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(re);return ce!=null?ce[1]:"_relative"},y={contains:r,deflt:a,escape:t,hyphenate:l,getBaseElem:c,isCharacterBox:o,protocolFromUrl:v},L=function(){function Dt(ce){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,ce=ce||{},this.displayMode=y.deflt(ce.displayMode,!1),this.output=y.deflt(ce.output,"htmlAndMathml"),this.leqno=y.deflt(ce.leqno,!1),this.fleqn=y.deflt(ce.fleqn,!1),this.throwOnError=y.deflt(ce.throwOnError,!0),this.errorColor=y.deflt(ce.errorColor,"#cc0000"),this.macros=ce.macros||{},this.minRuleThickness=Math.max(0,y.deflt(ce.minRuleThickness,0)),this.colorIsTextColor=y.deflt(ce.colorIsTextColor,!1),this.strict=y.deflt(ce.strict,"warn"),this.trust=y.deflt(ce.trust,!1),this.maxSize=Math.max(0,y.deflt(ce.maxSize,Infinity)),this.maxExpand=Math.max(0,y.deflt(ce.maxExpand,1e3))}var re=Dt.prototype;return re.reportNonstrict=function(pe,Le,ct){var Rt=this.strict;if(typeof Rt=="function"&&(Rt=Rt(pe,Le,ct)),!Rt||Rt==="ignore")return;if(Rt===!0||Rt==="error")throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(Le+" ["+pe+"]"),ct);Rt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Le+" ["+pe+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Rt+"': "+Le+" ["+pe+"]"))},re.useStrictBehavior=function(pe,Le,ct){var Rt=this.strict;if(typeof Rt=="function")try{Rt=Rt(pe,Le,ct)}catch(cr){Rt="error"}return!Rt||Rt==="ignore"?!1:Rt===!0||Rt==="error"?!0:Rt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Le+" ["+pe+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Rt+"': "+Le+" ["+pe+"]")),!1)},re.isTrusted=function(pe){pe.url&&!pe.protocol&&(pe.protocol=y.protocolFromUrl(pe.url));var Le=typeof this.trust=="function"?this.trust(pe):this.trust;return Boolean(Le)},Dt}(),S=function(){function Dt(ce,pe,Le){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ce,this.size=pe,this.cramped=Le}var re=Dt.prototype;return re.sup=function(){return R[U[this.id]]},re.sub=function(){return R[M[this.id]]},re.fracNum=function(){return R[j[this.id]]},re.fracDen=function(){return R[P[this.id]]},re.cramp=function(){return R[K[this.id]]},re.text=function(){return R[H[this.id]]},re.isTight=function(){return this.size>=2},Dt}(),x=0,O=1,T=2,w=3,C=4,N=5,D=6,B=7,R=[new S(x,0,!1),new S(O,0,!0),new S(T,1,!1),new S(w,1,!0),new S(C,2,!1),new S(N,2,!0),new S(D,3,!1),new S(B,3,!0)],U=[C,N,C,N,D,B,D,B],M=[N,N,N,N,B,B,B,B],j=[T,w,C,N,D,B,D,B],P=[w,w,N,N,B,B,B,B],K=[O,O,w,w,N,N,B,B],H=[x,O,T,w,T,w,T,w],k={DISPLAY:R[x],TEXT:R[T],SCRIPT:R[C],SCRIPTSCRIPT:R[D]},Z=[{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 Y(Dt){for(var re=0;re<Z.length;re++)for(var ce=Z[re],pe=0;pe<ce.blocks.length;pe++){var Le=ce.blocks[pe];if(Dt>=Le[0]&&Dt<=Le[1])return ce.name}return null}var _=[];Z.forEach(function(Dt){return Dt.blocks.forEach(function(re){return _.push.apply(_,re)})});function Q(Dt){for(var re=0;re<_.length;re+=2)if(Dt>=_[re]&&Dt<=_[re+1])return!0;return!1}var X=80,he=function(re,ce){return"M95,"+(622+re+ce)+`
|
|
|
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`+re/2.075+" -"+re+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+re)+`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+re)+" "+ce+"h400000v"+(40+re)+"h-400000z"},te=function(re,ce){return"M263,"+(601+re+ce)+`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`+re/2.084+" -"+re+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+re)+`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+re)+" "+ce+"h400000v"+(40+re)+"h-400000z"},fe=function(re,ce){return"M983 "+(10+re+ce)+`
|
|
|
l`+re/3.13+" -"+re+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+re)+`
|
|
|
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+re)+" "+ce+"h400000v"+(40+re)+"h-400000z"},be=function(re,ce){return"M424,"+(2398+re+ce)+`
|
|
|
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`+re/4.223+" -"+re+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+re)+`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+re)+" "+ce+`
|
|
|
h400000v`+(40+re)+"h-400000z"},we=function(re,ce){return"M473,"+(2713+re+ce)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+re/5.298+" -"+re+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+re)+`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+re)+" "+ce+"h400000v"+(40+re)+"H1017.7z"},Ke=function(re,ce,pe){var Le=pe-54-ce-re;return"M702 "+(re+ce)+"H400000"+(40+re)+`
|
|
|
H742v`+Le+`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 `+ce+"H400000v"+(40+re)+"H742z"},qe=function(re,ce,pe){ce=1e3*ce;var Le="";switch(re){case"sqrtMain":Le=he(ce,X);break;case"sqrtSize1":Le=te(ce,X);break;case"sqrtSize2":Le=fe(ce,X);break;case"sqrtSize3":Le=be(ce,X);break;case"sqrtSize4":Le=we(ce,X);break;case"sqrtTall":Le=Ke(ce,X,pe)}return Le},xt={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`},Fe=function(){function Dt(ce){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=ce,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var re=Dt.prototype;return re.hasClass=function(pe){return y.contains(this.classes,pe)},re.toNode=function(){for(var pe=document.createDocumentFragment(),Le=0;Le<this.children.length;Le++)pe.appendChild(this.children[Le].toNode());return pe},re.toMarkup=function(){for(var pe="",Le=0;Le<this.children.length;Le++)pe+=this.children[Le].toMarkup();return pe},re.toText=function(){var pe=function(ct){return ct.toText()};return this.children.map(pe).join("")},Dt}(),Be=function(re){return re.filter(function(ce){return ce}).join(" ")},bt=function(re,ce,pe){if(this.classes=re||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=pe||{},ce){ce.style.isTight()&&this.classes.push("mtight");var Le=ce.getColor();Le&&(this.style.color=Le)}},lt=function(re){var ce=document.createElement(re);ce.className=Be(this.classes);for(var pe in this.style)this.style.hasOwnProperty(pe)&&(ce.style[pe]=this.style[pe]);for(var Le in this.attributes)this.attributes.hasOwnProperty(Le)&&ce.setAttribute(Le,this.attributes[Le]);for(var ct=0;ct<this.children.length;ct++)ce.appendChild(this.children[ct].toNode());return ce},tt=function(re){var ce="<"+re;this.classes.length&&(ce+=' class="'+y.escape(Be(this.classes))+'"');var pe="";for(var Le in this.style)this.style.hasOwnProperty(Le)&&(pe+=y.hyphenate(Le)+":"+this.style[Le]+";");pe&&(ce+=' style="'+y.escape(pe)+'"');for(var ct in this.attributes)this.attributes.hasOwnProperty(ct)&&(ce+=" "+ct+'="'+y.escape(this.attributes[ct])+'"');ce+=">";for(var Rt=0;Rt<this.children.length;Rt++)ce+=this.children[Rt].toMarkup();return ce+="</"+re+">",ce},St=function(){function Dt(ce,pe,Le,ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,bt.call(this,ce,Le,ct),this.children=pe||[]}var re=Dt.prototype;return re.setAttribute=function(pe,Le){this.attributes[pe]=Le},re.hasClass=function(pe){return y.contains(this.classes,pe)},re.toNode=function(){return lt.call(this,"span")},re.toMarkup=function(){return tt.call(this,"span")},Dt}(),ht=function(){function Dt(ce,pe,Le,ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,bt.call(this,pe,ct),this.children=Le||[],this.setAttribute("href",ce)}var re=Dt.prototype;return re.setAttribute=function(pe,Le){this.attributes[pe]=Le},re.hasClass=function(pe){return y.contains(this.classes,pe)},re.toNode=function(){return lt.call(this,"a")},re.toMarkup=function(){return tt.call(this,"a")},Dt}(),vt=function(){function Dt(ce,pe,Le){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=pe,this.src=ce,this.classes=["mord"],this.style=Le}var re=Dt.prototype;return re.hasClass=function(pe){return y.contains(this.classes,pe)},re.toNode=function(){var pe=document.createElement("img");pe.src=this.src,pe.alt=this.alt,pe.className="mord";for(var Le in this.style)this.style.hasOwnProperty(Le)&&(pe.style[Le]=this.style[Le]);return pe},re.toMarkup=function(){var pe="<img src='"+this.src+" 'alt='"+this.alt+"' ",Le="";for(var ct in this.style)this.style.hasOwnProperty(ct)&&(Le+=y.hyphenate(ct)+":"+this.style[ct]+";");return Le&&(pe+=' style="'+y.escape(Le)+'"'),pe+="'/>",pe},Dt}(),Ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},At=function(){function Dt(ce,pe,Le,ct,Rt,cr,gr,Br){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=ce,this.height=pe||0,this.depth=Le||0,this.italic=ct||0,this.skew=Rt||0,this.width=cr||0,this.classes=gr||[],this.style=Br||{},this.maxFontSize=0;var qr=Y(this.text.charCodeAt(0));qr&&this.classes.push(qr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Ge[this.text])}var re=Dt.prototype;return re.hasClass=function(pe){return y.contains(this.classes,pe)},re.toNode=function(){var pe=document.createTextNode(this.text),Le=null;this.italic>0&&(Le=document.createElement("span"),Le.style.marginRight=this.italic+"em"),this.classes.length>0&&(Le=Le||document.createElement("span"),Le.className=Be(this.classes));for(var ct in this.style)this.style.hasOwnProperty(ct)&&(Le=Le||document.createElement("span"),Le.style[ct]=this.style[ct]);return Le?(Le.appendChild(pe),Le):pe},re.toMarkup=function(){var pe=!1,Le="<span";this.classes.length&&(pe=!0,Le+=' class="',Le+=y.escape(Be(this.classes)),Le+='"');var ct="";this.italic>0&&(ct+="margin-right:"+this.italic+"em;");for(var Rt in this.style)this.style.hasOwnProperty(Rt)&&(ct+=y.hyphenate(Rt)+":"+this.style[Rt]+";");ct&&(pe=!0,Le+=' style="'+y.escape(ct)+'"');var cr=y.escape(this.text);return pe?(Le+=">",Le+=cr,Le+="</span>",Le):cr},Dt}(),_e=function(){function Dt(ce,pe){this.children=void 0,this.attributes=void 0,this.children=ce||[],this.attributes=pe||{}}var re=Dt.prototype;return re.toNode=function(){var pe="http://www.w3.org/2000/svg",Le=document.createElementNS(pe,"svg");for(var ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ct)&&Le.setAttribute(ct,this.attributes[ct]);for(var Rt=0;Rt<this.children.length;Rt++)Le.appendChild(this.children[Rt].toNode());return Le},re.toMarkup=function(){var pe="<svg";for(var Le in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Le)&&(pe+=" "+Le+"='"+this.attributes[Le]+"'");pe+=">";for(var ct=0;ct<this.children.length;ct++)pe+=this.children[ct].toMarkup();return pe+="</svg>",pe},Dt}(),De=function(){function Dt(ce,pe){this.pathName=void 0,this.alternate=void 0,this.pathName=ce,this.alternate=pe}var re=Dt.prototype;return re.toNode=function(){var pe="http://www.w3.org/2000/svg",Le=document.createElementNS(pe,"path");return this.alternate?Le.setAttribute("d",this.alternate):Le.setAttribute("d",xt[this.pathName]),Le},re.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+xt[this.pathName]+"'/>"},Dt}(),Ie=function(){function Dt(ce){this.attributes=void 0,this.attributes=ce||{}}var re=Dt.prototype;return re.toNode=function(){var pe="http://www.w3.org/2000/svg",Le=document.createElementNS(pe,"line");for(var ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ct)&&Le.setAttribute(ct,this.attributes[ct]);return Le},re.toMarkup=function(){var pe="<line";for(var Le in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Le)&&(pe+=" "+Le+"='"+this.attributes[Le]+"'");return pe+="/>",pe},Dt}();function st(Dt){if(Dt instanceof At)return Dt;throw new Error("Expected symbolNode but got "+String(Dt)+".")}function Et(Dt){if(Dt instanceof St)return Dt;throw new Error("Expected span<HtmlDomNode> but got "+String(Dt)+".")}var Mt={"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]}},Pt={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]},ke={\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 zt(Dt,re){Mt[Dt]=re}function Ot(Dt,re,ce){if(!Mt[re])throw new Error("Font metrics not found for font: "+re+".");var pe=Dt.charCodeAt(0),Le=Mt[re][pe];if(!Le&&Dt[0]in ke&&(pe=ke[Dt[0]].charCodeAt(0),Le=Mt[re][pe]),!Le&&ce==="text"&&(Q(pe)&&(Le=Mt[re][77])),Le)return{depth:Le[0],height:Le[1],italic:Le[2],skew:Le[3],width:Le[4]}}var _t={};function Ve(Dt){var re;if(Dt>=5?re=0:Dt>=3?re=1:re=2,!_t[re]){var ce=_t[re]={cssEmPerMu:Pt.quad[re]/18};for(var pe in Pt)Pt.hasOwnProperty(pe)&&(ce[pe]=Pt[pe][re])}return _t[re]}var Qe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},et={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},dt={math:{},text:{}},Ze=dt;function oe(Dt,re,ce,pe,Le,ct){dt[Dt][Le]={font:re,group:ce,replace:pe},ct&&pe&&(dt[Dt][pe]=dt[Dt][Le])}var me="math",ot="text",Pe="main",pt="ams",Rr="accent-token",It="bin",nr="close",Gt="inner",Jt="mathord",hr="op-token",Xt="open",de="punct",ue="rel",se="spacing",ae="textord";oe(me,Pe,ue,"\u2261","\\equiv",!0),oe(me,Pe,ue,"\u227A","\\prec",!0),oe(me,Pe,ue,"\u227B","\\succ",!0),oe(me,Pe,ue,"\u223C","\\sim",!0),oe(me,Pe,ue,"\u22A5","\\perp"),oe(me,Pe,ue,"\u2AAF","\\preceq",!0),oe(me,Pe,ue,"\u2AB0","\\succeq",!0),oe(me,Pe,ue,"\u2243","\\simeq",!0),oe(me,Pe,ue,"\u2223","\\mid",!0),oe(me,Pe,ue,"\u226A","\\ll",!0),oe(me,Pe,ue,"\u226B","\\gg",!0),oe(me,Pe,ue,"\u224D","\\asymp",!0),oe(me,Pe,ue,"\u2225","\\parallel"),oe(me,Pe,ue,"\u22C8","\\bowtie",!0),oe(me,Pe,ue,"\u2323","\\smile",!0),oe(me,Pe,ue,"\u2291","\\sqsubseteq",!0),oe(me,Pe,ue,"\u2292","\\sqsupseteq",!0),oe(me,Pe,ue,"\u2250","\\doteq",!0),oe(me,Pe,ue,"\u2322","\\frown",!0),oe(me,Pe,ue,"\u220B","\\ni",!0),oe(me,Pe,ue,"\u221D","\\propto",!0),oe(me,Pe,ue,"\u22A2","\\vdash",!0),oe(me,Pe,ue,"\u22A3","\\dashv",!0),oe(me,Pe,ue,"\u220B","\\owns"),oe(me,Pe,de,".","\\ldotp"),oe(me,Pe,de,"\u22C5","\\cdotp"),oe(me,Pe,ae,"#","\\#"),oe(ot,Pe,ae,"#","\\#"),oe(me,Pe,ae,"&","\\&"),oe(ot,Pe,ae,"&","\\&"),oe(me,Pe,ae,"\u2135","\\aleph",!0),oe(me,Pe,ae,"\u2200","\\forall",!0),oe(me,Pe,ae,"\u210F","\\hbar",!0),oe(me,Pe,ae,"\u2203","\\exists",!0),oe(me,Pe,ae,"\u2207","\\nabla",!0),oe(me,Pe,ae,"\u266D","\\flat",!0),oe(me,Pe,ae,"\u2113","\\ell",!0),oe(me,Pe,ae,"\u266E","\\natural",!0),oe(me,Pe,ae,"\u2663","\\clubsuit",!0),oe(me,Pe,ae,"\u2118","\\wp",!0),oe(me,Pe,ae,"\u266F","\\sharp",!0),oe(me,Pe,ae,"\u2662","\\diamondsuit",!0),oe(me,Pe,ae,"\u211C","\\Re",!0),oe(me,Pe,ae,"\u2661","\\heartsuit",!0),oe(me,Pe,ae,"\u2111","\\Im",!0),oe(me,Pe,ae,"\u2660","\\spadesuit",!0),oe(ot,Pe,ae,"\xA7","\\S",!0),oe(ot,Pe,ae,"\xB6","\\P",!0),oe(me,Pe,ae,"\u2020","\\dag"),oe(ot,Pe,ae,"\u2020","\\dag"),oe(ot,Pe,ae,"\u2020","\\textdagger"),oe(me,Pe,ae,"\u2021","\\ddag"),oe(ot,Pe,ae,"\u2021","\\ddag"),oe(ot,Pe,ae,"\u2021","\\textdaggerdbl"),oe(me,Pe,nr,"\u23B1","\\rmoustache",!0),oe(me,Pe,Xt,"\u23B0","\\lmoustache",!0),oe(me,Pe,nr,"\u27EF","\\rgroup",!0),oe(me,Pe,Xt,"\u27EE","\\lgroup",!0),oe(me,Pe,It,"\u2213","\\mp",!0),oe(me,Pe,It,"\u2296","\\ominus",!0),oe(me,Pe,It,"\u228E","\\uplus",!0),oe(me,Pe,It,"\u2293","\\sqcap",!0),oe(me,Pe,It,"\u2217","\\ast"),oe(me,Pe,It,"\u2294","\\sqcup",!0),oe(me,Pe,It,"\u25EF","\\bigcirc"),oe(me,Pe,It,"\u2219","\\bullet"),oe(me,Pe,It,"\u2021","\\ddagger"),oe(me,Pe,It,"\u2240","\\wr",!0),oe(me,Pe,It,"\u2A3F","\\amalg"),oe(me,Pe,It,"&","\\And"),oe(me,Pe,ue,"\u27F5","\\longleftarrow",!0),oe(me,Pe,ue,"\u21D0","\\Leftarrow",!0),oe(me,Pe,ue,"\u27F8","\\Longleftarrow",!0),oe(me,Pe,ue,"\u27F6","\\longrightarrow",!0),oe(me,Pe,ue,"\u21D2","\\Rightarrow",!0),oe(me,Pe,ue,"\u27F9","\\Longrightarrow",!0),oe(me,Pe,ue,"\u2194","\\leftrightarrow",!0),oe(me,Pe,ue,"\u27F7","\\longleftrightarrow",!0),oe(me,Pe,ue,"\u21D4","\\Leftrightarrow",!0),oe(me,Pe,ue,"\u27FA","\\Longleftrightarrow",!0),oe(me,Pe,ue,"\u21A6","\\mapsto",!0),oe(me,Pe,ue,"\u27FC","\\longmapsto",!0),oe(me,Pe,ue,"\u2197","\\nearrow",!0),oe(me,Pe,ue,"\u21A9","\\hookleftarrow",!0),oe(me,Pe,ue,"\u21AA","\\hookrightarrow",!0),oe(me,Pe,ue,"\u2198","\\searrow",!0),oe(me,Pe,ue,"\u21BC","\\leftharpoonup",!0),oe(me,Pe,ue,"\u21C0","\\rightharpoonup",!0),oe(me,Pe,ue,"\u2199","\\swarrow",!0),oe(me,Pe,ue,"\u21BD","\\leftharpoondown",!0),oe(me,Pe,ue,"\u21C1","\\rightharpoondown",!0),oe(me,Pe,ue,"\u2196","\\nwarrow",!0),oe(me,Pe,ue,"\u21CC","\\rightleftharpoons",!0),oe(me,pt,ue,"\u226E","\\nless",!0),oe(me,pt,ue,"\uE010","\\@nleqslant"),oe(me,pt,ue,"\uE011","\\@nleqq"),oe(me,pt,ue,"\u2A87","\\lneq",!0),oe(me,pt,ue,"\u2268","\\lneqq",!0),oe(me,pt,ue,"\uE00C","\\@lvertneqq"),oe(me,pt,ue,"\u22E6","\\lnsim",!0),oe(me,pt,ue,"\u2A89","\\lnapprox",!0),oe(me,pt,ue,"\u2280","\\nprec",!0),oe(me,pt,ue,"\u22E0","\\npreceq",!0),oe(me,pt,ue,"\u22E8","\\precnsim",!0),oe(me,pt,ue,"\u2AB9","\\precnapprox",!0),oe(me,pt,ue,"\u2241","\\nsim",!0),oe(me,pt,ue,"\uE006","\\@nshortmid"),oe(me,pt,ue,"\u2224","\\nmid",!0),oe(me,pt,ue,"\u22AC","\\nvdash",!0),oe(me,pt,ue,"\u22AD","\\nvDash",!0),oe(me,pt,ue,"\u22EA","\\ntriangleleft"),oe(me,pt,ue,"\u22EC","\\ntrianglelefteq",!0),oe(me,pt,ue,"\u228A","\\subsetneq",!0),oe(me,pt,ue,"\uE01A","\\@varsubsetneq"),oe(me,pt,ue,"\u2ACB","\\subsetneqq",!0),oe(me,pt,ue,"\uE017","\\@varsubsetneqq"),oe(me,pt,ue,"\u226F","\\ngtr",!0),oe(me,pt,ue,"\uE00F","\\@ngeqslant"),oe(me,pt,ue,"\uE00E","\\@ngeqq"),oe(me,pt,ue,"\u2A88","\\gneq",!0),oe(me,pt,ue,"\u2269","\\gneqq",!0),oe(me,pt,ue,"\uE00D","\\@gvertneqq"),oe(me,pt,ue,"\u22E7","\\gnsim",!0),oe(me,pt,ue,"\u2A8A","\\gnapprox",!0),oe(me,pt,ue,"\u2281","\\nsucc",!0),oe(me,pt,ue,"\u22E1","\\nsucceq",!0),oe(me,pt,ue,"\u22E9","\\succnsim",!0),oe(me,pt,ue,"\u2ABA","\\succnapprox",!0),oe(me,pt,ue,"\u2246","\\ncong",!0),oe(me,pt,ue,"\uE007","\\@nshortparallel"),oe(me,pt,ue,"\u2226","\\nparallel",!0),oe(me,pt,ue,"\u22AF","\\nVDash",!0),oe(me,pt,ue,"\u22EB","\\ntriangleright"),oe(me,pt,ue,"\u22ED","\\ntrianglerighteq",!0),oe(me,pt,ue,"\uE018","\\@nsupseteqq"),oe(me,pt,ue,"\u228B","\\supsetneq",!0),oe(me,pt,ue,"\uE01B","\\@varsupsetneq"),oe(me,pt,ue,"\u2ACC","\\supsetneqq",!0),oe(me,pt,ue,"\uE019","\\@varsupsetneqq"),oe(me,pt,ue,"\u22AE","\\nVdash",!0),oe(me,pt,ue,"\u2AB5","\\precneqq",!0),oe(me,pt,ue,"\u2AB6","\\succneqq",!0),oe(me,pt,ue,"\uE016","\\@nsubseteqq"),oe(me,pt,It,"\u22B4","\\unlhd"),oe(me,pt,It,"\u22B5","\\unrhd"),oe(me,pt,ue,"\u219A","\\nleftarrow",!0),oe(me,pt,ue,"\u219B","\\nrightarrow",!0),oe(me,pt,ue,"\u21CD","\\nLeftarrow",!0),oe(me,pt,ue,"\u21CF","\\nRightarrow",!0),oe(me,pt,ue,"\u21AE","\\nleftrightarrow",!0),oe(me,pt,ue,"\u21CE","\\nLeftrightarrow",!0),oe(me,pt,ue,"\u25B3","\\vartriangle"),oe(me,pt,ae,"\u210F","\\hslash"),oe(me,pt,ae,"\u25BD","\\triangledown"),oe(me,pt,ae,"\u25CA","\\lozenge"),oe(me,pt,ae,"\u24C8","\\circledS"),oe(me,pt,ae,"\xAE","\\circledR"),oe(ot,pt,ae,"\xAE","\\circledR"),oe(me,pt,ae,"\u2221","\\measuredangle",!0),oe(me,pt,ae,"\u2204","\\nexists"),oe(me,pt,ae,"\u2127","\\mho"),oe(me,pt,ae,"\u2132","\\Finv",!0),oe(me,pt,ae,"\u2141","\\Game",!0),oe(me,pt,ae,"\u2035","\\backprime"),oe(me,pt,ae,"\u25B2","\\blacktriangle"),oe(me,pt,ae,"\u25BC","\\blacktriangledown"),oe(me,pt,ae,"\u25A0","\\blacksquare"),oe(me,pt,ae,"\u29EB","\\blacklozenge"),oe(me,pt,ae,"\u2605","\\bigstar"),oe(me,pt,ae,"\u2222","\\sphericalangle",!0),oe(me,pt,ae,"\u2201","\\complement",!0),oe(me,pt,ae,"\xF0","\\eth",!0),oe(me,pt,ae,"\u2571","\\diagup"),oe(me,pt,ae,"\u2572","\\diagdown"),oe(me,pt,ae,"\u25A1","\\square"),oe(me,pt,ae,"\u25A1","\\Box"),oe(me,pt,ae,"\u25CA","\\Diamond"),oe(me,pt,ae,"\xA5","\\yen",!0),oe(ot,pt,ae,"\xA5","\\yen",!0),oe(me,pt,ae,"\u2713","\\checkmark",!0),oe(ot,pt,ae,"\u2713","\\checkmark"),oe(me,pt,ae,"\u2136","\\beth",!0),oe(me,pt,ae,"\u2138","\\daleth",!0),oe(me,pt,ae,"\u2137","\\gimel",!0),oe(me,pt,ae,"\u03DD","\\digamma",!0),oe(me,pt,ae,"\u03F0","\\varkappa"),oe(me,pt,Xt,"\u250C","\\ulcorner",!0),oe(me,pt,nr,"\u2510","\\urcorner",!0),oe(me,pt,Xt,"\u2514","\\llcorner",!0),oe(me,pt,nr,"\u2518","\\lrcorner",!0),oe(me,pt,ue,"\u2266","\\leqq",!0),oe(me,pt,ue,"\u2A7D","\\leqslant",!0),oe(me,pt,ue,"\u2A95","\\eqslantless",!0),oe(me,pt,ue,"\u2272","\\lesssim",!0),oe(me,pt,ue,"\u2A85","\\lessapprox",!0),oe(me,pt,ue,"\u224A","\\approxeq",!0),oe(me,pt,It,"\u22D6","\\lessdot"),oe(me,pt,ue,"\u22D8","\\lll",!0),oe(me,pt,ue,"\u2276","\\lessgtr",!0),oe(me,pt,ue,"\u22DA","\\lesseqgtr",!0),oe(me,pt,ue,"\u2A8B","\\lesseqqgtr",!0),oe(me,pt,ue,"\u2251","\\doteqdot"),oe(me,pt,ue,"\u2253","\\risingdotseq",!0),oe(me,pt,ue,"\u2252","\\fallingdotseq",!0),oe(me,pt,ue,"\u223D","\\backsim",!0),oe(me,pt,ue,"\u22CD","\\backsimeq",!0),oe(me,pt,ue,"\u2AC5","\\subseteqq",!0),oe(me,pt,ue,"\u22D0","\\Subset",!0),oe(me,pt,ue,"\u228F","\\sqsubset",!0),oe(me,pt,ue,"\u227C","\\preccurlyeq",!0),oe(me,pt,ue,"\u22DE","\\curlyeqprec",!0),oe(me,pt,ue,"\u227E","\\precsim",!0),oe(me,pt,ue,"\u2AB7","\\precapprox",!0),oe(me,pt,ue,"\u22B2","\\vartriangleleft"),oe(me,pt,ue,"\u22B4","\\trianglelefteq"),oe(me,pt,ue,"\u22A8","\\vDash",!0),oe(me,pt,ue,"\u22AA","\\Vvdash",!0),oe(me,pt,ue,"\u2323","\\smallsmile"),oe(me,pt,ue,"\u2322","\\smallfrown"),oe(me,pt,ue,"\u224F","\\bumpeq",!0),oe(me,pt,ue,"\u224E","\\Bumpeq",!0),oe(me,pt,ue,"\u2267","\\geqq",!0),oe(me,pt,ue,"\u2A7E","\\geqslant",!0),oe(me,pt,ue,"\u2A96","\\eqslantgtr",!0),oe(me,pt,ue,"\u2273","\\gtrsim",!0),oe(me,pt,ue,"\u2A86","\\gtrapprox",!0),oe(me,pt,It,"\u22D7","\\gtrdot"),oe(me,pt,ue,"\u22D9","\\ggg",!0),oe(me,pt,ue,"\u2277","\\gtrless",!0),oe(me,pt,ue,"\u22DB","\\gtreqless",!0),oe(me,pt,ue,"\u2A8C","\\gtreqqless",!0),oe(me,pt,ue,"\u2256","\\eqcirc",!0),oe(me,pt,ue,"\u2257","\\circeq",!0),oe(me,pt,ue,"\u225C","\\triangleq",!0),oe(me,pt,ue,"\u223C","\\thicksim"),oe(me,pt,ue,"\u2248","\\thickapprox"),oe(me,pt,ue,"\u2AC6","\\supseteqq",!0),oe(me,pt,ue,"\u22D1","\\Supset",!0),oe(me,pt,ue,"\u2290","\\sqsupset",!0),oe(me,pt,ue,"\u227D","\\succcurlyeq",!0),oe(me,pt,ue,"\u22DF","\\curlyeqsucc",!0),oe(me,pt,ue,"\u227F","\\succsim",!0),oe(me,pt,ue,"\u2AB8","\\succapprox",!0),oe(me,pt,ue,"\u22B3","\\vartriangleright"),oe(me,pt,ue,"\u22B5","\\trianglerighteq"),oe(me,pt,ue,"\u22A9","\\Vdash",!0),oe(me,pt,ue,"\u2223","\\shortmid"),oe(me,pt,ue,"\u2225","\\shortparallel"),oe(me,pt,ue,"\u226C","\\between",!0),oe(me,pt,ue,"\u22D4","\\pitchfork",!0),oe(me,pt,ue,"\u221D","\\varpropto"),oe(me,pt,ue,"\u25C0","\\blacktriangleleft"),oe(me,pt,ue,"\u2234","\\therefore",!0),oe(me,pt,ue,"\u220D","\\backepsilon"),oe(me,pt,ue,"\u25B6","\\blacktriangleright"),oe(me,pt,ue,"\u2235","\\because",!0),oe(me,pt,ue,"\u22D8","\\llless"),oe(me,pt,ue,"\u22D9","\\gggtr"),oe(me,pt,It,"\u22B2","\\lhd"),oe(me,pt,It,"\u22B3","\\rhd"),oe(me,pt,ue,"\u2242","\\eqsim",!0),oe(me,Pe,ue,"\u22C8","\\Join"),oe(me,pt,ue,"\u2251","\\Doteq",!0),oe(me,pt,It,"\u2214","\\dotplus",!0),oe(me,pt,It,"\u2216","\\smallsetminus"),oe(me,pt,It,"\u22D2","\\Cap",!0),oe(me,pt,It,"\u22D3","\\Cup",!0),oe(me,pt,It,"\u2A5E","\\doublebarwedge",!0),oe(me,pt,It,"\u229F","\\boxminus",!0),oe(me,pt,It,"\u229E","\\boxplus",!0),oe(me,pt,It,"\u22C7","\\divideontimes",!0),oe(me,pt,It,"\u22C9","\\ltimes",!0),oe(me,pt,It,"\u22CA","\\rtimes",!0),oe(me,pt,It,"\u22CB","\\leftthreetimes",!0),oe(me,pt,It,"\u22CC","\\rightthreetimes",!0),oe(me,pt,It,"\u22CF","\\curlywedge",!0),oe(me,pt,It,"\u22CE","\\curlyvee",!0),oe(me,pt,It,"\u229D","\\circleddash",!0),oe(me,pt,It,"\u229B","\\circledast",!0),oe(me,pt,It,"\u22C5","\\centerdot"),oe(me,pt,It,"\u22BA","\\intercal",!0),oe(me,pt,It,"\u22D2","\\doublecap"),oe(me,pt,It,"\u22D3","\\doublecup"),oe(me,pt,It,"\u22A0","\\boxtimes",!0),oe(me,pt,ue,"\u21E2","\\dashrightarrow",!0),oe(me,pt,ue,"\u21E0","\\dashleftarrow",!0),oe(me,pt,ue,"\u21C7","\\leftleftarrows",!0),oe(me,pt,ue,"\u21C6","\\leftrightarrows",!0),oe(me,pt,ue,"\u21DA","\\Lleftarrow",!0),oe(me,pt,ue,"\u219E","\\twoheadleftarrow",!0),oe(me,pt,ue,"\u21A2","\\leftarrowtail",!0),oe(me,pt,ue,"\u21AB","\\looparrowleft",!0),oe(me,pt,ue,"\u21CB","\\leftrightharpoons",!0),oe(me,pt,ue,"\u21B6","\\curvearrowleft",!0),oe(me,pt,ue,"\u21BA","\\circlearrowleft",!0),oe(me,pt,ue,"\u21B0","\\Lsh",!0),oe(me,pt,ue,"\u21C8","\\upuparrows",!0),oe(me,pt,ue,"\u21BF","\\upharpoonleft",!0),oe(me,pt,ue,"\u21C3","\\downharpoonleft",!0),oe(me,pt,ue,"\u22B8","\\multimap",!0),oe(me,pt,ue,"\u21AD","\\leftrightsquigarrow",!0),oe(me,pt,ue,"\u21C9","\\rightrightarrows",!0),oe(me,pt,ue,"\u21C4","\\rightleftarrows",!0),oe(me,pt,ue,"\u21A0","\\twoheadrightarrow",!0),oe(me,pt,ue,"\u21A3","\\rightarrowtail",!0),oe(me,pt,ue,"\u21AC","\\looparrowright",!0),oe(me,pt,ue,"\u21B7","\\curvearrowright",!0),oe(me,pt,ue,"\u21BB","\\circlearrowright",!0),oe(me,pt,ue,"\u21B1","\\Rsh",!0),oe(me,pt,ue,"\u21CA","\\downdownarrows",!0),oe(me,pt,ue,"\u21BE","\\upharpoonright",!0),oe(me,pt,ue,"\u21C2","\\downharpoonright",!0),oe(me,pt,ue,"\u21DD","\\rightsquigarrow",!0),oe(me,pt,ue,"\u21DD","\\leadsto"),oe(me,pt,ue,"\u21DB","\\Rrightarrow",!0),oe(me,pt,ue,"\u21BE","\\restriction"),oe(me,Pe,ae,"\u2018","`"),oe(me,Pe,ae,"$","\\$"),oe(ot,Pe,ae,"$","\\$"),oe(ot,Pe,ae,"$","\\textdollar"),oe(me,Pe,ae,"%","\\%"),oe(ot,Pe,ae,"%","\\%"),oe(me,Pe,ae,"_","\\_"),oe(ot,Pe,ae,"_","\\_"),oe(ot,Pe,ae,"_","\\textunderscore"),oe(me,Pe,ae,"\u2220","\\angle",!0),oe(me,Pe,ae,"\u221E","\\infty",!0),oe(me,Pe,ae,"\u2032","\\prime"),oe(me,Pe,ae,"\u25B3","\\triangle"),oe(me,Pe,ae,"\u0393","\\Gamma",!0),oe(me,Pe,ae,"\u0394","\\Delta",!0),oe(me,Pe,ae,"\u0398","\\Theta",!0),oe(me,Pe,ae,"\u039B","\\Lambda",!0),oe(me,Pe,ae,"\u039E","\\Xi",!0),oe(me,Pe,ae,"\u03A0","\\Pi",!0),oe(me,Pe,ae,"\u03A3","\\Sigma",!0),oe(me,Pe,ae,"\u03A5","\\Upsilon",!0),oe(me,Pe,ae,"\u03A6","\\Phi",!0),oe(me,Pe,ae,"\u03A8","\\Psi",!0),oe(me,Pe,ae,"\u03A9","\\Omega",!0),oe(me,Pe,ae,"A","\u0391"),oe(me,Pe,ae,"B","\u0392"),oe(me,Pe,ae,"E","\u0395"),oe(me,Pe,ae,"Z","\u0396"),oe(me,Pe,ae,"H","\u0397"),oe(me,Pe,ae,"I","\u0399"),oe(me,Pe,ae,"K","\u039A"),oe(me,Pe,ae,"M","\u039C"),oe(me,Pe,ae,"N","\u039D"),oe(me,Pe,ae,"O","\u039F"),oe(me,Pe,ae,"P","\u03A1"),oe(me,Pe,ae,"T","\u03A4"),oe(me,Pe,ae,"X","\u03A7"),oe(me,Pe,ae,"\xAC","\\neg",!0),oe(me,Pe,ae,"\xAC","\\lnot"),oe(me,Pe,ae,"\u22A4","\\top"),oe(me,Pe,ae,"\u22A5","\\bot"),oe(me,Pe,ae,"\u2205","\\emptyset"),oe(me,pt,ae,"\u2205","\\varnothing"),oe(me,Pe,Jt,"\u03B1","\\alpha",!0),oe(me,Pe,Jt,"\u03B2","\\beta",!0),oe(me,Pe,Jt,"\u03B3","\\gamma",!0),oe(me,Pe,Jt,"\u03B4","\\delta",!0),oe(me,Pe,Jt,"\u03F5","\\epsilon",!0),oe(me,Pe,Jt,"\u03B6","\\zeta",!0),oe(me,Pe,Jt,"\u03B7","\\eta",!0),oe(me,Pe,Jt,"\u03B8","\\theta",!0),oe(me,Pe,Jt,"\u03B9","\\iota",!0),oe(me,Pe,Jt,"\u03BA","\\kappa",!0),oe(me,Pe,Jt,"\u03BB","\\lambda",!0),oe(me,Pe,Jt,"\u03BC","\\mu",!0),oe(me,Pe,Jt,"\u03BD","\\nu",!0),oe(me,Pe,Jt,"\u03BE","\\xi",!0),oe(me,Pe,Jt,"\u03BF","\\omicron",!0),oe(me,Pe,Jt,"\u03C0","\\pi",!0),oe(me,Pe,Jt,"\u03C1","\\rho",!0),oe(me,Pe,Jt,"\u03C3","\\sigma",!0),oe(me,Pe,Jt,"\u03C4","\\tau",!0),oe(me,Pe,Jt,"\u03C5","\\upsilon",!0),oe(me,Pe,Jt,"\u03D5","\\phi",!0),oe(me,Pe,Jt,"\u03C7","\\chi",!0),oe(me,Pe,Jt,"\u03C8","\\psi",!0),oe(me,Pe,Jt,"\u03C9","\\omega",!0),oe(me,Pe,Jt,"\u03B5","\\varepsilon",!0),oe(me,Pe,Jt,"\u03D1","\\vartheta",!0),oe(me,Pe,Jt,"\u03D6","\\varpi",!0),oe(me,Pe,Jt,"\u03F1","\\varrho",!0),oe(me,Pe,Jt,"\u03C2","\\varsigma",!0),oe(me,Pe,Jt,"\u03C6","\\varphi",!0),oe(me,Pe,It,"\u2217","*"),oe(me,Pe,It,"+","+"),oe(me,Pe,It,"\u2212","-"),oe(me,Pe,It,"\u22C5","\\cdot",!0),oe(me,Pe,It,"\u2218","\\circ"),oe(me,Pe,It,"\xF7","\\div",!0),oe(me,Pe,It,"\xB1","\\pm",!0),oe(me,Pe,It,"\xD7","\\times",!0),oe(me,Pe,It,"\u2229","\\cap",!0),oe(me,Pe,It,"\u222A","\\cup",!0),oe(me,Pe,It,"\u2216","\\setminus"),oe(me,Pe,It,"\u2227","\\land"),oe(me,Pe,It,"\u2228","\\lor"),oe(me,Pe,It,"\u2227","\\wedge",!0),oe(me,Pe,It,"\u2228","\\vee",!0),oe(me,Pe,ae,"\u221A","\\surd"),oe(me,Pe,Xt,"(","("),oe(me,Pe,Xt,"[","["),oe(me,Pe,Xt,"\u27E8","\\langle",!0),oe(me,Pe,Xt,"\u2223","\\lvert"),oe(me,Pe,Xt,"\u2225","\\lVert"),oe(me,Pe,nr,")",")"),oe(me,Pe,nr,"]","]"),oe(me,Pe,nr,"?","?"),oe(me,Pe,nr,"!","!"),oe(me,Pe,nr,"\u27E9","\\rangle",!0),oe(me,Pe,nr,"\u2223","\\rvert"),oe(me,Pe,nr,"\u2225","\\rVert"),oe(me,Pe,ue,"=","="),oe(me,Pe,ue,"<","<"),oe(me,Pe,ue,">",">"),oe(me,Pe,ue,":",":"),oe(me,Pe,ue,"\u2248","\\approx",!0),oe(me,Pe,ue,"\u2245","\\cong",!0),oe(me,Pe,ue,"\u2265","\\ge"),oe(me,Pe,ue,"\u2265","\\geq",!0),oe(me,Pe,ue,"\u2190","\\gets"),oe(me,Pe,ue,">","\\gt"),oe(me,Pe,ue,"\u2208","\\in",!0),oe(me,Pe,ue,"\uE020","\\@not"),oe(me,Pe,ue,"\u2282","\\subset",!0),oe(me,Pe,ue,"\u2283","\\supset",!0),oe(me,Pe,ue,"\u2286","\\subseteq",!0),oe(me,Pe,ue,"\u2287","\\supseteq",!0),oe(me,pt,ue,"\u2288","\\nsubseteq",!0),oe(me,pt,ue,"\u2289","\\nsupseteq",!0),oe(me,Pe,ue,"\u22A8","\\models"),oe(me,Pe,ue,"\u2190","\\leftarrow",!0),oe(me,Pe,ue,"\u2264","\\le"),oe(me,Pe,ue,"\u2264","\\leq",!0),oe(me,Pe,ue,"<","\\lt"),oe(me,Pe,ue,"\u2192","\\rightarrow",!0),oe(me,Pe,ue,"\u2192","\\to"),oe(me,pt,ue,"\u2271","\\ngeq",!0),oe(me,pt,ue,"\u2270","\\nleq",!0),oe(me,Pe,se,"\xA0","\\ "),oe(me,Pe,se,"\xA0","~"),oe(me,Pe,se,"\xA0","\\space"),oe(me,Pe,se,"\xA0","\\nobreakspace"),oe(ot,Pe,se,"\xA0","\\ "),oe(ot,Pe,se,"\xA0","~"),oe(ot,Pe,se,"\xA0","\\space"),oe(ot,Pe,se,"\xA0","\\nobreakspace"),oe(me,Pe,se,null,"\\nobreak"),oe(me,Pe,se,null,"\\allowbreak"),oe(me,Pe,de,",",","),oe(me,Pe,de,";",";"),oe(me,pt,It,"\u22BC","\\barwedge",!0),oe(me,pt,It,"\u22BB","\\veebar",!0),oe(me,Pe,It,"\u2299","\\odot",!0),oe(me,Pe,It,"\u2295","\\oplus",!0),oe(me,Pe,It,"\u2297","\\otimes",!0),oe(me,Pe,ae,"\u2202","\\partial",!0),oe(me,Pe,It,"\u2298","\\oslash",!0),oe(me,pt,It,"\u229A","\\circledcirc",!0),oe(me,pt,It,"\u22A1","\\boxdot",!0),oe(me,Pe,It,"\u25B3","\\bigtriangleup"),oe(me,Pe,It,"\u25BD","\\bigtriangledown"),oe(me,Pe,It,"\u2020","\\dagger"),oe(me,Pe,It,"\u22C4","\\diamond"),oe(me,Pe,It,"\u22C6","\\star"),oe(me,Pe,It,"\u25C3","\\triangleleft"),oe(me,Pe,It,"\u25B9","\\triangleright"),oe(me,Pe,Xt,"{","\\{"),oe(ot,Pe,ae,"{","\\{"),oe(ot,Pe,ae,"{","\\textbraceleft"),oe(me,Pe,nr,"}","\\}"),oe(ot,Pe,ae,"}","\\}"),oe(ot,Pe,ae,"}","\\textbraceright"),oe(me,Pe,Xt,"{","\\lbrace"),oe(me,Pe,nr,"}","\\rbrace"),oe(me,Pe,Xt,"[","\\lbrack"),oe(ot,Pe,ae,"[","\\lbrack"),oe(me,Pe,nr,"]","\\rbrack"),oe(ot,Pe,ae,"]","\\rbrack"),oe(me,Pe,Xt,"(","\\lparen"),oe(me,Pe,nr,")","\\rparen"),oe(ot,Pe,ae,"<","\\textless"),oe(ot,Pe,ae,">","\\textgreater"),oe(me,Pe,Xt,"\u230A","\\lfloor",!0),oe(me,Pe,nr,"\u230B","\\rfloor",!0),oe(me,Pe,Xt,"\u2308","\\lceil",!0),oe(me,Pe,nr,"\u2309","\\rceil",!0),oe(me,Pe,ae,"\\","\\backslash"),oe(me,Pe,ae,"\u2223","|"),oe(me,Pe,ae,"\u2223","\\vert"),oe(ot,Pe,ae,"|","\\textbar"),oe(me,Pe,ae,"\u2225","\\|"),oe(me,Pe,ae,"\u2225","\\Vert"),oe(ot,Pe,ae,"\u2225","\\textbardbl"),oe(ot,Pe,ae,"~","\\textasciitilde"),oe(ot,Pe,ae,"\\","\\textbackslash"),oe(ot,Pe,ae,"^","\\textasciicircum"),oe(me,Pe,ue,"\u2191","\\uparrow",!0),oe(me,Pe,ue,"\u21D1","\\Uparrow",!0),oe(me,Pe,ue,"\u2193","\\downarrow",!0),oe(me,Pe,ue,"\u21D3","\\Downarrow",!0),oe(me,Pe,ue,"\u2195","\\updownarrow",!0),oe(me,Pe,ue,"\u21D5","\\Updownarrow",!0),oe(me,Pe,hr,"\u2210","\\coprod"),oe(me,Pe,hr,"\u22C1","\\bigvee"),oe(me,Pe,hr,"\u22C0","\\bigwedge"),oe(me,Pe,hr,"\u2A04","\\biguplus"),oe(me,Pe,hr,"\u22C2","\\bigcap"),oe(me,Pe,hr,"\u22C3","\\bigcup"),oe(me,Pe,hr,"\u222B","\\int"),oe(me,Pe,hr,"\u222B","\\intop"),oe(me,Pe,hr,"\u222C","\\iint"),oe(me,Pe,hr,"\u222D","\\iiint"),oe(me,Pe,hr,"\u220F","\\prod"),oe(me,Pe,hr,"\u2211","\\sum"),oe(me,Pe,hr,"\u2A02","\\bigotimes"),oe(me,Pe,hr,"\u2A01","\\bigoplus"),oe(me,Pe,hr,"\u2A00","\\bigodot"),oe(me,Pe,hr,"\u222E","\\oint"),oe(me,Pe,hr,"\u222F","\\oiint"),oe(me,Pe,hr,"\u2230","\\oiiint"),oe(me,Pe,hr,"\u2A06","\\bigsqcup"),oe(me,Pe,hr,"\u222B","\\smallint"),oe(ot,Pe,Gt,"\u2026","\\textellipsis"),oe(me,Pe,Gt,"\u2026","\\mathellipsis"),oe(ot,Pe,Gt,"\u2026","\\ldots",!0),oe(me,Pe,Gt,"\u2026","\\ldots",!0),oe(me,Pe,Gt,"\u22EF","\\@cdots",!0),oe(me,Pe,Gt,"\u22F1","\\ddots",!0),oe(me,Pe,ae,"\u22EE","\\varvdots"),oe(me,Pe,Rr,"\u02CA","\\acute"),oe(me,Pe,Rr,"\u02CB","\\grave"),oe(me,Pe,Rr,"\xA8","\\ddot"),oe(me,Pe,Rr,"~","\\tilde"),oe(me,Pe,Rr,"\u02C9","\\bar"),oe(me,Pe,Rr,"\u02D8","\\breve"),oe(me,Pe,Rr,"\u02C7","\\check"),oe(me,Pe,Rr,"^","\\hat"),oe(me,Pe,Rr,"\u20D7","\\vec"),oe(me,Pe,Rr,"\u02D9","\\dot"),oe(me,Pe,Rr,"\u02DA","\\mathring"),oe(me,Pe,Jt,"\u0131","\\imath",!0),oe(me,Pe,Jt,"\u0237","\\jmath",!0),oe(ot,Pe,ae,"\u0131","\\i",!0),oe(ot,Pe,ae,"\u0237","\\j",!0),oe(ot,Pe,ae,"\xDF","\\ss",!0),oe(ot,Pe,ae,"\xE6","\\ae",!0),oe(ot,Pe,ae,"\xE6","\\ae",!0),oe(ot,Pe,ae,"\u0153","\\oe",!0),oe(ot,Pe,ae,"\xF8","\\o",!0),oe(ot,Pe,ae,"\xC6","\\AE",!0),oe(ot,Pe,ae,"\u0152","\\OE",!0),oe(ot,Pe,ae,"\xD8","\\O",!0),oe(ot,Pe,Rr,"\u02CA","\\'"),oe(ot,Pe,Rr,"\u02CB","\\`"),oe(ot,Pe,Rr,"\u02C6","\\^"),oe(ot,Pe,Rr,"\u02DC","\\~"),oe(ot,Pe,Rr,"\u02C9","\\="),oe(ot,Pe,Rr,"\u02D8","\\u"),oe(ot,Pe,Rr,"\u02D9","\\."),oe(ot,Pe,Rr,"\u02DA","\\r"),oe(ot,Pe,Rr,"\u02C7","\\v"),oe(ot,Pe,Rr,"\xA8",'\\"'),oe(ot,Pe,Rr,"\u02DD","\\H"),oe(ot,Pe,Rr,"\u25EF","\\textcircled");var ye={"--":!0,"---":!0,"``":!0,"''":!0};oe(ot,Pe,ae,"\u2013","--"),oe(ot,Pe,ae,"\u2013","\\textendash"),oe(ot,Pe,ae,"\u2014","---"),oe(ot,Pe,ae,"\u2014","\\textemdash"),oe(ot,Pe,ae,"\u2018","`"),oe(ot,Pe,ae,"\u2018","\\textquoteleft"),oe(ot,Pe,ae,"\u2019","'"),oe(ot,Pe,ae,"\u2019","\\textquoteright"),oe(ot,Pe,ae,"\u201C","``"),oe(ot,Pe,ae,"\u201C","\\textquotedblleft"),oe(ot,Pe,ae,"\u201D","''"),oe(ot,Pe,ae,"\u201D","\\textquotedblright"),oe(me,Pe,ae,"\xB0","\\degree",!0),oe(ot,Pe,ae,"\xB0","\\degree"),oe(ot,Pe,ae,"\xB0","\\textdegree",!0),oe(me,Pe,Jt,"\xA3","\\pounds"),oe(me,Pe,Jt,"\xA3","\\mathsterling",!0),oe(ot,Pe,Jt,"\xA3","\\pounds"),oe(ot,Pe,Jt,"\xA3","\\textsterling",!0),oe(me,pt,ae,"\u2720","\\maltese"),oe(ot,pt,ae,"\u2720","\\maltese"),oe(ot,Pe,se,"\xA0","\\ "),oe(ot,Pe,se,"\xA0"," "),oe(ot,Pe,se,"\xA0","~");for(var Ce='0123456789/@."',Oe=0;Oe<Ce.length;Oe++){var Te=Ce.charAt(Oe);oe(me,Pe,ae,Te,Te)}for(var xe='0123456789!@*()-=+[]<>|";:?/.,',je=0;je<xe.length;je++){var ut=xe.charAt(je);oe(ot,Pe,ae,ut,ut)}for(var wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ee=0;ee<wt.length;ee++){var ie=wt.charAt(ee);oe(me,Pe,Jt,ie,ie),oe(ot,Pe,ae,ie,ie)}oe(me,pt,ae,"C","\u2102"),oe(ot,pt,ae,"C","\u2102"),oe(me,pt,ae,"H","\u210D"),oe(ot,pt,ae,"H","\u210D"),oe(me,pt,ae,"N","\u2115"),oe(ot,pt,ae,"N","\u2115"),oe(me,pt,ae,"P","\u2119"),oe(ot,pt,ae,"P","\u2119"),oe(me,pt,ae,"Q","\u211A"),oe(ot,pt,ae,"Q","\u211A"),oe(me,pt,ae,"R","\u211D"),oe(ot,pt,ae,"R","\u211D"),oe(me,pt,ae,"Z","\u2124"),oe(ot,pt,ae,"Z","\u2124"),oe(me,Pe,Jt,"h","\u210E"),oe(ot,Pe,Jt,"h","\u210E");for(var z="",$=0;$<wt.length;$++){var le=wt.charAt($);z=String.fromCharCode(55349,56320+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),z=String.fromCharCode(55349,56372+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),z=String.fromCharCode(55349,56424+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),z=String.fromCharCode(55349,56580+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),z=String.fromCharCode(55349,56736+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),z=String.fromCharCode(55349,56788+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),z=String.fromCharCode(55349,56840+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),z=String.fromCharCode(55349,56944+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),$<26&&(z=String.fromCharCode(55349,56632+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z),z=String.fromCharCode(55349,56476+$),oe(me,Pe,Jt,le,z),oe(ot,Pe,ae,le,z))}z=String.fromCharCode(55349,56668),oe(me,Pe,Jt,"k",z),oe(ot,Pe,ae,"k",z);for(var ge=0;ge<10;ge++){var Ae=ge.toString();z=String.fromCharCode(55349,57294+ge),oe(me,Pe,Jt,Ae,z),oe(ot,Pe,ae,Ae,z),z=String.fromCharCode(55349,57314+ge),oe(me,Pe,Jt,Ae,z),oe(ot,Pe,ae,Ae,z),z=String.fromCharCode(55349,57324+ge),oe(me,Pe,Jt,Ae,z),oe(ot,Pe,ae,Ae,z),z=String.fromCharCode(55349,57334+ge),oe(me,Pe,Jt,Ae,z),oe(ot,Pe,ae,Ae,z)}for(var Me="\xC7\xD0\xDE\xE7\xFE",$e=0;$e<Me.length;$e++){var kt=Me.charAt($e);oe(me,Pe,Jt,kt,kt),oe(ot,Pe,ae,kt,kt)}oe(ot,Pe,ae,"\xF0","\xF0"),oe(ot,Pe,ae,"\u2013","\u2013"),oe(ot,Pe,ae,"\u2014","\u2014"),oe(ot,Pe,ae,"\u2018","\u2018"),oe(ot,Pe,ae,"\u2019","\u2019"),oe(ot,Pe,ae,"\u201C","\u201C"),oe(ot,Pe,ae,"\u201D","\u201D");var $t=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Lt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ut=function(re,ce){var pe=re.charCodeAt(0),Le=re.charCodeAt(1),ct=(pe-55296)*1024+(Le-56320)+65536,Rt=ce==="math"?0:1;if(119808<=ct&&ct<120484){var cr=Math.floor((ct-119808)/26);return[$t[cr][2],$t[cr][Rt]]}else if(120782<=ct&&ct<=120831){var gr=Math.floor((ct-120782)/10);return[Lt[gr][2],Lt[gr][Rt]]}else{if(ct===120485||ct===120486)return[$t[0][2],$t[0][Rt]];if(120486<ct&&ct<120782)return["",""];throw new i("Unsupported character: "+re)}},Wt=[[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]],Vt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Tt=function(re,ce){return ce.size<2?re:Wt[re-1][ce.size-1]},ur=function(){function Dt(ce){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=ce.style,this.color=ce.color,this.size=ce.size||Dt.BASESIZE,this.textSize=ce.textSize||this.size,this.phantom=!!ce.phantom,this.font=ce.font||"",this.fontFamily=ce.fontFamily||"",this.fontWeight=ce.fontWeight||"",this.fontShape=ce.fontShape||"",this.sizeMultiplier=Vt[this.size-1],this.maxSize=ce.maxSize,this.minRuleThickness=ce.minRuleThickness,this._fontMetrics=void 0}var re=Dt.prototype;return re.extend=function(pe){var Le={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var ct in pe)pe.hasOwnProperty(ct)&&(Le[ct]=pe[ct]);return new Dt(Le)},re.havingStyle=function(pe){return this.style===pe?this:this.extend({style:pe,size:Tt(this.textSize,pe)})},re.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},re.havingSize=function(pe){return this.size===pe&&this.textSize===pe?this:this.extend({style:this.style.text(),size:pe,textSize:pe,sizeMultiplier:Vt[pe-1]})},re.havingBaseStyle=function(pe){pe=pe||this.style.text();var Le=Tt(Dt.BASESIZE,pe);return this.size===Le&&this.textSize===Dt.BASESIZE&&this.style===pe?this:this.extend({style:pe,size:Le})},re.havingBaseSizing=function(){var pe;switch(this.style.id){case 4:case 5:pe=3;break;case 6:case 7:pe=1;break;default:pe=6}return this.extend({style:this.style.text(),size:pe})},re.withColor=function(pe){return this.extend({color:pe})},re.withPhantom=function(){return this.extend({phantom:!0})},re.withFont=function(pe){return this.extend({font:pe})},re.withTextFontFamily=function(pe){return this.extend({fontFamily:pe,font:""})},re.withTextFontWeight=function(pe){return this.extend({fontWeight:pe,font:""})},re.withTextFontShape=function(pe){return this.extend({fontShape:pe,font:""})},re.sizingClasses=function(pe){return pe.size!==this.size?["sizing","reset-size"+pe.size,"size"+this.size]:[]},re.baseSizingClasses=function(){return this.size!==Dt.BASESIZE?["sizing","reset-size"+this.size,"size"+Dt.BASESIZE]:[]},re.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ve(this.size)),this._fontMetrics},re.getColor=function(){return this.phantom?"transparent":this.color},Dt}();ur.BASESIZE=6;var qt=ur,ze={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},nt={ex:!0,em:!0,mu:!0},Ye=function(re){return typeof re!="string"&&(re=re.unit),re in ze||re in nt||re==="ex"},Xe=function(re,ce){var pe;if(re.unit in ze)pe=ze[re.unit]/ce.fontMetrics().ptPerEm/ce.sizeMultiplier;else if(re.unit==="mu")pe=ce.fontMetrics().cssEmPerMu;else{var Le;if(ce.style.isTight()?Le=ce.havingStyle(ce.style.text()):Le=ce,re.unit==="ex")pe=Le.fontMetrics().xHeight;else if(re.unit==="em")pe=Le.fontMetrics().quad;else throw new i("Invalid unit: '"+re.unit+"'");Le!==ce&&(pe*=Le.sizeMultiplier/ce.sizeMultiplier)}return Math.min(re.number*pe,ce.maxSize)},yt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],mt=function(re,ce,pe){return Ze[pe][re]&&Ze[pe][re].replace&&(re=Ze[pe][re].replace),{value:re,metrics:Ot(re,ce,pe)}},We=function(re,ce,pe,Le,ct){var Rt=mt(re,ce,pe),cr=Rt.metrics;re=Rt.value;var gr;if(cr){var Br=cr.italic;(pe==="text"||Le&&Le.font==="mathit")&&(Br=0),gr=new At(re,cr.height,cr.depth,Br,cr.skew,cr.width,ct)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+re+"' in style '"+ce+"' and mode '"+pe+"'")),gr=new At(re,0,0,0,0,0,ct);if(Le){gr.maxFontSize=Le.sizeMultiplier,Le.style.isTight()&&gr.classes.push("mtight");var qr=Le.getColor();qr&&(gr.style.color=qr)}return gr},rt=function(re,ce,pe,Le){return Le===void 0&&(Le=[]),pe.font==="boldsymbol"&&mt(re,"Main-Bold",ce).metrics?We(re,"Main-Bold",ce,pe,Le.concat(["mathbf"])):re==="\\"||Ze[ce][re].font==="main"?We(re,"Main-Regular",ce,pe,Le):We(re,"AMS-Regular",ce,pe,Le.concat(["amsrm"]))},ft=function(re,ce,pe,Le){return/[0-9]/.test(re.charAt(0))||y.contains(yt,re)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Yt=function(re,ce,pe,Le){return y.contains(yt,re)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(re.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Ft=function(re,ce,pe,Le){return mt(re,"Math-BoldItalic",ce).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},fr=function(re,ce,pe){var Le=re.mode,ct=re.text,Rt=["mord"],cr=Le==="math"||Le==="text"&&ce.font,gr=cr?ce.font:ce.fontFamily;if(ct.charCodeAt(0)===55349){var Br=Ut(ct,Le),qr=Br[0],ln=Br[1];return We(ct,qr,Le,ce,Rt.concat(ln))}else if(gr){var An,Cn;if(gr==="boldsymbol"||gr==="mathnormal"){var Xn=gr==="boldsymbol"?Ft(ct,Le,ce,Rt):Yt(ct,Le,ce,Rt);An=Xn.fontName,Cn=[Xn.fontClass]}else y.contains(yt,ct)?(An="Main-Italic",Cn=["mathit"]):cr?(An=Xr[gr].fontName,Cn=[gr]):(An=Sr(gr,ce.fontWeight,ce.fontShape),Cn=[gr,ce.fontWeight,ce.fontShape]);if(mt(ct,An,Le).metrics)return We(ct,An,Le,ce,Rt.concat(Cn));if(ye.hasOwnProperty(ct)&&An.substr(0,10)==="Typewriter"){for(var ti=[],wi=0;wi<ct.length;wi++)ti.push(We(ct[wi],An,Le,ce,Rt.concat(Cn)));return Nr(ti)}}if(pe==="mathord"){var ea=ft(ct,Le,ce,Rt);return We(ct,ea.fontName,Le,ce,Rt.concat([ea.fontClass]))}else if(pe==="textord"){var ji=Ze[Le][ct]&&Ze[Le][ct].font;if(ji==="ams"){var Sa=Sr("amsrm",ce.fontWeight,ce.fontShape);return We(ct,Sa,Le,ce,Rt.concat("amsrm",ce.fontWeight,ce.fontShape))}else if(ji==="main"||!ji){var lo=Sr("textrm",ce.fontWeight,ce.fontShape);return We(ct,lo,Le,ce,Rt.concat(ce.fontWeight,ce.fontShape))}else{var Ka=Sr(ji,ce.fontWeight,ce.fontShape);return We(ct,Ka,Le,ce,Rt.concat(Ka,ce.fontWeight,ce.fontShape))}}else throw new Error("unexpected type: "+pe+" in makeOrd")},mr=function(re,ce){if(Be(re.classes)!==Be(ce.classes)||re.skew!==ce.skew||re.maxFontSize!==ce.maxFontSize)return!1;for(var pe in re.style)if(re.style.hasOwnProperty(pe)&&re.style[pe]!==ce.style[pe])return!1;for(var Le in ce.style)if(ce.style.hasOwnProperty(Le)&&re.style[Le]!==ce.style[Le])return!1;return!0},Er=function(re){for(var ce=0;ce<re.length-1;ce++){var pe=re[ce],Le=re[ce+1];pe instanceof At&&Le instanceof At&&mr(pe,Le)&&(pe.text+=Le.text,pe.height=Math.max(pe.height,Le.height),pe.depth=Math.max(pe.depth,Le.depth),pe.italic=Le.italic,re.splice(ce+1,1),ce--)}return re},Lr=function(re){for(var ce=0,pe=0,Le=0,ct=0;ct<re.children.length;ct++){var Rt=re.children[ct];Rt.height>ce&&(ce=Rt.height),Rt.depth>pe&&(pe=Rt.depth),Rt.maxFontSize>Le&&(Le=Rt.maxFontSize)}re.height=ce,re.depth=pe,re.maxFontSize=Le},en=function(re,ce,pe,Le){var ct=new St(re,ce,pe,Le);return Lr(ct),ct},Qr=function(re,ce,pe,Le){return new St(re,ce,pe,Le)},Cr=function(re,ce,pe){var Le=en([re],[],ce);return Le.height=Math.max(pe||ce.fontMetrics().defaultRuleThickness,ce.minRuleThickness),Le.style.borderBottomWidth=Le.height+"em",Le.maxFontSize=1,Le},Gr=function(re,ce,pe,Le){var ct=new ht(re,ce,pe,Le);return Lr(ct),ct},Nr=function(re){var ce=new Fe(re);return Lr(ce),ce},lr=function(re,ce){return re instanceof Fe?en([],[re],ce):re},pr=function(re){if(re.positionType==="individualShift"){for(var ce=re.children,pe=[ce[0]],Le=-ce[0].shift-ce[0].elem.depth,ct=Le,Rt=1;Rt<ce.length;Rt++){var cr=-ce[Rt].shift-ct-ce[Rt].elem.depth,gr=cr-(ce[Rt-1].elem.height+ce[Rt-1].elem.depth);ct=ct+cr,pe.push({type:"kern",size:gr}),pe.push(ce[Rt])}return{children:pe,depth:Le}}var Br;if(re.positionType==="top"){for(var qr=re.positionData,ln=0;ln<re.children.length;ln++){var An=re.children[ln];qr-=An.type==="kern"?An.size:An.elem.height+An.elem.depth}Br=qr}else if(re.positionType==="bottom")Br=-re.positionData;else{var Cn=re.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(re.positionType==="shift")Br=-Cn.elem.depth-re.positionData;else if(re.positionType==="firstBaseline")Br=-Cn.elem.depth;else throw new Error("Invalid positionType "+re.positionType+".")}return{children:re.children,depth:Br}},sr=function(re,ce){for(var pe=pr(re),Le=pe.children,ct=pe.depth,Rt=0,cr=0;cr<Le.length;cr++){var gr=Le[cr];if(gr.type==="elem"){var Br=gr.elem;Rt=Math.max(Rt,Br.maxFontSize,Br.height)}}Rt+=2;var qr=en(["pstrut"],[]);qr.style.height=Rt+"em";for(var ln=[],An=ct,Cn=ct,Xn=ct,ti=0;ti<Le.length;ti++){var wi=Le[ti];if(wi.type==="kern")Xn+=wi.size;else{var ea=wi.elem,ji=wi.wrapperClasses||[],Sa=wi.wrapperStyle||{},lo=en(ji,[qr,ea],void 0,Sa);lo.style.top=-Rt-Xn-ea.depth+"em",wi.marginLeft&&(lo.style.marginLeft=wi.marginLeft),wi.marginRight&&(lo.style.marginRight=wi.marginRight),ln.push(lo),Xn+=ea.height+ea.depth}An=Math.min(An,Xn),Cn=Math.max(Cn,Xn)}var Ka=en(["vlist"],ln);Ka.style.height=Cn+"em";var Ao;if(An<0){var yo=en([],[]),qa=en(["vlist"],[yo]);qa.style.height=-An+"em";var Fo=en(["vlist-s"],[new At("\u200B")]);Ao=[en(["vlist-r"],[Ka,Fo]),en(["vlist-r"],[qa])]}else Ao=[en(["vlist-r"],[Ka])];var Do=en(["vlist-t"],Ao);return Ao.length===2&&Do.classes.push("vlist-t2"),Do.height=Cn,Do.depth=-An,Do},dr=function(re,ce){var pe=en(["mspace"],[],ce),Le=Xe(re,ce);return pe.style.marginRight=Le+"em",pe},Sr=function(re,ce,pe){var Le="";switch(re){case"amsrm":Le="AMS";break;case"textrm":Le="Main";break;case"textsf":Le="SansSerif";break;case"texttt":Le="Typewriter";break;default:Le=re}var ct;return ce==="textbf"&&pe==="textit"?ct="BoldItalic":ce==="textbf"?ct="Bold":ce==="textit"?ct="Italic":ct="Regular",Le+"-"+ct},Xr={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"}},cn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Dn=function(re,ce){var pe=cn[re],Le=pe[0],ct=pe[1],Rt=pe[2],cr=new De(Le),gr=new _e([cr],{width:ct+"em",height:Rt+"em",style:"width:"+ct+"em",viewBox:"0 0 "+1e3*ct+" "+1e3*Rt,preserveAspectRatio:"xMinYMin"}),Br=Qr(["overlay"],[gr],ce);return Br.height=Rt,Br.style.height=Rt+"em",Br.style.width=ct+"em",Br},jr={fontMap:Xr,makeSymbol:We,mathsym:rt,makeSpan:en,makeSvgSpan:Qr,makeLineSpan:Cr,makeAnchor:Gr,makeFragment:Nr,wrapFragment:lr,makeVList:sr,makeOrd:fr,makeGlue:dr,staticSvg:Dn,svgData:cn,tryCombineChars:Er};function On(Dt,re){var ce=gn(Dt,re);if(!ce)throw new Error("Expected node of type "+re+", but got "+(Dt?"node of type "+Dt.type:String(Dt)));return ce}function gn(Dt,re){return Dt&&Dt.type===re?Dt:null}function Un(Dt,re){var ce=Wn(Dt,re);if(!ce)throw new Error('Expected node of type "atom" and family "'+re+'", but got '+(Dt?Dt.type==="atom"?"atom of family "+Dt.family:"node of type "+Dt.type:String(Dt)));return ce}function Wn(Dt,re){return Dt&&Dt.type==="atom"&&Dt.family===re?Dt:null}function Jn(Dt){var re=Qn(Dt);if(!re)throw new Error("Expected node of symbol group type, but got "+(Dt?"node of type "+Dt.type:String(Dt)));return re}function Qn(Dt){return Dt&&(Dt.type==="atom"||et.hasOwnProperty(Dt.type))?Dt:null}var Vn={number:3,unit:"mu"},yn={number:4,unit:"mu"},on={number:5,unit:"mu"},ia={mord:{mop:Vn,mbin:yn,mrel:on,minner:Vn},mop:{mord:Vn,mop:Vn,mrel:on,minner:Vn},mbin:{mord:yn,mop:yn,mopen:yn,minner:yn},mrel:{mord:on,mop:on,mopen:on,minner:on},mopen:{},mclose:{mop:Vn,mbin:yn,mrel:on,minner:Vn},mpunct:{mord:Vn,mop:Vn,mrel:on,mopen:Vn,mclose:Vn,mpunct:Vn,minner:Vn},minner:{mord:Vn,mop:Vn,mbin:yn,mrel:on,mopen:Vn,mpunct:Vn,minner:Vn}},xa={mord:{mop:Vn},mop:{mord:Vn,mop:Vn},mbin:{},mrel:{},mopen:{},mclose:{mop:Vn},mpunct:{},minner:{mop:Vn}},ta={},Ni={},Ci={};function Gn(Dt){for(var re=Dt.type,ce=Dt.names,pe=Dt.props,Le=Dt.handler,ct=Dt.htmlBuilder,Rt=Dt.mathmlBuilder,cr={type:re,numArgs:pe.numArgs,argTypes:pe.argTypes,greediness:pe.greediness===void 0?1:pe.greediness,allowedInText:!!pe.allowedInText,allowedInMath:pe.allowedInMath===void 0?!0:pe.allowedInMath,numOptionalArgs:pe.numOptionalArgs||0,infix:!!pe.infix,handler:Le},gr=0;gr<ce.length;++gr)ta[ce[gr]]=cr;re&&(ct&&(Ni[re]=ct),Rt&&(Ci[re]=Rt))}function Ia(Dt){var re=Dt.type,ce=Dt.htmlBuilder,pe=Dt.mathmlBuilder;Gn({type:re,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ce,mathmlBuilder:pe})}var mn=function(re){var ce=gn(re,"ordgroup");return ce?ce.body:[re]},In=jr.makeSpan,Ln=["leftmost","mbin","mopen","mrel","mop","mpunct"],Nn=["rightmost","mrel","mclose","mpunct"],jn={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},ni={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},di=function(re,ce,pe,Le){Le===void 0&&(Le=[null,null]);for(var ct=[],Rt=0;Rt<re.length;Rt++){var cr=Ki(re[Rt],ce);if(cr instanceof Fe){var gr=cr.children;ct.push.apply(ct,gr)}else ct.push(cr)}if(!pe)return ct;var Br=ce;if(re.length===1){var qr=gn(re[0],"sizing")||gn(re[0],"styling");qr&&(qr.type==="sizing"?Br=ce.havingSize(qr.size):qr.type==="styling"&&(Br=ce.havingStyle(jn[qr.style])))}var ln=In([Le[0]||"leftmost"],[],ce),An=In([Le[1]||"rightmost"],[],ce);return Da(ct,function(Cn,Xn){var ti=Xn.classes[0],wi=Cn.classes[0];ti==="mbin"&&y.contains(Nn,wi)?Xn.classes[0]="mord":wi==="mbin"&&y.contains(Ln,ti)&&(Cn.classes[0]="mord")},{node:ln},An),Da(ct,function(Cn,Xn){var ti=_a(Xn),wi=_a(Cn),ea=ti&&wi?Cn.hasClass("mtight")?xa[ti][wi]:ia[ti][wi]:null;if(ea)return jr.makeGlue(ea,Br)},{node:ln},An),ct},Da=function Dt(re,ce,pe,Le){Le&&re.push(Le);for(var ct=0;ct<re.length;ct++){var Rt=re[ct],cr=Xi(Rt);if(cr){Dt(cr.children,ce,pe);continue}if(Rt.classes[0]==="mspace")continue;var gr=ce(Rt,pe.node);gr&&(pe.insertAfter?pe.insertAfter(gr):(re.unshift(gr),ct++)),pe.node=Rt,pe.insertAfter=function(Br){return function(qr){re.splice(Br+1,0,qr),ct++}}(ct)}Le&&re.pop()},Xi=function(re){return re instanceof Fe||re instanceof ht?re:null},ma=function Dt(re,ce){var pe=Xi(re);if(pe){var Le=pe.children;if(Le.length){if(ce==="right")return Dt(Le[Le.length-1],"right");if(ce==="left")return Dt(Le[0],"left")}}return re},_a=function(re,ce){return re?(ce&&(re=ma(re,ce)),ni[re.classes[0]]||null):null},Xa=function(re,ce){var pe=["nulldelimiter"].concat(re.baseSizingClasses());return In(ce.concat(pe))},Ki=function(re,ce,pe){if(!re)return In();if(Ni[re.type]){var Le=Ni[re.type](re,ce);if(pe&&ce.size!==pe.size){Le=In(ce.sizingClasses(pe),[Le],ce);var ct=ce.sizeMultiplier/pe.sizeMultiplier;Le.height*=ct,Le.depth*=ct}return Le}else throw new i("Got group of unknown type: '"+re.type+"'")};function Co(Dt,re){var ce=In(["base"],Dt,re),pe=In(["strut"]);return pe.style.height=ce.height+ce.depth+"em",pe.style.verticalAlign=-ce.depth+"em",ce.children.unshift(pe),ce}function aa(Dt,re){var ce=null;Dt.length===1&&Dt[0].type==="tag"&&(ce=Dt[0].tag,Dt=Dt[0].body);for(var pe=di(Dt,re,!0),Le=[],ct=[],Rt=0;Rt<pe.length;Rt++)if(ct.push(pe[Rt]),pe[Rt].hasClass("mbin")||pe[Rt].hasClass("mrel")||pe[Rt].hasClass("allowbreak")){for(var cr=!1;Rt<pe.length-1&&pe[Rt+1].hasClass("mspace")&&!pe[Rt+1].hasClass("newline");)Rt++,ct.push(pe[Rt]),pe[Rt].hasClass("nobreak")&&(cr=!0);cr||(Le.push(Co(ct,re)),ct=[])}else pe[Rt].hasClass("newline")&&(ct.pop(),ct.length>0&&(Le.push(Co(ct,re)),ct=[]),Le.push(pe[Rt]));ct.length>0&&Le.push(Co(ct,re));var gr;ce&&(gr=Co(di(ce,re,!0)),gr.classes=["tag"],Le.push(gr));var Br=In(["katex-html"],Le);if(Br.setAttribute("aria-hidden","true"),gr){var qr=gr.children[0];qr.style.height=Br.height+Br.depth+"em",qr.style.verticalAlign=-Br.depth+"em"}return Br}function Hi(Dt){return new Fe(Dt)}var ga=function(){function Dt(ce,pe){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ce,this.attributes={},this.children=pe||[]}var re=Dt.prototype;return re.setAttribute=function(pe,Le){this.attributes[pe]=Le},re.getAttribute=function(pe){return this.attributes[pe]},re.toNode=function(){var pe=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Le in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Le)&&pe.setAttribute(Le,this.attributes[Le]);for(var ct=0;ct<this.children.length;ct++)pe.appendChild(this.children[ct].toNode());return pe},re.toMarkup=function(){var pe="<"+this.type;for(var Le in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Le)&&(pe+=" "+Le+'="',pe+=y.escape(this.attributes[Le]),pe+='"');pe+=">";for(var ct=0;ct<this.children.length;ct++)pe+=this.children[ct].toMarkup();return pe+="</"+this.type+">",pe},re.toText=function(){return this.children.map(function(pe){return pe.toText()}).join("")},Dt}(),ha=function(){function Dt(ce){this.text=void 0,this.text=ce}var re=Dt.prototype;return re.toNode=function(){return document.createTextNode(this.text)},re.toMarkup=function(){return y.escape(this.toText())},re.toText=function(){return this.text},Dt}(),mo=function(){function Dt(ce){this.width=void 0,this.character=void 0,this.width=ce,ce>=.05555&&ce<=.05556?this.character="\u200A":ce>=.1666&&ce<=.1667?this.character="\u2009":ce>=.2222&&ce<=.2223?this.character="\u2005":ce>=.2777&&ce<=.2778?this.character="\u2005\u200A":ce>=-.05556&&ce<=-.05555?this.character="\u200A\u2063":ce>=-.1667&&ce<=-.1666?this.character="\u2009\u2063":ce>=-.2223&&ce<=-.2222?this.character="\u205F\u2063":ce>=-.2778&&ce<=-.2777?this.character="\u2005\u2063":this.character=null}var re=Dt.prototype;return re.toNode=function(){if(this.character)return document.createTextNode(this.character);var pe=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return pe.setAttribute("width",this.width+"em"),pe},re.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},re.toText=function(){return this.character?this.character:" "},Dt}(),Pn={MathNode:ga,TextNode:ha,SpaceNode:mo,newDocumentFragment:Hi},qi=function(re,ce,pe){return Ze[ce][re]&&Ze[ce][re].replace&&re.charCodeAt(0)!==55349&&!(ye.hasOwnProperty(re)&&pe&&(pe.fontFamily&&pe.fontFamily.substr(4,2)==="tt"||pe.font&&pe.font.substr(4,2)==="tt"))&&(re=Ze[ce][re].replace),new Pn.TextNode(re)},eo=function(re){return re.length===1?re[0]:new Pn.MathNode("mrow",re)},Oo=function(re,ce){if(ce.fontFamily==="texttt")return"monospace";if(ce.fontFamily==="textsf")return ce.fontShape==="textit"&&ce.fontWeight==="textbf"?"sans-serif-bold-italic":ce.fontShape==="textit"?"sans-serif-italic":ce.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ce.fontShape==="textit"&&ce.fontWeight==="textbf")return"bold-italic";if(ce.fontShape==="textit")return"italic";if(ce.fontWeight==="textbf")return"bold";var pe=ce.font;if(!pe||pe==="mathnormal")return null;var Le=re.mode;if(pe==="mathit")return"italic";if(pe==="boldsymbol")return"bold-italic";if(pe==="mathbf")return"bold";if(pe==="mathbb")return"double-struck";if(pe==="mathfrak")return"fraktur";if(pe==="mathscr"||pe==="mathcal")return"script";if(pe==="mathsf")return"sans-serif";if(pe==="mathtt")return"monospace";var ct=re.text;if(y.contains(["\\imath","\\jmath"],ct))return null;Ze[Le][ct]&&Ze[Le][ct].replace&&(ct=Ze[Le][ct].replace);var Rt=jr.fontMap[pe].fontName;return Ot(ct,Rt,Le)?jr.fontMap[pe].variant:null},co=function(re,ce,pe){if(re.length===1){var Le=Ir(re[0],ce);return pe&&Le instanceof ga&&Le.type==="mo"&&(Le.setAttribute("lspace","0em"),Le.setAttribute("rspace","0em")),[Le]}for(var ct=[],Rt,cr=0;cr<re.length;cr++){var gr=Ir(re[cr],ce);if(gr instanceof ga&&Rt instanceof ga){if(gr.type==="mtext"&&Rt.type==="mtext"&&gr.getAttribute("mathvariant")===Rt.getAttribute("mathvariant")){var Br;(Br=Rt.children).push.apply(Br,gr.children);continue}else if(gr.type==="mn"&&Rt.type==="mn"){var qr;(qr=Rt.children).push.apply(qr,gr.children);continue}else if(gr.type==="mi"&&gr.children.length===1&&Rt.type==="mn"){var ln=gr.children[0];if(ln instanceof ha&&ln.text==="."){var An;(An=Rt.children).push.apply(An,gr.children);continue}}else if(Rt.type==="mi"&&Rt.children.length===1){var Cn=Rt.children[0];if(Cn instanceof ha&&Cn.text==="\u0338"&&(gr.type==="mo"||gr.type==="mi"||gr.type==="mn")){var Xn=gr.children[0];Xn instanceof ha&&Xn.text.length>0&&(Xn.text=Xn.text.slice(0,1)+"\u0338"+Xn.text.slice(1),ct.pop())}}}ct.push(gr),Rt=gr}return ct},tr=function(re,ce,pe){return eo(co(re,ce,pe))},Ir=function(re,ce){if(!re)return new Pn.MathNode("mrow");if(Ci[re.type]){var pe=Ci[re.type](re,ce);return pe}else throw new i("Got group of unknown type: '"+re.type+"'")};function Ur(Dt,re,ce,pe){var Le=co(Dt,ce),ct;Le.length===1&&Le[0]instanceof ga&&y.contains(["mrow","mtable"],Le[0].type)?ct=Le[0]:ct=new Pn.MathNode("mrow",Le);var Rt=new Pn.MathNode("annotation",[new Pn.TextNode(re)]);Rt.setAttribute("encoding","application/x-tex");var cr=new Pn.MathNode("semantics",[ct,Rt]),gr=new Pn.MathNode("math",[cr]);gr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Br=pe?"katex":"katex-mathml";return jr.makeSpan([Br],[gr])}var Kr=function(re){return new qt({style:re.displayMode?k.DISPLAY:k.TEXT,maxSize:re.maxSize,minRuleThickness:re.minRuleThickness})},hn=function(re,ce){if(ce.displayMode){var pe=["katex-display"];ce.leqno&&pe.push("leqno"),ce.fleqn&&pe.push("fleqn"),re=jr.makeSpan(pe,[re])}return re},Ue=function(re,ce,pe){var Le=Kr(pe),ct;if(pe.output==="mathml")return Ur(re,ce,Le,!0);if(pe.output==="html"){var Rt=aa(re,Le);ct=jr.makeSpan(["katex"],[Rt])}else{var cr=Ur(re,ce,Le,!1),gr=aa(re,Le);ct=jr.makeSpan(["katex"],[cr,gr])}return hn(ct,pe)},Bt=function(re,ce,pe){var Le=Kr(pe),ct=aa(re,Le),Rt=jr.makeSpan(["katex"],[ct]);return hn(Rt,pe)},Zt=Ue,rr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Tr=function(re){var ce=new Pn.MathNode("mo",[new Pn.TextNode(rr[re.substr(1)])]);return ce.setAttribute("stretchy","true"),ce},br={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]},xr=function(re){return re.type==="ordgroup"?re.body.length:1},Wr=function(re,ce){function pe(){var gr=4e5,Br=re.label.substr(1);if(y.contains(["widehat","widecheck","widetilde","utilde"],Br)){var qr=re,ln=xr(qr.base),An,Cn,Xn;if(ln>5)Br==="widehat"||Br==="widecheck"?(An=420,gr=2364,Xn=.42,Cn=Br+"4"):(An=312,gr=2340,Xn=.34,Cn="tilde4");else{var ti=[1,1,2,2,3,3][ln];Br==="widehat"||Br==="widecheck"?(gr=[0,1062,2364,2364,2364][ti],An=[0,239,300,360,420][ti],Xn=[0,.24,.3,.3,.36,.42][ti],Cn=Br+ti):(gr=[0,600,1033,2339,2340][ti],An=[0,260,286,306,312][ti],Xn=[0,.26,.286,.3,.306,.34][ti],Cn="tilde"+ti)}var wi=new De(Cn),ea=new _e([wi],{width:"100%",height:Xn+"em",viewBox:"0 0 "+gr+" "+An,preserveAspectRatio:"none"});return{span:jr.makeSvgSpan([],[ea],ce),minWidth:0,height:Xn}}else{var ji=[],Sa=br[Br],lo=Sa[0],Ka=Sa[1],Ao=Sa[2],yo=Ao/1e3,qa=lo.length,Fo,Do;if(qa===1){var Ha=Sa[3];Fo=["hide-tail"],Do=[Ha]}else if(qa===2)Fo=["halfarrow-left","halfarrow-right"],Do=["xMinYMin","xMaxYMin"];else if(qa===3)Fo=["brace-left","brace-center","brace-right"],Do=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+qa+" children.");for(var jo=0;jo<qa;jo++){var Po=new De(lo[jo]),Xo=new _e([Po],{width:"400em",height:yo+"em",viewBox:"0 0 "+gr+" "+Ao,preserveAspectRatio:Do[jo]+" slice"}),wo=jr.makeSvgSpan([Fo[jo]],[Xo],ce);if(qa===1)return{span:wo,minWidth:Ka,height:yo};wo.style.height=yo+"em",ji.push(wo)}return{span:jr.makeSpan(["stretchy"],ji,ce),minWidth:Ka,height:yo}}}var Le=pe(),ct=Le.span,Rt=Le.minWidth,cr=Le.height;return ct.height=cr,ct.style.height=cr+"em",Rt>0&&(ct.style.minWidth=Rt+"em"),ct},$r=function(re,ce,pe,Le){var ct,Rt=re.height+re.depth+2*pe;if(/fbox|color/.test(ce)){if(ct=jr.makeSpan(["stretchy",ce],[],Le),ce==="fbox"){var cr=Le.color&&Le.getColor();cr&&(ct.style.borderColor=cr)}}else{var gr=[];/^[bx]cancel$/.test(ce)&&gr.push(new Ie({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ce)&&gr.push(new Ie({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Br=new _e(gr,{width:"100%",height:Rt+"em"});ct=jr.makeSvgSpan([],[Br],Le)}return ct.height=Rt,ct.style.height=Rt+"em",ct},Zr={encloseSpan:$r,mathMLnode:Tr,svgSpan:Wr},an=function(re,ce){var pe,Le,ct=gn(re,"supsub"),Rt;ct?(Le=On(ct.base,"accent"),pe=Le.base,ct.base=pe,Rt=Et(Ki(ct,ce)),ct.base=Le):(Le=On(re,"accent"),pe=Le.base);var cr=Ki(pe,ce.havingCrampedStyle()),gr=Le.isShifty&&y.isCharacterBox(pe),Br=0;if(gr){var qr=y.getBaseElem(pe),ln=Ki(qr,ce.havingCrampedStyle());Br=st(ln).skew}var An=Math.min(cr.height,ce.fontMetrics().xHeight),Cn;if(Le.isStretchy)Cn=Zr.svgSpan(Le,ce),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:cr},{type:"elem",elem:Cn,wrapperClasses:["svg-align"],wrapperStyle:Br>0?{width:"calc(100% - "+2*Br+"em)",marginLeft:2*Br+"em"}:void 0}]},ce);else{var Xn,ti;Le.label==="\\vec"?(Xn=jr.staticSvg("vec",ce),ti=jr.svgData.vec[1]):(Xn=jr.makeOrd({mode:Le.mode,text:Le.label},ce,"textord"),Xn=st(Xn),Xn.italic=0,ti=Xn.width),Cn=jr.makeSpan(["accent-body"],[Xn]);var wi=Le.label==="\\textcircled";wi&&(Cn.classes.push("accent-full"),An=cr.height);var ea=Br;wi||(ea-=ti/2),Cn.style.left=ea+"em",Le.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:cr},{type:"kern",size:-An},{type:"elem",elem:Cn}]},ce)}var ji=jr.makeSpan(["mord","accent"],[Cn],ce);return Rt?(Rt.children[0]=ji,Rt.height=Math.max(ji.height,Rt.height),Rt.classes[0]="mord",Rt):ji},at=function(re,ce){var pe=re.isStretchy?Zr.mathMLnode(re.label):new Pn.MathNode("mo",[qi(re.label,re.mode)]),Le=new Pn.MathNode("mover",[Ir(re.base,ce),pe]);return Le.setAttribute("accent","true"),Le},Ht=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Dt){return"\\"+Dt}).join("|"));Gn({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(re,ce){var pe=ce[0],Le=!Ht.test(re.funcName),ct=!Le||re.funcName==="\\widehat"||re.funcName==="\\widetilde"||re.funcName==="\\widecheck";return{type:"accent",mode:re.parser.mode,label:re.funcName,isStretchy:Le,isShifty:ct,base:pe}},htmlBuilder:an,mathmlBuilder:at}),Gn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(re,ce){var pe=ce[0];return{type:"accent",mode:re.parser.mode,label:re.funcName,isStretchy:!1,isShifty:!0,base:pe}},htmlBuilder:an,mathmlBuilder:at}),Gn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0];return{type:"accentUnder",mode:pe.mode,label:Le,base:ct}},htmlBuilder:function(re,ce){var pe=Ki(re.base,ce),Le=Zr.svgSpan(re,ce),ct=re.label==="\\utilde"?.12:0,Rt=jr.makeVList({positionType:"bottom",positionData:Le.height+ct,children:[{type:"elem",elem:Le,wrapperClasses:["svg-align"]},{type:"kern",size:ct},{type:"elem",elem:pe}]},ce);return jr.makeSpan(["mord","accentunder"],[Rt],ce)},mathmlBuilder:function(re,ce){var pe=Zr.mathMLnode(re.label),Le=new Pn.MathNode("munder",[Ir(re.base,ce),pe]);return Le.setAttribute("accentunder","true"),Le}});var ar=function(re){var ce=new Pn.MathNode("mpadded",re?[re]:[]);return ce.setAttribute("width","+0.6em"),ce.setAttribute("lspace","0.3em"),ce};Gn({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(re,ce,pe){var Le=re.parser,ct=re.funcName;return{type:"xArrow",mode:Le.mode,label:ct,body:ce[0],below:pe[0]}},htmlBuilder:function(re,ce){var pe=ce.style,Le=ce.havingStyle(pe.sup()),ct=jr.wrapFragment(Ki(re.body,Le,ce),ce);ct.classes.push("x-arrow-pad");var Rt;re.below&&(Le=ce.havingStyle(pe.sub()),Rt=jr.wrapFragment(Ki(re.below,Le,ce),ce),Rt.classes.push("x-arrow-pad"));var cr=Zr.svgSpan(re,ce),gr=-ce.fontMetrics().axisHeight+.5*cr.height,Br=-ce.fontMetrics().axisHeight-.5*cr.height-.111;(ct.depth>.25||re.label==="\\xleftequilibrium")&&(Br-=ct.depth);var qr;if(Rt){var ln=-ce.fontMetrics().axisHeight+Rt.height+.5*cr.height+.111;qr=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ct,shift:Br},{type:"elem",elem:cr,shift:gr},{type:"elem",elem:Rt,shift:ln}]},ce)}else qr=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ct,shift:Br},{type:"elem",elem:cr,shift:gr}]},ce);return qr.children[0].children[0].children[1].classes.push("svg-align"),jr.makeSpan(["mrel","x-arrow"],[qr],ce)},mathmlBuilder:function(re,ce){var pe=Zr.mathMLnode(re.label),Le;if(re.body){var ct=ar(Ir(re.body,ce));if(re.below){var Rt=ar(Ir(re.below,ce));Le=new Pn.MathNode("munderover",[pe,Rt,ct])}else Le=new Pn.MathNode("mover",[pe,ct])}else if(re.below){var cr=ar(Ir(re.below,ce));Le=new Pn.MathNode("munder",[pe,cr])}else Le=ar(),Le=new Pn.MathNode("mover",[pe,Le]);return Le}}),Gn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){for(var pe=re.parser,Le=On(ce[0],"ordgroup"),ct=Le.body,Rt="",cr=0;cr<ct.length;cr++){var gr=On(ct[cr],"textord");Rt+=gr.text}var Br=parseInt(Rt);if(isNaN(Br))throw new i("\\@char has non-numeric argument "+Rt);return{type:"textord",mode:pe.mode,text:String.fromCharCode(Br)}}});var yr=function(re,ce){var pe=di(re.body,ce.withColor(re.color),!1);return jr.makeFragment(pe)},Fr=function(re,ce){var pe=co(re.body,ce.withColor(re.color)),Le=new Pn.MathNode("mstyle",pe);return Le.setAttribute("mathcolor",re.color),Le};Gn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(re,ce){var pe=re.parser,Le=On(ce[0],"color-token").color,ct=ce[1];return{type:"color",mode:pe.mode,color:Le,body:mn(ct)}},htmlBuilder:yr,mathmlBuilder:Fr}),Gn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(re,ce){var pe=re.parser,Le=re.breakOnTokenText,ct=On(ce[0],"color-token").color;pe.gullet.macros.set("\\current@color",ct);var Rt=pe.parseExpression(!0,Le);return{type:"color",mode:pe.mode,color:ct,body:Rt}},htmlBuilder:yr,mathmlBuilder:Fr}),Gn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(re,ce,pe){var Le=re.parser,ct=re.funcName,Rt=pe[0],cr=ct==="\\cr",gr=!1;return cr||(Le.settings.displayMode&&Le.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?gr=!1:gr=!0),{type:"cr",mode:Le.mode,newLine:gr,newRow:cr,size:Rt&&On(Rt,"size").value}},htmlBuilder:function(re,ce){if(re.newRow)throw new i("\\cr valid only within a tabular/array environment");var pe=jr.makeSpan(["mspace"],[],ce);return re.newLine&&(pe.classes.push("newline"),re.size&&(pe.style.marginTop=Xe(re.size,ce)+"em")),pe},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mspace");return re.newLine&&(pe.setAttribute("linebreak","newline"),re.size&&pe.setAttribute("height",Xe(re.size,ce)+"em")),pe}});var Mr=function(re,ce,pe){var Le=Ze.math[re]&&Ze.math[re].replace,ct=Ot(Le||re,ce,pe);if(!ct)throw new Error("Unsupported symbol "+re+" and font size "+ce+".");return ct},rn=function(re,ce,pe,Le){var ct=pe.havingBaseStyle(ce),Rt=jr.makeSpan(Le.concat(ct.sizingClasses(pe)),[re],pe),cr=ct.sizeMultiplier/pe.sizeMultiplier;return Rt.height*=cr,Rt.depth*=cr,Rt.maxFontSize=ct.sizeMultiplier,Rt},fn=function(re,ce,pe){var Le=ce.havingBaseStyle(pe),ct=(1-ce.sizeMultiplier/Le.sizeMultiplier)*ce.fontMetrics().axisHeight;re.classes.push("delimcenter"),re.style.top=ct+"em",re.height-=ct,re.depth+=ct},wn=function(re,ce,pe,Le,ct,Rt){var cr=jr.makeSymbol(re,"Main-Regular",ct,Le),gr=rn(cr,ce,Le,Rt);return pe&&fn(gr,Le,ce),gr},Hn=function(re,ce,pe,Le){return jr.makeSymbol(re,"Size"+ce+"-Regular",pe,Le)},Sn=function(re,ce,pe,Le,ct,Rt){var cr=Hn(re,ce,ct,Le),gr=rn(jr.makeSpan(["delimsizing","size"+ce],[cr],Le),k.TEXT,Le,Rt);return pe&&fn(gr,Le,k.TEXT),gr},bn=function(re,ce,pe){var Le;ce==="Size1-Regular"?Le="delim-size1":Le="delim-size4";var ct=jr.makeSpan(["delimsizinginner",Le],[jr.makeSpan([],[jr.makeSymbol(re,ce,pe)])]);return{type:"elem",elem:ct}},Bn={type:"kern",size:-.005},vn=function(re,ce,pe,Le,ct,Rt){var cr,gr,Br,qr;cr=Br=qr=re,gr=null;var ln="Size1-Regular";re==="\\uparrow"?Br=qr="\u23D0":re==="\\Uparrow"?Br=qr="\u2016":re==="\\downarrow"?cr=Br="\u23D0":re==="\\Downarrow"?cr=Br="\u2016":re==="\\updownarrow"?(cr="\\uparrow",Br="\u23D0",qr="\\downarrow"):re==="\\Updownarrow"?(cr="\\Uparrow",Br="\u2016",qr="\\Downarrow"):re==="["||re==="\\lbrack"?(cr="\u23A1",Br="\u23A2",qr="\u23A3",ln="Size4-Regular"):re==="]"||re==="\\rbrack"?(cr="\u23A4",Br="\u23A5",qr="\u23A6",ln="Size4-Regular"):re==="\\lfloor"||re==="\u230A"?(Br=cr="\u23A2",qr="\u23A3",ln="Size4-Regular"):re==="\\lceil"||re==="\u2308"?(cr="\u23A1",Br=qr="\u23A2",ln="Size4-Regular"):re==="\\rfloor"||re==="\u230B"?(Br=cr="\u23A5",qr="\u23A6",ln="Size4-Regular"):re==="\\rceil"||re==="\u2309"?(cr="\u23A4",Br=qr="\u23A5",ln="Size4-Regular"):re==="("||re==="\\lparen"?(cr="\u239B",Br="\u239C",qr="\u239D",ln="Size4-Regular"):re===")"||re==="\\rparen"?(cr="\u239E",Br="\u239F",qr="\u23A0",ln="Size4-Regular"):re==="\\{"||re==="\\lbrace"?(cr="\u23A7",gr="\u23A8",qr="\u23A9",Br="\u23AA",ln="Size4-Regular"):re==="\\}"||re==="\\rbrace"?(cr="\u23AB",gr="\u23AC",qr="\u23AD",Br="\u23AA",ln="Size4-Regular"):re==="\\lgroup"||re==="\u27EE"?(cr="\u23A7",qr="\u23A9",Br="\u23AA",ln="Size4-Regular"):re==="\\rgroup"||re==="\u27EF"?(cr="\u23AB",qr="\u23AD",Br="\u23AA",ln="Size4-Regular"):re==="\\lmoustache"||re==="\u23B0"?(cr="\u23A7",qr="\u23AD",Br="\u23AA",ln="Size4-Regular"):(re==="\\rmoustache"||re==="\u23B1")&&(cr="\u23AB",qr="\u23A9",Br="\u23AA",ln="Size4-Regular");var An=Mr(cr,ln,ct),Cn=An.height+An.depth,Xn=Mr(Br,ln,ct),ti=Xn.height+Xn.depth,wi=Mr(qr,ln,ct),ea=wi.height+wi.depth,ji=0,Sa=1;if(gr!==null){var lo=Mr(gr,ln,ct);ji=lo.height+lo.depth,Sa=2}var Ka=Cn+ea+ji,Ao=Math.max(0,Math.ceil((ce-Ka)/(Sa*ti))),yo=Ka+Ao*Sa*ti,qa=Le.fontMetrics().axisHeight;pe&&(qa*=Le.sizeMultiplier);var Fo=yo/2-qa,Do=(Ao+1)*.005-ti,Ha=[];if(Ha.push(bn(qr,ln,ct)),gr===null)for(var jo=0;jo<Ao;jo++)Ha.push(Bn),Ha.push(bn(Br,ln,ct));else{for(var Po=0;Po<Ao;Po++)Ha.push(Bn),Ha.push(bn(Br,ln,ct));Ha.push({type:"kern",size:Do}),Ha.push(bn(Br,ln,ct)),Ha.push(Bn),Ha.push(bn(gr,ln,ct));for(var Xo=0;Xo<Ao;Xo++)Ha.push(Bn),Ha.push(bn(Br,ln,ct))}Ha.push({type:"kern",size:Do}),Ha.push(bn(Br,ln,ct)),Ha.push(Bn),Ha.push(bn(cr,ln,ct));var wo=Le.havingBaseStyle(k.TEXT),cs=jr.makeVList({positionType:"bottom",positionData:Fo,children:Ha},wo);return rn(jr.makeSpan(["delimsizing","mult"],[cs],wo),k.TEXT,Le,Rt)},Mn=80,En=.08,Tn=function(re,ce,pe,Le,ct){var Rt=qe(re,Le,pe),cr=new De(re,Rt),gr=new _e([cr],{width:"400em",height:ce+"em",viewBox:"0 0 400000 "+pe,preserveAspectRatio:"xMinYMin slice"});return jr.makeSvgSpan(["hide-tail"],[gr],ct)},Yn=function(re,ce){var pe=ce.havingBaseSizing(),Le=ki("\\surd",re*pe.sizeMultiplier,Mi,pe),ct=pe.sizeMultiplier,Rt=Math.max(0,ce.minRuleThickness-ce.fontMetrics().sqrtRuleThickness),cr,gr=0,Br=0,qr=0,ln;return Le.type==="small"?(qr=1e3+1e3*Rt+Mn,re<1?ct=1:re<1.4&&(ct=.7),gr=(1+Rt+En)/ct,Br=(1+Rt)/ct,cr=Tn("sqrtMain",gr,qr,Rt,ce),cr.style.minWidth="0.853em",ln=.833/ct):Le.type==="large"?(qr=(1e3+Mn)*Ai[Le.size],Br=(Ai[Le.size]+Rt)/ct,gr=(Ai[Le.size]+Rt+En)/ct,cr=Tn("sqrtSize"+Le.size,gr,qr,Rt,ce),cr.style.minWidth="1.02em",ln=1/ct):(gr=re+Rt+En,Br=re+Rt,qr=Math.floor(1e3*re+Rt)+Mn,cr=Tn("sqrtTall",gr,qr,Rt,ce),cr.style.minWidth="0.742em",ln=1.056),cr.height=Br,cr.style.height=gr+"em",{span:cr,advanceWidth:ln,ruleWidth:(ce.fontMetrics().sqrtRuleThickness+Rt)*ct}},ai=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ri=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ri=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ai=[0,1.2,1.8,2.4,3],xi=function(re,ce,pe,Le,ct){if(re==="<"||re==="\\lt"||re==="\u27E8"?re="\\langle":(re===">"||re==="\\gt"||re==="\u27E9")&&(re="\\rangle"),y.contains(ai,re)||y.contains(Ri,re))return Sn(re,ce,!1,pe,Le,ct);if(y.contains(ri,re))return vn(re,Ai[ce],!1,pe,Le,ct);throw new i("Illegal delimiter: '"+re+"'")},Li=[{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}],kn=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],Mi=[{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"}],fa=function(re){if(re.type==="small")return"Main-Regular";if(re.type==="large")return"Size"+re.size+"-Regular";if(re.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+re.type+"' here.")},ki=function(re,ce,pe,Le){for(var ct=Math.min(2,3-Le.style.size),Rt=ct;Rt<pe.length&&!(pe[Rt].type==="stack");Rt++){var cr=Mr(re,fa(pe[Rt]),"math"),gr=cr.height+cr.depth;if(pe[Rt].type==="small"){var Br=Le.havingBaseStyle(pe[Rt].style);gr*=Br.sizeMultiplier}if(gr>ce)return pe[Rt]}return pe[pe.length-1]},Bi=function(re,ce,pe,Le,ct,Rt){re==="<"||re==="\\lt"||re==="\u27E8"?re="\\langle":(re===">"||re==="\\gt"||re==="\u27E9")&&(re="\\rangle");var cr;y.contains(Ri,re)?cr=Li:y.contains(ai,re)?cr=Mi:cr=kn;var gr=ki(re,ce,cr,Le);return gr.type==="small"?wn(re,gr.style,pe,Le,ct,Rt):gr.type==="large"?Sn(re,gr.size,pe,Le,ct,Rt):vn(re,ce,pe,Le,ct,Rt)},mi=function(re,ce,pe,Le,ct,Rt){var cr=Le.fontMetrics().axisHeight*Le.sizeMultiplier,gr=901,Br=5/Le.fontMetrics().ptPerEm,qr=Math.max(ce-cr,pe+cr),ln=Math.max(qr/500*gr,2*qr-Br);return Bi(re,ln,!0,Le,ct,Rt)},hi={sqrtImage:Yn,sizedDelim:xi,customSizedDelim:Bi,leftRightDelim:mi},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}},va=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ea(Dt,re){var ce=Qn(Dt);if(ce&&y.contains(va,ce.text))return ce;throw new i("Invalid delimiter: '"+(ce?ce.text:JSON.stringify(Dt))+"' after '"+re.funcName+"'",Dt)}Gn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(re,ce){var pe=Ea(ce[0],re);return{type:"delimsizing",mode:re.parser.mode,size:Ji[re.funcName].size,mclass:Ji[re.funcName].mclass,delim:pe.text}},htmlBuilder:function(re,ce){return re.delim==="."?jr.makeSpan([re.mclass]):hi.sizedDelim(re.delim,re.size,ce,re.mode,[re.mclass])},mathmlBuilder:function(re){var ce=[];re.delim!=="."&&ce.push(qi(re.delim,re.mode));var pe=new Pn.MathNode("mo",ce);return re.mclass==="mopen"||re.mclass==="mclose"?pe.setAttribute("fence","true"):pe.setAttribute("fence","false"),pe}});function Aa(Dt){if(!Dt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(re,ce){var pe=re.parser.gullet.macros.get("\\current@color");if(pe&&typeof pe!="string")throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:re.parser.mode,delim:Ea(ce[0],re).text,color:pe}}}),Gn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(re,ce){var pe=Ea(ce[0],re),Le=re.parser;++Le.leftrightDepth;var ct=Le.parseExpression(!1);--Le.leftrightDepth,Le.expect("\\right",!1);var Rt=On(Le.parseFunction(),"leftright-right");return{type:"leftright",mode:Le.mode,body:ct,left:pe.text,right:Rt.delim,rightColor:Rt.color}},htmlBuilder:function(re,ce){Aa(re);for(var pe=di(re.body,ce,!0,["mopen","mclose"]),Le=0,ct=0,Rt=!1,cr=0;cr<pe.length;cr++)pe[cr].isMiddle?Rt=!0:(Le=Math.max(pe[cr].height,Le),ct=Math.max(pe[cr].depth,ct));Le*=ce.sizeMultiplier,ct*=ce.sizeMultiplier;var gr;if(re.left==="."?gr=Xa(ce,["mopen"]):gr=hi.leftRightDelim(re.left,Le,ct,ce,re.mode,["mopen"]),pe.unshift(gr),Rt)for(var Br=1;Br<pe.length;Br++){var qr=pe[Br],ln=qr.isMiddle;ln&&(pe[Br]=hi.leftRightDelim(ln.delim,Le,ct,ln.options,re.mode,[]))}var An;if(re.right===".")An=Xa(ce,["mclose"]);else{var Cn=re.rightColor?ce.withColor(re.rightColor):ce;An=hi.leftRightDelim(re.right,Le,ct,Cn,re.mode,["mclose"])}return pe.push(An),jr.makeSpan(["minner"],pe,ce)},mathmlBuilder:function(re,ce){Aa(re);var pe=co(re.body,ce);if(re.left!=="."){var Le=new Pn.MathNode("mo",[qi(re.left,re.mode)]);Le.setAttribute("fence","true"),pe.unshift(Le)}if(re.right!=="."){var ct=new Pn.MathNode("mo",[qi(re.right,re.mode)]);ct.setAttribute("fence","true"),re.rightColor&&ct.setAttribute("mathcolor",re.rightColor),pe.push(ct)}return eo(pe)}}),Gn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(re,ce){var pe=Ea(ce[0],re);if(!re.parser.leftrightDepth)throw new i("\\middle without preceding \\left",pe);return{type:"middle",mode:re.parser.mode,delim:pe.text}},htmlBuilder:function(re,ce){var pe;if(re.delim===".")pe=Xa(ce,[]);else{pe=hi.sizedDelim(re.delim,1,ce,re.mode,[]);var Le={delim:re.delim,options:ce};pe.isMiddle=Le}return pe},mathmlBuilder:function(re,ce){var pe=re.delim==="\\vert"||re.delim==="|"?qi("|","text"):qi(re.delim,re.mode),Le=new Pn.MathNode("mo",[pe]);return Le.setAttribute("fence","true"),Le.setAttribute("lspace","0.05em"),Le.setAttribute("rspace","0.05em"),Le}});var oa=function(re,ce){var pe=jr.wrapFragment(Ki(re.body,ce),ce),Le=re.label.substr(1),ct=ce.sizeMultiplier,Rt,cr=0,gr=y.isCharacterBox(re.body);if(Le==="sout")Rt=jr.makeSpan(["stretchy","sout"]),Rt.height=ce.fontMetrics().defaultRuleThickness/ct,cr=-.5*ce.fontMetrics().xHeight;else{/cancel/.test(Le)?gr||pe.classes.push("cancel-pad"):pe.classes.push("boxpad");var Br=0,qr=0;/box/.test(Le)?(qr=Math.max(ce.fontMetrics().fboxrule,ce.minRuleThickness),Br=ce.fontMetrics().fboxsep+(Le==="colorbox"?0:qr)):Br=gr?.2:0,Rt=Zr.encloseSpan(pe,Le,Br,ce),/fbox|boxed|fcolorbox/.test(Le)&&(Rt.style.borderStyle="solid",Rt.style.borderWidth=qr+"em"),cr=pe.depth+Br,re.backgroundColor&&(Rt.style.backgroundColor=re.backgroundColor,re.borderColor&&(Rt.style.borderColor=re.borderColor))}var ln;return re.backgroundColor?ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Rt,shift:cr},{type:"elem",elem:pe,shift:0}]},ce):ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:pe,shift:0},{type:"elem",elem:Rt,shift:cr,wrapperClasses:/cancel/.test(Le)?["svg-align"]:[]}]},ce),/cancel/.test(Le)&&(ln.height=pe.height,ln.depth=pe.depth),/cancel/.test(Le)&&!gr?jr.makeSpan(["mord","cancel-lap"],[ln],ce):jr.makeSpan(["mord"],[ln],ce)},sa=function(re,ce){var pe=0,Le=new Pn.MathNode(re.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ir(re.body,ce)]);switch(re.label){case"\\cancel":Le.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Le.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Le.setAttribute("notation","horizontalstrike");break;case"\\fbox":Le.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(pe=ce.fontMetrics().fboxsep*ce.fontMetrics().ptPerEm,Le.setAttribute("width","+"+2*pe+"pt"),Le.setAttribute("height","+"+2*pe+"pt"),Le.setAttribute("lspace",pe+"pt"),Le.setAttribute("voffset",pe+"pt"),re.label==="\\fcolorbox"){var ct=Math.max(ce.fontMetrics().fboxrule,ce.minRuleThickness);Le.setAttribute("style","border: "+ct+"em solid "+String(re.borderColor))}break;case"\\xcancel":Le.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return re.backgroundColor&&Le.setAttribute("mathbackground",re.backgroundColor),Le};Gn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(re,ce,pe){var Le=re.parser,ct=re.funcName,Rt=On(ce[0],"color-token").color,cr=ce[1];return{type:"enclose",mode:Le.mode,label:ct,backgroundColor:Rt,body:cr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(re,ce,pe){var Le=re.parser,ct=re.funcName,Rt=On(ce[0],"color-token").color,cr=On(ce[1],"color-token").color,gr=ce[2];return{type:"enclose",mode:Le.mode,label:ct,backgroundColor:cr,borderColor:Rt,body:gr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(re,ce){var pe=re.parser;return{type:"enclose",mode:pe.mode,label:"\\fbox",body:ce[0]}}}),Gn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(re,ce,pe){var Le=re.parser,ct=re.funcName,Rt=ce[0];return{type:"enclose",mode:Le.mode,label:ct,body:Rt}},htmlBuilder:oa,mathmlBuilder:sa});var Di={};function qn(Dt){for(var re=Dt.type,ce=Dt.names,pe=Dt.props,Le=Dt.handler,ct=Dt.htmlBuilder,Rt=Dt.mathmlBuilder,cr={type:re,numArgs:pe.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Le},gr=0;gr<ce.length;++gr)Di[ce[gr]]=cr;ct&&(Ni[re]=ct),Rt&&(Ci[re]=Rt)}function yi(Dt){var re=[];Dt.consumeSpaces();for(var ce=Dt.fetch().text;ce==="\\hline"||ce==="\\hdashline";)Dt.consume(),re.push(ce==="\\hdashline"),Dt.consumeSpaces(),ce=Dt.fetch().text;return re}function Ti(Dt,re,ce){var pe=re.hskipBeforeAndAfter,Le=re.addJot,ct=re.cols,Rt=re.arraystretch,cr=re.colSeparationType;if(Dt.gullet.beginGroup(),Dt.gullet.macros.set("\\\\","\\cr"),!Rt){var gr=Dt.gullet.expandMacroAsText("\\arraystretch");if(gr==null)Rt=1;else if(Rt=parseFloat(gr),!Rt||Rt<0)throw new i("Invalid \\arraystretch: "+gr)}Dt.gullet.beginGroup();var Br=[],qr=[Br],ln=[],An=[];for(An.push(yi(Dt));;){var Cn=Dt.parseExpression(!1,"\\cr");Dt.gullet.endGroup(),Dt.gullet.beginGroup(),Cn={type:"ordgroup",mode:Dt.mode,body:Cn},ce&&(Cn={type:"styling",mode:Dt.mode,style:ce,body:[Cn]}),Br.push(Cn);var Xn=Dt.fetch().text;if(Xn==="&")Dt.consume();else if(Xn==="\\end"){Br.length===1&&Cn.type==="styling"&&Cn.body[0].body.length===0&&qr.pop(),An.length<qr.length+1&&An.push([]);break}else if(Xn==="\\cr"){var ti=On(Dt.parseFunction(),"cr");ln.push(ti.size),An.push(yi(Dt)),Br=[],qr.push(Br)}else throw new i("Expected & or \\\\ or \\cr or \\end",Dt.nextToken)}return Dt.gullet.endGroup(),Dt.gullet.endGroup(),{type:"array",mode:Dt.mode,addJot:Le,arraystretch:Rt,body:qr,cols:ct,rowGaps:ln,hskipBeforeAndAfter:pe,hLinesBeforeRow:An,colSeparationType:cr}}function Vi(Dt){return Dt.substr(0,1)==="d"?"display":"text"}var Yi=function(re,ce){var pe,Le,ct=re.body.length,Rt=re.hLinesBeforeRow,cr=0,gr=new Array(ct),Br=[],qr=Math.max(ce.fontMetrics().arrayRuleWidth,ce.minRuleThickness),ln=1/ce.fontMetrics().ptPerEm,An=5*ln;if(re.colSeparationType&&re.colSeparationType==="small"){var Cn=ce.havingStyle(k.SCRIPT).sizeMultiplier;An=.2778*(Cn/ce.sizeMultiplier)}var Xn=12*ln,ti=3*ln,wi=re.arraystretch*Xn,ea=.7*wi,ji=.3*wi,Sa=0;function lo(bs){for(var ca=0;ca<bs.length;++ca)ca>0&&(Sa+=.25),Br.push({pos:Sa,isDashed:bs[ca]})}for(lo(Rt[0]),pe=0;pe<re.body.length;++pe){var Ka=re.body[pe],Ao=ea,yo=ji;cr<Ka.length&&(cr=Ka.length);var qa=new Array(Ka.length);for(Le=0;Le<Ka.length;++Le){var Fo=Ki(Ka[Le],ce);yo<Fo.depth&&(yo=Fo.depth),Ao<Fo.height&&(Ao=Fo.height),qa[Le]=Fo}var Do=re.rowGaps[pe],Ha=0;Do&&(Ha=Xe(Do,ce),Ha>0&&(Ha+=ji,yo<Ha&&(yo=Ha),Ha=0)),re.addJot&&(yo+=ti),qa.height=Ao,qa.depth=yo,Sa+=Ao,qa.pos=Sa,Sa+=yo+Ha,gr[pe]=qa,lo(Rt[pe+1])}var jo=Sa/2+ce.fontMetrics().axisHeight,Po=re.cols||[],Xo=[],wo,cs;for(Le=0,cs=0;Le<cr||cs<Po.length;++Le,++cs){for(var ns=Po[cs]||{},Ys=!0;ns.type==="separator";){if(Ys||(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=ce.fontMetrics().doubleRuleSep+"em",Xo.push(wo)),ns.separator==="|"||ns.separator===":"){var Qs=ns.separator==="|"?"solid":"dashed",Qo=jr.makeSpan(["vertical-separator"],[],ce);Qo.style.height=Sa+"em",Qo.style.borderRightWidth=qr+"em",Qo.style.borderRightStyle=Qs,Qo.style.margin="0 -"+qr/2+"em",Qo.style.verticalAlign=-(Sa-jo)+"em",Xo.push(Qo)}else throw new i("Invalid separator type: "+ns.separator);cs++,ns=Po[cs]||{},Ys=!1}if(Le>=cr)continue;var Eo=void 0;(Le>0||re.hskipBeforeAndAfter)&&(Eo=y.deflt(ns.pregap,An),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Xo.push(wo)));var ds=[];for(pe=0;pe<ct;++pe){var hs=gr[pe],Ms=hs[Le];if(!Ms)continue;var Ro=hs.pos-jo;Ms.depth=hs.depth,Ms.height=hs.height,ds.push({type:"elem",elem:Ms,shift:Ro})}ds=jr.makeVList({positionType:"individualShift",children:ds},ce),ds=jr.makeSpan(["col-align-"+(ns.align||"c")],[ds]),Xo.push(ds),(Le<cr-1||re.hskipBeforeAndAfter)&&(Eo=y.deflt(ns.postgap,An),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Xo.push(wo)))}if(gr=jr.makeSpan(["mtable"],Xo),Br.length>0){for(var As=jr.makeLineSpan("hline",ce,qr),Bs=jr.makeLineSpan("hdashline",ce,qr),ys=[{type:"elem",elem:gr,shift:0}];Br.length>0;){var Fs=Br.pop(),Hs=Fs.pos-jo;Fs.isDashed?ys.push({type:"elem",elem:Bs,shift:Hs}):ys.push({type:"elem",elem:As,shift:Hs})}gr=jr.makeVList({positionType:"individualShift",children:ys},ce)}return jr.makeSpan(["mord"],[gr],ce)},bi={c:"center ",l:"left ",r:"right "},ya=function(re,ce){var pe=new Pn.MathNode("mtable",re.body.map(function(Sa){return new Pn.MathNode("mtr",Sa.map(function(lo){return new Pn.MathNode("mtd",[Ir(lo,ce)])}))})),Le=re.arraystretch===.5?.1:.16+re.arraystretch-1+(re.addJot?.09:0);pe.setAttribute("rowspacing",Le+"em");var ct="",Rt="";if(re.cols){var cr=re.cols,gr="",Br=!1,qr=0,ln=cr.length;cr[0].type==="separator"&&(ct+="top ",qr=1),cr[cr.length-1].type==="separator"&&(ct+="bottom ",ln-=1);for(var An=qr;An<ln;An++)cr[An].type==="align"?(Rt+=bi[cr[An].align],Br&&(gr+="none "),Br=!0):cr[An].type==="separator"&&(Br&&(gr+=cr[An].separator==="|"?"solid ":"dashed ",Br=!1));pe.setAttribute("columnalign",Rt.trim()),/[sd]/.test(gr)&&pe.setAttribute("columnlines",gr.trim())}if(re.colSeparationType==="align"){for(var Cn=re.cols||[],Xn="",ti=1;ti<Cn.length;ti++)Xn+=ti%2?"0em ":"1em ";pe.setAttribute("columnspacing",Xn.trim())}else re.colSeparationType==="alignat"?pe.setAttribute("columnspacing","0em"):re.colSeparationType==="small"?pe.setAttribute("columnspacing","0.2778em"):pe.setAttribute("columnspacing","1em");var wi="",ea=re.hLinesBeforeRow;ct+=ea[0].length>0?"left ":"",ct+=ea[ea.length-1].length>0?"right ":"";for(var ji=1;ji<ea.length-1;ji++)wi+=ea[ji].length===0?"none ":ea[ji][0]?"dashed ":"solid ";return/[sd]/.test(wi)&&pe.setAttribute("rowlines",wi.trim()),ct!==""&&(pe=new Pn.MathNode("menclose",[pe]),pe.setAttribute("notation",ct.trim())),re.arraystretch&&re.arraystretch<1&&(pe=new Pn.MathNode("mstyle",[pe]),pe.setAttribute("scriptlevel","1")),pe},ua=function(re,ce){var pe=[],Le=Ti(re.parser,{cols:pe,addJot:!0},"display"),ct,Rt=0,cr={type:"ordgroup",mode:re.mode,body:[]},gr=gn(ce[0],"ordgroup");if(gr){for(var Br="",qr=0;qr<gr.body.length;qr++){var ln=On(gr.body[qr],"textord");Br+=ln.text}ct=Number(Br),Rt=ct*2}var An=!Rt;Le.body.forEach(function(wi){for(var ea=1;ea<wi.length;ea+=2){var ji=On(wi[ea],"styling"),Sa=On(ji.body[0],"ordgroup");Sa.body.unshift(cr)}if(An)Rt<wi.length&&(Rt=wi.length);else{var lo=wi.length/2;if(ct<lo)throw new i("Too many math in a row: "+("expected "+ct+", but got "+lo),wi[0])}});for(var Cn=0;Cn<Rt;++Cn){var Xn="r",ti=0;Cn%2===1?Xn="l":Cn>0&&An&&(ti=1),pe[Cn]={type:"align",align:Xn,pregap:ti,postgap:0}}return Le.colSeparationType=An?"align":"alignat",Le};qn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(re,ce){var pe=Qn(ce[0]),Le=pe?[ce[0]]:On(ce[0],"ordgroup").body,ct=Le.map(function(cr){var gr=Jn(cr),Br=gr.text;if("lcr".indexOf(Br)!==-1)return{type:"align",align:Br};if(Br==="|")return{type:"separator",separator:"|"};if(Br===":")return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+Br,cr)}),Rt={cols:ct,hskipBeforeAndAfter:!0};return Ti(re.parser,Rt,Vi(re.envName))},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(re){var ce={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[re.envName],pe={hskipBeforeAndAfter:!1},Le=Ti(re.parser,pe,Vi(re.envName));return ce?{type:"leftright",mode:re.mode,body:[Le],left:ce[0],right:ce[1],rightColor:void 0}:Le},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(re){var ce={arraystretch:.5},pe=Ti(re.parser,ce,"script");return pe.colSeparationType="small",pe},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(re,ce){var pe=Qn(ce[0]),Le=pe?[ce[0]]:On(ce[0],"ordgroup").body,ct=Le.map(function(cr){var gr=Jn(cr),Br=gr.text;if("lc".indexOf(Br)!==-1)return{type:"align",align:Br};throw new i("Unknown column alignment: "+Br,cr)});if(ct.length>1)throw new i("{subarray} can contain only one column");var Rt={cols:ct,hskipBeforeAndAfter:!1,arraystretch:.5};if(Rt=Ti(re.parser,Rt,"script"),Rt.body[0].length>1)throw new i("{subarray} can contain only one column");return Rt},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(re){var ce={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},pe=Ti(re.parser,ce,Vi(re.envName));return{type:"leftright",mode:re.mode,body:[pe],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["aligned"],props:{numArgs:0},handler:ua,htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(re){var ce={cols:[{type:"align",align:"c"}],addJot:!0};return Ti(re.parser,ce,"display")},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["alignedat"],props:{numArgs:1},handler:ua,htmlBuilder:Yi,mathmlBuilder:ya}),Gn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(re,ce){throw new i(re.funcName+" valid only within array environment")}});var la=Di,gi=la;Gn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0];if(ct.type!=="ordgroup")throw new i("Invalid environment name",ct);for(var Rt="",cr=0;cr<ct.body.length;++cr)Rt+=On(ct.body[cr],"textord").text;if(Le==="\\begin"){if(!gi.hasOwnProperty(Rt))throw new i("No such environment: "+Rt,ct);var gr=gi[Rt],Br=pe.parseArguments("\\begin{"+Rt+"}",gr),qr=Br.args,ln=Br.optArgs,An={mode:pe.mode,envName:Rt,parser:pe},Cn=gr.handler(An,qr,ln);pe.expect("\\end",!1);var Xn=pe.nextToken,ti=On(pe.parseFunction(),"environment");if(ti.name!==Rt)throw new i("Mismatch: \\begin{"+Rt+"} matched by \\end{"+ti.name+"}",Xn);return Cn}return{type:"environment",mode:pe.mode,name:Rt,nameGroup:ct}}});var Ua=jr.makeSpan;function Ba(Dt,re){var ce=di(Dt.body,re,!0);return Ua([Dt.mclass],ce,re)}function ra(Dt,re){var ce,pe=co(Dt.body,re);return Dt.mclass==="minner"?Pn.newDocumentFragment(pe):(Dt.mclass==="mord"?Dt.isCharacterBox?(ce=pe[0],ce.type="mi"):ce=new Pn.MathNode("mi",pe):(Dt.isCharacterBox?(ce=pe[0],ce.type="mo"):ce=new Pn.MathNode("mo",pe),Dt.mclass==="mbin"?(ce.attributes.lspace="0.22em",ce.attributes.rspace="0.22em"):Dt.mclass==="mpunct"?(ce.attributes.lspace="0em",ce.attributes.rspace="0.17em"):(Dt.mclass==="mopen"||Dt.mclass==="mclose")&&(ce.attributes.lspace="0em",ce.attributes.rspace="0em")),ce)}Gn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0];return{type:"mclass",mode:pe.mode,mclass:"m"+Le.substr(5),body:mn(ct),isCharacterBox:y.isCharacterBox(ct)}},htmlBuilder:Ba,mathmlBuilder:ra});var Qi=function(re){var ce=re.type==="ordgroup"&&re.body.length?re.body[0]:re;return ce.type==="atom"&&(ce.family==="bin"||ce.family==="rel")?"m"+ce.family:"mord"};Gn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(re,ce){var pe=re.parser;return{type:"mclass",mode:pe.mode,mclass:Qi(ce[0]),body:[ce[1]],isCharacterBox:y.isCharacterBox(ce[1])}}}),Gn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[1],Rt=ce[0],cr;Le!=="\\stackrel"?cr=Qi(ct):cr="mrel";var gr={type:"op",mode:ct.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Le!=="\\stackrel",body:mn(ct)},Br={type:"supsub",mode:Rt.mode,base:gr,sup:Le==="\\underset"?null:Rt,sub:Le==="\\underset"?Rt:null};return{type:"mclass",mode:pe.mode,mclass:cr,body:[Br],isCharacterBox:y.isCharacterBox(Br)}},htmlBuilder:Ba,mathmlBuilder:ra});var Ya=function(re,ce){var pe=re.font,Le=ce.withFont(pe);return Ki(re.body,Le)},zi=function(re,ce){var pe=re.font,Le=ce.withFont(pe);return Ir(re.body,Le)},Wi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0],Rt=Le;return Rt in Wi&&(Rt=Wi[Rt]),{type:"font",mode:pe.mode,font:Rt.slice(1),body:ct}},htmlBuilder:Ya,mathmlBuilder:zi}),Gn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(re,ce){var pe=re.parser,Le=ce[0],ct=y.isCharacterBox(Le);return{type:"mclass",mode:pe.mode,mclass:Qi(Le),body:[{type:"font",mode:pe.mode,font:"boldsymbol",body:Le}],isCharacterBox:ct}}}),Gn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=re.breakOnTokenText,Rt=pe.mode,cr=pe.parseExpression(!0,ct),gr="math"+Le.slice(1);return{type:"font",mode:Rt,font:gr,body:{type:"ordgroup",mode:pe.mode,body:cr}}},htmlBuilder:Ya,mathmlBuilder:zi});var ba=function(re,ce){var pe=ce;return re==="display"?pe=pe.id>=k.SCRIPT.id?pe.text():k.DISPLAY:re==="text"&&pe.size===k.DISPLAY.size?pe=k.TEXT:re==="script"?pe=k.SCRIPT:re==="scriptscript"&&(pe=k.SCRIPTSCRIPT),pe},ka=function(re,ce){var pe=ba(re.size,ce.style),Le=pe.fracNum(),ct=pe.fracDen(),Rt;Rt=ce.havingStyle(Le);var cr=Ki(re.numer,Rt,ce);if(re.continued){var gr=8.5/ce.fontMetrics().ptPerEm,Br=3.5/ce.fontMetrics().ptPerEm;cr.height=cr.height<gr?gr:cr.height,cr.depth=cr.depth<Br?Br:cr.depth}Rt=ce.havingStyle(ct);var qr=Ki(re.denom,Rt,ce),ln,An,Cn;re.hasBarLine?(re.barSize?(An=Xe(re.barSize,ce),ln=jr.makeLineSpan("frac-line",ce,An)):ln=jr.makeLineSpan("frac-line",ce),An=ln.height,Cn=ln.height):(ln=null,An=0,Cn=ce.fontMetrics().defaultRuleThickness);var Xn,ti,wi;pe.size===k.DISPLAY.size||re.size==="display"?(Xn=ce.fontMetrics().num1,An>0?ti=3*Cn:ti=7*Cn,wi=ce.fontMetrics().denom1):(An>0?(Xn=ce.fontMetrics().num2,ti=Cn):(Xn=ce.fontMetrics().num3,ti=3*Cn),wi=ce.fontMetrics().denom2);var ea;if(ln){var Sa=ce.fontMetrics().axisHeight;Xn-cr.depth-(Sa+.5*An)<ti&&(Xn+=ti-(Xn-cr.depth-(Sa+.5*An))),Sa-.5*An-(qr.height-wi)<ti&&(wi+=ti-(Sa-.5*An-(qr.height-wi)));var lo=-(Sa-.5*An);ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:wi},{type:"elem",elem:ln,shift:lo},{type:"elem",elem:cr,shift:-Xn}]},ce)}else{var ji=Xn-cr.depth-(qr.height-wi);ji<ti&&(Xn+=.5*(ti-ji),wi+=.5*(ti-ji)),ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:wi},{type:"elem",elem:cr,shift:-Xn}]},ce)}Rt=ce.havingStyle(pe),ea.height*=Rt.sizeMultiplier/ce.sizeMultiplier,ea.depth*=Rt.sizeMultiplier/ce.sizeMultiplier;var Ka;pe.size===k.DISPLAY.size?Ka=ce.fontMetrics().delim1:Ka=ce.fontMetrics().delim2;var Ao,yo;return re.leftDelim==null?Ao=Xa(ce,["mopen"]):Ao=hi.customSizedDelim(re.leftDelim,Ka,!0,ce.havingStyle(pe),re.mode,["mopen"]),re.continued?yo=jr.makeSpan([]):re.rightDelim==null?yo=Xa(ce,["mclose"]):yo=hi.customSizedDelim(re.rightDelim,Ka,!0,ce.havingStyle(pe),re.mode,["mclose"]),jr.makeSpan(["mord"].concat(Rt.sizingClasses(ce)),[Ao,jr.makeSpan(["mfrac"],[ea]),yo],ce)},wa=function(re,ce){var pe=new Pn.MathNode("mfrac",[Ir(re.numer,ce),Ir(re.denom,ce)]);if(!re.hasBarLine)pe.setAttribute("linethickness","0px");else if(re.barSize){var Le=Xe(re.barSize,ce);pe.setAttribute("linethickness",Le+"em")}var ct=ba(re.size,ce.style);if(ct.size!==ce.style.size){pe=new Pn.MathNode("mstyle",[pe]);var Rt=ct.size===k.DISPLAY.size?"true":"false";pe.setAttribute("displaystyle",Rt),pe.setAttribute("scriptlevel","0")}if(re.leftDelim!=null||re.rightDelim!=null){var cr=[];if(re.leftDelim!=null){var gr=new Pn.MathNode("mo",[new Pn.TextNode(re.leftDelim.replace("\\",""))]);gr.setAttribute("fence","true"),cr.push(gr)}if(cr.push(pe),re.rightDelim!=null){var Br=new Pn.MathNode("mo",[new Pn.TextNode(re.rightDelim.replace("\\",""))]);Br.setAttribute("fence","true"),cr.push(Br)}return eo(cr)}return pe};Gn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0],Rt=ce[1],cr,gr=null,Br=null,qr="auto";switch(Le){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":cr=!0;break;case"\\\\atopfrac":cr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":cr=!1,gr="(",Br=")";break;case"\\\\bracefrac":cr=!1,gr="\\{",Br="\\}";break;case"\\\\brackfrac":cr=!1,gr="[",Br="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Le){case"\\cfrac":case"\\dfrac":case"\\dbinom":qr="display";break;case"\\tfrac":case"\\tbinom":qr="text";break}return{type:"genfrac",mode:pe.mode,continued:Le==="\\cfrac",numer:ct,denom:Rt,hasBarLine:cr,leftDelim:gr,rightDelim:Br,size:qr,barSize:null}},htmlBuilder:ka,mathmlBuilder:wa}),Gn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(re){var ce=re.parser,pe=re.funcName,Le=re.token,ct;switch(pe){case"\\over":ct="\\frac";break;case"\\choose":ct="\\binom";break;case"\\atop":ct="\\\\atopfrac";break;case"\\brace":ct="\\\\bracefrac";break;case"\\brack":ct="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:ce.mode,replaceWith:ct,token:Le}}});var vi=["display","text","script","scriptscript"],Qa=function(re){var ce=null;return re.length>0&&(ce=re,ce=ce==="."?null:ce),ce};Gn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(re,ce){var pe=re.parser,Le=ce[4],ct=ce[5],Rt=gn(ce[0],"atom");Rt&&(Rt=Un(ce[0],"open"));var cr=Rt?Qa(Rt.text):null,gr=gn(ce[1],"atom");gr&&(gr=Un(ce[1],"close"));var Br=gr?Qa(gr.text):null,qr=On(ce[2],"size"),ln,An=null;qr.isBlank?ln=!0:(An=qr.value,ln=An.number>0);var Cn="auto",Xn=gn(ce[3],"ordgroup");if(Xn){if(Xn.body.length>0){var ti=On(Xn.body[0],"textord");Cn=vi[Number(ti.text)]}}else Xn=On(ce[3],"textord"),Cn=vi[Number(Xn.text)];return{type:"genfrac",mode:pe.mode,numer:Le,denom:ct,continued:!1,hasBarLine:ln,barSize:An,leftDelim:cr,rightDelim:Br,size:Cn}},htmlBuilder:ka,mathmlBuilder:wa}),Gn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=re.token;return{type:"infix",mode:pe.mode,replaceWith:"\\\\abovefrac",size:On(ce[0],"size").value,token:ct}}}),Gn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0],Rt=f(On(ce[1],"infix").size),cr=ce[2],gr=Rt.number>0;return{type:"genfrac",mode:pe.mode,numer:ct,denom:cr,continued:!1,hasBarLine:gr,barSize:Rt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ka,mathmlBuilder:wa});var za=function(re,ce){var pe=ce.style,Le,ct,Rt=gn(re,"supsub");Rt?(Le=Rt.sup?Ki(Rt.sup,ce.havingStyle(pe.sup()),ce):Ki(Rt.sub,ce.havingStyle(pe.sub()),ce),ct=On(Rt.base,"horizBrace")):ct=On(re,"horizBrace");var cr=Ki(ct.base,ce.havingBaseStyle(k.DISPLAY)),gr=Zr.svgSpan(ct,ce),Br;if(ct.isOver?(Br=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:cr},{type:"kern",size:.1},{type:"elem",elem:gr}]},ce),Br.children[0].children[0].children[1].classes.push("svg-align")):(Br=jr.makeVList({positionType:"bottom",positionData:cr.depth+.1+gr.height,children:[{type:"elem",elem:gr},{type:"kern",size:.1},{type:"elem",elem:cr}]},ce),Br.children[0].children[0].children[0].classes.push("svg-align")),Le){var qr=jr.makeSpan(["mord",ct.isOver?"mover":"munder"],[Br],ce);ct.isOver?Br=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:qr},{type:"kern",size:.2},{type:"elem",elem:Le}]},ce):Br=jr.makeVList({positionType:"bottom",positionData:qr.depth+.2+Le.height+Le.depth,children:[{type:"elem",elem:Le},{type:"kern",size:.2},{type:"elem",elem:qr}]},ce)}return jr.makeSpan(["mord",ct.isOver?"mover":"munder"],[Br],ce)},pa=function(re,ce){var pe=Zr.mathMLnode(re.label);return new Pn.MathNode(re.isOver?"mover":"munder",[Ir(re.base,ce),pe])};Gn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(re,ce){var pe=re.parser,Le=re.funcName;return{type:"horizBrace",mode:pe.mode,label:Le,isOver:/^\\over/.test(Le),base:ce[0]}},htmlBuilder:za,mathmlBuilder:pa}),Gn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=ce[1],ct=On(ce[0],"url").url;return pe.settings.isTrusted({command:"\\href",url:ct})?{type:"href",mode:pe.mode,href:ct,body:mn(Le)}:pe.formatUnsupportedCmd("\\href")},htmlBuilder:function(re,ce){var pe=di(re.body,ce,!1);return jr.makeAnchor(re.href,[],pe,ce)},mathmlBuilder:function(re,ce){var pe=tr(re.body,ce);return pe instanceof ga||(pe=new ga("mrow",[pe])),pe.setAttribute("href",re.href),pe}}),Gn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=On(ce[0],"url").url;if(!pe.settings.isTrusted({command:"\\url",url:Le}))return pe.formatUnsupportedCmd("\\url");for(var ct=[],Rt=0;Rt<Le.length;Rt++){var cr=Le[Rt];cr==="~"&&(cr="\\textasciitilde"),ct.push({type:"textord",mode:"text",text:cr})}var gr={type:"text",mode:pe.mode,font:"\\texttt",body:ct};return{type:"href",mode:pe.mode,href:Le,body:mn(gr)}}}),Gn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(re,ce){var pe=re.parser;return{type:"htmlmathml",mode:pe.mode,html:mn(ce[0]),mathml:mn(ce[1])}},htmlBuilder:function(re,ce){var pe=di(re.html,ce,!1);return jr.makeFragment(pe)},mathmlBuilder:function(re,ce){return tr(re.mathml,ce)}});var Ii=function(re){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(re))return{number:+re,unit:"bp"};var ce=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(re);if(!ce)throw new i("Invalid size: '"+re+"' in \\includegraphics");var pe={number:+(ce[1]+ce[2]),unit:ce[3]};if(!Ye(pe))throw new i("Invalid unit: '"+pe.unit+"' in \\includegraphics.");return pe};Gn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(re,ce,pe){var Le=re.parser,ct={number:0,unit:"em"},Rt={number:.9,unit:"em"},cr={number:0,unit:"em"},gr="";if(pe[0])for(var Br=On(pe[0],"raw").string,qr=Br.split(","),ln=0;ln<qr.length;ln++){var An=qr[ln].split("=");if(An.length===2){var Cn=An[1].trim();switch(An[0].trim()){case"alt":gr=Cn;break;case"width":ct=Ii(Cn);break;case"height":Rt=Ii(Cn);break;case"totalheight":cr=Ii(Cn);break;default:throw new i("Invalid key: '"+An[0]+"' in \\includegraphics.")}}}var Xn=On(ce[0],"url").url;return gr===""&&(gr=Xn,gr=gr.replace(/^.*[\\/]/,""),gr=gr.substring(0,gr.lastIndexOf("."))),Le.settings.isTrusted({command:"\\includegraphics",url:Xn})?{type:"includegraphics",mode:Le.mode,alt:gr,width:ct,height:Rt,totalheight:cr,src:Xn}:Le.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(re,ce){var pe=Xe(re.height,ce),Le=0;re.totalheight.number>0&&(Le=Xe(re.totalheight,ce)-pe,Le=Number(Le.toFixed(2)));var ct=0;re.width.number>0&&(ct=Xe(re.width,ce));var Rt={height:pe+Le+"em"};ct>0&&(Rt.width=ct+"em"),Le>0&&(Rt.verticalAlign=-Le+"em");var cr=new vt(re.src,re.alt,Rt);return cr.height=pe,cr.depth=Le,cr},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mglyph",[]);pe.setAttribute("alt",re.alt);var Le=Xe(re.height,ce),ct=0;if(re.totalheight.number>0&&(ct=Xe(re.totalheight,ce)-Le,ct=ct.toFixed(2),pe.setAttribute("valign","-"+ct+"em")),pe.setAttribute("height",Le+ct+"em"),re.width.number>0){var Rt=Xe(re.width,ce);pe.setAttribute("width",Rt+"em")}return pe.setAttribute("src",re.src),pe}}),Gn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=On(ce[0],"size");if(pe.settings.strict){var Rt=Le[1]==="m",cr=ct.value.unit==="mu";Rt?(cr||pe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Le+" supports only mu units, "+("not "+ct.value.unit+" units")),pe.mode!=="math"&&pe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Le+" works only in math mode")):cr&&pe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Le+" doesn't support mu units")}return{type:"kern",mode:pe.mode,dimension:ct.value}},htmlBuilder:function(re,ce){return jr.makeGlue(re.dimension,ce)},mathmlBuilder:function(re,ce){var pe=Xe(re.dimension,ce);return new Pn.SpaceNode(pe)}}),Gn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0];return{type:"lap",mode:pe.mode,alignment:Le.slice(5),body:ct}},htmlBuilder:function(re,ce){var pe;re.alignment==="clap"?(pe=jr.makeSpan([],[Ki(re.body,ce)]),pe=jr.makeSpan(["inner"],[pe],ce)):pe=jr.makeSpan(["inner"],[Ki(re.body,ce)]);var Le=jr.makeSpan(["fix"],[]),ct=jr.makeSpan([re.alignment],[pe,Le],ce),Rt=jr.makeSpan(["strut"]);return Rt.style.height=ct.height+ct.depth+"em",Rt.style.verticalAlign=-ct.depth+"em",ct.children.unshift(Rt),ct=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ct}]},ce),jr.makeSpan(["mord"],[ct],ce)},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mpadded",[Ir(re.body,ce)]);if(re.alignment!=="rlap"){var Le=re.alignment==="llap"?"-1":"-0.5";pe.setAttribute("lspace",Le+"width")}return pe.setAttribute("width","0px"),pe}}),Gn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(re,ce){var pe=re.funcName,Le=re.parser,ct=Le.mode;Le.switchMode("math");var Rt=pe==="\\("?"\\)":"$",cr=Le.parseExpression(!1,Rt);return Le.expect(Rt),Le.switchMode(ct),{type:"styling",mode:Le.mode,style:"text",body:cr}}}),Gn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(re,ce){throw new i("Mismatched "+re.funcName)}});var So=function(re,ce){switch(ce.style.size){case k.DISPLAY.size:return re.display;case k.TEXT.size:return re.text;case k.SCRIPT.size:return re.script;case k.SCRIPTSCRIPT.size:return re.scriptscript;default:return re.text}};Gn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(re,ce){var pe=re.parser;return{type:"mathchoice",mode:pe.mode,display:mn(ce[0]),text:mn(ce[1]),script:mn(ce[2]),scriptscript:mn(ce[3])}},htmlBuilder:function(re,ce){var pe=So(re,ce),Le=di(pe,ce,!1);return jr.makeFragment(Le)},mathmlBuilder:function(re,ce){var pe=So(re,ce);return tr(pe,ce)}});var Wa=function(re,ce,pe,Le,ct,Rt,cr){re=jr.makeSpan([],[re]);var gr,Br;if(ce){var qr=Ki(ce,Le.havingStyle(ct.sup()),Le);Br={elem:qr,kern:Math.max(Le.fontMetrics().bigOpSpacing1,Le.fontMetrics().bigOpSpacing3-qr.depth)}}if(pe){var ln=Ki(pe,Le.havingStyle(ct.sub()),Le);gr={elem:ln,kern:Math.max(Le.fontMetrics().bigOpSpacing2,Le.fontMetrics().bigOpSpacing4-ln.height)}}var An;if(Br&&gr){var Cn=Le.fontMetrics().bigOpSpacing5+gr.elem.height+gr.elem.depth+gr.kern+re.depth+cr;An=jr.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:Le.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Rt+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:re},{type:"kern",size:Br.kern},{type:"elem",elem:Br.elem,marginLeft:Rt+"em"},{type:"kern",size:Le.fontMetrics().bigOpSpacing5}]},Le)}else if(gr){var Xn=re.height-cr;An=jr.makeVList({positionType:"top",positionData:Xn,children:[{type:"kern",size:Le.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Rt+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:re}]},Le)}else if(Br){var ti=re.depth+cr;An=jr.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:re},{type:"kern",size:Br.kern},{type:"elem",elem:Br.elem,marginLeft:Rt+"em"},{type:"kern",size:Le.fontMetrics().bigOpSpacing5}]},Le)}else return re;return jr.makeSpan(["mop","op-limits"],[An],Le)},ja=["\\smallint"],Ja=function(re,ce){var pe,Le,ct=!1,Rt,cr=gn(re,"supsub");cr?(pe=cr.sup,Le=cr.sub,Rt=On(cr.base,"op"),ct=!0):Rt=On(re,"op");var gr=ce.style,Br=!1;gr.size===k.DISPLAY.size&&Rt.symbol&&!y.contains(ja,Rt.name)&&(Br=!0);var qr;if(Rt.symbol){var ln=Br?"Size2-Regular":"Size1-Regular",An="";if((Rt.name==="\\oiint"||Rt.name==="\\oiiint")&&(An=Rt.name.substr(1),Rt.name=An==="oiint"?"\\iint":"\\iiint"),qr=jr.makeSymbol(Rt.name,ln,"math",ce,["mop","op-symbol",Br?"large-op":"small-op"]),An.length>0){var Cn=qr.italic,Xn=jr.staticSvg(An+"Size"+(Br?"2":"1"),ce);qr=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:0},{type:"elem",elem:Xn,shift:Br?.08:0}]},ce),Rt.name="\\"+An,qr.classes.unshift("mop"),qr.italic=Cn}}else if(Rt.body){var ti=di(Rt.body,ce,!0);ti.length===1&&ti[0]instanceof At?(qr=ti[0],qr.classes[0]="mop"):qr=jr.makeSpan(["mop"],jr.tryCombineChars(ti),ce)}else{for(var wi=[],ea=1;ea<Rt.name.length;ea++)wi.push(jr.mathsym(Rt.name[ea],Rt.mode,ce));qr=jr.makeSpan(["mop"],wi,ce)}var ji=0,Sa=0;return(qr instanceof At||Rt.name==="\\oiint"||Rt.name==="\\oiiint")&&!Rt.suppressBaseShift&&(ji=(qr.height-qr.depth)/2-ce.fontMetrics().axisHeight,Sa=qr.italic),ct?Wa(qr,pe,Le,ce,gr,Sa,ji):(ji&&(qr.style.position="relative",qr.style.top=ji+"em"),qr)},ho=function(re,ce){var pe;if(re.symbol)pe=new ga("mo",[qi(re.name,re.mode)]),y.contains(ja,re.name)&&pe.setAttribute("largeop","false");else if(re.body)pe=new ga("mo",co(re.body,ce));else{pe=new ga("mi",[new ha(re.name.slice(1))]);var Le=new ga("mo",[qi("\u2061","text")]);re.parentIsSupSub?pe=new ga("mo",[pe,Le]):pe=Hi([pe,Le])}return pe},Ca={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gn({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(re,ce){var pe=re.parser,Le=re.funcName,ct=Le;return ct.length===1&&(ct=Ca[ct]),{type:"op",mode:pe.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:ct}},htmlBuilder:Ja,mathmlBuilder:ho}),Gn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(re,ce){var pe=re.parser,Le=ce[0];return{type:"op",mode:pe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(Le)}},htmlBuilder:Ja,mathmlBuilder:ho});var to={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gn({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(re){var ce=re.parser,pe=re.funcName;return{type:"op",mode:ce.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:pe}},htmlBuilder:Ja,mathmlBuilder:ho}),Gn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(re){var ce=re.parser,pe=re.funcName;return{type:"op",mode:ce.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:pe}},htmlBuilder:Ja,mathmlBuilder:ho}),Gn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(re){var ce=re.parser,pe=re.funcName,Le=pe;return Le.length===1&&(Le=to[Le]),{type:"op",mode:ce.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Le}},htmlBuilder:Ja,mathmlBuilder:ho});var Lo=function(re,ce){var pe,Le,ct=!1,Rt,cr=gn(re,"supsub");cr?(pe=cr.sup,Le=cr.sub,Rt=On(cr.base,"operatorname"),ct=!0):Rt=On(re,"operatorname");var gr;if(Rt.body.length>0){for(var Br=Rt.body.map(function(Cn){var Xn=Cn.text;return typeof Xn=="string"?{type:"textord",mode:Cn.mode,text:Xn}:Cn}),qr=di(Br,ce.withFont("mathrm"),!0),ln=0;ln<qr.length;ln++){var An=qr[ln];An instanceof At&&(An.text=An.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}gr=jr.makeSpan(["mop"],qr,ce)}else gr=jr.makeSpan(["mop"],[],ce);return ct?Wa(gr,pe,Le,ce,ce.style,0,0):gr},Ta=function(re,ce){for(var pe=co(re.body,ce.withFont("mathrm")),Le=!0,ct=0;ct<pe.length;ct++){var Rt=pe[ct];if(!(Rt instanceof Pn.SpaceNode))if(Rt instanceof Pn.MathNode)switch(Rt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var cr=Rt.children[0];Rt.children.length===1&&cr instanceof Pn.TextNode?cr.text=cr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Le=!1;break}default:Le=!1}else Le=!1}if(Le){var gr=pe.map(function(ln){return ln.toText()}).join("");pe=[new Pn.TextNode(gr)]}var Br=new Pn.MathNode("mi",pe);Br.setAttribute("mathvariant","normal");var qr=new Pn.MathNode("mo",[qi("\u2061","text")]);return re.parentIsSupSub?new Pn.MathNode("mo",[Br,qr]):Pn.newDocumentFragment([Br,qr])};Gn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0];return{type:"operatorname",mode:pe.mode,body:mn(ct),alwaysHandleSupSub:Le==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Lo,mathmlBuilder:Ta}),Ia({type:"ordgroup",htmlBuilder:function(re,ce){return re.semisimple?jr.makeFragment(di(re.body,ce,!1)):jr.makeSpan(["mord"],di(re.body,ce,!0),ce)},mathmlBuilder:function(re,ce){return tr(re.body,ce,!0)}}),Gn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(re,ce){var pe=re.parser,Le=ce[0];return{type:"overline",mode:pe.mode,body:Le}},htmlBuilder:function(re,ce){var pe=Ki(re.body,ce.havingCrampedStyle()),Le=jr.makeLineSpan("overline-line",ce),ct=ce.fontMetrics().defaultRuleThickness,Rt=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pe},{type:"kern",size:3*ct},{type:"elem",elem:Le},{type:"kern",size:ct}]},ce);return jr.makeSpan(["mord","overline"],[Rt],ce)},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);pe.setAttribute("stretchy","true");var Le=new Pn.MathNode("mover",[Ir(re.body,ce),pe]);return Le.setAttribute("accent","true"),Le}}),Gn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=ce[0];return{type:"phantom",mode:pe.mode,body:mn(Le)}},htmlBuilder:function(re,ce){var pe=di(re.body,ce.withPhantom(),!1);return jr.makeFragment(pe)},mathmlBuilder:function(re,ce){var pe=co(re.body,ce);return new Pn.MathNode("mphantom",pe)}}),Gn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=ce[0];return{type:"hphantom",mode:pe.mode,body:Le}},htmlBuilder:function(re,ce){var pe=jr.makeSpan([],[Ki(re.body,ce.withPhantom())]);if(pe.height=0,pe.depth=0,pe.children)for(var Le=0;Le<pe.children.length;Le++)pe.children[Le].height=0,pe.children[Le].depth=0;return pe=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pe}]},ce),jr.makeSpan(["mord"],[pe],ce)},mathmlBuilder:function(re,ce){var pe=co(mn(re.body),ce),Le=new Pn.MathNode("mphantom",pe),ct=new Pn.MathNode("mpadded",[Le]);return ct.setAttribute("height","0px"),ct.setAttribute("depth","0px"),ct}}),Gn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=ce[0];return{type:"vphantom",mode:pe.mode,body:Le}},htmlBuilder:function(re,ce){var pe=jr.makeSpan(["inner"],[Ki(re.body,ce.withPhantom())]),Le=jr.makeSpan(["fix"],[]);return jr.makeSpan(["mord","rlap"],[pe,Le],ce)},mathmlBuilder:function(re,ce){var pe=co(mn(re.body),ce),Le=new Pn.MathNode("mphantom",pe),ct=new Pn.MathNode("mpadded",[Le]);return ct.setAttribute("width","0px"),ct}}),Gn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=On(ce[0],"size").value,ct=ce[1];return{type:"raisebox",mode:pe.mode,dy:Le,body:ct}},htmlBuilder:function(re,ce){var pe=Ki(re.body,ce),Le=Xe(re.dy,ce);return jr.makeVList({positionType:"shift",positionData:-Le,children:[{type:"elem",elem:pe}]},ce)},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mpadded",[Ir(re.body,ce)]),Le=re.dy.number+re.dy.unit;return pe.setAttribute("voffset",Le),pe}}),Gn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(re,ce,pe){var Le=re.parser,ct=pe[0],Rt=On(ce[0],"size"),cr=On(ce[1],"size");return{type:"rule",mode:Le.mode,shift:ct&&On(ct,"size").value,width:Rt.value,height:cr.value}},htmlBuilder:function(re,ce){var pe=jr.makeSpan(["mord","rule"],[],ce),Le=Xe(re.width,ce),ct=Xe(re.height,ce),Rt=re.shift?Xe(re.shift,ce):0;return pe.style.borderRightWidth=Le+"em",pe.style.borderTopWidth=ct+"em",pe.style.bottom=Rt+"em",pe.width=Le,pe.height=ct+Rt,pe.depth=-Rt,pe.maxFontSize=ct*1.125*ce.sizeMultiplier,pe},mathmlBuilder:function(re,ce){var pe=Xe(re.width,ce),Le=Xe(re.height,ce),ct=re.shift?Xe(re.shift,ce):0,Rt=ce.color&&ce.getColor()||"black",cr=new Pn.MathNode("mspace");cr.setAttribute("mathbackground",Rt),cr.setAttribute("width",pe+"em"),cr.setAttribute("height",Le+"em");var gr=new Pn.MathNode("mpadded",[cr]);return ct>=0?gr.setAttribute("height","+"+ct+"em"):(gr.setAttribute("height",ct+"em"),gr.setAttribute("depth","+"+-ct+"em")),gr.setAttribute("voffset",ct+"em"),gr}});function Fi(Dt,re,ce){for(var pe=di(Dt,re,!1),Le=re.sizeMultiplier/ce.sizeMultiplier,ct=0;ct<pe.length;ct++){var Rt=pe[ct].classes.indexOf("sizing");Rt<0?Array.prototype.push.apply(pe[ct].classes,re.sizingClasses(ce)):pe[ct].classes[Rt+1]==="reset-size"+re.size&&(pe[ct].classes[Rt+1]="reset-size"+ce.size),pe[ct].height*=Le,pe[ct].depth*=Le}return jr.makeFragment(pe)}var $a=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ra=function(re,ce){var pe=ce.havingSize(re.size);return Fi(re.body,pe,ce)};Gn({type:"sizing",names:$a,props:{numArgs:0,allowedInText:!0},handler:function(re,ce){var pe=re.breakOnTokenText,Le=re.funcName,ct=re.parser,Rt=ct.parseExpression(!1,pe);return{type:"sizing",mode:ct.mode,size:$a.indexOf(Le)+1,body:Rt}},htmlBuilder:Ra,mathmlBuilder:function(re,ce){var pe=ce.havingSize(re.size),Le=co(re.body,pe),ct=new Pn.MathNode("mstyle",Le);return ct.setAttribute("mathsize",pe.sizeMultiplier+"em"),ct}}),Gn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(re,ce,pe){var Le=re.parser,ct=!1,Rt=!1,cr=pe[0]&&On(pe[0],"ordgroup");if(cr)for(var gr="",Br=0;Br<cr.body.length;++Br){var qr=cr.body[Br];if(gr=qr.text,gr==="t")ct=!0;else if(gr==="b")Rt=!0;else{ct=!1,Rt=!1;break}}else ct=!0,Rt=!0;var ln=ce[0];return{type:"smash",mode:Le.mode,body:ln,smashHeight:ct,smashDepth:Rt}},htmlBuilder:function(re,ce){var pe=jr.makeSpan([],[Ki(re.body,ce)]);if(!re.smashHeight&&!re.smashDepth)return pe;if(re.smashHeight&&(pe.height=0,pe.children))for(var Le=0;Le<pe.children.length;Le++)pe.children[Le].height=0;if(re.smashDepth&&(pe.depth=0,pe.children))for(var ct=0;ct<pe.children.length;ct++)pe.children[ct].depth=0;var Rt=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pe}]},ce);return jr.makeSpan(["mord"],[Rt],ce)},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mpadded",[Ir(re.body,ce)]);return re.smashHeight&&pe.setAttribute("height","0px"),re.smashDepth&&pe.setAttribute("depth","0px"),pe}}),Gn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(re,ce,pe){var Le=re.parser,ct=pe[0],Rt=ce[0];return{type:"sqrt",mode:Le.mode,body:Rt,index:ct}},htmlBuilder:function(re,ce){var pe=Ki(re.body,ce.havingCrampedStyle());pe.height===0&&(pe.height=ce.fontMetrics().xHeight),pe=jr.wrapFragment(pe,ce);var Le=ce.fontMetrics(),ct=Le.defaultRuleThickness,Rt=ct;ce.style.id<k.TEXT.id&&(Rt=ce.fontMetrics().xHeight);var cr=ct+Rt/4,gr=pe.height+pe.depth+cr+ct,Br=hi.sqrtImage(gr,ce),qr=Br.span,ln=Br.ruleWidth,An=Br.advanceWidth,Cn=qr.height-ln;Cn>pe.height+pe.depth+cr&&(cr=(cr+Cn-pe.height-pe.depth)/2);var Xn=qr.height-pe.height-cr-ln;pe.style.paddingLeft=An+"em";var ti=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pe,wrapperClasses:["svg-align"]},{type:"kern",size:-(pe.height+Xn)},{type:"elem",elem:qr},{type:"kern",size:ln}]},ce);if(re.index){var wi=ce.havingStyle(k.SCRIPTSCRIPT),ea=Ki(re.index,wi,ce),ji=.6*(ti.height-ti.depth),Sa=jr.makeVList({positionType:"shift",positionData:-ji,children:[{type:"elem",elem:ea}]},ce),lo=jr.makeSpan(["root"],[Sa]);return jr.makeSpan(["mord","sqrt"],[lo,ti],ce)}else return jr.makeSpan(["mord","sqrt"],[ti],ce)},mathmlBuilder:function(re,ce){var pe=re.body,Le=re.index;return Le?new Pn.MathNode("mroot",[Ir(pe,ce),Ir(Le,ce)]):new Pn.MathNode("msqrt",[Ir(pe,ce)])}});var pi={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT};Gn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(re,ce){var pe=re.breakOnTokenText,Le=re.funcName,ct=re.parser,Rt=ct.parseExpression(!0,pe),cr=Le.slice(1,Le.length-5);return{type:"styling",mode:ct.mode,style:cr,body:Rt}},htmlBuilder:function(re,ce){var pe=pi[re.style],Le=ce.havingStyle(pe).withFont("");return Fi(re.body,Le,ce)},mathmlBuilder:function(re,ce){var pe=pi[re.style],Le=ce.havingStyle(pe),ct=co(re.body,Le),Rt=new Pn.MathNode("mstyle",ct),cr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},gr=cr[re.style];return Rt.setAttribute("scriptlevel",gr[0]),Rt.setAttribute("displaystyle",gr[1]),Rt}});var Gi=function(re,ce){var pe=re.base;if(pe)if(pe.type==="op"){var Le=pe.limits&&(ce.style.size===k.DISPLAY.size||pe.alwaysHandleSupSub);return Le?Ja:null}else if(pe.type==="operatorname"){var ct=pe.alwaysHandleSupSub&&(ce.style.size===k.DISPLAY.size||pe.limits);return ct?Lo:null}else{if(pe.type==="accent")return y.isCharacterBox(pe.base)?an:null;if(pe.type==="horizBrace"){var Rt=!re.sub;return Rt===pe.isOver?za:null}else return null}else return null};Ia({type:"supsub",htmlBuilder:function(re,ce){var pe=Gi(re,ce);if(pe)return pe(re,ce);var Le=re.base,ct=re.sup,Rt=re.sub,cr=Ki(Le,ce),gr,Br,qr=ce.fontMetrics(),ln=0,An=0,Cn=Le&&y.isCharacterBox(Le);if(ct){var Xn=ce.havingStyle(ce.style.sup());gr=Ki(ct,Xn,ce),Cn||(ln=cr.height-Xn.fontMetrics().supDrop*Xn.sizeMultiplier/ce.sizeMultiplier)}if(Rt){var ti=ce.havingStyle(ce.style.sub());Br=Ki(Rt,ti,ce),Cn||(An=cr.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/ce.sizeMultiplier)}var wi;ce.style===k.DISPLAY?wi=qr.sup1:ce.style.cramped?wi=qr.sup3:wi=qr.sup2;var ea=ce.sizeMultiplier,ji=.5/qr.ptPerEm/ea+"em",Sa=null;if(Br){var lo=re.base&&re.base.type==="op"&&re.base.name&&(re.base.name==="\\oiint"||re.base.name==="\\oiiint");(cr instanceof At||lo)&&(Sa=-cr.italic+"em")}var Ka;if(gr&&Br){ln=Math.max(ln,wi,gr.depth+.25*qr.xHeight),An=Math.max(An,qr.sub2);var Ao=qr.defaultRuleThickness,yo=4*Ao;if(ln-gr.depth-(Br.height-An)<yo){An=yo-(ln-gr.depth)+Br.height;var qa=.8*qr.xHeight-(ln-gr.depth);qa>0&&(ln+=qa,An-=qa)}var Fo=[{type:"elem",elem:Br,shift:An,marginRight:ji,marginLeft:Sa},{type:"elem",elem:gr,shift:-ln,marginRight:ji}];Ka=jr.makeVList({positionType:"individualShift",children:Fo},ce)}else if(Br){An=Math.max(An,qr.sub1,Br.height-.8*qr.xHeight);var Do=[{type:"elem",elem:Br,marginLeft:Sa,marginRight:ji}];Ka=jr.makeVList({positionType:"shift",positionData:An,children:Do},ce)}else if(gr)ln=Math.max(ln,wi,gr.depth+.25*qr.xHeight),Ka=jr.makeVList({positionType:"shift",positionData:-ln,children:[{type:"elem",elem:gr,marginRight:ji}]},ce);else throw new Error("supsub must have either sup or sub.");var Ha=_a(cr,"right")||"mord";return jr.makeSpan([Ha],[cr,jr.makeSpan(["msupsub"],[Ka])],ce)},mathmlBuilder:function(re,ce){var pe=!1,Le,ct,Rt=gn(re.base,"horizBrace");Rt&&(ct=!!re.sup,ct===Rt.isOver&&(pe=!0,Le=Rt.isOver)),re.base&&(re.base.type==="op"||re.base.type==="operatorname")&&(re.base.parentIsSupSub=!0);var cr=[Ir(re.base,ce)];re.sub&&cr.push(Ir(re.sub,ce)),re.sup&&cr.push(Ir(re.sup,ce));var gr;if(pe)gr=Le?"mover":"munder";else if(re.sub)if(re.sup){var ln=re.base;ln&&ln.type==="op"&&ln.limits&&ce.style===k.DISPLAY||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(ce.style===k.DISPLAY||ln.limits)?gr="munderover":gr="msubsup"}else{var qr=re.base;qr&&qr.type==="op"&&qr.limits&&(ce.style===k.DISPLAY||qr.alwaysHandleSupSub)||qr&&qr.type==="operatorname"&&qr.alwaysHandleSupSub&&(qr.limits||ce.style===k.DISPLAY)?gr="munder":gr="msub"}else{var Br=re.base;Br&&Br.type==="op"&&Br.limits&&(ce.style===k.DISPLAY||Br.alwaysHandleSupSub)||Br&&Br.type==="operatorname"&&Br.alwaysHandleSupSub&&(Br.limits||ce.style===k.DISPLAY)?gr="mover":gr="msup"}var An=new Pn.MathNode(gr,cr);return An}}),Ia({type:"atom",htmlBuilder:function(re,ce){return jr.mathsym(re.text,re.mode,ce,["m"+re.family])},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mo",[qi(re.text,re.mode)]);if(re.family==="bin"){var Le=Oo(re,ce);Le==="bold-italic"&&pe.setAttribute("mathvariant",Le)}else re.family==="punct"?pe.setAttribute("separator","true"):(re.family==="open"||re.family==="close")&&pe.setAttribute("stretchy","false");return pe}});var oo={mi:"italic",mn:"normal",mtext:"normal"};Ia({type:"mathord",htmlBuilder:function(re,ce){return jr.makeOrd(re,ce,"mathord")},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mi",[qi(re.text,re.mode,ce)]),Le=Oo(re,ce)||"italic";return Le!==oo[pe.type]&&pe.setAttribute("mathvariant",Le),pe}}),Ia({type:"textord",htmlBuilder:function(re,ce){return jr.makeOrd(re,ce,"textord")},mathmlBuilder:function(re,ce){var pe=qi(re.text,re.mode,ce),Le=Oo(re,ce)||"normal",ct;return re.mode==="text"?ct=new Pn.MathNode("mtext",[pe]):/[0-9]/.test(re.text)?ct=new Pn.MathNode("mn",[pe]):re.text==="\\prime"?ct=new Pn.MathNode("mo",[pe]):ct=new Pn.MathNode("mi",[pe]),Le!==oo[ct.type]&&ct.setAttribute("mathvariant",Le),ct}});var go={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ia({type:"spacing",htmlBuilder:function(re,ce){if(fo.hasOwnProperty(re.text)){var pe=fo[re.text].className||"";if(re.mode==="text"){var Le=jr.makeOrd(re,ce,"textord");return Le.classes.push(pe),Le}else return jr.makeSpan(["mspace",pe],[jr.mathsym(re.text,re.mode,ce)],ce)}else{if(go.hasOwnProperty(re.text))return jr.makeSpan(["mspace",go[re.text]],[],ce);throw new i('Unknown type of space "'+re.text+'"')}},mathmlBuilder:function(re,ce){var pe;if(fo.hasOwnProperty(re.text))pe=new Pn.MathNode("mtext",[new Pn.TextNode("\xA0")]);else{if(go.hasOwnProperty(re.text))return new Pn.MathNode("mspace");throw new i('Unknown type of space "'+re.text+'"')}return pe}});var Oa=function(){var re=new Pn.MathNode("mtd",[]);return re.setAttribute("width","50%"),re};Ia({type:"tag",mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mtable",[new Pn.MathNode("mtr",[Oa(),new Pn.MathNode("mtd",[tr(re.body,ce)]),Oa(),new Pn.MathNode("mtd",[tr(re.tag,ce)])])]);return pe.setAttribute("width","100%"),pe}});var Pi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ma={"\\textbf":"textbf","\\textmd":"textmd"},Vo={"\\textit":"textit","\\textup":"textup"},ro=function(re,ce){var pe=re.font;return pe?Pi[pe]?ce.withTextFontFamily(Pi[pe]):Ma[pe]?ce.withTextFontWeight(Ma[pe]):ce.withTextFontShape(Vo[pe]):ce};Gn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(re,ce){var pe=re.parser,Le=re.funcName,ct=ce[0];return{type:"text",mode:pe.mode,body:mn(ct),font:Le}},htmlBuilder:function(re,ce){var pe=ro(re,ce),Le=di(re.body,pe,!0);return jr.makeSpan(["mord","text"],jr.tryCombineChars(Le),pe)},mathmlBuilder:function(re,ce){var pe=ro(re,ce);return tr(re.body,pe)}}),Gn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var pe=re.parser;return{type:"underline",mode:pe.mode,body:ce[0]}},htmlBuilder:function(re,ce){var pe=Ki(re.body,ce),Le=jr.makeLineSpan("underline-line",ce),ct=ce.fontMetrics().defaultRuleThickness,Rt=jr.makeVList({positionType:"top",positionData:pe.height,children:[{type:"kern",size:ct},{type:"elem",elem:Le},{type:"kern",size:3*ct},{type:"elem",elem:pe}]},ce);return jr.makeSpan(["mord","underline"],[Rt],ce)},mathmlBuilder:function(re,ce){var pe=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);pe.setAttribute("stretchy","true");var Le=new Pn.MathNode("munder",[Ir(re.body,ce),pe]);return Le.setAttribute("accentunder","true"),Le}}),Gn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(re,ce,pe){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(re,ce){for(var pe=vo(re),Le=[],ct=ce.havingStyle(ce.style.text()),Rt=0;Rt<pe.length;Rt++){var cr=pe[Rt];cr==="~"&&(cr="\\textasciitilde"),Le.push(jr.makeSymbol(cr,"Typewriter-Regular",re.mode,ct,["mord","texttt"]))}return jr.makeSpan(["mord","text"].concat(ct.sizingClasses(ce)),jr.tryCombineChars(Le),ct)},mathmlBuilder:function(re,ce){var pe=new Pn.TextNode(vo(re)),Le=new Pn.MathNode("mtext",[pe]);return Le.setAttribute("mathvariant","monospace"),Le}});var vo=function(re){return re.body.replace(/ /g,re.star?"\u2423":"\xA0")},po=ta,Zi=po,xo=`[ \r
|
|
|
]`,is="\\\\[a-zA-Z@]+",$o="\\\\[^\uD800-\uDFFF]",Ns=""+is+xo+"*",Cs=new RegExp("^("+is+")"+xo+"*$"),Os="[\u0300-\u036F]",Go=new RegExp(Os+"+$"),bo="("+xo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Os+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Os+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ns)+("|"+$o+")"),Za=function(){function Dt(ce,pe){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ce,this.settings=pe,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var re=Dt.prototype;return re.setCatcode=function(pe,Le){this.catcodes[pe]=Le},re.lex=function(){var pe=this.input,Le=this.tokenRegex.lastIndex;if(Le===pe.length)return new b("EOF",new A(this,Le,Le));var ct=this.tokenRegex.exec(pe);if(ct===null||ct.index!==Le)throw new i("Unexpected character: '"+pe[Le]+"'",new b(pe[Le],new A(this,Le,Le+1)));var Rt=ct[2]||" ";if(this.catcodes[Rt]===14){var cr=pe.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return cr===-1?(this.tokenRegex.lastIndex=pe.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=cr+1,this.lex()}var gr=Rt.match(Cs);return gr&&(Rt=gr[1]),new b(Rt,new A(this,Le,this.tokenRegex.lastIndex))},Dt}(),Ga=function(){function Dt(ce,pe){ce===void 0&&(ce={}),pe===void 0&&(pe={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=pe,this.builtins=ce,this.undefStack=[]}var re=Dt.prototype;return re.beginGroup=function(){this.undefStack.push({})},re.endGroup=function(){if(this.undefStack.length===0)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var pe=this.undefStack.pop();for(var Le in pe)pe.hasOwnProperty(Le)&&(pe[Le]===void 0?delete this.current[Le]:this.current[Le]=pe[Le])},re.has=function(pe){return this.current.hasOwnProperty(pe)||this.builtins.hasOwnProperty(pe)},re.get=function(pe){return this.current.hasOwnProperty(pe)?this.current[pe]:this.builtins[pe]},re.set=function(pe,Le,ct){if(ct===void 0&&(ct=!1),ct){for(var Rt=0;Rt<this.undefStack.length;Rt++)delete this.undefStack[Rt][pe];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][pe]=Le)}else{var cr=this.undefStack[this.undefStack.length-1];cr&&!cr.hasOwnProperty(pe)&&(cr[pe]=this.current[pe])}this.current[pe]=Le},Dt}(),so={},ps=so;function wr(Dt,re){so[Dt]=re}wr("\\@firstoftwo",function(Dt){var re=Dt.consumeArgs(2);return{tokens:re[0],numArgs:0}}),wr("\\@secondoftwo",function(Dt){var re=Dt.consumeArgs(2);return{tokens:re[1],numArgs:0}}),wr("\\@ifnextchar",function(Dt){var re=Dt.consumeArgs(3),ce=Dt.future();return re[0].length===1&&re[0][0].text===ce.text?{tokens:re[1],numArgs:0}:{tokens:re[2],numArgs:0}}),wr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),wr("\\TextOrMath",function(Dt){var re=Dt.consumeArgs(2);return Dt.mode==="text"?{tokens:re[0],numArgs:0}:{tokens:re[1],numArgs:0}});var Yo={"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};wr("\\char",function(Dt){var re=Dt.popToken(),ce,pe="";if(re.text==="'")ce=8,re=Dt.popToken();else if(re.text==='"')ce=16,re=Dt.popToken();else if(re.text==="`")if(re=Dt.popToken(),re.text[0]==="\\")pe=re.text.charCodeAt(1);else{if(re.text==="EOF")throw new i("\\char` missing argument");pe=re.text.charCodeAt(0)}else ce=10;if(ce){if(pe=Yo[re.text],pe==null||pe>=ce)throw new i("Invalid base-"+ce+" digit "+re.text);for(var Le;(Le=Yo[Dt.future().text])!=null&&Le<ce;)pe*=ce,pe+=Le,Dt.popToken()}return"\\@char{"+pe+"}"});var ss=function(re,ce){var pe=re.consumeArgs(1)[0];if(pe.length!==1)throw new i("\\gdef's first argument must be a macro name");var Le=pe[0].text,ct=0;for(pe=re.consumeArgs(1)[0];pe.length===1&&pe[0].text==="#";){if(pe=re.consumeArgs(1)[0],pe.length!==1)throw new i('Invalid argument number length "'+pe.length+'"');if(!/^[1-9]$/.test(pe[0].text))throw new i('Invalid argument number "'+pe[0].text+'"');if(ct++,parseInt(pe[0].text)!==ct)throw new i('Argument number "'+pe[0].text+'" out of order');pe=re.consumeArgs(1)[0]}return re.macros.set(Le,{tokens:pe,numArgs:ct},ce),""};wr("\\gdef",function(Dt){return ss(Dt,!0)}),wr("\\def",function(Dt){return ss(Dt,!1)}),wr("\\global",function(Dt){var re=Dt.consumeArgs(1)[0];if(re.length!==1)throw new i("Invalid command after \\global");var ce=re[0].text;if(ce==="\\def")return ss(Dt,!0);throw new i("Invalid command '"+ce+"' after \\global")});var Ls=function(re,ce,pe){var Le=re.consumeArgs(1)[0];if(Le.length!==1)throw new i("\\newcommand's first argument must be a macro name");var ct=Le[0].text,Rt=re.isDefined(ct);if(Rt&&!ce)throw new i("\\newcommand{"+ct+"} attempting to redefine "+(ct+"; use \\renewcommand"));if(!Rt&&!pe)throw new i("\\renewcommand{"+ct+"} when command "+ct+" does not yet exist; use \\newcommand");var cr=0;if(Le=re.consumeArgs(1)[0],Le.length===1&&Le[0].text==="["){for(var gr="",Br=re.expandNextToken();Br.text!=="]"&&Br.text!=="EOF";)gr+=Br.text,Br=re.expandNextToken();if(!gr.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+gr);cr=parseInt(gr),Le=re.consumeArgs(1)[0]}return re.macros.set(ct,{tokens:Le,numArgs:cr}),""};wr("\\newcommand",function(Dt){return Ls(Dt,!1,!0)}),wr("\\renewcommand",function(Dt){return Ls(Dt,!0,!1)}),wr("\\providecommand",function(Dt){return Ls(Dt,!0,!0)}),wr("\\bgroup","{"),wr("\\egroup","}"),wr("\\lq","`"),wr("\\rq","'"),wr("\\aa","\\r a"),wr("\\AA","\\r A"),wr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),wr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),wr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),wr("\u212C","\\mathscr{B}"),wr("\u2130","\\mathscr{E}"),wr("\u2131","\\mathscr{F}"),wr("\u210B","\\mathscr{H}"),wr("\u2110","\\mathscr{I}"),wr("\u2112","\\mathscr{L}"),wr("\u2133","\\mathscr{M}"),wr("\u211B","\\mathscr{R}"),wr("\u212D","\\mathfrak{C}"),wr("\u210C","\\mathfrak{H}"),wr("\u2128","\\mathfrak{Z}"),wr("\\Bbbk","\\Bbb{k}"),wr("\xB7","\\cdotp"),wr("\\llap","\\mathllap{\\textrm{#1}}"),wr("\\rlap","\\mathrlap{\\textrm{#1}}"),wr("\\clap","\\mathclap{\\textrm{#1}}"),wr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),wr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),wr("\\ne","\\neq"),wr("\u2260","\\neq"),wr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),wr("\u2209","\\notin"),wr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),wr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),wr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),wr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),wr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),wr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),wr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),wr("\u27C2","\\perp"),wr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),wr("\u220C","\\notni"),wr("\u231C","\\ulcorner"),wr("\u231D","\\urcorner"),wr("\u231E","\\llcorner"),wr("\u231F","\\lrcorner"),wr("\xA9","\\copyright"),wr("\xAE","\\textregistered"),wr("\uFE0F","\\textregistered"),wr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),wr("\u22EE","\\vdots"),wr("\\varGamma","\\mathit{\\Gamma}"),wr("\\varDelta","\\mathit{\\Delta}"),wr("\\varTheta","\\mathit{\\Theta}"),wr("\\varLambda","\\mathit{\\Lambda}"),wr("\\varXi","\\mathit{\\Xi}"),wr("\\varPi","\\mathit{\\Pi}"),wr("\\varSigma","\\mathit{\\Sigma}"),wr("\\varUpsilon","\\mathit{\\Upsilon}"),wr("\\varPhi","\\mathit{\\Phi}"),wr("\\varPsi","\\mathit{\\Psi}"),wr("\\varOmega","\\mathit{\\Omega}"),wr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),wr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),wr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),wr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),wr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),wr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Fa={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};wr("\\dots",function(Dt){var re="\\dotso",ce=Dt.expandAfterFuture().text;return ce in Fa?re=Fa[ce]:ce.substr(0,4)==="\\not"?re="\\dotsb":ce in Ze.math&&(y.contains(["bin","rel"],Ze.math[ce].group)&&(re="\\dotsb")),re});var La={")":!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};wr("\\dotso",function(Dt){var re=Dt.future().text;return re in La?"\\ldots\\,":"\\ldots"}),wr("\\dotsc",function(Dt){var re=Dt.future().text;return re in La&&re!==","?"\\ldots\\,":"\\ldots"}),wr("\\cdots",function(Dt){var re=Dt.future().text;return re in La?"\\@cdots\\,":"\\@cdots"}),wr("\\dotsb","\\cdots"),wr("\\dotsm","\\cdots"),wr("\\dotsi","\\!\\cdots"),wr("\\dotsx","\\ldots\\,"),wr("\\DOTSI","\\relax"),wr("\\DOTSB","\\relax"),wr("\\DOTSX","\\relax"),wr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),wr("\\,","\\tmspace+{3mu}{.1667em}"),wr("\\thinspace","\\,"),wr("\\>","\\mskip{4mu}"),wr("\\:","\\tmspace+{4mu}{.2222em}"),wr("\\medspace","\\:"),wr("\\;","\\tmspace+{5mu}{.2777em}"),wr("\\thickspace","\\;"),wr("\\!","\\tmspace-{3mu}{.1667em}"),wr("\\negthinspace","\\!"),wr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),wr("\\negthickspace","\\tmspace-{5mu}{.277em}"),wr("\\enspace","\\kern.5em "),wr("\\enskip","\\hskip.5em\\relax"),wr("\\quad","\\hskip1em\\relax"),wr("\\qquad","\\hskip2em\\relax"),wr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),wr("\\tag@paren","\\tag@literal{({#1})}"),wr("\\tag@literal",function(Dt){if(Dt.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),wr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),wr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),wr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),wr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),wr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),wr("\\\\","\\newline"),wr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Io=Mt["Main-Regular"]["T".charCodeAt(0)][1]-.7*Mt["Main-Regular"]["A".charCodeAt(0)][1]+"em";wr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Io+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),wr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Io+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),wr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),wr("\\@hspace","\\hskip #1\\relax"),wr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),wr("\\ordinarycolon",":"),wr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),wr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),wr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),wr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),wr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),wr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),wr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),wr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),wr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),wr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),wr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),wr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),wr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),wr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),wr("\u2237","\\dblcolon"),wr("\u2239","\\eqcolon"),wr("\u2254","\\coloneqq"),wr("\u2255","\\eqqcolon"),wr("\u2A74","\\Coloneqq"),wr("\\ratio","\\vcentcolon"),wr("\\coloncolon","\\dblcolon"),wr("\\colonequals","\\coloneqq"),wr("\\coloncolonequals","\\Coloneqq"),wr("\\equalscolon","\\eqqcolon"),wr("\\equalscoloncolon","\\Eqqcolon"),wr("\\colonminus","\\coloneq"),wr("\\coloncolonminus","\\Coloneq"),wr("\\minuscolon","\\eqcolon"),wr("\\minuscoloncolon","\\Eqcolon"),wr("\\coloncolonapprox","\\Colonapprox"),wr("\\coloncolonsim","\\Colonsim"),wr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),wr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),wr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),wr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),wr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),wr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),wr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),wr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),wr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),wr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),wr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),wr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),wr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),wr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),wr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),wr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),wr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),wr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),wr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),wr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),wr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),wr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),wr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),wr("\u27E6","\\llbracket"),wr("\u27E7","\\rrbracket"),wr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),wr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),wr("\u2983","\\lBrace"),wr("\u2984","\\rBrace"),wr("\\darr","\\downarrow"),wr("\\dArr","\\Downarrow"),wr("\\Darr","\\Downarrow"),wr("\\lang","\\langle"),wr("\\rang","\\rangle"),wr("\\uarr","\\uparrow"),wr("\\uArr","\\Uparrow"),wr("\\Uarr","\\Uparrow"),wr("\\N","\\mathbb{N}"),wr("\\R","\\mathbb{R}"),wr("\\Z","\\mathbb{Z}"),wr("\\alef","\\aleph"),wr("\\alefsym","\\aleph"),wr("\\Alpha","\\mathrm{A}"),wr("\\Beta","\\mathrm{B}"),wr("\\bull","\\bullet"),wr("\\Chi","\\mathrm{X}"),wr("\\clubs","\\clubsuit"),wr("\\cnums","\\mathbb{C}"),wr("\\Complex","\\mathbb{C}"),wr("\\Dagger","\\ddagger"),wr("\\diamonds","\\diamondsuit"),wr("\\empty","\\emptyset"),wr("\\Epsilon","\\mathrm{E}"),wr("\\Eta","\\mathrm{H}"),wr("\\exist","\\exists"),wr("\\harr","\\leftrightarrow"),wr("\\hArr","\\Leftrightarrow"),wr("\\Harr","\\Leftrightarrow"),wr("\\hearts","\\heartsuit"),wr("\\image","\\Im"),wr("\\infin","\\infty"),wr("\\Iota","\\mathrm{I}"),wr("\\isin","\\in"),wr("\\Kappa","\\mathrm{K}"),wr("\\larr","\\leftarrow"),wr("\\lArr","\\Leftarrow"),wr("\\Larr","\\Leftarrow"),wr("\\lrarr","\\leftrightarrow"),wr("\\lrArr","\\Leftrightarrow"),wr("\\Lrarr","\\Leftrightarrow"),wr("\\Mu","\\mathrm{M}"),wr("\\natnums","\\mathbb{N}"),wr("\\Nu","\\mathrm{N}"),wr("\\Omicron","\\mathrm{O}"),wr("\\plusmn","\\pm"),wr("\\rarr","\\rightarrow"),wr("\\rArr","\\Rightarrow"),wr("\\Rarr","\\Rightarrow"),wr("\\real","\\Re"),wr("\\reals","\\mathbb{R}"),wr("\\Reals","\\mathbb{R}"),wr("\\Rho","\\mathrm{P}"),wr("\\sdot","\\cdot"),wr("\\sect","\\S"),wr("\\spades","\\spadesuit"),wr("\\sub","\\subset"),wr("\\sube","\\subseteq"),wr("\\supe","\\supseteq"),wr("\\Tau","\\mathrm{T}"),wr("\\thetasym","\\vartheta"),wr("\\weierp","\\wp"),wr("\\Zeta","\\mathrm{Z}"),wr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),wr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),wr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),wr("\\blue","\\textcolor{##6495ed}{#1}"),wr("\\orange","\\textcolor{##ffa500}{#1}"),wr("\\pink","\\textcolor{##ff00af}{#1}"),wr("\\red","\\textcolor{##df0030}{#1}"),wr("\\green","\\textcolor{##28ae7b}{#1}"),wr("\\gray","\\textcolor{gray}{#1}"),wr("\\purple","\\textcolor{##9d38bd}{#1}"),wr("\\blueA","\\textcolor{##ccfaff}{#1}"),wr("\\blueB","\\textcolor{##80f6ff}{#1}"),wr("\\blueC","\\textcolor{##63d9ea}{#1}"),wr("\\blueD","\\textcolor{##11accd}{#1}"),wr("\\blueE","\\textcolor{##0c7f99}{#1}"),wr("\\tealA","\\textcolor{##94fff5}{#1}"),wr("\\tealB","\\textcolor{##26edd5}{#1}"),wr("\\tealC","\\textcolor{##01d1c1}{#1}"),wr("\\tealD","\\textcolor{##01a995}{#1}"),wr("\\tealE","\\textcolor{##208170}{#1}"),wr("\\greenA","\\textcolor{##b6ffb0}{#1}"),wr("\\greenB","\\textcolor{##8af281}{#1}"),wr("\\greenC","\\textcolor{##74cf70}{#1}"),wr("\\greenD","\\textcolor{##1fab54}{#1}"),wr("\\greenE","\\textcolor{##0d923f}{#1}"),wr("\\goldA","\\textcolor{##ffd0a9}{#1}"),wr("\\goldB","\\textcolor{##ffbb71}{#1}"),wr("\\goldC","\\textcolor{##ff9c39}{#1}"),wr("\\goldD","\\textcolor{##e07d10}{#1}"),wr("\\goldE","\\textcolor{##a75a05}{#1}"),wr("\\redA","\\textcolor{##fca9a9}{#1}"),wr("\\redB","\\textcolor{##ff8482}{#1}"),wr("\\redC","\\textcolor{##f9685d}{#1}"),wr("\\redD","\\textcolor{##e84d39}{#1}"),wr("\\redE","\\textcolor{##bc2612}{#1}"),wr("\\maroonA","\\textcolor{##ffbde0}{#1}"),wr("\\maroonB","\\textcolor{##ff92c6}{#1}"),wr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),wr("\\maroonD","\\textcolor{##ca337c}{#1}"),wr("\\maroonE","\\textcolor{##9e034e}{#1}"),wr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),wr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),wr("\\purpleC","\\textcolor{##aa87ff}{#1}"),wr("\\purpleD","\\textcolor{##7854ab}{#1}"),wr("\\purpleE","\\textcolor{##543b78}{#1}"),wr("\\mintA","\\textcolor{##f5f9e8}{#1}"),wr("\\mintB","\\textcolor{##edf2df}{#1}"),wr("\\mintC","\\textcolor{##e0e5cc}{#1}"),wr("\\grayA","\\textcolor{##f6f7f7}{#1}"),wr("\\grayB","\\textcolor{##f0f1f2}{#1}"),wr("\\grayC","\\textcolor{##e3e5e6}{#1}"),wr("\\grayD","\\textcolor{##d6d8da}{#1}"),wr("\\grayE","\\textcolor{##babec2}{#1}"),wr("\\grayF","\\textcolor{##888d93}{#1}"),wr("\\grayG","\\textcolor{##626569}{#1}"),wr("\\grayH","\\textcolor{##3b3e40}{#1}"),wr("\\grayI","\\textcolor{##21242c}{#1}"),wr("\\kaBlue","\\textcolor{##314453}{#1}"),wr("\\kaGreen","\\textcolor{##71B307}{#1}");var To={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ts=function(){function Dt(ce,pe,Le){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=pe,this.expansionCount=0,this.feed(ce),this.macros=new Ga(ps,pe.macros),this.mode=Le,this.stack=[]}var re=Dt.prototype;return re.feed=function(pe){this.lexer=new Za(pe,this.settings)},re.switchMode=function(pe){this.mode=pe},re.beginGroup=function(){this.macros.beginGroup()},re.endGroup=function(){this.macros.endGroup()},re.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},re.popToken=function(){return this.future(),this.stack.pop()},re.pushToken=function(pe){this.stack.push(pe)},re.pushTokens=function(pe){var Le;(Le=this.stack).push.apply(Le,pe)},re.consumeSpaces=function(){for(;;){var pe=this.future();if(pe.text===" ")this.stack.pop();else break}},re.consumeArgs=function(pe){for(var Le=[],ct=0;ct<pe;++ct){this.consumeSpaces();var Rt=this.popToken();if(Rt.text==="{"){for(var cr=[],gr=1;gr!==0;){var Br=this.popToken();if(cr.push(Br),Br.text==="{")++gr;else if(Br.text==="}")--gr;else if(Br.text==="EOF")throw new i("End of input in macro argument",Rt)}cr.pop(),cr.reverse(),Le[ct]=cr}else{if(Rt.text==="EOF")throw new i("End of input expecting macro argument");Le[ct]=[Rt]}}return Le},re.expandOnce=function(){var pe=this.popToken(),Le=pe.text,ct=this._getExpansion(Le);if(ct==null)return this.pushToken(pe),pe;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting");var Rt=ct.tokens;if(ct.numArgs){var cr=this.consumeArgs(ct.numArgs);Rt=Rt.slice();for(var gr=Rt.length-1;gr>=0;--gr){var Br=Rt[gr];if(Br.text==="#"){if(gr===0)throw new i("Incomplete placeholder at end of macro body",Br);if(Br=Rt[--gr],Br.text==="#")Rt.splice(gr+1,1);else if(/^[1-9]$/.test(Br.text)){var qr;(qr=Rt).splice.apply(qr,[gr,2].concat(cr[+Br.text-1]))}else throw new i("Not a valid argument number",Br)}}}return this.pushTokens(Rt),Rt},re.expandAfterFuture=function(){return this.expandOnce(),this.future()},re.expandNextToken=function(){for(;;){var pe=this.expandOnce();if(pe instanceof b)if(pe.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},re.expandMacro=function(pe){if(!this.macros.get(pe))return;var Le=[],ct=this.stack.length;for(this.pushToken(new b(pe));this.stack.length>ct;){var Rt=this.expandOnce();Rt instanceof b&&Le.push(this.stack.pop())}return Le},re.expandMacroAsText=function(pe){var Le=this.expandMacro(pe);return Le&&Le.map(function(ct){return ct.text}).join("")},re._getExpansion=function(pe){var Le=this.macros.get(pe);if(Le==null)return Le;var ct=typeof Le=="function"?Le(this):Le;if(typeof ct=="string"){var Rt=0;if(ct.indexOf("#")!==-1)for(var cr=ct.replace(/##/g,"");cr.indexOf("#"+(Rt+1))!==-1;)++Rt;for(var gr=new Za(ct,this.settings),Br=[],qr=gr.lex();qr.text!=="EOF";)Br.push(qr),qr=gr.lex();Br.reverse();var ln={tokens:Br,numArgs:Rt};return ln}return ct},re.isDefined=function(pe){return this.macros.has(pe)||Zi.hasOwnProperty(pe)||Ze.math.hasOwnProperty(pe)||Ze.text.hasOwnProperty(pe)||To.hasOwnProperty(pe)},Dt}(),_o={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},rs={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},ms=function(){function Dt(ce,pe){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ts(ce,pe,this.mode),this.settings=pe,this.leftrightDepth=0}var re=Dt.prototype;return re.expect=function(pe,Le){if(Le===void 0&&(Le=!0),this.fetch().text!==pe)throw new i("Expected '"+pe+"', got '"+this.fetch().text+"'",this.fetch());Le&&this.consume()},re.consume=function(){this.nextToken=null},re.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},re.switchMode=function(pe){this.mode=pe,this.gullet.switchMode(pe)},re.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var pe=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),pe},re.parseExpression=function(pe,Le){for(var ct=[];;){this.mode==="math"&&this.consumeSpaces();var Rt=this.fetch();if(Dt.endOfExpression.indexOf(Rt.text)!==-1)break;if(Le&&Rt.text===Le)break;if(pe&&Zi[Rt.text]&&Zi[Rt.text].infix)break;var cr=this.parseAtom(Le);if(!cr)break;ct.push(cr)}return this.mode==="text"&&this.formLigatures(ct),this.handleInfixNodes(ct)},re.handleInfixNodes=function(pe){for(var Le=-1,ct,Rt=0;Rt<pe.length;Rt++){var cr=gn(pe[Rt],"infix");if(cr){if(Le!==-1)throw new i("only one infix operator per group",cr.token);Le=Rt,ct=cr.replaceWith}}if(Le!==-1&&ct){var gr,Br,qr=pe.slice(0,Le),ln=pe.slice(Le+1);qr.length===1&&qr[0].type==="ordgroup"?gr=qr[0]:gr={type:"ordgroup",mode:this.mode,body:qr},ln.length===1&&ln[0].type==="ordgroup"?Br=ln[0]:Br={type:"ordgroup",mode:this.mode,body:ln};var An;return ct==="\\\\abovefrac"?An=this.callFunction(ct,[gr,pe[Le],Br],[]):An=this.callFunction(ct,[gr,Br],[]),[An]}else return pe},re.handleSupSubscript=function(pe){var Le=this.fetch(),ct=Le.text;this.consume();var Rt=this.parseGroup(pe,!1,Dt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Rt)throw new i("Expected group after '"+ct+"'",Le);return Rt},re.formatUnsupportedCmd=function(pe){for(var Le=[],ct=0;ct<pe.length;ct++)Le.push({type:"textord",mode:"text",text:pe[ct]});var Rt={type:"text",mode:this.mode,body:Le},cr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Rt]};return cr},re.parseAtom=function(pe){var Le=this.parseGroup("atom",!1,null,pe);if(this.mode==="text")return Le;for(var ct,Rt;;){this.consumeSpaces();var cr=this.fetch();if(cr.text==="\\limits"||cr.text==="\\nolimits"){var gr=gn(Le,"op");if(gr){var Br=cr.text==="\\limits";gr.limits=Br,gr.alwaysHandleSupSub=!0}else if(gr=gn(Le,"operatorname"),gr&&gr.alwaysHandleSupSub){var qr=cr.text==="\\limits";gr.limits=qr}else throw new i("Limit controls must follow a math operator",cr);this.consume()}else if(cr.text==="^"){if(ct)throw new i("Double superscript",cr);ct=this.handleSupSubscript("superscript")}else if(cr.text==="_"){if(Rt)throw new i("Double subscript",cr);Rt=this.handleSupSubscript("subscript")}else if(cr.text==="'"){if(ct)throw new i("Double superscript",cr);var ln={type:"textord",mode:this.mode,text:"\\prime"},An=[ln];for(this.consume();this.fetch().text==="'";)An.push(ln),this.consume();this.fetch().text==="^"&&An.push(this.handleSupSubscript("superscript")),ct={type:"ordgroup",mode:this.mode,body:An}}else break}return ct||Rt?{type:"supsub",mode:this.mode,base:Le,sup:ct,sub:Rt}:Le},re.parseFunction=function(pe,Le,ct){var Rt=this.fetch(),cr=Rt.text,gr=Zi[cr];if(!gr)return null;if(this.consume(),ct!=null&&gr.greediness<=ct)throw new i("Got function '"+cr+"' with no arguments"+(Le?" as "+Le:""),Rt);if(this.mode==="text"&&!gr.allowedInText)throw new i("Can't use function '"+cr+"' in text mode",Rt);if(this.mode==="math"&&gr.allowedInMath===!1)throw new i("Can't use function '"+cr+"' in math mode",Rt);var Br=this.parseArguments(cr,gr),qr=Br.args,ln=Br.optArgs;return this.callFunction(cr,qr,ln,Rt,pe)},re.callFunction=function(pe,Le,ct,Rt,cr){var gr={funcName:pe,parser:this,token:Rt,breakOnTokenText:cr},Br=Zi[pe];if(Br&&Br.handler)return Br.handler(gr,Le,ct);throw new i("No function handler for "+pe)},re.parseArguments=function(pe,Le){var ct=Le.numArgs+Le.numOptionalArgs;if(ct===0)return{args:[],optArgs:[]};for(var Rt=Le.greediness,cr=[],gr=[],Br=0;Br<ct;Br++){var qr=Le.argTypes&&Le.argTypes[Br],ln=Br<Le.numOptionalArgs,An=Br>0&&!ln||Br===0&&!ln&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+pe+"'",qr,ln,Rt,An);if(!Cn){if(ln){gr.push(null);continue}throw new i("Expected group after '"+pe+"'",this.fetch())}(ln?gr:cr).push(Cn)}return{args:cr,optArgs:gr}},re.parseGroupOfType=function(pe,Le,ct,Rt,cr){switch(Le){case"color":return cr&&this.consumeSpaces(),this.parseColorGroup(ct);case"size":return cr&&this.consumeSpaces(),this.parseSizeGroup(ct);case"url":return this.parseUrlGroup(ct,cr);case"math":case"text":return this.parseGroup(pe,ct,Rt,void 0,Le,cr);case"hbox":{var gr=this.parseGroup(pe,ct,Rt,void 0,"text",cr);if(!gr)return gr;var Br={type:"styling",mode:gr.mode,body:[gr],style:"text"};return Br}case"raw":{if(cr&&this.consumeSpaces(),ct&&this.fetch().text==="{")return null;var qr=this.parseStringGroup("raw",ct,!0);if(qr)return{type:"raw",mode:"text",string:qr.text};throw new i("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(pe,ct,Rt,void 0,void 0,cr);default:throw new i("Unknown group type as "+pe,this.fetch())}},re.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},re.parseStringGroup=function(pe,Le,ct){var Rt=Le?"[":"{",cr=Le?"]":"}",gr=this.fetch();if(gr.text!==Rt){if(Le)return null;if(ct&&gr.text!=="EOF"&&/[^{}[\]]/.test(gr.text))return this.consume(),gr}var Br=this.mode;this.mode="text",this.expect(Rt);for(var qr="",ln=this.fetch(),An=0,Cn=ln,Xn;(Xn=this.fetch()).text!==cr||ct&&An>0;){switch(Xn.text){case"EOF":throw new i("Unexpected end of input in "+pe,ln.range(Cn,qr));case Rt:An++;break;case cr:An--;break}Cn=Xn,qr+=Cn.text,this.consume()}return this.expect(cr),this.mode=Br,ln.range(Cn,qr)},re.parseRegexGroup=function(pe,Le){var ct=this.mode;this.mode="text";for(var Rt=this.fetch(),cr=Rt,gr="",Br;(Br=this.fetch()).text!=="EOF"&&pe.test(gr+Br.text);)cr=Br,gr+=cr.text,this.consume();if(gr==="")throw new i("Invalid "+Le+": '"+Rt.text+"'",Rt);return this.mode=ct,Rt.range(cr,gr)},re.parseColorGroup=function(pe){var Le=this.parseStringGroup("color",pe);if(!Le)return null;var ct=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Le.text);if(!ct)throw new i("Invalid color: '"+Le.text+"'",Le);var Rt=ct[0];return/^[0-9a-f]{6}$/i.test(Rt)&&(Rt="#"+Rt),{type:"color-token",mode:this.mode,color:Rt}},re.parseSizeGroup=function(pe){var Le,ct=!1;if(!pe&&this.fetch().text!=="{"?Le=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Le=this.parseStringGroup("size",pe),!Le)return null;!pe&&Le.text.length===0&&(Le.text="0pt",ct=!0);var Rt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Le.text);if(!Rt)throw new i("Invalid size: '"+Le.text+"'",Le);var cr={number:+(Rt[1]+Rt[2]),unit:Rt[3]};if(!Ye(cr))throw new i("Invalid unit: '"+cr.unit+"'",Le);return{type:"size",mode:this.mode,value:cr,isBlank:ct}},re.parseUrlGroup=function(pe,Le){this.gullet.lexer.setCatcode("%",13);var ct=this.parseStringGroup("url",pe,!0);if(this.gullet.lexer.setCatcode("%",14),!ct)return null;var Rt=ct.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Rt}},re.parseGroup=function(pe,Le,ct,Rt,cr,gr){var Br=this.mode;cr&&this.switchMode(cr),gr&&this.consumeSpaces();var qr=this.fetch(),ln=qr.text,An;if(Le?ln==="[":ln==="{"||ln==="\\begingroup"){this.consume();var Cn=Dt.endOfGroup[ln];this.gullet.beginGroup();var Xn=this.parseExpression(!1,Cn),ti=this.fetch();this.expect(Cn),this.gullet.endGroup(),An={type:"ordgroup",mode:this.mode,loc:A.range(qr,ti),body:Xn,semisimple:ln==="\\begingroup"||void 0}}else if(Le)An=null;else if(An=this.parseFunction(Rt,pe,ct)||this.parseSymbol(),An==null&&ln[0]==="\\"&&!To.hasOwnProperty(ln)){if(this.settings.throwOnError)throw new i("Undefined control sequence: "+ln,qr);An=this.formatUnsupportedCmd(ln),this.consume()}return cr&&this.switchMode(Br),An},re.formLigatures=function(pe){for(var Le=pe.length-1,ct=0;ct<Le;++ct){var Rt=pe[ct],cr=Rt.text;cr==="-"&&pe[ct+1].text==="-"&&(ct+1<Le&&pe[ct+2].text==="-"?(pe.splice(ct,3,{type:"textord",mode:"text",loc:A.range(Rt,pe[ct+2]),text:"---"}),Le-=2):(pe.splice(ct,2,{type:"textord",mode:"text",loc:A.range(Rt,pe[ct+1]),text:"--"}),Le-=1)),(cr==="'"||cr==="`")&&pe[ct+1].text===cr&&(pe.splice(ct,2,{type:"textord",mode:"text",loc:A.range(Rt,pe[ct+1]),text:cr+cr}),Le-=1)}},re.parseSymbol=function(){var pe=this.fetch(),Le=pe.text;if(/^\\verb[^a-zA-Z]/.test(Le)){this.consume();var ct=Le.slice(5),Rt=ct.charAt(0)==="*";if(Rt&&(ct=ct.slice(1)),ct.length<2||ct.charAt(0)!==ct.slice(-1))throw new i(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return ct=ct.slice(1,-1),{type:"verb",mode:"text",body:ct,star:Rt}}rs.hasOwnProperty(Le[0])&&!Ze[this.mode][Le[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Le[0]+'" used in math mode',pe),Le=rs[Le[0]]+Le.substr(1));var cr=Go.exec(Le);cr&&(Le=Le.substring(0,cr.index),Le==="i"?Le="\u0131":Le==="j"&&(Le="\u0237"));var gr;if(Ze[this.mode][Le]){this.settings.strict&&this.mode==="math"&&Me.indexOf(Le)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Le[0]+'" used in math mode',pe);var Br=Ze[this.mode][Le].group,qr=A.range(pe),ln;if(Qe.hasOwnProperty(Br)){var An=Br;ln={type:"atom",mode:this.mode,family:An,loc:qr,text:Le}}else ln={type:Br,mode:this.mode,loc:qr,text:Le};gr=ln}else if(Le.charCodeAt(0)>=128)this.settings.strict&&(Q(Le.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Le[0]+'" used in math mode',pe):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Le[0]+'"'+(" ("+Le.charCodeAt(0)+")"),pe)),gr={type:"textord",mode:"text",loc:A.range(pe),text:Le};else return null;if(this.consume(),cr)for(var Cn=0;Cn<cr[0].length;Cn++){var Xn=cr[0][Cn];if(!_o[Xn])throw new i("Unknown accent ' "+Xn+"'",pe);var ti=_o[Xn][this.mode];if(!ti)throw new i("Accent "+Xn+" unsupported in "+this.mode+" mode",pe);gr={type:"accent",mode:this.mode,loc:A.range(pe),label:ti,isStretchy:!1,isShifty:!0,base:gr}}return gr},Dt}();ms.endOfExpression=["}","\\endgroup","\\end","\\right","&"],ms.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},ms.SUPSUB_GREEDINESS=1;var ls=function(re,ce){if(!(typeof re=="string"||re instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var pe=new ms(re,ce);delete pe.gullet.macros.current["\\df@tag"];var Le=pe.parse();if(pe.gullet.macros.get("\\df@tag")){if(!ce.displayMode)throw new i("\\tag works only in display equations");pe.gullet.feed("\\df@tag"),Le=[{type:"tag",mode:"text",body:Le,tag:pe.parse()}]}return Le},Ds=ls,Rs=function(re,ce,pe){ce.textContent="";var Le=Bo(re,pe).toNode();ce.appendChild(Le)};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."),Rs=function(){throw new i("KaTeX doesn't work in quirks mode.")}));var as=function(re,ce){var pe=Bo(re,ce).toMarkup();return pe},Zs=function(re,ce){var pe=new L(ce);return Ds(re,pe)},us=function(re,ce,pe){if(pe.throwOnError||!(re instanceof i))throw re;var Le=jr.makeSpan(["katex-error"],[new At(ce)]);return Le.setAttribute("title",re.toString()),Le.setAttribute("style","color:"+pe.errorColor),Le},Bo=function(re,ce){var pe=new L(ce);try{var Le=Ds(re,pe);return Ue(Le,re,pe)}catch(ct){return us(ct,re,pe)}},Rn=function(re,ce){var pe=new L(ce);try{var Le=Ds(re,pe);return Bt(Le,re,pe)}catch(ct){return us(ct,re,pe)}},Vs={version:"0.11.1",render:Rs,renderToString:as,ParseError:i,__parse:Zs,__renderToDomTree:Bo,__renderToHTMLTree:Rn,__setFontMetrics:zt,__defineSymbol:oe,__defineMacro:wr,__domTree:{Span:St,Anchor:ht,SymbolNode:At,SvgNode:_e,PathNode:De,LineNode:Ie}},Is=E.default=Vs}]).default})},P2fV:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("Q9mQ"),p=e("+L6B"),A=e("sE09"),b=e.n(A)},P47w:function(J,F,e){var d=e("hydK"),E=d.createElement,g=e("IMiH"),p=e("mFDi"),A=e("Fofx"),b=e("6GrX"),h=e("pzxd"),i=e("dqUG"),r=g.CMD,a=Array.prototype.join,s="none",l=Math.round,n=Math.sin,u=Math.cos,t=Math.PI,c=Math.PI*2,o=180/t,f=1e-4;function v(Y){return l(Y*1e4)/1e4}function y(Y){return Y<f&&Y>-f}function L(Y,_){var Q=_?Y.textFill:Y.fill;return Q!=null&&Q!==s}function S(Y,_){var Q=_?Y.textStroke:Y.stroke;return Q!=null&&Q!==s}function x(Y,_){_&&O(Y,"transform","matrix("+a.call(_,",")+")")}function O(Y,_,Q){(!Q||Q.type!=="linear"&&Q.type!=="radial")&&Y.setAttribute(_,Q)}function T(Y,_,Q){Y.setAttributeNS("http://www.w3.org/1999/xlink",_,Q)}function w(Y,_,Q,X){if(L(_,Q)){var he=Q?_.textFill:_.fill;he=he==="transparent"?s:he,O(Y,"fill",he),O(Y,"fill-opacity",_.fillOpacity!=null?_.fillOpacity*_.opacity:_.opacity)}else O(Y,"fill",s);if(S(_,Q)){var te=Q?_.textStroke:_.stroke;te=te==="transparent"?s:te,O(Y,"stroke",te);var fe=Q?_.textStrokeWidth:_.lineWidth,be=!Q&&_.strokeNoScale?X.getLineScale():1;O(Y,"stroke-width",fe/be),O(Y,"paint-order",Q?"stroke":"fill"),O(Y,"stroke-opacity",_.strokeOpacity!=null?_.strokeOpacity:_.opacity);var we=_.lineDash;we?(O(Y,"stroke-dasharray",_.lineDash.join(",")),O(Y,"stroke-dashoffset",l(_.lineDashOffset||0))):O(Y,"stroke-dasharray",""),_.lineCap&&O(Y,"stroke-linecap",_.lineCap),_.lineJoin&&O(Y,"stroke-linejoin",_.lineJoin),_.miterLimit&&O(Y,"stroke-miterlimit",_.miterLimit)}else O(Y,"stroke",s)}function C(Y){for(var _=[],Q=Y.data,X=Y.len(),he=0;he<X;){var te=Q[he++],fe="",be=0;switch(te){case r.M:fe="M",be=2;break;case r.L:fe="L",be=2;break;case r.Q:fe="Q",be=4;break;case r.C:fe="C",be=6;break;case r.A:var we=Q[he++],Ke=Q[he++],qe=Q[he++],xt=Q[he++],Fe=Q[he++],Be=Q[he++],bt=Q[he++],lt=Q[he++],tt=Math.abs(Be),St=y(tt-c)||(lt?Be>=c:-Be>=c),ht=Be>0?Be%c:Be%c+c,vt=!1;St?vt=!0:y(tt)?vt=!1:vt=ht>=t===!!lt;var Ge=v(we+qe*u(Fe)),At=v(Ke+xt*n(Fe));St&&(lt?Be=c-1e-4:Be=-c+1e-4,vt=!0,he===9&&_.push("M",Ge,At));var _e=v(we+qe*u(Fe+Be)),De=v(Ke+xt*n(Fe+Be));_.push("A",v(qe),v(xt),l(bt*o),+vt,+lt,_e,De);break;case r.Z:fe="Z";break;case r.R:var _e=v(Q[he++]),De=v(Q[he++]),Ie=v(Q[he++]),st=v(Q[he++]);_.push("M",_e,De,"L",_e+Ie,De,"L",_e+Ie,De+st,"L",_e,De+st,"L",_e,De);break}fe&&_.push(fe);for(var Et=0;Et<be;Et++)_.push(v(Q[he++]))}return _.join(" ")}var N={};N.brush=function(Y){var _=Y.style,Q=Y.__svgEl;Q||(Q=E("path"),Y.__svgEl=Q),Y.path||Y.createPathProxy();var X=Y.path;if(Y.__dirtyPath){X.beginPath(),X.subPixelOptimize=!1,Y.buildPath(X,Y.shape),Y.__dirtyPath=!1;var he=C(X);he.indexOf("NaN")<0&&O(Q,"d",he)}w(Q,_,!1,Y),x(Q,Y.transform),_.text!=null?P(Y,Y.getBoundingRect()):Z(Y)};var D={};D.brush=function(Y){var _=Y.style,Q=_.image;if(Q instanceof HTMLImageElement){var X=Q.src;Q=X}if(!Q)return;var he=_.x||0,te=_.y||0,fe=_.width,be=_.height,we=Y.__svgEl;we||(we=E("image"),Y.__svgEl=we),Q!==Y.__imageSrc&&(T(we,"href",Q),Y.__imageSrc=Q),O(we,"width",fe),O(we,"height",be),O(we,"x",he),O(we,"y",te),x(we,Y.transform),_.text!=null?P(Y,Y.getBoundingRect()):Z(Y)};var B={},R=new p,U={},M=[],j={left:"start",right:"end",center:"middle",middle:"middle"},P=function(_,Q){var X=_.style,he=_.transform,te=_ instanceof i||X.transformText;_.__dirty&&h.normalizeTextStyle(X,!0);var fe=X.text;if(fe!=null&&(fe+=""),!h.needDrawText(fe,X))return;fe==null&&(fe=""),!te&&he&&(R.copy(Q),R.applyTransform(he),Q=R);var be=_.__textSvgEl;be||(be=E("text"),_.__textSvgEl=be);var we=be.style,Ke=X.font||b.DEFAULT_FONT,qe=be.__computedFont;Ke!==be.__styleFont&&(we.font=be.__styleFont=Ke,qe=be.__computedFont=we.font);var xt=X.textPadding,Fe=X.textLineHeight,Be=_.__textCotentBlock;(!Be||_.__dirtyText)&&(Be=_.__textCotentBlock=b.parsePlainText(fe,qe,xt,Fe,X.truncate));var bt=Be.outerHeight,lt=Be.lineHeight;h.getBoxPosition(U,_,X,Q);var tt=U.baseX,St=U.baseY,ht=U.textAlign||"left",vt=U.textVerticalAlign;K(be,te,he,X,Q,tt,St);var Ge=b.adjustTextY(St,bt,vt),At=tt,_e=Ge;xt&&(At=H(tt,ht,xt),_e+=xt[0]),_e+=lt/2,w(be,X,!0,_);var De=Be.canCacheByTextString,Ie=_.__tspanList||(_.__tspanList=[]),st=Ie.length;if(De&&_.__canCacheByTextString&&_.__text===fe){if(_.__dirtyText&&st)for(var Et=0;Et<st;++Et)k(Ie[Et],ht,At,_e+Et*lt)}else{_.__text=fe,_.__canCacheByTextString=De;for(var Mt=Be.lines,Pt=Mt.length,Et=0;Et<Pt;Et++){var ke=Ie[Et],zt=Mt[Et];ke?ke.__zrText!==zt&&(ke.innerHTML="",ke.appendChild(document.createTextNode(zt))):(ke=Ie[Et]=E("tspan"),be.appendChild(ke),ke.appendChild(document.createTextNode(zt))),k(ke,ht,At,_e+Et*lt)}if(st>Pt){for(;Et<st;Et++)be.removeChild(Ie[Et]);Ie.length=Pt}}};function K(Y,_,Q,X,he,te,fe){A.identity(M),_&&Q&&A.copy(M,Q);var be=X.textRotation;if(he&&be){var we=X.textOrigin;we==="center"?(te=he.width/2+he.x,fe=he.height/2+he.y):we&&(te=we[0]+he.x,fe=we[1]+he.y),M[4]-=te,M[5]-=fe,A.rotate(M,M,be),M[4]+=te,M[5]+=fe}x(Y,M)}function H(Y,_,Q){return _==="right"?Y-Q[1]:_==="center"?Y+Q[3]/2-Q[1]/2:Y+Q[3]}function k(Y,_,Q,X){O(Y,"dominant-baseline","middle"),O(Y,"text-anchor",j[_]),O(Y,"x",Q),O(Y,"y",X)}function Z(Y){Y&&Y.__textSvgEl&&(Y.__textSvgEl.parentNode&&Y.__textSvgEl.parentNode.removeChild(Y.__textSvgEl),Y.__textSvgEl=null,Y.__tspanList=[],Y.__text=null)}B.drawRectText=P,B.brush=function(Y){var _=Y.style;_.text!=null?P(Y,!1):Z(Y)},F.path=N,F.image=D,F.text=B},P4Qj:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.removeSensor=F.getSensor=void 0;var d=p(e("chpo")),E=e("FxDU"),g=e("24YM");function p(i){return i&&i.__esModule?i:{default:i}}var A={},b=function(r){var a=r.getAttribute(g.SizeSensorId);if(a&&A[a])return A[a];var s=(0,d.default)();r.setAttribute(g.SizeSensorId,s);var l=(0,E.createSensor)(r);return A[s]=l,l};F.getSensor=b;var h=function(r){var a=r.element.getAttribute(g.SizeSensorId);r.element.removeAttribute(g.SizeSensorId),r.destroy(),a&&A[a]&&delete A[a]};F.removeSensor=h},P5Jw:function(J,F,e){"use strict";var d=e("rHrb"),E=d.CopyToClipboard;E.CopyToClipboard=E,J.exports=E},PArb:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("q1tI"),b=e.n(A),h=e("TSYQ"),i=e.n(h),r=e("H84U"),a=function(l,n){var u={};for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&n.indexOf(t)<0&&(u[t]=l[t]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,t=Object.getOwnPropertySymbols(l);c<t.length;c++)n.indexOf(t[c])<0&&Object.prototype.propertyIsEnumerable.call(l,t[c])&&(u[t[c]]=l[t[c]]);return u},s=function(n){return A.createElement(r.a,null,function(u){var t,c=u.getPrefixCls,o=u.direction,f=n.prefixCls,v=n.type,y=v===void 0?"horizontal":v,L=n.orientation,S=L===void 0?"center":L,x=n.className,O=n.children,T=n.dashed,w=n.plain,C=a(n,["prefixCls","type","orientation","className","children","dashed","plain"]),N=c("divider",f),D=S.length>0?"-".concat(S):S,B=!!O,R=i()(x,N,"".concat(N,"-").concat(y),(t={},p()(t,"".concat(N,"-with-text"),B),p()(t,"".concat(N,"-with-text").concat(D),B),p()(t,"".concat(N,"-dashed"),!!T),p()(t,"".concat(N,"-plain"),!!w),p()(t,"".concat(N,"-rtl"),o==="rtl"),t));return A.createElement("div",E()({className:R},C,{role:"separator"}),O&&A.createElement("span",{className:"".concat(N,"-inner-text")},O))})};F.a=s},PD8m:function(J,F){J.exports={name:"memoryStorage",read:d,write:E,each:g,remove:p,clearAll:A};var e={};function d(b){return e[b]}function E(b,h){e[b]=h}function g(b){for(var h in e)e.hasOwnProperty(h)&&b(e[h],h)}function p(b){delete e[b]}function A(b){e={}}},PEeC:function(J,F,e){"use strict";e.d(F,"a",function(){return A}),e.d(F,"b",function(){return b});var d=e("RIqP"),E=e.n(d),g=e("xEkU"),p=e.n(g);function A(h){var i,r=function(l){return function(){i=null,h.apply(void 0,E()(l))}},a=function(){if(i==null){for(var l=arguments.length,n=new Array(l),u=0;u<l;u++)n[u]=arguments[u];i=p()(r(n))}};return a.cancel=function(){return p.a.cancel(i)},a}function b(){return function(h,i,r){var a=r.value,s=!1;return{configurable:!0,get:function(){if(s||this===h.prototype||this.hasOwnProperty(i))return a;var n=A(a.bind(this));return s=!0,Object.defineProperty(this,i,{value:n,configurable:!0,writable:!0}),s=!1,n}}}}},PKem:function(J,F,e){"use strict";e.d(F,"a",function(){return L});var d=e("RIqP"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("pVnL"),b=e.n(A),h=e("lwsE"),i=e.n(h),r=e("W8MJ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e.n(t),o=e("TSYQ"),f=e.n(o),v=e("H84U"),y=function(D,B){var R={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&B.indexOf(U)<0&&(R[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,U=Object.getOwnPropertySymbols(D);M<U.length;M++)B.indexOf(U[M])<0&&Object.prototype.propertyIsEnumerable.call(D,U[M])&&(R[U[M]]=D[U[M]]);return R},L=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function S(D){var B=D.suffixCls,R=D.tagName,U=D.displayName;return function(M){var j;return j=function(P){l()(H,P);var K=u()(H);function H(){var k;return i()(this,H),k=K.apply(this,arguments),k.renderComponent=function(Z){var Y=Z.getPrefixCls,_=k.props.prefixCls,Q=Y(B,_);return t.createElement(M,b()({prefixCls:Q,tagName:R},k.props))},k}return a()(H,[{key:"render",value:function(){return t.createElement(v.a,null,this.renderComponent)}}]),H}(t.Component),j.displayName=U,j}}var x=function(B){var R=B.prefixCls,U=B.className,M=B.children,j=B.tagName,P=y(B,["prefixCls","className","children","tagName"]),K=f()(R,U);return t.createElement(j,b()({className:K},P),M)},O=function(D){l()(R,D);var B=u()(R);function R(){var U;return i()(this,R),U=B.apply(this,arguments),U.state={siders:[]},U.renderComponent=function(M){var j,P=M.direction,K=U.props,H=K.prefixCls,k=K.className,Z=K.children,Y=K.hasSider,_=K.tagName,Q=y(K,["prefixCls","className","children","hasSider","tagName"]),X=f()(H,(j={},p()(j,"".concat(H,"-has-sider"),typeof Y=="boolean"?Y:U.state.siders.length>0),p()(j,"".concat(H,"-rtl"),P==="rtl"),j),k);return t.createElement(L.Provider,{value:{siderHook:U.getSiderHook()}},t.createElement(_,b()({className:X},Q),Z))},U}return a()(R,[{key:"getSiderHook",value:function(){var M=this;return{addSider:function(P){M.setState(function(K){return{siders:[].concat(E()(K.siders),[P])}})},removeSider:function(P){M.setState(function(K){return{siders:K.siders.filter(function(H){return H!==P})}})}}}},{key:"render",value:function(){return t.createElement(v.a,null,this.renderComponent)}}]),R}(t.Component),T=S({suffixCls:"layout",tagName:"section",displayName:"Layout"})(O),w=S({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(x),C=S({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(x),N=S({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(x);T.Header=w,T.Footer=C,T.Content=N,F.b=T},PNag:function(J,F,e){var d=e("bYtY"),E=e("SKnc"),g=e("YH21"),p=e("crZl"),A=e("IwbS"),b=e("OELB"),h=e("72pK"),i=e("y7Aq"),r=e("4NO4"),a=b.linearMap,s=d.each,l=Math.min,n=Math.max,u=12,t=6,c=p.extend({type:"visualMap.continuous",init:function(){c.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(O,T,w,C){(!C||C.type!=="selectDataRange"||C.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var O=this.visualMapModel,T=this.group;this._orient=O.get("orient"),this._useHandle=O.get("calculable"),this._resetInterval(),this._renderBar(T);var w=O.get("text");this._renderEndsText(T,w,0),this._renderEndsText(T,w,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(O,T,w){if(!T)return;var C=T[1-w];C=C!=null?C+"":"";var N=this.visualMapModel,D=N.get("textGap"),B=N.itemSize,R=this._shapes.barGroup,U=this._applyTransform([B[0]/2,w===0?-D:B[1]+D],R),M=this._applyTransform(w===0?"bottom":"top",R),j=this._orient,P=this.visualMapModel.textStyleModel;this.group.add(new A.Text({style:{x:U[0],y:U[1],textVerticalAlign:j==="horizontal"?"middle":M,textAlign:j==="horizontal"?M:"center",text:C,textFont:P.getFont(),textFill:P.getTextColor()}}))},_renderBar:function(O){var T=this.visualMapModel,w=this._shapes,C=T.itemSize,N=this._orient,D=this._useHandle,B=i.getItemAlign(T,this.api,C),R=w.barGroup=this._createBarGroup(B);R.add(w.outOfRange=o()),R.add(w.inRange=o(null,D?S(this._orient):null,d.bind(this._dragHandle,this,"all",!1),d.bind(this._dragHandle,this,"all",!0)));var U=T.textStyleModel.getTextRect("\u56FD"),M=n(U.width,U.height);D&&(w.handleThumbs=[],w.handleLabels=[],w.handleLabelPoints=[],this._createHandle(R,0,C,M,N,B),this._createHandle(R,1,C,M,N,B)),this._createIndicator(R,C,M,N),O.add(R)},_createHandle:function(O,T,w,C,N){var D=d.bind(this._dragHandle,this,T,!1),B=d.bind(this._dragHandle,this,T,!0),R=o(f(T,C),S(this._orient),D,B);R.position[0]=w[0],O.add(R);var U=this.visualMapModel.textStyleModel,M=new A.Text({draggable:!0,drift:D,onmousemove:function(K){g.stop(K.event)},ondragend:B,style:{x:0,y:0,text:"",textFont:U.getFont(),textFill:U.getTextColor()}});this.group.add(M);var j=[N==="horizontal"?C/2:C*1.5,N==="horizontal"?T===0?-(C*1.5):C*1.5:T===0?-C/2:C/2],P=this._shapes;P.handleThumbs[T]=R,P.handleLabelPoints[T]=j,P.handleLabels[T]=M},_createIndicator:function(O,T,w,C){var N=o([[0,0]],"move");N.position[0]=T[0],N.attr({invisible:!0,silent:!0}),O.add(N);var D=this.visualMapModel.textStyleModel,B=new A.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:D.getFont(),textFill:D.getTextColor()}});this.group.add(B);var R=[C==="horizontal"?w/2:t+3,0],U=this._shapes;U.indicator=N,U.indicatorLabel=B,U.indicatorLabelPoint=R},_dragHandle:function(O,T,w,C){if(!this._useHandle)return;if(this._dragging=!T,!T){var N=this._applyTransform([w,C],this._shapes.barGroup,!0);this._updateInterval(O,N[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():L(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[O],!1)},_resetInterval:function(){var O=this.visualMapModel,T=this._dataInterval=O.getSelected(),w=O.getExtent(),C=[0,O.itemSize[1]];this._handleEnds=[a(T[0],w,C,!0),a(T[1],w,C,!0)]},_updateInterval:function(O,T){T=T||0;var w=this.visualMapModel,C=this._handleEnds,N=[0,w.itemSize[1]];h(T,C,N,O,0);var D=w.getExtent();this._dataInterval=[a(C[0],N,D,!0),a(C[1],N,D,!0)]},_updateView:function(O){var T=this.visualMapModel,w=T.getExtent(),C=this._shapes,N=[0,T.itemSize[1]],D=O?N:this._handleEnds,B=this._createBarVisual(this._dataInterval,w,D,"inRange"),R=this._createBarVisual(w,w,N,"outOfRange");C.inRange.setStyle({fill:B.barColor,opacity:B.opacity}).setShape("points",B.barPoints),C.outOfRange.setStyle({fill:R.barColor,opacity:R.opacity}).setShape("points",R.barPoints),this._updateHandle(D,B)},_createBarVisual:function(O,T,w,C){var N={forceState:C,convertOpacityToAlpha:!0},D=this._makeColorGradient(O,N),B=[this.getControllerVisual(O[0],"symbolSize",N),this.getControllerVisual(O[1],"symbolSize",N)],R=this._createBarPoints(w,B);return{barColor:new E(0,0,0,1,D),barPoints:R,handlesColor:[D[0].color,D[D.length-1].color]}},_makeColorGradient:function(O,T){var w=100,C=[],N=(O[1]-O[0])/w;C.push({color:this.getControllerVisual(O[0],"color",T),offset:0});for(var D=1;D<w;D++){var B=O[0]+N*D;if(B>O[1])break;C.push({color:this.getControllerVisual(B,"color",T),offset:D/w})}return C.push({color:this.getControllerVisual(O[1],"color",T),offset:1}),C},_createBarPoints:function(O,T){var w=this.visualMapModel.itemSize;return[[w[0]-T[0],O[0]],[w[0],O[0]],[w[0],O[1]],[w[0]-T[1],O[1]]]},_createBarGroup:function(O){var T=this._orient,w=this.visualMapModel.get("inverse");return new A.Group(T==="horizontal"&&!w?{scale:O==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&w?{scale:O==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!w?{scale:O==="left"?[1,-1]:[-1,-1]}:{scale:O==="left"?[1,1]:[-1,1]})},_updateHandle:function(O,T){if(!this._useHandle)return;var w=this._shapes,C=this.visualMapModel,N=w.handleThumbs,D=w.handleLabels;s([0,1],function(B){var R=N[B];R.setStyle("fill",T.handlesColor[B]),R.position[1]=O[B];var U=A.applyTransform(w.handleLabelPoints[B],A.getTransform(R,this.group));D[B].setStyle({x:U[0],y:U[1],text:C.formatValueText(this._dataInterval[B]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?B===0?"bottom":"top":"left",w.barGroup)})},this)},_showIndicator:function(O,T,w,C){var N=this.visualMapModel,D=N.getExtent(),B=N.itemSize,R=[0,B[1]],U=a(O,D,R,!0),M=this._shapes,j=M.indicator;if(!j)return;j.position[1]=U,j.attr("invisible",!1),j.setShape("points",v(!!w,C,U,B[1]));var P={convertOpacityToAlpha:!0},K=this.getControllerVisual(O,"color",P);j.setStyle("fill",K);var H=A.applyTransform(M.indicatorLabelPoint,A.getTransform(j,this.group)),k=M.indicatorLabel;k.attr("invisible",!1);var Z=this._applyTransform("left",M.barGroup),Y=this._orient;k.setStyle({text:(w||"")+N.formatValueText(T),textVerticalAlign:Y==="horizontal"?Z:"middle",textAlign:Y==="horizontal"?"center":Z,x:H[0],y:H[1]})},_enableHoverLinkToSeries:function(){var O=this;this._shapes.barGroup.on("mousemove",function(T){if(O._hovering=!0,!O._dragging){var w=O.visualMapModel.itemSize,C=O._applyTransform([T.offsetX,T.offsetY],O._shapes.barGroup,!0,!0);C[1]=l(n(0,C[1]),w[1]),O._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=w[0])}}).on("mouseout",function(){O._hovering=!1,!O._dragging&&O._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var O=this.api.getZr();this.visualMapModel.option.hoverLink?(O.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),O.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(O,T){var w=this.visualMapModel,C=w.itemSize;if(!w.option.hoverLink)return;var N=[0,C[1]],D=w.getExtent();O=l(n(N[0],O),N[1]);var B=y(w,D,N),R=[O-B,O+B],U=a(O,N,D,!0),M=[a(R[0],N,D,!0),a(R[1],N,D,!0)];R[0]<N[0]&&(M[0]=-Infinity),R[1]>N[1]&&(M[1]=Infinity),T&&(M[0]===-Infinity?this._showIndicator(U,M[1],"< ",B):M[1]===Infinity?this._showIndicator(U,M[0],"> ",B):this._showIndicator(U,U,"\u2248 ",B));var j=this._hoverLinkDataIndices,P=[];(T||L(w))&&(P=this._hoverLinkDataIndices=w.findTargetDataIndices(M));var K=r.compressBatches(j,P);this._dispatchHighDown("downplay",i.makeHighDownBatch(K[0],w)),this._dispatchHighDown("highlight",i.makeHighDownBatch(K[1],w))},_hoverLinkFromSeriesMouseOver:function(O){var T=O.target,w=this.visualMapModel;if(!T||T.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!w.isTargetSeries(C))return;var N=C.getData(T.dataType),D=N.get(w.getDataDimension(N),T.dataIndex,!0);isNaN(D)||this._showIndicator(D,D)},_hideIndicator:function(){var O=this._shapes;O.indicator&&O.indicator.attr("invisible",!0),O.indicatorLabel&&O.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var O=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",i.makeHighDownBatch(O,this.visualMapModel)),O.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var O=this.api.getZr();O.off("mouseover",this._hoverLinkFromSeriesMouseOver),O.off("mouseout",this._hideIndicator)},_applyTransform:function(O,T,w,C){var N=A.getTransform(T,C?null:this.group);return A[d.isArray(O)?"applyTransform":"transformDirection"](O,N,w)},_dispatchHighDown:function(O,T){T&&T.length&&this.api.dispatchAction({type:O,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function o(O,T,w,C){return new A.Polygon({shape:{points:O},draggable:!!w,cursor:T,drift:w,onmousemove:function(N){g.stop(N.event)},ondragend:C})}function f(O,T){return O===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function v(O,T,w,C){return O?[[0,-l(T,n(w,0))],[t,0],[0,l(T,n(C-w,0))]]:[[0,0],[5,-5],[5,5]]}function y(O,T,w){var C=u/2,N=O.get("hoverLinkDataSize");return N&&(C=a(N,T,w,!0)/2),C}function L(O){var T=O.get("hoverLinkOnHandle");return!!(T==null?O.get("realtime"):T)}function S(O){return O==="vertical"?"ns-resize":"ew-resize"}var x=c;J.exports=x},PQMj:function(J,F,e){},PSzr:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},ProS:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("aX58"),p=e("bYtY"),A=e("Qe9p"),b=e("ItGF"),h=e("BPZU"),i=e("H6uX"),r=e("fmMI"),a=e("hD7B"),s=e("IDmD"),l=e("ypgQ"),n=e("+wW9"),u=e("0V0F"),t=e("bLfw"),c=e("T4UG"),o=e("sS/r"),f=e("6Ic6"),v=e("IwbS"),y=e("4NO4"),L=e("iLNv"),S=L.throttle,x=e("/WM3"),O=e("uAnK"),T=e("mYwL"),w=e("af/B"),C=e("xTNl"),N=e("8hn6");e("A1Ka");var D=e("7DRL"),B=p.assert,R=p.each,U=p.isFunction,M=p.isObject,j=t.parseClassType,P="4.8.0",K={zrender:"4.3.1"},H=1,k=1e3,Z=800,Y=900,_=5e3,Q=1e3,X=1100,he=2e3,te=3e3,fe=3500,be=4e3,we=5e3,Ke={PROCESSOR:{FILTER:k,SERIES_FILTER:Z,STATISTIC:_},VISUAL:{LAYOUT:Q,PROGRESSIVE_LAYOUT:X,GLOBAL:he,CHART:te,POST_CHART_LAYOUT:fe,COMPONENT:be,BRUSH:we}},qe="__flagInMainProcess",xt="__optionUpdated",Fe=/^[a-zA-Z0-9_]+$/;function Be(ze,nt){return function(Ye,Xe,yt){if(!nt&&this._disposed){Ve(this.id);return}Ye=Ye&&Ye.toLowerCase(),i.prototype[ze].call(this,Ye,Xe,yt)}}function bt(){i.call(this)}bt.prototype.on=Be("on",!0),bt.prototype.off=Be("off",!0),bt.prototype.one=Be("one",!0),p.mixin(bt,i);function lt(ze,nt,Ye){Ye=Ye||{},typeof nt=="string"&&(nt=nr[nt]),this.id,this.group,this._dom=ze;var Xe="canvas",yt=this._zr=g.init(ze,{renderer:Ye.renderer||Xe,devicePixelRatio:Ye.devicePixelRatio,width:Ye.width,height:Ye.height});this._throttledZrFlush=S(p.bind(yt.flush,yt),17);var nt=p.clone(nt);nt&&n(nt,!0),this._theme=nt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new s;var mt=this._api=Ze(this);function We(rt,ft){return rt.__prio-ft.__prio}h(It,We),h(Pe,We),this._scheduler=new w(this,mt,Pe,It),i.call(this,this._ecEventProcessor=new oe),this._messageCenter=new bt,this._initEvents(),this.resize=p.bind(this.resize,this),this._pendingActions=[],yt.animation.on("frame",this._onframe,this),st(yt,this),p.setAsPrimitive(this)}var tt=lt.prototype;tt._onframe=function(){if(this._disposed)return;var ze=this._scheduler;if(this[xt]){var nt=this[xt].silent;this[qe]=!0,vt(this),ht.update.call(this),this[qe]=!1,this[xt]=!1,De.call(this,nt),Ie.call(this,nt)}else if(ze.unfinished){var Ye=H,Xe=this._model,yt=this._api;ze.unfinished=!1;do{var mt=+new Date;ze.performSeriesTasks(Xe),ze.performDataProcessorTasks(Xe),At(this,Xe),ze.performVisualTasks(Xe),zt(this,this._model,yt,"remain"),Ye-=+new Date-mt}while(Ye>0&&ze.unfinished);ze.unfinished||this._zr.flush()}},tt.getDom=function(){return this._dom},tt.getZr=function(){return this._zr},tt.setOption=function(ze,nt,Ye){if(this._disposed){Ve(this.id);return}var Xe;if(M(nt)&&(Ye=nt.lazyUpdate,Xe=nt.silent,nt=nt.notMerge),this[qe]=!0,!this._model||nt){var yt=new l(this._api),mt=this._theme,We=this._model=new r;We.scheduler=this._scheduler,We.init(null,null,mt,yt)}this._model.setOption(ze,pt),Ye?(this[xt]={silent:Xe},this[qe]=!1):(vt(this),ht.update.call(this),this._zr.flush(),this[xt]=!1,this[qe]=!1,De.call(this,Xe),Ie.call(this,Xe))},tt.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},tt.getModel=function(){return this._model},tt.getOption=function(){return this._model&&this._model.getOption()},tt.getWidth=function(){return this._zr.getWidth()},tt.getHeight=function(){return this._zr.getHeight()},tt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},tt.getRenderedCanvas=function(ze){if(!b.canvasSupported)return;ze=ze||{},ze.pixelRatio=ze.pixelRatio||1,ze.backgroundColor=ze.backgroundColor||this._model.get("backgroundColor");var nt=this._zr;return nt.painter.getRenderedCanvas(ze)},tt.getSvgDataURL=function(){if(!b.svgSupported)return;var ze=this._zr,nt=ze.storage.getDisplayList();return p.each(nt,function(Ye){Ye.stopAnimation(!0)}),ze.painter.toDataURL()},tt.getDataURL=function(ze){if(this._disposed){Ve(this.id);return}ze=ze||{};var nt=ze.excludeComponents,Ye=this._model,Xe=[],yt=this;R(nt,function(We){Ye.eachComponent({mainType:We},function(rt){var ft=yt._componentsMap[rt.__viewId];ft.group.ignore||(Xe.push(ft),ft.group.ignore=!0)})});var mt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ze).toDataURL("image/"+(ze&&ze.type||"png"));return R(Xe,function(We){We.group.ignore=!1}),mt},tt.getConnectedDataURL=function(ze){if(this._disposed){Ve(this.id);return}if(!b.canvasSupported)return;var nt=ze.type==="svg",Ye=this.group,Xe=Math.min,yt=Math.max,mt=Infinity;if(hr[Ye]){var We=mt,rt=mt,ft=-mt,Yt=-mt,Ft=[],fr=ze&&ze.pixelRatio||1;p.each(Jt,function(Cr,Gr){if(Cr.group===Ye){var Nr=nt?Cr.getZr().painter.getSvgDom().innerHTML:Cr.getRenderedCanvas(p.clone(ze)),lr=Cr.getDom().getBoundingClientRect();We=Xe(lr.left,We),rt=Xe(lr.top,rt),ft=yt(lr.right,ft),Yt=yt(lr.bottom,Yt),Ft.push({dom:Nr,left:lr.left,top:lr.top})}}),We*=fr,rt*=fr,ft*=fr,Yt*=fr;var mr=ft-We,Er=Yt-rt,Lr=p.createCanvas(),en=g.init(Lr,{renderer:nt?"svg":"canvas"});if(en.resize({width:mr,height:Er}),nt){var Qr="";return R(Ft,function(Cr){var Gr=Cr.left-We,Nr=Cr.top-rt;Qr+='<g transform="translate('+Gr+","+Nr+')">'+Cr.dom+"</g>"}),en.painter.getSvgRoot().innerHTML=Qr,ze.connectedBackgroundColor&&en.painter.setBackgroundColor(ze.connectedBackgroundColor),en.refreshImmediately(),en.painter.toDataURL()}else return ze.connectedBackgroundColor&&en.add(new v.Rect({shape:{x:0,y:0,width:mr,height:Er},style:{fill:ze.connectedBackgroundColor}})),R(Ft,function(Cr){var Gr=new v.Image({style:{x:Cr.left*fr-We,y:Cr.top*fr-rt,image:Cr.dom}});en.add(Gr)}),en.refreshImmediately(),Lr.toDataURL("image/"+(ze&&ze.type||"png"))}else return this.getDataURL(ze)},tt.convertToPixel=p.curry(St,"convertToPixel"),tt.convertFromPixel=p.curry(St,"convertFromPixel");function St(ze,nt,Ye){if(this._disposed){Ve(this.id);return}var Xe=this._model,yt=this._coordSysMgr.getCoordinateSystems(),mt;nt=y.parseFinder(Xe,nt);for(var We=0;We<yt.length;We++){var rt=yt[We];if(rt[ze]&&(mt=rt[ze](Xe,nt,Ye))!=null)return mt}}tt.containPixel=function(ze,nt){if(this._disposed){Ve(this.id);return}var Ye=this._model,Xe;return ze=y.parseFinder(Ye,ze),p.each(ze,function(yt,mt){mt.indexOf("Models")>=0&&p.each(yt,function(We){var rt=We.coordinateSystem;if(rt&&rt.containPoint)Xe|=!!rt.containPoint(nt);else if(mt==="seriesModels"){var ft=this._chartsMap[We.__viewId];ft&&ft.containPoint&&(Xe|=ft.containPoint(nt,We))}},this)},this),!!Xe},tt.getVisual=function(ze,nt){var Ye=this._model;ze=y.parseFinder(Ye,ze,{defaultMainType:"series"});var Xe=ze.seriesModel,yt=Xe.getData(),mt=ze.hasOwnProperty("dataIndexInside")?ze.dataIndexInside:ze.hasOwnProperty("dataIndex")?yt.indexOfRawIndex(ze.dataIndex):null;return mt!=null?yt.getItemVisual(mt,nt):yt.getVisual(nt)},tt.getViewOfComponentModel=function(ze){return this._componentsMap[ze.__viewId]},tt.getViewOfSeriesModel=function(ze){return this._chartsMap[ze.__viewId]};var ht={prepareAndUpdate:function(ze){vt(this),ht.update.call(this,ze)},update:function(ze){var nt=this._model,Ye=this._api,Xe=this._zr,yt=this._coordSysMgr,mt=this._scheduler;if(!nt)return;mt.restoreData(nt,ze),mt.performSeriesTasks(nt),yt.create(nt,Ye),mt.performDataProcessorTasks(nt,ze),At(this,nt),yt.update(nt,Ye),Mt(nt),mt.performVisualTasks(nt,ze),Pt(this,nt,Ye,ze);var We=nt.get("backgroundColor")||"transparent";if(b.canvasSupported)Xe.setBackgroundColor(We);else{var rt=A.parse(We);We=A.stringify(rt,"rgb"),rt[3]===0&&(We="transparent")}Ot(nt,Ye)},updateTransform:function(ze){var nt=this._model,Ye=this,Xe=this._api;if(!nt)return;var yt=[];nt.eachComponent(function(We,rt){var ft=Ye.getViewOfComponentModel(rt);if(ft&&ft.__alive)if(ft.updateTransform){var Yt=ft.updateTransform(rt,nt,Xe,ze);Yt&&Yt.update&&yt.push(ft)}else yt.push(ft)});var mt=p.createHashMap();nt.eachSeries(function(We){var rt=Ye._chartsMap[We.__viewId];if(rt.updateTransform){var ft=rt.updateTransform(We,nt,Xe,ze);ft&&ft.update&&mt.set(We.uid,1)}else mt.set(We.uid,1)}),Mt(nt),this._scheduler.performVisualTasks(nt,ze,{setDirty:!0,dirtyMap:mt}),zt(Ye,nt,Xe,ze,mt),Ot(nt,this._api)},updateView:function(ze){var nt=this._model;if(!nt)return;f.markUpdateMethod(ze,"updateView"),Mt(nt),this._scheduler.performVisualTasks(nt,ze,{setDirty:!0}),Pt(this,this._model,this._api,ze),Ot(nt,this._api)},updateVisual:function(ze){ht.update.call(this,ze)},updateLayout:function(ze){ht.update.call(this,ze)}};function vt(ze){var nt=ze._model,Ye=ze._scheduler;Ye.restorePipelines(nt),Ye.prepareStageTasks(),Et(ze,"component",nt,Ye),Et(ze,"chart",nt,Ye),Ye.plan()}function Ge(ze,nt,Ye,Xe,yt){var mt=ze._model;if(!Xe){R(ze._componentsViews.concat(ze._chartsViews),Yt);return}var We={};We[Xe+"Id"]=Ye[Xe+"Id"],We[Xe+"Index"]=Ye[Xe+"Index"],We[Xe+"Name"]=Ye[Xe+"Name"];var rt={mainType:Xe,query:We};yt&&(rt.subType=yt);var ft=Ye.excludeSeriesId;ft!=null&&(ft=p.createHashMap(y.normalizeToArray(ft))),mt&&mt.eachComponent(rt,function(Ft){(!ft||ft.get(Ft.id)==null)&&Yt(ze[Xe==="series"?"_chartsMap":"_componentsMap"][Ft.__viewId])},ze);function Yt(Ft){Ft&&Ft.__alive&&Ft[nt]&&Ft[nt](Ft.__model,mt,ze._api,Ye)}}tt.resize=function(ze){if(this._disposed){Ve(this.id);return}this._zr.resize(ze);var nt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!nt)return;var Ye=nt.resetOption("media"),Xe=ze&&ze.silent;this[qe]=!0,Ye&&vt(this),ht.update.call(this),this[qe]=!1,De.call(this,Xe),Ie.call(this,Xe)};function At(ze,nt){var Ye=ze._chartsMap,Xe=ze._scheduler;nt.eachSeries(function(yt){Xe.updateStreamModes(yt,Ye[yt.__viewId])})}tt.showLoading=function(ze,nt){if(this._disposed){Ve(this.id);return}if(M(ze)&&(nt=ze,ze=""),ze=ze||"default",this.hideLoading(),!Gt[ze])return;var Ye=Gt[ze](this._api,nt),Xe=this._zr;this._loadingFX=Ye,Xe.add(Ye)},tt.hideLoading=function(){if(this._disposed){Ve(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},tt.makeActionFromEvent=function(ze){var nt=p.extend({},ze);return nt.type=ot[ze.type],nt},tt.dispatchAction=function(ze,nt){if(this._disposed){Ve(this.id);return}if(M(nt)||(nt={silent:!!nt}),!me[ze.type])return;if(!this._model)return;if(this[qe]){this._pendingActions.push(ze);return}_e.call(this,ze,nt.silent),nt.flush?this._zr.flush(!0):nt.flush!==!1&&b.browser.weChat&&this._throttledZrFlush(),De.call(this,nt.silent),Ie.call(this,nt.silent)};function _e(ze,nt){var Ye=ze.type,Xe=ze.escapeConnect,yt=me[Ye],mt=yt.actionInfo,We=(mt.update||"update").split(":"),rt=We.pop();We=We[0]!=null&&j(We[0]),this[qe]=!0;var ft=[ze],Yt=!1;ze.batch&&(Yt=!0,ft=p.map(ze.batch,function(Er){return Er=p.defaults(p.extend({},Er),ze),Er.batch=null,Er}));var Ft=[],fr,mr=Ye==="highlight"||Ye==="downplay";R(ft,function(Er){fr=yt.action(Er,this._model,this._api),fr=fr||p.extend({},Er),fr.type=mt.event||fr.type,Ft.push(fr),mr?Ge(this,rt,Er,"series"):We&&Ge(this,rt,Er,We.main,We.sub)},this),rt!=="none"&&!mr&&!We&&(this[xt]?(vt(this),ht.update.call(this,ze),this[xt]=!1):ht[rt].call(this,ze)),Yt?fr={type:mt.event||Ye,escapeConnect:Xe,batch:Ft}:fr=Ft[0],this[qe]=!1,!nt&&this._messageCenter.trigger(fr.type,fr)}function De(ze){for(var nt=this._pendingActions;nt.length;){var Ye=nt.shift();_e.call(this,Ye,ze)}}function Ie(ze){!ze&&this.trigger("updated")}function st(ze,nt){ze.on("rendered",function(){nt.trigger("rendered"),ze.animation.isFinished()&&!nt[xt]&&!nt._scheduler.unfinished&&!nt._pendingActions.length&&nt.trigger("finished")})}tt.appendData=function(ze){if(this._disposed){Ve(this.id);return}var nt=ze.seriesIndex,Ye=this.getModel(),Xe=Ye.getSeriesByIndex(nt);Xe.appendData(ze),this._scheduler.unfinished=!0},tt.on=Be("on",!1),tt.off=Be("off",!1),tt.one=Be("one",!1);function Et(ze,nt,Ye,Xe){for(var yt=nt==="component",mt=yt?ze._componentsViews:ze._chartsViews,We=yt?ze._componentsMap:ze._chartsMap,rt=ze._zr,ft=ze._api,Yt=0;Yt<mt.length;Yt++)mt[Yt].__alive=!1;yt?Ye.eachComponent(function(mr,Er){mr!=="series"&&Ft(Er)}):Ye.eachSeries(Ft);function Ft(mr){var Er="_ec_"+mr.id+"_"+mr.type,Lr=We[Er];if(!Lr){var en=j(mr.type),Qr=yt?o.getClass(en.main,en.sub):f.getClass(en.sub);Lr=new Qr,Lr.init(Ye,ft),We[Er]=Lr,mt.push(Lr),rt.add(Lr.group)}mr.__viewId=Lr.__id=Er,Lr.__alive=!0,Lr.__model=mr,Lr.group.__ecComponentInfo={mainType:mr.mainType,index:mr.componentIndex},!yt&&Xe.prepareView(Lr,mr,Ye,ft)}for(var Yt=0;Yt<mt.length;){var fr=mt[Yt];fr.__alive?Yt++:(!yt&&fr.renderTask.dispose(),rt.remove(fr.group),fr.dispose(Ye,ft),mt.splice(Yt,1),delete We[fr.__id],fr.__id=fr.group.__ecComponentInfo=null)}}function Mt(ze){ze.clearColorPalette(),ze.eachSeries(function(nt){nt.clearColorPalette()})}function Pt(ze,nt,Ye,Xe){ke(ze,nt,Ye,Xe),R(ze._chartsViews,function(yt){yt.__alive=!1}),zt(ze,nt,Ye,Xe),R(ze._chartsViews,function(yt){yt.__alive||yt.remove(nt,Ye)})}function ke(ze,nt,Ye,Xe,yt){R(yt||ze._componentsViews,function(mt){var We=mt.__model;mt.render(We,nt,Ye,Xe),dt(We,mt)})}function zt(ze,nt,Ye,Xe,yt){var mt=ze._scheduler,We;nt.eachSeries(function(rt){var ft=ze._chartsMap[rt.__viewId];ft.__alive=!0;var Yt=ft.renderTask;mt.updatePayload(Yt,Xe),yt&&yt.get(rt.uid)&&Yt.dirty(),We|=Yt.perform(mt.getPerformArgs(Yt)),ft.group.silent=!!rt.get("silent"),dt(rt,ft),et(rt,ft)}),mt.unfinished|=We,Qe(ze,nt),O(ze._zr.dom,nt)}function Ot(ze,nt){R(Rr,function(Ye){Ye(ze,nt)})}var _t=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];tt._initEvents=function(){R(_t,function(ze){var nt=function(Ye){var Xe=this.getModel(),yt=Ye.target,mt,We=ze==="globalout";if(We)mt={};else if(yt&&yt.dataIndex!=null){var rt=yt.dataModel||Xe.getSeriesByIndex(yt.seriesIndex);mt=rt&&rt.getDataParams(yt.dataIndex,yt.dataType,yt)||{}}else yt&&yt.eventData&&(mt=p.extend({},yt.eventData));if(mt){var ft=mt.componentType,Yt=mt.componentIndex;(ft==="markLine"||ft==="markPoint"||ft==="markArea")&&(ft="series",Yt=mt.seriesIndex);var Ft=ft&&Yt!=null&&Xe.getComponent(ft,Yt),fr=Ft&&this[Ft.mainType==="series"?"_chartsMap":"_componentsMap"][Ft.__viewId];mt.event=Ye,mt.type=ze,this._ecEventProcessor.eventInfo={targetEl:yt,packedEvent:mt,model:Ft,view:fr},this.trigger(ze,mt)}};nt.zrEventfulCallAtLast=!0,this._zr.on(ze,nt,this)},this),R(ot,function(ze,nt){this._messageCenter.on(nt,function(Ye){this.trigger(nt,Ye)},this)},this)},tt.isDisposed=function(){return this._disposed},tt.clear=function(){if(this._disposed){Ve(this.id);return}this.setOption({series:[]},!0)},tt.dispose=function(){if(this._disposed){Ve(this.id);return}this._disposed=!0,y.setAttribute(this.getDom(),ue,"");var ze=this._api,nt=this._model;R(this._componentsViews,function(Ye){Ye.dispose(nt,ze)}),R(this._chartsViews,function(Ye){Ye.dispose(nt,ze)}),this._zr.dispose(),delete Jt[this.id]},p.mixin(lt,i);function Ve(ze){}function Qe(ze,nt){var Ye=ze._zr,Xe=Ye.storage,yt=0;Xe.traverse(function(mt){yt++}),yt>nt.get("hoverLayerThreshold")&&!b.node&&nt.eachSeries(function(mt){if(mt.preventUsingHoverLayer)return;var We=ze._chartsMap[mt.__viewId];We.__alive&&We.group.traverse(function(rt){rt.useHoverLayer=!0})})}function et(ze,nt){var Ye=ze.get("blendMode")||null;nt.group.traverse(function(Xe){Xe.isGroup||Xe.style.blend!==Ye&&Xe.setStyle("blend",Ye),Xe.eachPendingDisplayable&&Xe.eachPendingDisplayable(function(yt){yt.setStyle("blend",Ye)})})}function dt(ze,nt){var Ye=ze.get("z"),Xe=ze.get("zlevel");nt.group.traverse(function(yt){yt.type!=="group"&&(Ye!=null&&(yt.z=Ye),Xe!=null&&(yt.zlevel=Xe))})}function Ze(ze){var nt=ze._coordSysMgr;return p.extend(new a(ze),{getCoordinateSystems:p.bind(nt.getCoordinateSystems,nt),getComponentByElement:function(Ye){for(;Ye;){var Xe=Ye.__ecComponentInfo;if(Xe!=null)return ze._model.getComponent(Xe.mainType,Xe.index);Ye=Ye.parent}}})}function oe(){this.eventInfo}oe.prototype={constructor:oe,normalizeQuery:function(ze){var nt={},Ye={},Xe={};if(p.isString(ze)){var yt=j(ze);nt.mainType=yt.main||null,nt.subType=yt.sub||null}else{var mt=["Index","Name","Id"],We={name:1,dataIndex:1,dataType:1};p.each(ze,function(rt,ft){for(var Yt=!1,Ft=0;Ft<mt.length;Ft++){var fr=mt[Ft],mr=ft.lastIndexOf(fr);if(mr>0&&mr===ft.length-fr.length){var Er=ft.slice(0,mr);Er!=="data"&&(nt.mainType=Er,nt[fr.toLowerCase()]=rt,Yt=!0)}}We.hasOwnProperty(ft)&&(Ye[ft]=rt,Yt=!0),Yt||(Xe[ft]=rt)})}return{cptQuery:nt,dataQuery:Ye,otherQuery:Xe}},filter:function(ze,nt,Ye){var Xe=this.eventInfo;if(!Xe)return!0;var yt=Xe.targetEl,mt=Xe.packedEvent,We=Xe.model,rt=Xe.view;if(!We||!rt)return!0;var ft=nt.cptQuery,Yt=nt.dataQuery;return Ft(ft,We,"mainType")&&Ft(ft,We,"subType")&&Ft(ft,We,"index","componentIndex")&&Ft(ft,We,"name")&&Ft(ft,We,"id")&&Ft(Yt,mt,"name")&&Ft(Yt,mt,"dataIndex")&&Ft(Yt,mt,"dataType")&&(!rt.filterForExposedEvent||rt.filterForExposedEvent(ze,nt.otherQuery,yt,mt));function Ft(fr,mr,Er,Lr){return fr[Er]==null||mr[Lr||Er]===fr[Er]}},afterTrigger:function(){this.eventInfo=null}};var me={},ot={},Pe=[],pt=[],Rr=[],It=[],nr={},Gt={},Jt={},hr={},Xt=new Date-0,de=new Date-0,ue="_echarts_instance_";function se(ze){var nt=0,Ye=1,Xe=2,yt="__connectUpdateStatus";function mt(We,rt){for(var ft=0;ft<We.length;ft++){var Yt=We[ft];Yt[yt]=rt}}R(ot,function(We,rt){ze._messageCenter.on(rt,function(ft){if(hr[ze.group]&&ze[yt]!==nt){if(ft&&ft.escapeConnect)return;var Yt=ze.makeActionFromEvent(ft),Ft=[];R(Jt,function(fr){fr!==ze&&fr.group===ze.group&&Ft.push(fr)}),mt(Ft,nt),R(Ft,function(fr){fr[yt]!==Ye&&fr.dispatchAction(Yt)}),mt(Ft,Xe)}})})}function ae(ze,nt,Ye){var Xe=xe(ze);if(Xe)return Xe;var yt=new lt(ze,nt,Ye);return yt.id="ec_"+Xt++,Jt[yt.id]=yt,y.setAttribute(ze,ue,yt.id),se(yt),yt}function ye(ze){if(p.isArray(ze)){var nt=ze;ze=null,R(nt,function(Ye){Ye.group!=null&&(ze=Ye.group)}),ze=ze||"g_"+de++,R(nt,function(Ye){Ye.group=ze})}return hr[ze]=!0,ze}function Ce(ze){hr[ze]=!1}var Oe=Ce;function Te(ze){typeof ze=="string"?ze=Jt[ze]:ze instanceof lt||(ze=xe(ze)),ze instanceof lt&&!ze.isDisposed()&&ze.dispose()}function xe(ze){return Jt[y.getAttribute(ze,ue)]}function je(ze){return Jt[ze]}function ut(ze,nt){nr[ze]=nt}function wt(ze){pt.push(ze)}function ee(ze,nt){Me(Pe,ze,nt,k)}function ie(ze){Rr.push(ze)}function z(ze,nt,Ye){typeof nt=="function"&&(Ye=nt,nt="");var Xe=M(ze)?ze.type:[ze,ze={event:nt}][0];ze.event=(ze.event||Xe).toLowerCase(),nt=ze.event,B(Fe.test(Xe)&&Fe.test(nt)),me[Xe]||(me[Xe]={action:Ye,actionInfo:ze}),ot[nt]=Xe}function $(ze,nt){s.register(ze,nt)}function le(ze){var nt=s.get(ze);if(nt)return nt.getDimensionsInfo?nt.getDimensionsInfo():nt.dimensions.slice()}function ge(ze,nt){Me(It,ze,nt,Q,"layout")}function Ae(ze,nt){Me(It,ze,nt,te,"visual")}function Me(ze,nt,Ye,Xe,yt){(U(nt)||M(nt))&&(Ye=nt,nt=Xe);var mt=w.wrapStageHandler(Ye,yt);return mt.__prio=nt,mt.__raw=Ye,ze.push(mt),mt}function $e(ze,nt){Gt[ze]=nt}function kt(ze){return t.extend(ze)}function $t(ze){return o.extend(ze)}function Lt(ze){return c.extend(ze)}function Ut(ze){return f.extend(ze)}function Wt(ze){p.$override("createCanvas",ze)}function Vt(ze,nt,Ye){D.registerMap(ze,nt,Ye)}function Tt(ze){var nt=D.retrieveMap(ze);return nt&&nt[0]&&{geoJson:nt[0].geoJSON,specialAreas:nt[0].specialAreas}}Ae(he,x),wt(n),ee(Y,u),$e("default",T),z({type:"highlight",event:"highlight",update:"highlight"},p.noop),z({type:"downplay",event:"downplay",update:"downplay"},p.noop),ut("light",C),ut("dark",N);var ur={};F.version=P,F.dependencies=K,F.PRIORITY=Ke,F.init=ae,F.connect=ye,F.disConnect=Ce,F.disconnect=Oe,F.dispose=Te,F.getInstanceByDom=xe,F.getInstanceById=je,F.registerTheme=ut,F.registerPreprocessor=wt,F.registerProcessor=ee,F.registerPostUpdate=ie,F.registerAction=z,F.registerCoordinateSystem=$,F.getCoordinateSystemDimensions=le,F.registerLayout=ge,F.registerVisual=Ae,F.registerLoading=$e,F.extendComponentModel=kt,F.extendComponentView=$t,F.extendSeriesModel=Lt,F.extendChartView=Ut,F.setCanvasCreator=Wt,F.registerMap=Vt,F.getMap=Tt,F.dataTool=ur;var qt=e("txkQ");(function(){for(var ze in qt)qt.hasOwnProperty(ze)&&(F[ze]=qt[ze])})()},"Pv/L":function(J,F,e){"use strict";e.d(F,"a",function(){return A});var d=e("+kx5"),E=e("Y9hK"),g=e("Qw5x"),p=e("u6e6");function A(b){return Object(d.a)(b)||Object(E.a)(b)||Object(g.a)(b)||Object(p.a)()}},Q7if:function(J,F,e){var d=e("JEkh"),E=d.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"}}}});J.exports=E},Q9mQ:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("UADf"),p=e.n(g)},"QB+1":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("Ywus"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},QBsz:function(J,F){var e=typeof Float32Array=="undefined"?Array:Float32Array;function d(w,C){var N=new e(2);return w==null&&(w=0),C==null&&(C=0),N[0]=w,N[1]=C,N}function E(w,C){return w[0]=C[0],w[1]=C[1],w}function g(w){var C=new e(2);return C[0]=w[0],C[1]=w[1],C}function p(w,C,N){return w[0]=C,w[1]=N,w}function A(w,C,N){return w[0]=C[0]+N[0],w[1]=C[1]+N[1],w}function b(w,C,N,D){return w[0]=C[0]+N[0]*D,w[1]=C[1]+N[1]*D,w}function h(w,C,N){return w[0]=C[0]-N[0],w[1]=C[1]-N[1],w}function i(w){return Math.sqrt(a(w))}var r=i;function a(w){return w[0]*w[0]+w[1]*w[1]}var s=a;function l(w,C,N){return w[0]=C[0]*N[0],w[1]=C[1]*N[1],w}function n(w,C,N){return w[0]=C[0]/N[0],w[1]=C[1]/N[1],w}function u(w,C){return w[0]*C[0]+w[1]*C[1]}function t(w,C,N){return w[0]=C[0]*N,w[1]=C[1]*N,w}function c(w,C){var N=i(C);return N===0?(w[0]=0,w[1]=0):(w[0]=C[0]/N,w[1]=C[1]/N),w}function o(w,C){return Math.sqrt((w[0]-C[0])*(w[0]-C[0])+(w[1]-C[1])*(w[1]-C[1]))}var f=o;function v(w,C){return(w[0]-C[0])*(w[0]-C[0])+(w[1]-C[1])*(w[1]-C[1])}var y=v;function L(w,C){return w[0]=-C[0],w[1]=-C[1],w}function S(w,C,N,D){return w[0]=C[0]+D*(N[0]-C[0]),w[1]=C[1]+D*(N[1]-C[1]),w}function x(w,C,N){var D=C[0],B=C[1];return w[0]=N[0]*D+N[2]*B+N[4],w[1]=N[1]*D+N[3]*B+N[5],w}function O(w,C,N){return w[0]=Math.min(C[0],N[0]),w[1]=Math.min(C[1],N[1]),w}function T(w,C,N){return w[0]=Math.max(C[0],N[0]),w[1]=Math.max(C[1],N[1]),w}F.create=d,F.copy=E,F.clone=g,F.set=p,F.add=A,F.scaleAndAdd=b,F.sub=h,F.len=i,F.length=r,F.lenSquare=a,F.lengthSquare=s,F.mul=l,F.div=n,F.dot=u,F.scale=t,F.normalize=c,F.distance=o,F.dist=f,F.distanceSquare=v,F.distSquare=y,F.negate=L,F.lerp=S,F.applyTransform=x,F.min=O,F.max=T},"QO+J":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.createSensor=void 0;var d=g(e("NohK")),E=e("24YM");function g(A){return A&&A.__esModule?A:{default:A}}var p=function(b){var h=void 0,i=[],r=function(){getComputedStyle(b).position==="static"&&(b.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",a),a()},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",E.SensorClassName),t.setAttribute("tabindex",E.SensorTabIndex),t.type="text/html",b.appendChild(t),t.data="about:blank",t},a=(0,d.default)(function(){i.forEach(function(u){u(b)})}),s=function(t){h||(h=r()),i.indexOf(t)===-1&&i.push(t)},l=function(){h&&h.parentNode&&(h.contentDocument&&h.contentDocument.defaultView.removeEventListener("resize",a),h.parentNode.removeChild(h),h=void 0,i=[])},n=function(t){var c=i.indexOf(t);c!==-1&&i.splice(c,1),i.length===0&&h&&l()};return{element:b,bind:s,destroy:l,unbind:n}};F.createSensor=p},"QQZ/":function(J,F,e){var d=e("Sq3C"),E=e("Z1HP"),g=e("Sxd8"),p=e("dt0z");function A(b,h,i){b=p(b),h=g(h);var r=h?E(b):0;return h&&r<h?d(h-r,i)+b:b}J.exports=A},QUw5:function(J,F,e){var d=e("OlYY"),E=d.extend({type:"dataZoom.select"});J.exports=E},QbM5:function(J,F,e){},Qe9p:function(J,F,e){var d=e("1RvN"),E={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 g(C){return C=Math.round(C),C<0?0:C>255?255:C}function p(C){return C=Math.round(C),C<0?0:C>360?360:C}function A(C){return C<0?0:C>1?1:C}function b(C){return C.length&&C.charAt(C.length-1)==="%"?g(parseFloat(C)/100*255):g(parseInt(C,10))}function h(C){return C.length&&C.charAt(C.length-1)==="%"?A(parseFloat(C)/100):A(parseFloat(C))}function i(C,N,D){return D<0?D+=1:D>1&&(D-=1),D*6<1?C+(N-C)*D*6:D*2<1?N:D*3<2?C+(N-C)*(2/3-D)*6:C}function r(C,N,D){return C+(N-C)*D}function a(C,N,D,B,R){return C[0]=N,C[1]=D,C[2]=B,C[3]=R,C}function s(C,N){return C[0]=N[0],C[1]=N[1],C[2]=N[2],C[3]=N[3],C}var l=new d(20),n=null;function u(C,N){n&&s(n,N),n=l.put(C,n||N.slice())}function t(C,N){if(!C)return;N=N||[];var D=l.get(C);if(D)return s(N,D);C=C+"";var B=C.replace(/ /g,"").toLowerCase();if(B in E)return s(N,E[B]),u(C,N),N;if(B.charAt(0)==="#"){if(B.length===4){var R=parseInt(B.substr(1),16);if(!(R>=0&&R<=4095)){a(N,0,0,0,1);return}return a(N,(R&3840)>>4|(R&3840)>>8,R&240|(R&240)>>4,R&15|(R&15)<<4,1),u(C,N),N}else if(B.length===7){var R=parseInt(B.substr(1),16);if(!(R>=0&&R<=16777215)){a(N,0,0,0,1);return}return a(N,(R&16711680)>>16,(R&65280)>>8,R&255,1),u(C,N),N}return}var U=B.indexOf("("),M=B.indexOf(")");if(U!==-1&&M+1===B.length){var j=B.substr(0,U),P=B.substr(U+1,M-(U+1)).split(","),K=1;switch(j){case"rgba":if(P.length!==4){a(N,0,0,0,1);return}K=h(P.pop());case"rgb":if(P.length!==3){a(N,0,0,0,1);return}return a(N,b(P[0]),b(P[1]),b(P[2]),K),u(C,N),N;case"hsla":if(P.length!==4){a(N,0,0,0,1);return}return P[3]=h(P[3]),c(P,N),u(C,N),N;case"hsl":if(P.length!==3){a(N,0,0,0,1);return}return c(P,N),u(C,N),N;default:return}}a(N,0,0,0,1);return}function c(C,N){var D=(parseFloat(C[0])%360+360)%360/360,B=h(C[1]),R=h(C[2]),U=R<=.5?R*(B+1):R+B-R*B,M=R*2-U;return N=N||[],a(N,g(i(M,U,D+1/3)*255),g(i(M,U,D)*255),g(i(M,U,D-1/3)*255),1),C.length===4&&(N[3]=C[3]),N}function o(C){if(!C)return;var N=C[0]/255,D=C[1]/255,B=C[2]/255,R=Math.min(N,D,B),U=Math.max(N,D,B),M=U-R,j=(U+R)/2,P,K;if(M===0)P=0,K=0;else{j<.5?K=M/(U+R):K=M/(2-U-R);var H=((U-N)/6+M/2)/M,k=((U-D)/6+M/2)/M,Z=((U-B)/6+M/2)/M;N===U?P=Z-k:D===U?P=1/3+H-Z:B===U&&(P=2/3+k-H),P<0&&(P+=1),P>1&&(P-=1)}var Y=[P*360,K,j];return C[3]!=null&&Y.push(C[3]),Y}function f(C,N){var D=t(C);if(D){for(var B=0;B<3;B++)N<0?D[B]=D[B]*(1-N)|0:D[B]=(255-D[B])*N+D[B]|0,D[B]>255?D[B]=255:C[B]<0&&(D[B]=0);return w(D,D.length===4?"rgba":"rgb")}}function v(C){var N=t(C);if(N)return((1<<24)+(N[0]<<16)+(N[1]<<8)+ +N[2]).toString(16).slice(1)}function y(C,N,D){if(!(N&&N.length)||!(C>=0&&C<=1))return;D=D||[];var B=C*(N.length-1),R=Math.floor(B),U=Math.ceil(B),M=N[R],j=N[U],P=B-R;return D[0]=g(r(M[0],j[0],P)),D[1]=g(r(M[1],j[1],P)),D[2]=g(r(M[2],j[2],P)),D[3]=A(r(M[3],j[3],P)),D}var L=y;function S(C,N,D){if(!(N&&N.length)||!(C>=0&&C<=1))return;var B=C*(N.length-1),R=Math.floor(B),U=Math.ceil(B),M=t(N[R]),j=t(N[U]),P=B-R,K=w([g(r(M[0],j[0],P)),g(r(M[1],j[1],P)),g(r(M[2],j[2],P)),A(r(M[3],j[3],P))],"rgba");return D?{color:K,leftIndex:R,rightIndex:U,value:B}:K}var x=S;function O(C,N,D,B){if(C=t(C),C)return C=o(C),N!=null&&(C[0]=p(N)),D!=null&&(C[1]=h(D)),B!=null&&(C[2]=h(B)),w(c(C),"rgba")}function T(C,N){if(C=t(C),C&&N!=null)return C[3]=A(N),w(C,"rgba")}function w(C,N){if(!C||!C.length)return;var D=C[0]+","+C[1]+","+C[2];return(N==="rgba"||N==="hsva"||N==="hsla")&&(D+=","+C[3]),N+"("+D+")"}F.parse=t,F.lift=f,F.toHex=v,F.fastLerp=y,F.fastMapToColor=L,F.lerp=S,F.mapToColor=x,F.modifyHSL=O,F.modifyAlpha=T,F.stringify=w},Qi1f:function(J,F,e){"use strict";e.d(F,"g",function(){return a}),e.d(F,"c",function(){return s}),e.d(F,"a",function(){return n}),e.d(F,"b",function(){return u}),e.d(F,"d",function(){return t}),e.d(F,"e",function(){return c}),e.d(F,"f",function(){return v});var d=e("VTBJ"),E=e("U8pU"),g=e("HXN9"),p=e.n(g),A=e("q1tI"),b=e.n(A),h=e("Kwbf"),i=e("Gu+u"),r=e.n(i);function a(y,L){Object(h.a)(y,"[@ant-design/icons] ".concat(L))}function s(y){return Object(E.a)(y)==="object"&&typeof y.name=="string"&&typeof y.theme=="string"&&(Object(E.a)(y.icon)==="object"||typeof y.icon=="function")}function l(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(y).reduce(function(L,S){var x=y[S];switch(S){case"class":L.className=x,delete L.class;break;default:L[S]=x}return L},{})}function n(y,L,S){return S?b.a.createElement(y.tag,Object(d.a)(Object(d.a)({key:L},l(y.attrs)),S),(y.children||[]).map(function(x,O){return n(x,"".concat(L,"-").concat(y.tag,"-").concat(O))})):b.a.createElement(y.tag,Object(d.a)({key:L},l(y.attrs)),(y.children||[]).map(function(x,O){return n(x,"".concat(L,"-").concat(y.tag,"-").concat(O))}))}function u(y){return Object(g.generate)(y)[0]}function t(y){return y?Array.isArray(y)?y:[y]:[]}var c={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},o=`
|
|
|
.anticon {
|
|
|
display: inline-block;
|
|
|
color: inherit;
|
|
|
font-style: normal;
|
|
|
line-height: 0;
|
|
|
text-align: center;
|
|
|
text-transform: none;
|
|
|
vertical-align: -0.125em;
|
|
|
text-rendering: optimizeLegibility;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
|
|
|
.anticon > * {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.anticon svg {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.anticon::before {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.anticon .anticon-icon {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.anticon[tabindex] {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.anticon-spin::before,
|
|
|
.anticon-spin {
|
|
|
display: inline-block;
|
|
|
-webkit-animation: loadingCircle 1s infinite linear;
|
|
|
animation: loadingCircle 1s infinite linear;
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
`,f=!1,v=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o;Object(A.useEffect)(function(){f||(Object(i.insertCss)(L,{prepend:!0}),f=!0)},[])}},QkVE:function(J,F,e){var d=e("EpBk");function E(g,p){var A=g.__data__;return d(p)?A[typeof p=="string"?"string":"hash"]:A.map}J.exports=E},QoRX:function(J,F){function e(d,E){for(var g=-1,p=d==null?0:d.length;++g<p;)if(E(d[g],g,d))return!0;return!1}J.exports=e},QqLw:function(J,F,e){var d=e("tadb"),E=e("ebwN"),g=e("HOxn"),p=e("yGk4"),A=e("Of+w"),b=e("NykK"),h=e("3Fdi"),i="[object Map]",r="[object Object]",a="[object Promise]",s="[object Set]",l="[object WeakMap]",n="[object DataView]",u=h(d),t=h(E),c=h(g),o=h(p),f=h(A),v=b;(d&&v(new d(new ArrayBuffer(1)))!=n||E&&v(new E)!=i||g&&v(g.resolve())!=a||p&&v(new p)!=s||A&&v(new A)!=l)&&(v=function(y){var L=b(y),S=L==r?y.constructor:void 0,x=S?h(S):"";if(x)switch(x){case u:return n;case t:return i;case c:return a;case o:return s;case f:return l}return L}),J.exports=v},Qs3X:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("X+im"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},Qs9O:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},QuXc:function(J,F){var e=function(g){this.colorStops=g||[]};e.prototype={constructor:e,addColorStop:function(g,p){this.colorStops.push({offset:g,color:p})}};var d=e;J.exports=d},Qvb6:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("ItGF"),p=e("B9fm"),A=e("gvm7"),b=e("7aKB"),h=e("OELB"),i=e("IwbS"),r=e("Ez2D"),a=e("+TT/"),s=e("Qxkt"),l=e("F9bG"),n=e("aX7z"),u=e("/y7N"),t=e("4NO4"),c=t.getTooltipRenderMode,o=E.bind,f=E.each,v=h.parsePercent,y=new i.Rect({shape:{x:-1,y:-1,width:2,height:2}}),L=d.extendComponentView({type:"tooltip",init:function(N,D){if(g.node)return;var B=N.getComponent("tooltip"),R=B.get("renderMode");this._renderMode=c(R);var U;this._renderMode==="html"?(U=new p(D.getDom(),D,{appendToBody:B.get("appendToBody",!0)}),this._newLine="<br/>"):(U=new A(D),this._newLine=`
|
|
|
`),this._tooltipContent=U},render:function(N,D,B){if(g.node)return;this.group.removeAll(),this._tooltipModel=N,this._ecModel=D,this._api=B,this._lastDataByCoordSys=null,this._alwaysShowContent=N.get("alwaysShowContent");var R=this._tooltipContent;R.update(),R.setEnterable(N.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var N=this._tooltipModel,D=N.get("triggerOn");l.register("itemTooltip",this._api,o(function(B,R,U){D!=="none"&&(D.indexOf(B)>=0?this._tryShow(R,U):B==="leave"&&this._hide(U))},this))},_keepShow:function(){var N=this._tooltipModel,D=this._ecModel,B=this._api;if(this._lastX!=null&&this._lastY!=null&&N.get("triggerOn")!=="none"){var R=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!B.isDisposed()&&R.manuallyShowTip(N,D,B,{x:R._lastX,y:R._lastY})})}},manuallyShowTip:function(N,D,B,R){if(R.from===this.uid||g.node)return;var U=x(R,B);this._ticket="";var M=R.dataByCoordSys;if(R.tooltip&&R.x!=null&&R.y!=null){var j=y;j.position=[R.x,R.y],j.update(),j.tooltip=R.tooltip,this._tryShow({offsetX:R.x,offsetY:R.y,target:j},U)}else if(M)this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,dataByCoordSys:R.dataByCoordSys,tooltipOption:R.tooltipOption},U);else if(R.seriesIndex!=null){if(this._manuallyAxisShowTip(N,D,B,R))return;var P=r(R,D),K=P.point[0],H=P.point[1];K!=null&&H!=null&&this._tryShow({offsetX:K,offsetY:H,position:R.position,target:P.el},U)}else R.x!=null&&R.y!=null&&(B.dispatchAction({type:"updateAxisPointer",x:R.x,y:R.y}),this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,target:B.getZr().findHover(R.x,R.y).target},U))},manuallyHideTip:function(N,D,B,R){var U=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&U.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,R.from!==this.uid&&this._hide(x(R,B))},_manuallyAxisShowTip:function(N,D,B,R){var U=R.seriesIndex,M=R.dataIndex,j=D.getComponent("axisPointer").coordSysAxesInfo;if(U==null||M==null||j==null)return;var P=D.getSeriesByIndex(U);if(!P)return;var K=P.getData(),N=S([K.getItemModel(M),P,(P.coordinateSystem||{}).model,N]);return N.get("trigger")!=="axis"?void 0:(B.dispatchAction({type:"updateAxisPointer",seriesIndex:U,dataIndex:M,position:R.position}),!0)},_tryShow:function(N,D){var B=N.target,R=this._tooltipModel;if(!R)return;this._lastX=N.offsetX,this._lastY=N.offsetY;var U=N.dataByCoordSys;U&&U.length?this._showAxisTooltip(U,N):B&&B.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(N,B,D)):B&&B.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(N,B,D)):(this._lastDataByCoordSys=null,this._hide(D))},_showOrMove:function(N,D){var B=N.get("showDelay");D=E.bind(D,this),clearTimeout(this._showTimout),B>0?this._showTimout=setTimeout(D,B):D()},_showAxisTooltip:function(N,D){var B=this._ecModel,R=this._tooltipModel,U=[D.offsetX,D.offsetY],M=[],j=[],P=S([D.tooltipOption,R]),K=this._renderMode,H=this._newLine,k={};f(N,function(Y){f(Y.dataByAxis,function(_){var Q=B.getComponent(_.axisDim+"Axis",_.axisIndex),X=_.value,he=[];if(!Q||X==null)return;var te=u.getValueLabel(X,Q.axis,B,_.seriesDataIndices,_.valueLabelOpt);E.each(_.seriesDataIndices,function(be){var we=B.getSeriesByIndex(be.seriesIndex),Ke=be.dataIndexInside,qe=we&&we.getDataParams(Ke);if(qe.axisDim=_.axisDim,qe.axisIndex=_.axisIndex,qe.axisType=_.axisType,qe.axisId=_.axisId,qe.axisValue=n.getAxisRawValue(Q.axis,X),qe.axisValueLabel=te,qe){j.push(qe);var xt=we.formatTooltip(Ke,!0,null,K),Fe;if(E.isObject(xt)){Fe=xt.html;var Be=xt.markers;E.merge(k,Be)}else Fe=xt;he.push(Fe)}});var fe=te;K!=="html"?M.push(he.join(H)):M.push((fe?b.encodeHTML(fe)+H:"")+he.join(H))})},this),M.reverse(),M=M.join(this._newLine+this._newLine);var Z=D.position;this._showOrMove(P,function(){this._updateContentNotChangedOnAxis(N)?this._updatePosition(P,Z,U[0],U[1],this._tooltipContent,j):this._showTooltipContent(P,M,j,Math.random(),U[0],U[1],Z,void 0,k)})},_showSeriesItemTooltip:function(N,D,B){var R=this._ecModel,U=D.seriesIndex,M=R.getSeriesByIndex(U),j=D.dataModel||M,P=D.dataIndex,K=D.dataType,H=j.getData(K),k=S([H.getItemModel(P),j,M&&(M.coordinateSystem||{}).model,this._tooltipModel]),Z=k.get("trigger");if(Z!=null&&Z!=="item")return;var Y=j.getDataParams(P,K),_=j.formatTooltip(P,!1,K,this._renderMode),Q,X;E.isObject(_)?(Q=_.html,X=_.markers):(Q=_,X=null);var he="item_"+j.name+"_"+P;this._showOrMove(k,function(){this._showTooltipContent(k,Q,Y,he,N.offsetX,N.offsetY,N.position,N.target,X)}),B({type:"showTip",dataIndexInside:P,dataIndex:H.getRawIndex(P),seriesIndex:U,from:this.uid})},_showComponentItemTooltip:function(N,D,B){var R=D.tooltip;if(typeof R=="string"){var U=R;R={content:U,formatter:U}}var M=new s(R,this._tooltipModel,this._ecModel),j=M.get("content"),P=Math.random();this._showOrMove(M,function(){this._showTooltipContent(M,j,M.get("formatterParams")||{},P,N.offsetX,N.offsetY,N.position,D)}),B({type:"showTip",from:this.uid})},_showTooltipContent:function(N,D,B,R,U,M,j,P,K){if(this._ticket="",!N.get("showContent")||!N.get("show"))return;var H=this._tooltipContent,k=N.get("formatter");j=j||N.get("position");var Z=D;if(k&&typeof k=="string")Z=b.formatTpl(k,B,!0);else if(typeof k=="function"){var Y=o(function(_,Q){_===this._ticket&&(H.setContent(Q,K,N),this._updatePosition(N,j,U,M,H,B,P))},this);this._ticket=R,Z=k(B,R,Y)}H.setContent(Z,K,N),H.show(N),this._updatePosition(N,j,U,M,H,B,P)},_updatePosition:function(N,D,B,R,U,M,j){var P=this._api.getWidth(),K=this._api.getHeight();D=D||N.get("position");var H=U.getSize(),k=N.get("align"),Z=N.get("verticalAlign"),Y=j&&j.getBoundingRect().clone();if(j&&Y.applyTransform(j.transform),typeof D=="function"&&(D=D([B,R],M,U.el,Y,{viewSize:[P,K],contentSize:H.slice()})),E.isArray(D))B=v(D[0],P),R=v(D[1],K);else if(E.isObject(D)){D.width=H[0],D.height=H[1];var _=a.getLayoutRect(D,{width:P,height:K});B=_.x,R=_.y,k=null,Z=null}else if(typeof D=="string"&&j){var Q=w(D,Y,H);B=Q[0],R=Q[1]}else{var Q=O(B,R,U,P,K,k?null:20,Z?null:20);B=Q[0],R=Q[1]}if(k&&(B-=C(k)?H[0]/2:k==="right"?H[0]:0),Z&&(R-=C(Z)?H[1]/2:Z==="bottom"?H[1]:0),N.get("confine")){var Q=T(B,R,U,P,K);B=Q[0],R=Q[1]}U.moveTo(B,R)},_updateContentNotChangedOnAxis:function(N){var D=this._lastDataByCoordSys,B=!!D&&D.length===N.length;return B&&f(D,function(R,U){var M=R.dataByAxis||{},j=N[U]||{},P=j.dataByAxis||[];B&=M.length===P.length,B&&f(M,function(K,H){var k=P[H]||{},Z=K.seriesDataIndices||[],Y=k.seriesDataIndices||[];B&=K.value===k.value&&K.axisType===k.axisType&&K.axisId===k.axisId&&Z.length===Y.length,B&&f(Z,function(_,Q){var X=Y[Q];B&=_.seriesIndex===X.seriesIndex&&_.dataIndex===X.dataIndex})})}),this._lastDataByCoordSys=N,!!B},_hide:function(N){this._lastDataByCoordSys=null,N({type:"hideTip",from:this.uid})},dispose:function(N,D){if(g.node)return;this._tooltipContent.dispose(),l.unregister("itemTooltip",D)}});function S(N){for(var D=N.pop();N.length;){var B=N.pop();B&&(s.isInstance(B)&&(B=B.get("tooltip",!0)),typeof B=="string"&&(B={formatter:B}),D=new s(B,D,D.ecModel))}return D}function x(N,D){return N.dispatchAction||E.bind(D.dispatchAction,D)}function O(N,D,B,R,U,M,j){var P=B.getOuterSize(),K=P.width,H=P.height;return M!=null&&(N+K+M>R?N-=K+M:N+=M),j!=null&&(D+H+j>U?D-=H+j:D+=j),[N,D]}function T(N,D,B,R,U){var M=B.getOuterSize(),j=M.width,P=M.height;return N=Math.min(N+j,R)-j,D=Math.min(D+P,U)-P,N=Math.max(N,0),D=Math.max(D,0),[N,D]}function w(N,D,B){var R=B[0],U=B[1],M=5,j=0,P=0,K=D.width,H=D.height;switch(N){case"inside":j=D.x+K/2-R/2,P=D.y+H/2-U/2;break;case"top":j=D.x+K/2-R/2,P=D.y-U-M;break;case"bottom":j=D.x+K/2-R/2,P=D.y+H+M;break;case"left":j=D.x-R-M,P=D.y+H/2-U/2;break;case"right":j=D.x+K+M,P=D.y+H/2-U/2}return[j,P]}function C(N){return N==="center"||N==="middle"}J.exports=L},Qxkt:function(J,F,e){var d=e("bYtY"),E=e("ItGF"),g=e("4NO4"),p=g.makeInner,A=e("Yl7c"),b=A.enableClassExtend,h=A.enableClassCheck,i=e("OQFs"),r=e("m9t5"),a=e("/iHx"),s=e("VR9l"),l=d.mixin,n=p();function u(f,v,y){this.parentModel=v,this.ecModel=y,this.option=f}u.prototype={constructor:u,init:null,mergeOption:function(f){d.merge(this.option,f,!0)},get:function(f,v){return f==null?this.option:t(this.option,this.parsePath(f),!v&&c(this,f))},getShallow:function(f,v){var y=this.option,L=y==null?y:y[f],S=!v&&c(this,f);return L==null&&S&&(L=S.getShallow(f)),L},getModel:function(f,v){var y=f==null?this.option:t(this.option,f=this.parsePath(f)),L;return v=v||(L=c(this,f))&&L.getModel(f),new u(y,v,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var f=this.constructor;return new f(d.clone(this.option))},setReadOnly:function(f){},parsePath:function(f){return typeof f=="string"&&(f=f.split(".")),f},customizeGetParent:function(f){n(this).getParent=f},isAnimationEnabled:function(){if(!E.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(f,v,y){for(var L=0;L<v.length;L++){if(!v[L])continue;if(f=f&&typeof f=="object"?f[v[L]]:null,f==null)break}return f==null&&y&&(f=y.get(v)),f}function c(f,v){var y=n(f).getParent;return y?y.call(f,v):f.parentModel}b(u),h(u),l(u,i),l(u,r),l(u,a),l(u,s);var o=u;J.exports=o},QyFq:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},QzjZ:function(J,F,e){var d=e("S/Yl"),E=e("IDmD");function g(p,A){var b=[];return p.eachComponent("singleAxis",function(h,i){var r=new d(h,p,A);r.name="single_"+i,r.resize(h,A),h.coordinateSystem=r,b.push(r)}),p.eachSeries(function(h){if(h.get("coordinateSystem")==="singleAxis"){var i=p.queryComponents({mainType:"singleAxis",index:h.get("singleAxisIndex"),id:h.get("singleAxisId")})[0];h.coordinateSystem=i&&i.coordinateSystem}}),b}E.register("single",{create:g,dimensions:d.prototype.dimensions})},R4Th:function(J,F,e){var d=e("ProS"),E=e("9wZj"),g=e("yO87"),p=e("Fofx"),A=e("h8O9"),b=d.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new E(g)},render:function(h,i,r){var a=h.getData(),s=this._symbolDraw;s.updateData(a),this.group.add(s.group)},updateTransform:function(h,i,r){var a=h.getData();this.group.dirty();var s=A().reset(h);s.progress&&s.progress({start:0,end:a.count()},a),this._symbolDraw.updateLayout(a)},_updateGroupTransform:function(h){var i=h.coordinateSystem;i&&i.getRoamTransform&&(this.group.transform=p.clone(i.getRoamTransform()),this.group.decomposeTransform())},remove:function(h,i){this._symbolDraw&&this._symbolDraw.remove(i)},dispose:function(){}});J.exports=b},R9oj:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("pwpV"),p=e.n(g)},RBEP:function(J,F,e){for(var d=e("ProS"),E=e("VaxA"),g=function(){},p=["treemapZoomToNode","treemapRender","treemapMove"],A=0;A<p.length;A++)d.registerAction({type:p[A],update:"updateView"},g);d.registerAction({type:"treemapRootToNode",update:"updateView"},function(b,h){h.eachComponent({mainType:"series",subType:"treemap",query:b},i);function i(r,a){var s=["treemapZoomToNode","treemapRootToNode"],l=E.retrieveTargetInfo(b,s,r);if(l){var n=r.getViewRoot();n&&(b.direction=E.aboveViewRoot(n,l.node)?"rollUp":"drillDown"),r.resetViewRoot(l.node)}}})},RCxd:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="ExclamationCircleOutlined";var b=F.a=d.forwardRef(A)},RDYZ:function(J,F,e){var d=e("dMvE");function E(p){this._target=p.target,this._life=p.life||1e3,this._delay=p.delay||0,this._initialized=!1,this.loop=p.loop==null?!1:p.loop,this.gap=p.gap||0,this.easing=p.easing||"Linear",this.onframe=p.onframe,this.ondestroy=p.ondestroy,this.onrestart=p.onrestart,this._pausedTime=0,this._paused=!1}E.prototype={constructor:E,step:function(A,b){if(this._initialized||(this._startTime=A+this._delay,this._initialized=!0),this._paused){this._pausedTime+=b;return}var h=(A-this._startTime-this._pausedTime)/this._life;if(h<0)return;h=Math.min(h,1);var i=this.easing,r=typeof i=="string"?d[i]:i,a=typeof r=="function"?r(h):h;return this.fire("frame",a),h===1?this.loop?(this.restart(A),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(A){var b=(A-this._startTime-this._pausedTime)%this._life;this._startTime=A-b+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(A,b){A="on"+A,this[A]&&this[A](this._target,b)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var g=E;J.exports=g},RELg:function(J,F,e){var d=e("MFOe"),E=d.Global;J.exports={name:"oldIE-userDataStorage",write:h,read:i,each:r,remove:a,clearAll:s};var g="storejs",p=E.document,A=u(),b=(E.navigator?E.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function h(t,c){if(b)return;var o=n(t);A(function(f){f.setAttribute(o,c),f.save(g)})}function i(t){if(b)return;var c=n(t),o=null;return A(function(f){o=f.getAttribute(c)}),o}function r(t){A(function(c){for(var o=c.XMLDocument.documentElement.attributes,f=o.length-1;f>=0;f--){var v=o[f];t(c.getAttribute(v.name),v.name)}})}function a(t){var c=n(t);A(function(o){o.removeAttribute(c),o.save(g)})}function s(){A(function(t){var c=t.XMLDocument.documentElement.attributes;t.load(g);for(var o=c.length-1;o>=0;o--)t.removeAttribute(c[o].name);t.save(g)})}var l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(t){return t.replace(/^\d/,"___$&").replace(l,"___")}function u(){if(!p||!p.documentElement||!p.documentElement.addBehavior)return null;var t="script",c,o,f;try{o=new ActiveXObject("htmlfile"),o.open(),o.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),o.close(),c=o.w.frames[0].document,f=c.createElement("div")}catch(v){f=p.createElement("div"),c=p.body}return function(v){var y=[].slice.call(arguments,0);y.unshift(f),c.appendChild(f),f.addBehavior("#default#userData"),f.load(g),v.apply(this,y),c.removeChild(f);return}}},RPvy:function(J,F,e){var d=e("ProS"),E=e("VaxA"),g="sunburstRootToNode";d.registerAction({type:g,update:"updateView"},function(b,h){h.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,a){var s=E.retrieveTargetInfo(b,[g],r);if(s){var l=r.getViewRoot();l&&(b.direction=E.aboveViewRoot(l,s.node)?"rollUp":"drillDown"),r.resetViewRoot(s.node)}}});var p="sunburstHighlight";d.registerAction({type:p,update:"updateView"},function(b,h){h.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,a){var s=E.retrieveTargetInfo(b,[p],r);s&&(b.highlight=s.node)}});var A="sunburstUnhighlight";d.registerAction({type:A,update:"updateView"},function(b,h){h.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,a){b.unhighlight=!0}})},RSch:function(J,F,e){var d=e("IwbS"),E=e("bYtY");function g(b,h,i){d.Group.call(this),this._createPolyline(b,h,i)}var p=g.prototype;p._createPolyline=function(b,h,i){var r=b.getItemLayout(h),a=new d.Polyline({shape:{points:r}});this.add(a),this._updateCommonStl(b,h,i)},p.updateData=function(b,h,i){var r=b.hostModel,a=this.childAt(0),s={shape:{points:b.getItemLayout(h)}};d.updateProps(a,s,r,h),this._updateCommonStl(b,h,i)},p._updateCommonStl=function(b,h,i){var r=this.childAt(0),a=b.getItemModel(h),s=b.getItemVisual(h,"color"),l=i&&i.lineStyle,n=i&&i.hoverLineStyle;(!i||b.hasItemOption)&&(l=a.getModel("lineStyle").getLineStyle(),n=a.getModel("emphasis.lineStyle").getLineStyle()),r.useStyle(E.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),r.hoverStyle=n,d.setHoverStyle(this)},p.updateLayout=function(b,h){var i=this.childAt(0);i.setShape("points",b.getItemLayout(h))},E.inherits(g,d.Group);var A=g;J.exports=A},RXMa:function(J,F,e){var d=e("y+Vt"),E=d.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(p,A){var b=A.cx,h=A.cy,i=Math.PI*2;p.moveTo(b+A.r,h),p.arc(b,h,A.r,0,i,!1),p.moveTo(b+A.r0,h),p.arc(b,h,A.r0,0,i,!0)}});J.exports=E},RZPm:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("JgUQ")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FileOutlined";var h=g.forwardRef(b);F.default=h},RlCK:function(J,F,e){var d=e("ProS"),E=e("bYtY");function g(p,A,b){var h={},i=p==="toggleSelected",r;return b.eachComponent("legend",function(a){i&&r!=null?a[r?"select":"unSelect"](A.name):p==="allSelect"||p==="inverseSelect"?a[p]():(a[p](A.name),r=a.isSelected(A.name));var s=a.getData();E.each(s,function(l){var n=l.get("name");if(n===`
|
|
|
`||n==="")return;var u=a.isSelected(n);h.hasOwnProperty(n)?h[n]=h[n]&&u:h[n]=u})}),p==="allSelect"||p==="inverseSelect"?{selected:h}:{name:A.name,selected:h}}d.registerAction("legendToggleSelect","legendselectchanged",E.curry(g,"toggleSelected")),d.registerAction("legendAllSelect","legendselectall",E.curry(g,"allSelect")),d.registerAction("legendInverseSelect","legendinverseselect",E.curry(g,"inverseSelect")),d.registerAction("legendSelect","legendselected",E.curry(g,"select")),d.registerAction("legendUnSelect","legendunselected",E.curry(g,"unSelect"))},RotF:function(J,F,e){J.exports=e("LSTS")},Rx6q:function(J,F){function e(d){var E=d.getRect(),g=d.getRangeInfo();return{coordSys:{type:"calendar",x:E.x,y:E.y,width:E.width,height:E.height,cellWidth:d.getCellWidth(),cellHeight:d.getCellHeight(),rangeInfo:{start:g.start,end:g.end,weeks:g.weeks,dayCount:g.allDay}},api:{coord:function(p,A){return d.dataToPoint(p,A)}}}}J.exports=e},"S/Yl":function(J,F,e){var d=e("Zvw2"),E=e("aX7z"),g=e("+TT/"),p=g.getLayoutRect,A=e("bYtY"),b=A.each;function h(r,a,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(r,a,s),this.model=r}h.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:h,_init:function(r,a,s){var l=this.dimension,n=new d(l,E.createScaleByModel(r),[0,0],r.get("type"),r.get("position")),u=n.type==="category";n.onBand=u&&r.get("boundaryGap"),n.inverse=r.get("inverse"),n.orient=r.get("orient"),r.axis=n,n.model=r,n.coordinateSystem=this,this._axis=n},update:function(r,a){r.eachSeries(function(s){if(s.coordinateSystem===this){var l=s.getData();b(l.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(l,n)},this),E.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(r,a){this._rect=p({left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")},{width:a.getWidth(),height:a.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var r=this._rect,a=this._axis,s=a.isHorizontal(),l=s?[0,r.width]:[0,r.height],n=a.reverse?1:0;a.setExtent(l[n],l[1-n]),this._updateAxisTransform(a,s?r.x:r.y)},_updateAxisTransform:function(r,a){var s=r.getExtent(),l=s[0]+s[1],n=r.isHorizontal();r.toGlobalCoord=n?function(u){return u+a}:function(u){return l-u+a},r.toLocalCoord=n?function(u){return u-a}:function(u){return l-u+a}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(r){var a=this.getRect(),s=this.getAxis(),l=s.orient;return l==="horizontal"?s.contain(s.toLocalCoord(r[0]))&&r[1]>=a.y&&r[1]<=a.y+a.height:s.contain(s.toLocalCoord(r[1]))&&r[0]>=a.y&&r[0]<=a.y+a.height},pointToData:function(r){var a=this.getAxis();return[a.coordToData(a.toLocalCoord(r[a.orient==="horizontal"?0:1]))]},dataToPoint:function(r){var a=this.getAxis(),s=this.getRect(),l=[],n=a.orient==="horizontal"?0:1;return r instanceof Array&&(r=r[0]),l[n]=a.toGlobalCoord(a.dataToCoord(+r)),l[1-n]=n===0?s.y+s.height/2:s.x+s.width/2,l}};var i=h;J.exports=i},"SA+Z":function(J,F,e){var d=e("wTVA"),E=e("EbDI"),g=e("ZhPi"),p=e("wkBT");function A(b){return d(b)||E(b)||g(b)||p()}J.exports=A},"SA4+":function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("IwbS"),A=e("zYTA"),b=e("bYtY");function h(s,l,n){var u=s[1]-s[0];l=b.map(l,function(o){return{interval:[(o.interval[0]-s[0])/u,(o.interval[1]-s[0])/u]}});var t=l.length,c=0;return function(o){for(var f=c;f<t;f++){var v=l[f].interval;if(v[0]<=o&&o<=v[1]){c=f;break}}if(f===t)for(var f=c-1;f>=0;f--){var v=l[f].interval;if(v[0]<=o&&o<=v[1]){c=f;break}}return f>=0&&f<t&&n[f]}}function i(s,l){var n=s[1]-s[0];return l=[(l[0]-s[0])/n,(l[1]-s[0])/n],function(u){return u>=l[0]&&u<=l[1]}}function r(s){var l=s.dimensions;return l[0]==="lng"&&l[1]==="lat"}var a=g.extendChartView({type:"heatmap",render:function(s,l,n){var u;l.eachComponent("visualMap",function(c){c.eachTargetSeries(function(o){o===s&&(u=c)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=s.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(s,n,0,s.getData().count()):r(t)&&this._renderOnGeo(t,s,u,n)},incrementalPrepareRender:function(s,l,n){this.group.removeAll()},incrementalRender:function(s,l,n,u){var t=l.coordinateSystem;t&&this._renderOnCartesianAndCalendar(l,u,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,l,n,u,t){var c=s.coordinateSystem,o,f;if(c.type==="cartesian2d"){var v=c.getAxis("x"),y=c.getAxis("y");o=v.getBandWidth(),f=y.getBandWidth()}for(var L=this.group,S=s.getData(),x="itemStyle",O="emphasis.itemStyle",T="label",w="emphasis.label",C=s.getModel(x).getItemStyle(["color"]),N=s.getModel(O).getItemStyle(),D=s.getModel(T),B=s.getModel(w),R=c.type,U=R==="cartesian2d"?[S.mapDimension("x"),S.mapDimension("y"),S.mapDimension("value")]:[S.mapDimension("time"),S.mapDimension("value")],M=n;M<u;M++){var j;if(R==="cartesian2d"){if(isNaN(S.get(U[2],M)))continue;var P=c.dataToPoint([S.get(U[0],M),S.get(U[1],M)]);j=new p.Rect({shape:{x:Math.floor(Math.round(P[0])-o/2),y:Math.floor(Math.round(P[1])-f/2),width:Math.ceil(o),height:Math.ceil(f)},style:{fill:S.getItemVisual(M,"color"),opacity:S.getItemVisual(M,"opacity")}})}else{if(isNaN(S.get(U[1],M)))continue;j=new p.Rect({z2:1,shape:c.dataToRect([S.get(U[0],M)]).contentShape,style:{fill:S.getItemVisual(M,"color"),opacity:S.getItemVisual(M,"opacity")}})}var K=S.getItemModel(M);S.hasItemOption&&(C=K.getModel(x).getItemStyle(["color"]),N=K.getModel(O).getItemStyle(),D=K.getModel(T),B=K.getModel(w));var H=s.getRawValue(M),k="-";H&&H[2]!=null&&(k=H[2]),p.setLabelStyle(C,N,D,B,{labelFetcher:s,labelDataIndex:M,defaultText:k,isRectText:!0}),j.setStyle(C),p.setHoverStyle(j,S.hasItemOption?N:b.extend({},N)),j.incremental=t,t&&(j.useHoverLayer=!0),L.add(j),S.setItemGraphicEl(M,j)}},_renderOnGeo:function(s,l,n,u){var t=n.targetVisuals.inRange,c=n.targetVisuals.outOfRange,o=l.getData(),f=this._hmLayer||this._hmLayer||new A;f.blurSize=l.get("blurSize"),f.pointSize=l.get("pointSize"),f.minOpacity=l.get("minOpacity"),f.maxOpacity=l.get("maxOpacity");var v=s.getViewRect().clone(),y=s.getRoamTransform();v.applyTransform(y);var L=Math.max(v.x,0),S=Math.max(v.y,0),x=Math.min(v.width+v.x,u.getWidth()),O=Math.min(v.height+v.y,u.getHeight()),T=x-L,w=O-S,C=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],N=o.mapArray(C,function(U,M,j){var P=s.dataToPoint([U,M]);return P[0]-=L,P[1]-=S,P.push(j),P}),D=n.getExtent(),B=n.type==="visualMap.continuous"?i(D,n.option.range):h(D,n.getPieceList(),n.option.selected);f.update(N,T,w,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:c.color.getColorMapper()},B);var R=new p.Image({style:{width:T,height:w,x:L,y:S,image:f.canvas},silent:!0});this.group.add(R)},dispose:function(){}});J.exports=a},SA8n:function(J,F,e){var d=e("Sj9i"),E=e("QBsz"),g=e("U/Mo"),p=g.getSymbolSize,A=[],b=[],h=[],i=d.quadraticAt,r=E.distSquare,a=Math.abs;function s(n,u,t){for(var c=n[0],o=n[1],f=n[2],v=Infinity,y,L=t*t,S=.1,x=.1;x<=.9;x+=.1){A[0]=i(c[0],o[0],f[0],x),A[1]=i(c[1],o[1],f[1],x);var O=a(r(A,u)-L);O<v&&(v=O,y=x)}for(var T=0;T<32;T++){var w=y+S;b[0]=i(c[0],o[0],f[0],y),b[1]=i(c[1],o[1],f[1],y),h[0]=i(c[0],o[0],f[0],w),h[1]=i(c[1],o[1],f[1],w);var O=r(b,u)-L;if(a(O)<.01)break;var C=r(h,u)-L;S/=2,O<0?C>=0?y=y+S:y=y-S:C>=0?y=y-S:y=y+S}return y}function l(n,u){var t=[],c=d.quadraticSubdivide,o=[[],[],[]],f=[[],[]],v=[];u/=2,n.eachEdge(function(y,L){var S=y.getLayout(),x=y.getVisual("fromSymbol"),O=y.getVisual("toSymbol");S.__original||(S.__original=[E.clone(S[0]),E.clone(S[1])],S[2]&&S.__original.push(E.clone(S[2])));var T=S.__original;if(S[2]!=null){if(E.copy(o[0],T[0]),E.copy(o[1],T[2]),E.copy(o[2],T[1]),x&&x!=="none"){var w=p(y.node1),C=s(o,T[0],w*u);c(o[0][0],o[1][0],o[2][0],C,t),o[0][0]=t[3],o[1][0]=t[4],c(o[0][1],o[1][1],o[2][1],C,t),o[0][1]=t[3],o[1][1]=t[4]}if(O&&O!=="none"){var w=p(y.node2),C=s(o,T[1],w*u);c(o[0][0],o[1][0],o[2][0],C,t),o[1][0]=t[1],o[2][0]=t[2],c(o[0][1],o[1][1],o[2][1],C,t),o[1][1]=t[1],o[2][1]=t[2]}E.copy(S[0],o[0]),E.copy(S[1],o[2]),E.copy(S[2],o[1])}else{if(E.copy(f[0],T[0]),E.copy(f[1],T[1]),E.sub(v,f[1],f[0]),E.normalize(v,v),x&&x!=="none"){var w=p(y.node1);E.scaleAndAdd(f[0],f[0],v,w*u)}if(O&&O!=="none"){var w=p(y.node2);E.scaleAndAdd(f[1],f[1],v,-w*u)}E.copy(S[0],f[0]),E.copy(S[1],f[1])}})}J.exports=l},SJMd:function(J,F){/**
|
|
|
* @license
|
|
|
* Copyright (C) 2006 Google Inc.
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
* You may obtain a copy of the License at
|
|
|
*
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
*
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
* See the License for the specific language governing permissions and
|
|
|
* limitations under the License.
|
|
|
*/var e,d,E,g=!1,p,A;window.PR_SHOULD_USE_CONTINUATION=!0;var b,h;(function(){var i=window,r=["break,continue,do,else,for,if,return,while"],a=[r,"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"],s=[a,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],l=[s,"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=[s,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],u=[s,"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",c=[s,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],o="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",f=[r,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],v=[r,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],y=[r,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],L=[l,u,n,c,o,f,v,y],S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,x="str",O="kwd",T="com",w="typ",C="lit",N="pun",D="pln",B="tag",R="dec",U="src",M="atn",j="atv",P="nocode",K="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function H(lt){for(var tt=0,St=!1,ht=!1,vt=0,Ge=lt.length;vt<Ge;++vt){var At=lt[vt];if(At.ignoreCase)ht=!0;else if(/[a-z]/i.test(At.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){St=!0,ht=!1;break}}var _e={b:8,t:9,n:10,v:11,f:12,r:13};function De(Pt){var ke=Pt.charCodeAt(0);if(ke!==92)return ke;var zt=Pt.charAt(1);return ke=_e[zt],ke||("0"<=zt&&zt<="7"?parseInt(Pt.substring(1),8):zt==="u"||zt==="x"?parseInt(Pt.substring(2),16):Pt.charCodeAt(1))}function Ie(Pt){if(Pt<32)return(Pt<16?"\\x0":"\\x")+Pt.toString(16);var ke=String.fromCharCode(Pt);return ke==="\\"||ke==="-"||ke==="]"||ke==="^"?"\\"+ke:ke}function st(Pt){var ke=Pt.substring(1,Pt.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")),zt=[],Ot=ke[0]==="^",_t=["["];Ot&&_t.push("^");for(var Ve=Ot?1:0,Qe=ke.length;Ve<Qe;++Ve){var et=ke[Ve];if(/\\[bdsw]/i.test(et))_t.push(et);else{var dt=De(et),Ze;Ve+2<Qe&&ke[Ve+1]==="-"?(Ze=De(ke[Ve+2]),Ve+=2):Ze=dt,zt.push([dt,Ze]),Ze<65||dt>122||(Ze<65||dt>90||zt.push([Math.max(65,dt)|32,Math.min(Ze,90)|32]),Ze<97||dt>122||zt.push([Math.max(97,dt)&~32,Math.min(Ze,122)&~32]))}}zt.sort(function(Pe,pt){return Pe[0]-pt[0]||pt[1]-Pe[1]});for(var oe=[],me=[],Ve=0;Ve<zt.length;++Ve){var ot=zt[Ve];ot[0]<=me[1]+1?me[1]=Math.max(me[1],ot[1]):oe.push(me=ot)}for(var Ve=0;Ve<oe.length;++Ve){var ot=oe[Ve];_t.push(Ie(ot[0])),ot[1]>ot[0]&&(ot[1]+1>ot[0]&&_t.push("-"),_t.push(Ie(ot[1])))}return _t.push("]"),_t.join("")}function Et(Pt){for(var ke=Pt.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")),zt=ke.length,Ot=[],_t=0,Ve=0;_t<zt;++_t){var Qe=ke[_t];if(Qe==="(")++Ve;else if(Qe.charAt(0)==="\\"){var et=+Qe.substring(1);et&&(et<=Ve?Ot[et]=-1:ke[_t]=Ie(et))}}for(var _t=1;_t<Ot.length;++_t)Ot[_t]===-1&&(Ot[_t]=++tt);for(var _t=0,Ve=0;_t<zt;++_t){var Qe=ke[_t];if(Qe==="(")++Ve,Ot[Ve]||(ke[_t]="(?:");else if(Qe.charAt(0)==="\\"){var et=+Qe.substring(1);et&&et<=Ve&&(ke[_t]="\\"+Ot[et])}}for(var _t=0;_t<zt;++_t)ke[_t]==="^"&&ke[_t+1]!=="^"&&(ke[_t]="");if(Pt.ignoreCase&&St)for(var _t=0;_t<zt;++_t){var Qe=ke[_t],dt=Qe.charAt(0);Qe.length>=2&&dt==="["?ke[_t]=st(Qe):dt!=="\\"&&(ke[_t]=Qe.replace(/[a-zA-Z]/g,function(me){var ot=me.charCodeAt(0);return"["+String.fromCharCode(ot&~32,ot|32)+"]"}))}return ke.join("")}for(var Mt=[],vt=0,Ge=lt.length;vt<Ge;++vt){var At=lt[vt];if(At.global||At.multiline)throw new Error(""+At);Mt.push("(?:"+Et(At)+")")}return new RegExp(Mt.join("|"),ht?"gi":"g")}function k(lt,tt){var St=/(?:^|\s)nocode(?:\s|$)/,ht=[],vt=0,Ge=[],At=0;function _e(De){var Ie=De.nodeType;if(Ie==1){if(St.test(De.className))return;for(var st=De.firstChild;st;st=st.nextSibling)_e(st);var Et=De.nodeName.toLowerCase();(Et==="br"||Et==="li")&&(ht[At]=`
|
|
|
`,Ge[At<<1]=vt++,Ge[At++<<1|1]=De)}else if(Ie==3||Ie==4){var Mt=De.nodeValue;Mt.length&&(tt?Mt=Mt.replace(/\r\n?/g,`
|
|
|
`):Mt=Mt.replace(/[ \t\r\n]+/g," "),ht[At]=Mt,Ge[At<<1]=vt,vt+=Mt.length,Ge[At++<<1|1]=De)}}return _e(lt),{sourceCode:ht.join("").replace(/\n$/,""),spans:Ge}}function Z(lt,tt,St,ht,vt){if(!St)return;var Ge={sourceNode:lt,pre:1,langExtension:null,numberLines:null,sourceCode:St,spans:null,basePos:tt,decorations:null};ht(Ge),vt.push.apply(vt,Ge.decorations)}var Y=/\S/;function _(lt){for(var tt=void 0,St=lt.firstChild;St;St=St.nextSibling){var ht=St.nodeType;tt=ht===1?tt?lt:St:ht===3&&Y.test(St.nodeValue)?lt:tt}return tt===lt?void 0:tt}function Q(lt,tt){var St={},ht;(function(){for(var At=lt.concat(tt),_e=[],De={},Ie=0,st=At.length;Ie<st;++Ie){var Et=At[Ie],Mt=Et[3];if(Mt)for(var Pt=Mt.length;--Pt>=0;)St[Mt.charAt(Pt)]=Et;var ke=Et[1],zt=""+ke;De.hasOwnProperty(zt)||(_e.push(ke),De[zt]=null)}_e.push(/[\0-\uffff]/),ht=H(_e)})();var vt=tt.length,Ge=function At(_e){for(var De=_e.sourceCode,Ie=_e.basePos,st=_e.sourceNode,Et=[Ie,D],Mt=0,Pt=De.match(ht)||[],ke={},zt=0,Ot=Pt.length;zt<Ot;++zt){var _t=Pt[zt],Ve=ke[_t],Qe=void 0,et;if(typeof Ve=="string")et=!1;else{var dt=St[_t.charAt(0)];if(dt)Qe=_t.match(dt[1]),Ve=dt[0];else{for(var Ze=0;Ze<vt;++Ze)if(dt=tt[Ze],Qe=_t.match(dt[1]),Qe){Ve=dt[0];break}Qe||(Ve=D)}et=Ve.length>=5&&Ve.substring(0,5)==="lang-",et&&!(Qe&&typeof Qe[1]=="string")&&(et=!1,Ve=U),et||(ke[_t]=Ve)}var oe=Mt;if(Mt+=_t.length,!et)Et.push(Ie+oe,Ve);else{var me=Qe[1],ot=_t.indexOf(me),Pe=ot+me.length;Qe[2]&&(Pe=_t.length-Qe[2].length,ot=Pe-me.length);var pt=Ve.substring(5);Z(st,Ie+oe,_t.substring(0,ot),At,Et),Z(st,Ie+oe+ot,me,Ke(pt,me),Et),Z(st,Ie+oe+Pe,_t.substring(Pe),At,Et)}}_e.decorations=Et};return Ge}function X(lt){var tt=[],St=[];lt.tripleQuotedStrings?tt.push([x,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):lt.multiLineStrings?tt.push([x,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):tt.push([x,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),lt.verbatimStrings&&St.push([x,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var ht=lt.hashComments;ht&&(lt.cStyleComments?(ht>1?tt.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):tt.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),St.push([x,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):tt.push([T,/^#[^\r\n]*/,null,"#"])),lt.cStyleComments&&(St.push([T,/^\/\/[^\r\n]*/,null]),St.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var vt=lt.regexLiterals;if(vt){var Ge=vt>1?"":`
|
|
|
\r`,At=Ge?".":"[\\S\\s]",_e="/(?=[^/*"+Ge+"])(?:[^/\\x5B\\x5C"+Ge+"]|\\x5C"+At+"|\\x5B(?:[^\\x5C\\x5D"+Ge+"]|\\x5C"+At+")*(?:\\x5D|$))+/";St.push(["lang-regex",RegExp("^"+K+"("+_e+")")])}var De=lt.types;De&&St.push([w,De]);var Ie=(""+lt.keywords).replace(/^ | $/g,"");Ie.length&&St.push([O,new RegExp("^(?:"+Ie.replace(/[\s,]+/g,"|")+")\\b"),null]),tt.push([D,/^\s+/,null,` \r
|
|
|
\xA0`]);var st="^.[^\\s\\w.$@'\"`/\\\\]*";return lt.regexLiterals&&(st+="(?!s*/)"),St.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[w,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[D,/^[a-z_$][a-z_$@0-9]*/i,null],[C,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[D,/^\\[\s\S]?/,null],[N,new RegExp(st),null]),Q(tt,St)}var he=X({keywords:L,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function te(lt,tt,St){for(var ht=/(?:^|\s)nocode(?:\s|$)/,vt=/\r\n?|\n/,Ge=lt.ownerDocument,At=Ge.createElement("li");lt.firstChild;)At.appendChild(lt.firstChild);var _e=[At];function De(ke){var zt=ke.nodeType;if(zt==1&&!ht.test(ke.className))if(ke.nodeName==="br")Ie(ke),ke.parentNode&&ke.parentNode.removeChild(ke);else for(var Ot=ke.firstChild;Ot;Ot=Ot.nextSibling)De(Ot);else if((zt==3||zt==4)&&St){var _t=ke.nodeValue,Ve=_t.match(vt);if(Ve){var Qe=_t.substring(0,Ve.index);ke.nodeValue=Qe;var et=_t.substring(Ve.index+Ve[0].length);if(et){var dt=ke.parentNode;dt.insertBefore(Ge.createTextNode(et),ke.nextSibling)}Ie(ke),Qe||ke.parentNode.removeChild(ke)}}}function Ie(ke){for(;!ke.nextSibling;)if(ke=ke.parentNode,!ke)return;function zt(Ve,Qe){var et=Qe?Ve.cloneNode(!1):Ve,dt=Ve.parentNode;if(dt){var Ze=zt(dt,1),oe=Ve.nextSibling;Ze.appendChild(et);for(var me=oe;me;me=oe)oe=me.nextSibling,Ze.appendChild(me)}return et}for(var Ot=zt(ke.nextSibling,0),_t;(_t=Ot.parentNode)&&_t.nodeType===1;)Ot=_t;_e.push(Ot)}for(var st=0;st<_e.length;++st)De(_e[st]);tt===(tt|0)&&_e[0].setAttribute("value",tt);var Et=Ge.createElement("ol");Et.className="linenums";for(var Mt=Math.max(0,tt-1|0)||0,st=0,Pt=_e.length;st<Pt;++st)At=_e[st],At.className="L"+(st+Mt)%10,At.firstChild||At.appendChild(Ge.createTextNode("\xA0")),Et.appendChild(At);lt.appendChild(Et)}function fe(lt){var tt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);tt=tt&&+tt[1]<=8;var St=/\n/g,ht=lt.sourceCode,vt=ht.length,Ge=0,At=lt.spans,_e=At.length,De=0,Ie=lt.decorations,st=Ie.length,Et=0;Ie[st]=vt;var Mt,Pt;for(Pt=Mt=0;Pt<st;)Ie[Pt]!==Ie[Pt+2]?(Ie[Mt++]=Ie[Pt++],Ie[Mt++]=Ie[Pt++]):Pt+=2;for(st=Mt,Pt=Mt=0;Pt<st;){for(var ke=Ie[Pt],zt=Ie[Pt+1],Ot=Pt+2;Ot+2<=st&&Ie[Ot+1]===zt;)Ot+=2;Ie[Mt++]=ke,Ie[Mt++]=zt,Pt=Ot}st=Ie.length=Mt;var _t=lt.sourceNode,Ve="";_t&&(Ve=_t.style.display,_t.style.display="none");try{for(var Qe=null;De<_e;){var et=At[De],dt=At[De+2]||vt,Ze=Ie[Et+2]||vt,Ot=Math.min(dt,Ze),oe=At[De+1],me;if(oe.nodeType!==1&&(me=ht.substring(Ge,Ot))){tt&&(me=me.replace(St,"\r")),oe.nodeValue=me;var ot=oe.ownerDocument,Pe=ot.createElement("span");Pe.className=Ie[Et+1];var pt=oe.parentNode;pt.replaceChild(Pe,oe),Pe.appendChild(oe),Ge<dt&&(At[De+1]=oe=ot.createTextNode(ht.substring(Ot,dt)),pt.insertBefore(oe,Pe.nextSibling))}Ge=Ot,Ge>=dt&&(De+=2),Ge>=Ze&&(Et+=2)}}finally{_t&&(_t.style.display=Ve)}}var be={};function we(lt,tt){for(var St=tt.length;--St>=0;){var ht=tt[St];be.hasOwnProperty(ht)?i.console&&console.warn("cannot override language handler %s",ht):be[ht]=lt}}function Ke(lt,tt){return lt&&be.hasOwnProperty(lt)||(lt=/^\s*</.test(tt)?"default-markup":"default-code"),be[lt]}we(he,["default-code"]),we(Q([],[[D,/^[^<?]+/],[R,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[N,/^(?:<[%?]|[%?]>)/],["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"]),we(Q([[D,/^[\s]+/,null,` \r
|
|
|
`],[j,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[B,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[M,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[N,/^[=<>\/]+/],["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"]),we(Q([],[[j,/^[\s\S]+/]]),["uq.val"]),we(X({keywords:l,hashComments:!0,cStyleComments:!0,types:S}),["c","cc","cpp","cxx","cyc","m"]),we(X({keywords:"null,true,false"}),["json"]),we(X({keywords:u,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]),we(X({keywords:n,cStyleComments:!0}),["java"]),we(X({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),we(X({keywords:f,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),we(X({keywords:o,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),we(X({keywords:v,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),we(X({keywords:c,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),we(X({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),we(Q([],[[x,/^[\s\S]+/]]),["regex"]);function qe(lt){var tt=lt.langExtension;try{var St=k(lt.sourceNode,lt.pre),ht=St.sourceCode;lt.sourceCode=ht,lt.spans=St.spans,lt.basePos=0,Ke(tt,ht)(lt),fe(lt)}catch(vt){i.console&&console.log(vt&&vt.stack||vt)}}function xt(lt,tt,St){var ht=St||!1,vt=tt||null,Ge=document.createElement("div");Ge.innerHTML="<pre>"+lt+"</pre>",Ge=Ge.firstChild,ht&&te(Ge,ht,!0);var At={langExtension:vt,numberLines:ht,sourceNode:Ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return qe(At),Ge.innerHTML}function Fe(lt,tt){var St=tt||document.body,ht=St.ownerDocument||document;function vt(et){return St.getElementsByTagName(et)}for(var Ge=[vt("pre"),vt("code"),vt("xmp")],At=[],_e=0;_e<Ge.length;++_e)for(var De=0,Ie=Ge[_e].length;De<Ie;++De)At.push(Ge[_e][De]);Ge=null;var st=Date;st.now||(st={now:function(){return+new Date}});var Et=0,Mt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Pt=/\bprettyprint\b/,ke=/\bprettyprinted\b/,zt=/pre|xmp/i,Ot=/^code$/i,_t=/^(?:pre|code|xmp)$/i,Ve={};function Qe(){for(var et=i.PR_SHOULD_USE_CONTINUATION?st.now()+250:Infinity;Et<At.length&&st.now()<et;Et++){for(var dt=At[Et],Ze=Ve,oe=dt;oe=oe.previousSibling;){var me=oe.nodeType,ot=(me===7||me===8)&&oe.nodeValue;if(ot?!/^\??prettify\b/.test(ot):me!==3||/\S/.test(oe.nodeValue))break;if(ot){Ze={},ot.replace(/\b(\w+)=([\w:.%+-]+)/g,function(ae,ye,Ce){Ze[ye]=Ce});break}}var Pe=dt.className;if((Ze!==Ve||Pt.test(Pe))&&!ke.test(Pe)){for(var pt=!1,Rr=dt.parentNode;Rr;Rr=Rr.parentNode){var It=Rr.tagName;if(_t.test(It)&&Rr.className&&Pt.test(Rr.className)){pt=!0;break}}if(!pt){dt.className+=" prettyprinted";var nr=Ze.lang;if(!nr){nr=Pe.match(Mt);var Gt;!nr&&(Gt=_(dt))&&Ot.test(Gt.tagName)&&(nr=Gt.className.match(Mt)),nr&&(nr=nr[1])}var Jt;if(zt.test(dt.tagName))Jt=1;else{var hr=dt.currentStyle,Xt=ht.defaultView,de=hr?hr.whiteSpace:Xt&&Xt.getComputedStyle?Xt.getComputedStyle(dt,null).getPropertyValue("white-space"):0;Jt=de&&de.substring(0,3)==="pre"}var ue=Ze.linenums;(ue=ue==="true"||+ue)||(ue=Pe.match(/\blinenums\b(?::(\d+))?/),ue=ue?ue[1]&&ue[1].length?+ue[1]:!0:!1),ue&&te(dt,ue,Jt);var se={langExtension:nr,sourceNode:dt,numberLines:ue,pre:Jt,sourceCode:null,basePos:null,spans:null,decorations:null};qe(se)}}}Et<At.length?i.setTimeout(Qe,250):typeof lt=="function"&<()}Qe()}var Be=i.PR={createSimpleLexer:Q,registerLangHandler:we,sourceDecorator:X,PR_ATTRIB_NAME:M,PR_ATTRIB_VALUE:j,PR_COMMENT:T,PR_DECLARATION:R,PR_KEYWORD:O,PR_LITERAL:C,PR_NOCODE:P,PR_PLAIN:D,PR_PUNCTUATION:N,PR_SOURCE:U,PR_STRING:x,PR_TAG:B,PR_TYPE:w,prettyPrintOne:g?i.prettyPrintOne=xt:b=xt,prettyPrint:h=g?i.prettyPrint=Fe:h=Fe},bt=i.define;typeof bt=="function"&&bt.amd&&bt("google-code-prettify",[],function(){return Be})})()},SKnc:function(J,F,e){var d=e("bYtY"),E=e("QuXc"),g=function(b,h,i,r,a,s){this.x=b==null?0:b,this.y=h==null?0:h,this.x2=i==null?1:i,this.y2=r==null?0:r,this.type="linear",this.global=s||!1,E.call(this,a)};g.prototype={constructor:g},d.inherits(g,E);var p=g;J.exports=p},"SKx+":function(J,F,e){var d=e("ProS"),E=d.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}}}),g=E;J.exports=g},SMc4:function(J,F,e){var d=e("bYtY"),E=e("bLfw"),g=e("nkfE"),p=e("ICMv"),A=E.extend({type:"cartesian2dAxis",axis:null,init:function(){A.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){A.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){A.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function b(r,a){return a.type||(a.data?"category":"value")}d.merge(A.prototype,p);var h={offset:0};g("x",A,b,h),g("y",A,b,h);var i=A;J.exports=i},SRve:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},SUKs:function(J,F,e){var d=e("LPTA"),E=d.debugMode,g=function(){};E===1&&(g=console.error);var p=g;J.exports=p},Sdc0:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("q1tI"),b=e("rePB"),h=e("ODXe"),i=e("Ff2n"),r=e("TSYQ"),a=e.n(r),s=e("6cGi"),l=e("4IlW"),n=A.forwardRef(function(O,T){var w,C=O.prefixCls,N=C===void 0?"rc-switch":C,D=O.className,B=O.checked,R=O.defaultChecked,U=O.disabled,M=O.loadingIcon,j=O.checkedChildren,P=O.unCheckedChildren,K=O.onClick,H=O.onChange,k=O.onKeyDown,Z=Object(i.a)(O,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),Y=Object(s.a)(!1,{value:B,defaultValue:R}),_=Object(h.a)(Y,2),Q=_[0],X=_[1];function he(we,Ke){var qe=Q;return U||(qe=we,X(qe),H==null||H(qe,Ke)),qe}function te(we){we.which===l.a.LEFT?he(!1,we):we.which===l.a.RIGHT&&he(!0,we),k==null||k(we)}function fe(we){var Ke=he(!Q,we);K==null||K(Ke,we)}var be=a()(N,D,(w={},Object(b.a)(w,"".concat(N,"-checked"),Q),Object(b.a)(w,"".concat(N,"-disabled"),U),w));return A.createElement("button",Object.assign({},Z,{type:"button",role:"switch","aria-checked":Q,disabled:U,className:be,ref:T,onKeyDown:te,onClick:fe}),M,A.createElement("span",{className:"".concat(N,"-inner")},Q?j:P))});n.displayName="Switch";var u=n,t=e("gZBC"),c=e.n(t),o=e("g0mS"),f=e("H84U"),v=e("3Nzz"),y=e("uaoM"),L=function(O,T){var w={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(w[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,C=Object.getOwnPropertySymbols(O);N<C.length;N++)T.indexOf(C[N])<0&&Object.prototype.propertyIsEnumerable.call(O,C[N])&&(w[C[N]]=O[C[N]]);return w},S=A.forwardRef(function(O,T){var w,C=O.prefixCls,N=O.size,D=O.loading,B=O.className,R=B===void 0?"":B,U=O.disabled,M=L(O,["prefixCls","size","loading","className","disabled"]);Object(y.a)("checked"in M||!("value"in M),"Switch","`value` is not a valid prop, do you mean `checked`?");var j=A.useContext(f.b),P=j.getPrefixCls,K=j.direction,H=A.useContext(v.b),k=P("switch",C),Z=A.createElement("div",{className:"".concat(k,"-handle")},D&&A.createElement(c.a,{className:"".concat(k,"-loading-icon")})),Y=a()(R,(w={},p()(w,"".concat(k,"-small"),(N||H)==="small"),p()(w,"".concat(k,"-loading"),D),p()(w,"".concat(k,"-rtl"),K==="rtl"),w));return A.createElement(o.a,{insertExtraNode:!0},A.createElement(u,E()({},M,{prefixCls:k,className:Y,disabled:U||D,ref:T,loadingIcon:Z})))});S.__ANT_SWITCH=!0,S.displayName="Switch";var x=F.a=S},SehX:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("2B6p"),p=g.updateCenterAndZoom;d.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(A,b){var h=A.componentType||"series";b.eachComponent({mainType:h,query:A},function(i){var r=i.coordinateSystem;if(r.type!=="geo")return;var a=p(r,A,i.get("scaleLimit"));i.setCenter&&i.setCenter(a.center),i.setZoom&&i.setZoom(a.zoom),h==="series"&&E.each(i.seriesGroup,function(s){s.setCenter(a.center),s.setZoom(a.zoom)})})})},SfRM:function(J,F,e){var d=e("YESw");function E(){this.__data__=d?d(null):{},this.size=0}J.exports=E},SgGq:function(J,F,e){var d=e("bYtY"),E=e("H6uX"),g=e("YH21"),p=e("pP6R");function A(t){this.pointerChecker,this._zr=t,this._opt={};var c=d.bind,o=c(b,this),f=c(h,this),v=c(i,this),y=c(r,this),L=c(a,this);E.call(this),this.setPointerChecker=function(S){this.pointerChecker=S},this.enable=function(S,x){this.disable(),this._opt=d.defaults(d.clone(x)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),S==null&&(S=!0),(S===!0||S==="move"||S==="pan")&&(t.on("mousedown",o),t.on("mousemove",f),t.on("mouseup",v)),(S===!0||S==="scale"||S==="zoom")&&(t.on("mousewheel",y),t.on("pinch",L))},this.disable=function(){t.off("mousedown",o),t.off("mousemove",f),t.off("mouseup",v),t.off("mousewheel",y),t.off("pinch",L)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}d.mixin(A,E);function b(t){if(g.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var c=t.offsetX,o=t.offsetY;this.pointerChecker&&this.pointerChecker(t,c,o)&&(this._x=c,this._y=o,this._dragging=!0)}function h(t){if(!this._dragging||!n("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||p.isTaken(this._zr,"globalPan"))return;var c=t.offsetX,o=t.offsetY,f=this._x,v=this._y,y=c-f,L=o-v;this._x=c,this._y=o,this._opt.preventDefaultMouseMove&&g.stop(t.event),l(this,"pan","moveOnMouseMove",t,{dx:y,dy:L,oldX:f,oldY:v,newX:c,newY:o})}function i(t){g.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function r(t){var c=n("zoomOnMouseWheel",t,this._opt),o=n("moveOnMouseWheel",t,this._opt),f=t.wheelDelta,v=Math.abs(f),y=t.offsetX,L=t.offsetY;if(f===0||!c&&!o)return;if(c){var S=v>3?1.4:v>1?1.2:1.1,x=f>0?S:1/S;s(this,"zoom","zoomOnMouseWheel",t,{scale:x,originX:y,originY:L})}if(o){var O=Math.abs(f),T=(f>0?1:-1)*(O>3?.4:O>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:T,originX:y,originY:L})}}function a(t){if(p.isTaken(this._zr,"globalPan"))return;var c=t.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,t,{scale:c,originX:t.pinchX,originY:t.pinchY})}function s(t,c,o,f,v){t.pointerChecker&&t.pointerChecker(f,v.originX,v.originY)&&(g.stop(f.event),l(t,c,o,f,v))}function l(t,c,o,f,v){v.isAvailableBehavior=d.bind(n,null,o,f),t.trigger(c,v)}function n(t,c,o){var f=o[t];return!t||f&&(!d.isString(f)||c.event[f+"Key"])}var u=A;J.exports=u},Sj0X:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("XuBP")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DownOutlined";var h=g.forwardRef(b);F.default=h},Sj9i:function(J,F,e){var d=e("QBsz"),E=d.create,g=d.distSquare,p=Math.pow,A=Math.sqrt,b=1e-8,h=1e-4,i=A(3),r=1/3,a=E(),s=E(),l=E();function n(C){return C>-b&&C<b}function u(C){return C>b||C<-b}function t(C,N,D,B,R){var U=1-R;return U*U*(U*C+3*R*N)+R*R*(R*B+3*U*D)}function c(C,N,D,B,R){var U=1-R;return 3*(((N-C)*U+2*(D-N)*R)*U+(B-D)*R*R)}function o(C,N,D,B,R,U){var M=B+3*(N-D)-C,j=3*(D-N*2+C),P=3*(N-C),K=C-R,H=j*j-3*M*P,k=j*P-9*M*K,Z=P*P-3*j*K,Y=0;if(n(H)&&n(k))if(n(j))U[0]=0;else{var _=-P/j;_>=0&&_<=1&&(U[Y++]=_)}else{var Q=k*k-4*H*Z;if(n(Q)){var X=k/H,_=-j/M+X,he=-X/2;_>=0&&_<=1&&(U[Y++]=_),he>=0&&he<=1&&(U[Y++]=he)}else if(Q>0){var te=A(Q),fe=H*j+1.5*M*(-k+te),be=H*j+1.5*M*(-k-te);fe<0?fe=-p(-fe,r):fe=p(fe,r),be<0?be=-p(-be,r):be=p(be,r);var _=(-j-(fe+be))/(3*M);_>=0&&_<=1&&(U[Y++]=_)}else{var we=(2*H*j-3*M*k)/(2*A(H*H*H)),Ke=Math.acos(we)/3,qe=A(H),xt=Math.cos(Ke),_=(-j-2*qe*xt)/(3*M),he=(-j+qe*(xt+i*Math.sin(Ke)))/(3*M),Fe=(-j+qe*(xt-i*Math.sin(Ke)))/(3*M);_>=0&&_<=1&&(U[Y++]=_),he>=0&&he<=1&&(U[Y++]=he),Fe>=0&&Fe<=1&&(U[Y++]=Fe)}}return Y}function f(C,N,D,B,R){var U=6*D-12*N+6*C,M=9*N+3*B-3*C-9*D,j=3*N-3*C,P=0;if(n(M)){if(u(U)){var K=-j/U;K>=0&&K<=1&&(R[P++]=K)}}else{var H=U*U-4*M*j;if(n(H))R[0]=-U/(2*M);else if(H>0){var k=A(H),K=(-U+k)/(2*M),Z=(-U-k)/(2*M);K>=0&&K<=1&&(R[P++]=K),Z>=0&&Z<=1&&(R[P++]=Z)}}return P}function v(C,N,D,B,R,U){var M=(N-C)*R+C,j=(D-N)*R+N,P=(B-D)*R+D,K=(j-M)*R+M,H=(P-j)*R+j,k=(H-K)*R+K;U[0]=C,U[1]=M,U[2]=K,U[3]=k,U[4]=k,U[5]=H,U[6]=P,U[7]=B}function y(C,N,D,B,R,U,M,j,P,K,H){var k,Z=.005,Y=Infinity,_,Q,X,he;a[0]=P,a[1]=K;for(var te=0;te<1;te+=.05)s[0]=t(C,D,R,M,te),s[1]=t(N,B,U,j,te),X=g(a,s),X<Y&&(k=te,Y=X);Y=Infinity;for(var fe=0;fe<32&&!(Z<h);fe++)_=k-Z,Q=k+Z,s[0]=t(C,D,R,M,_),s[1]=t(N,B,U,j,_),X=g(s,a),_>=0&&X<Y?(k=_,Y=X):(l[0]=t(C,D,R,M,Q),l[1]=t(N,B,U,j,Q),he=g(l,a),Q<=1&&he<Y?(k=Q,Y=he):Z*=.5);return H&&(H[0]=t(C,D,R,M,k),H[1]=t(N,B,U,j,k)),A(Y)}function L(C,N,D,B){var R=1-B;return R*(R*C+2*B*N)+B*B*D}function S(C,N,D,B){return 2*((1-B)*(N-C)+B*(D-N))}function x(C,N,D,B,R){var U=C-2*N+D,M=2*(N-C),j=C-B,P=0;if(n(U)){if(u(M)){var K=-j/M;K>=0&&K<=1&&(R[P++]=K)}}else{var H=M*M-4*U*j;if(n(H)){var K=-M/(2*U);K>=0&&K<=1&&(R[P++]=K)}else if(H>0){var k=A(H),K=(-M+k)/(2*U),Z=(-M-k)/(2*U);K>=0&&K<=1&&(R[P++]=K),Z>=0&&Z<=1&&(R[P++]=Z)}}return P}function O(C,N,D){var B=C+D-2*N;return B===0?.5:(C-N)/B}function T(C,N,D,B,R){var U=(N-C)*B+C,M=(D-N)*B+N,j=(M-U)*B+U;R[0]=C,R[1]=U,R[2]=j,R[3]=j,R[4]=M,R[5]=D}function w(C,N,D,B,R,U,M,j,P){var K,H=.005,k=Infinity;a[0]=M,a[1]=j;for(var Z=0;Z<1;Z+=.05){s[0]=L(C,D,R,Z),s[1]=L(N,B,U,Z);var Y=g(a,s);Y<k&&(K=Z,k=Y)}k=Infinity;for(var _=0;_<32&&!(H<h);_++){var Q=K-H,X=K+H;s[0]=L(C,D,R,Q),s[1]=L(N,B,U,Q);var Y=g(s,a);if(Q>=0&&Y<k)K=Q,k=Y;else{l[0]=L(C,D,R,X),l[1]=L(N,B,U,X);var he=g(l,a);X<=1&&he<k?(K=X,k=he):H*=.5}}return P&&(P[0]=L(C,D,R,K),P[1]=L(N,B,U,K)),A(k)}F.cubicAt=t,F.cubicDerivativeAt=c,F.cubicRootAt=o,F.cubicExtrema=f,F.cubicSubdivide=v,F.cubicProjectPoint=y,F.quadraticAt=L,F.quadraticDerivativeAt=S,F.quadraticRootAt=x,F.quadraticExtremum=O,F.quadraticSubdivide=T,F.quadraticProjectPoint=w},Sp2Z:function(J,F,e){var d=e("3LNs"),E=e("/y7N"),g=e("AVZG"),p=e("Znkb"),A=d.extend({makeElOption:function(a,s,l,n,u){var t=l.axis,c=t.grid,o=n.get("type"),f=b(c,t).getOtherAxis(t).getGlobalExtent(),v=t.toGlobalCoord(t.dataToCoord(s,!0));if(o&&o!=="none"){var y=E.buildElStyle(n),L=h[o](t,v,f);L.style=y,a.graphicKey=L.type,a.pointer=L}var S=g.layout(c.model,l);E.buildCartesianSingleLabelElOption(s,a,S,l,n,u)},getHandleTransform:function(a,s,l){var n=g.layout(s.axis.grid.model,s,{labelInside:!1});return n.labelMargin=l.get("handle.margin"),{position:E.getTransformedPosition(s.axis,a,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(a,s,l,n){var u=l.axis,t=u.grid,c=u.getGlobalExtent(!0),o=b(t,u).getOtherAxis(u).getGlobalExtent(),f=u.dim==="x"?0:1,v=a.position;v[f]+=s[f],v[f]=Math.min(c[1],v[f]),v[f]=Math.max(c[0],v[f]);var y=(o[1]+o[0])/2,L=[y,y];L[f]=v[f];var S=[{verticalAlign:"middle"},{align:"center"}];return{position:v,rotation:a.rotation,cursorPoint:L,tooltipOption:S[f]}}});function b(a,s){var l={};return l[s.dim+"AxisIndex"]=s.index,a.getCartesian(l)}var h={line:function(a,s,l){var n=E.makeLineShape([s,l[0]],[s,l[1]],i(a));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(a,s,l){var n=Math.max(1,a.getBandWidth()),u=l[1]-l[0];return{type:"Rect",shape:E.makeRectShape([s-n/2,l[0]],[n,u],i(a))}}};function i(a){return a.dim==="x"?0:1}p.registerAxisPointerClass("CartesianAxisPointer",A);var r=A;J.exports=r},Sq3C:function(J,F,e){var d=e("sKgW"),E=e("zoYe"),g=e("wy8a"),p=e("quyA"),A=e("Z1HP"),b=e("Em2t"),h=Math.ceil;function i(r,a){a=a===void 0?" ":E(a);var s=a.length;if(s<2)return s?d(a,r):a;var l=d(a,h(r/A(a)));return p(a)?g(b(l),0,r).join(""):l.slice(0,r)}J.exports=i},SqI9:function(J,F,e){var d=e("y+Vt"),E=e("iXp4"),g=d.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:E(d.prototype.brush),buildPath:function(A,b){var h=b.cx,i=b.cy,r=Math.max(b.r0||0,0),a=Math.max(b.r,0),s=b.startAngle,l=b.endAngle,n=b.clockwise,u=Math.cos(s),t=Math.sin(s);A.moveTo(u*r+h,t*r+i),A.lineTo(u*a+h,t*a+i),A.arc(h,i,a,s,l,!n),A.lineTo(Math.cos(l)*r+h,Math.sin(l)*r+i),r!==0&&A.arc(h,i,r,l,s,n),A.closePath()}});J.exports=g},SrGk:function(J,F,e){var d=e("hydK"),E=d.createElement,g=e("bYtY"),p=e("y+Vt"),A=e("Dagg"),b=e("dqUG"),h=e("P47w"),i=h.path,r=h.image,a=h.text,s="0",l="1";function n(t,c,o,f,v){this._zrId=t,this._svgRoot=c,this._tagNames=typeof o=="string"?[o]:o,this._markLabel=f,this._domName=v||"_dom",this.nextId=0}n.prototype.createElement=E,n.prototype.getDefs=function(t){var c=this._svgRoot,o=this._svgRoot.getElementsByTagName("defs");return o.length===0?t?(o=c.insertBefore(this.createElement("defs"),c.firstChild),o.contains||(o.contains=function(f){var v=o.children;if(!v)return!1;for(var y=v.length-1;y>=0;--y)if(v[y]===f)return!0;return!1}),o):null:o[0]},n.prototype.update=function(t,c){if(!t)return;var o=this.getDefs(!1);if(t[this._domName]&&o.contains(t[this._domName]))typeof c=="function"&&c(t);else{var f=this.add(t);f&&(t[this._domName]=f)}},n.prototype.addDom=function(t){var c=this.getDefs(!0);c.appendChild(t)},n.prototype.removeDom=function(t){var c=this.getDefs(!1);c&&t[this._domName]&&(c.removeChild(t[this._domName]),t[this._domName]=null)},n.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var c=[];return g.each(this._tagNames,function(o){var f=t.getElementsByTagName(o);c=c.concat([].slice.call(f))}),c},n.prototype.markAllUnused=function(){var t=this.getDoms(),c=this;g.each(t,function(o){o[c._markLabel]=s})},n.prototype.markUsed=function(t){t&&(t[this._markLabel]=l)},n.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var c=this.getDoms(),o=this;g.each(c,function(f){f[o._markLabel]!==l&&t.removeChild(f)})},n.prototype.getSvgProxy=function(t){return t instanceof p?i:t instanceof A?r:t instanceof b?a:i},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var u=n;J.exports=u},Swgg:function(J,F,e){var d=e("fc+c"),E=d.extend({type:"dataZoom.select"});J.exports=E},Sxd8:function(J,F,e){var d=e("ZCgT");function E(g){var p=d(g),A=p%1;return p===p?A?p-A:p:0}J.exports=E},T1rO:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("zdCA"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},T4UG:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("ItGF"),A=e("7aKB"),b=A.formatTime,h=A.encodeHTML,i=A.addCommas,r=A.getTooltipMarker,a=e("4NO4"),s=e("bLfw"),l=e("5Hur"),n=e("OKJ2"),u=e("+TT/"),t=u.getLayoutParams,c=u.mergeLayoutParam,o=e("9H2F"),f=o.createTask,v=e("D5nY"),y=v.prepareSource,L=v.getSource,S=e("KxfA"),x=S.retrieveRawValue,O=a.makeInner(),T=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(P,K,H,k){this.seriesIndex=this.componentIndex,this.dataTask=f({count:N,reset:D}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(P,H),y(this);var Z=this.getInitialData(P,H);R(Z,this),this.dataTask.context.data=Z,O(this).dataBeforeProcessed=Z,w(this)},mergeDefaultAndTheme:function(P,K){var H=this.layoutMode,k=H?t(P):{},Z=this.subType;s.hasClass(Z)&&(Z+="Series"),g.merge(P,K.getTheme().get(this.subType)),g.merge(P,this.getDefaultOption()),a.defaultEmphasis(P,"label",["show"]),this.fillDataTextStyle(P.data),H&&c(P,k,H)},mergeOption:function(P,K){P=g.merge(this.option,P,!0),this.fillDataTextStyle(P.data);var H=this.layoutMode;H&&c(this.option,P,H),y(this);var k=this.getInitialData(P,K);R(k,this),this.dataTask.dirty(),this.dataTask.context.data=k,O(this).dataBeforeProcessed=k,w(this)},fillDataTextStyle:function(P){if(P&&!g.isTypedArray(P))for(var K=["show"],H=0;H<P.length;H++)P[H]&&P[H].label&&a.defaultEmphasis(P[H],"label",K)},getInitialData:function(){},appendData:function(P){var K=this.getRawData();K.appendData(P.data)},getData:function(P){var K=M(this);if(K){var H=K.context.data;return P==null?H:H.getLinkedData(P)}else return O(this).data},setData:function(P){var K=M(this);if(K){var H=K.context;H.data!==P&&K.modifyOutputEnd&&K.setOutputEnd(P.count()),H.outputData=P,K!==this.dataTask&&(H.data=P)}O(this).data=P},getSource:function(){return L(this)},getRawData:function(){return O(this).dataBeforeProcessed},getBaseAxis:function(){var P=this.coordinateSystem;return P&&P.getBaseAxis&&P.getBaseAxis()},formatTooltip:function(P,K,H,k){var Z=this;k=k||"html";var Y=k==="html"?"<br/>":`
|
|
|
`,_=k==="richText",Q={},X=0;function he(Ge){var At=g.reduce(Ge,function(Et,Mt,Pt){var ke=fe.getDimensionInfo(Pt);return Et|=ke&&ke.tooltip!==!1&&ke.displayName!=null},0),_e=[];be.length?g.each(be,function(Et){De(x(fe,P,Et),Et)}):g.each(Ge,De);function De(Et,Mt){var Pt=fe.getDimensionInfo(Mt);if(!Pt||Pt.otherDims.tooltip===!1)return;var ke=Pt.type,zt="sub"+Z.seriesIndex+"at"+X,Ot=r({color:xt,type:"subItem",renderMode:k,markerId:zt}),_t=typeof Ot=="string"?Ot:Ot.content,Ve=(At?_t+h(Pt.displayName||"-")+": ":"")+h(ke==="ordinal"?Et+"":ke==="time"?K?"":b("yyyy/MM/dd hh:mm:ss",Et):i(Et));Ve&&_e.push(Ve),_&&(Q[zt]=xt,++X)}var Ie=At?_?`
|
|
|
`:"<br/>":"",st=Ie+_e.join(Ie||", ");return{renderMode:k,content:st,style:Q}}function te(Ge){return{renderMode:k,content:h(i(Ge)),style:Q}}var fe=this.getData(),be=fe.mapDimension("defaultedTooltip",!0),we=be.length,Ke=this.getRawValue(P),qe=g.isArray(Ke),xt=fe.getItemVisual(P,"color");g.isObject(xt)&&xt.colorStops&&(xt=(xt.colorStops[0]||{}).color),xt=xt||"transparent";var Fe=we>1||qe&&!we?he(Ke):te(we?x(fe,P,be[0]):qe?Ke[0]:Ke),Be=Fe.content,bt=Z.seriesIndex+"at"+X,lt=r({color:xt,type:"item",renderMode:k,markerId:bt});Q[bt]=xt,++X;var tt=fe.getName(P),St=this.name;a.isNameSpecified(this)||(St=""),St=St?h(St)+(K?": ":Y):"";var ht=typeof lt=="string"?lt:lt.content,vt=K?ht+St+Be:St+ht+(tt?h(tt)+": "+Be:Be);return{html:vt,markers:Q}},isAnimationEnabled:function(){if(p.node)return!1;var P=this.getShallow("animation");return P&&(this.getData().count()>this.getShallow("animationThreshold")&&(P=!1)),P},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(P,K,H){var k=this.ecModel,Z=l.getColorFromPalette.call(this,P,K,H);return Z||(Z=k.getColorFromPalette(P,K,H)),Z},coordDimToDataDim:function(P){return this.getRawData().mapDimension(P,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});g.mixin(T,n),g.mixin(T,l);function w(P){var K=P.name;a.isNameSpecified(P)||(P.name=C(P)||K)}function C(P){var K=P.getRawData(),H=K.mapDimension("seriesName",!0),k=[];return g.each(H,function(Z){var Y=K.getDimensionInfo(Z);Y.displayName&&k.push(Y.displayName)}),k.join(" ")}function N(P){return P.model.getRawData().count()}function D(P){var K=P.model;return K.setData(K.getRawData().cloneShallow()),B}function B(P,K){K.outputData&&P.end>K.outputData.count()&&K.model.getRawData().cloneShallow(K.outputData)}function R(P,K){g.each(P.CHANGABLE_METHODS,function(H){P.wrapMethod(H,g.curry(U,K))})}function U(P){var K=M(P);K&&K.setOutputEnd(this.count())}function M(P){var K=(P.ecModel||{}).scheduler,H=K&&K.getPipeline(P.uid);if(H){var k=H.currentTask;if(k){var Z=k.agentStubMap;Z&&(k=Z.get(P.uid))}return k}}var j=T;J.exports=j},T6xi:function(J,F,e){var d=e("YgsL"),E=e("nCxF");function g(p,A,b){var h=A.points,i=A.smooth;if(h&&h.length>=2){if(i&&i!=="spline"){var r=E(h,i,b,A.smoothConstraint);p.moveTo(h[0][0],h[0][1]);for(var a=h.length,s=0;s<(b?a:a-1);s++){var l=r[s*2],n=r[s*2+1],u=h[(s+1)%a];p.bezierCurveTo(l[0],l[1],n[0],n[1],u[0],u[1])}}else{i==="spline"&&(h=d(h,b)),p.moveTo(h[0][0],h[0][1]);for(var s=1,t=h.length;s<t;s++)p.lineTo(h[s][0],h[s][1])}b&&p.closePath()}}F.buildPath=g},TIY9:function(J,F,e){var d=e("bYtY"),E=d.each,g=e("vafp"),p=e("4NO4"),A=p.makeInner,b=e("Mgri"),h=e("F5Ls"),i=e("a9QJ"),r=e("p/La"),a=A(),s={load:function(n,u,t){var c=a(u).parsed;if(c)return c;var o=u.specialAreas||{},f=u.geoJSON,v;try{v=f?g(f,t):[]}catch(y){throw new Error(`Invalid geoJson format
|
|
|
`+y.message)}return b(n,v),E(v,function(y){var L=y.name;h(n,y),i(n,y),r(n,y);var S=o[L];S&&y.transformTo(S.left,S.top,S.width,S.height)}),a(u).parsed={regions:v,boundingRect:l(v)}}};function l(n){for(var u,t=0;t<n.length;t++){var c=n[t].getBoundingRect();u=u||c.clone(),u.union(c)}return u}J.exports=s},TJmX:function(J,F,e){var d=e("zM3Q"),E=["itemStyle","borderColor"],g=["itemStyle","borderColor0"],p=["itemStyle","color"],A=["itemStyle","color0"],b={seriesType:"candlestick",plan:d(),performRawSeries:!0,reset:function(h,i){var r=h.getData();if(r.setVisual({legendSymbol:"roundRect",colorP:l(1,h),colorN:l(-1,h),borderColorP:n(1,h),borderColorN:n(-1,h)}),i.isSeriesFiltered(h))return;var a=h.pipelineContext.large;return!a&&{progress:s};function s(u,t){for(var c;(c=u.next())!=null;){var o=t.getItemModel(c),f=t.getItemLayout(c).sign;t.setItemVisual(c,{color:l(f,o),borderColor:n(f,o)})}}function l(u,t){return t.get(u>0?p:A)}function n(u,t){return t.get(u>0?E:g)}}};J.exports=b},TWL2:function(J,F,e){var d=e("IwbS"),E=e("bYtY"),g=e("6Ic6");function p(r,a){d.Group.call(this);var s=new d.Polygon,l=new d.Polyline,n=new d.Text;this.add(s),this.add(l),this.add(n),this.highDownOnUpdate=function(u,t){t==="emphasis"?(l.ignore=l.hoverIgnore,n.ignore=n.hoverIgnore):(l.ignore=l.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(r,a,!0)}var A=p.prototype,b=["itemStyle","opacity"];A.updateData=function(r,a,s){var l=this.childAt(0),n=r.hostModel,u=r.getItemModel(a),t=r.getItemLayout(a),c=r.getItemModel(a).get(b);c=c==null?1:c,l.useStyle({}),s?(l.setShape({points:t.points}),l.setStyle({opacity:0}),d.initProps(l,{style:{opacity:c}},n,a)):d.updateProps(l,{style:{opacity:c},shape:{points:t.points}},n,a);var o=u.getModel("itemStyle"),f=r.getItemVisual(a,"color");l.setStyle(E.defaults({lineJoin:"round",fill:f},o.getItemStyle(["opacity"]))),l.hoverStyle=o.getModel("emphasis").getItemStyle(),this._updateLabel(r,a),d.setHoverStyle(this)},A._updateLabel=function(r,a){var s=this.childAt(1),l=this.childAt(2),n=r.hostModel,u=r.getItemModel(a),t=r.getItemLayout(a),c=t.label,o=r.getItemVisual(a,"color");d.updateProps(s,{shape:{points:c.linePoints||c.linePoints}},n,a),d.updateProps(l,{style:{x:c.x,y:c.y}},n,a),l.attr({rotation:c.rotation,origin:[c.x,c.y],z2:10});var f=u.getModel("label"),v=u.getModel("emphasis.label"),y=u.getModel("labelLine"),L=u.getModel("emphasis.labelLine"),o=r.getItemVisual(a,"color");d.setLabelStyle(l.style,l.hoverStyle={},f,v,{labelFetcher:r.hostModel,labelDataIndex:a,defaultText:r.getName(a),autoColor:o,useInsideStyle:!!c.inside},{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign}),l.ignore=l.normalIgnore=!f.get("show"),l.hoverIgnore=!v.get("show"),s.ignore=s.normalIgnore=!y.get("show"),s.hoverIgnore=!L.get("show"),s.setStyle({stroke:o}),s.setStyle(y.getModel("lineStyle").getLineStyle()),s.hoverStyle=L.getModel("lineStyle").getLineStyle()},E.inherits(p,d.Group);var h=g.extend({type:"funnel",render:function(r,a,s){var l=r.getData(),n=this._data,u=this.group;l.diff(n).add(function(t){var c=new p(l,t);l.setItemGraphicEl(t,c),u.add(c)}).update(function(t,c){var o=n.getItemGraphicEl(c);o.updateData(l,t),u.add(o),l.setItemGraphicEl(t,o)}).remove(function(t){var c=n.getItemGraphicEl(t);u.remove(c)}).execute(),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),i=h;J.exports=i},TYVI:function(J,F,e){var d=e("5GtS"),E=e("T4UG"),g=E.extend({type:"series.gauge",getInitialData:function(A,b){return d(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),p=g;J.exports=p},Tghj:function(J,F,e){(function(d){var E;typeof window!="undefined"?E=window.__DEV__:typeof d!="undefined"&&(E=d.__DEV__),typeof E=="undefined"&&(E=!0);var g=E;F.__DEV__=g}).call(this,e("yLpj"))},ThAp:function(J,F,e){var d=e("bYtY"),E=e("5GtS"),g=e("T4UG"),p=e("7aKB"),A=p.encodeHTML,b=p.addCommas,h=e("cCMj"),i=e("KxfA"),r=i.retrieveRawAttr,a=e("W4dC"),s=e("D5nY"),l=s.makeSeriesEncodeForNameBased,n=g.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var c=E(this,{coordDimensions:["value"],encodeDefaulter:d.curry(l,this)}),o=c.mapDimension("value"),f=d.createHashMap(),v=[],y=[],L=0,S=c.count();L<S;L++){var x=c.getName(L);f.set(x,!0),v.push({name:x,value:c.get(o,L),selected:r(c,L,"selected")})}var O=a.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return d.each(O.regions,function(T){var w=T.name;f.get(w)||(v.push({name:w}),y.push(w))}),this.updateSelectedMap(v),c.appendValues([],y),c},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 c=this.getData();return c.get(c.mapDimension("value"),t)},getRegionModel:function(t){var c=this.getData();return c.getItemModel(c.indexOfName(t))},formatTooltip:function(t){for(var c=this.getData(),o=b(this.getRawValue(t)),f=c.getName(t),v=this.seriesGroup,y=[],L=0;L<v.length;L++){var S=v[L].originalData.indexOfName(f),x=c.mapDimension("value");isNaN(v[L].originalData.get(x,S))||y.push(A(v[L].name))}return y.join(", ")+"<br />"+A(f+" : "+o)},getTooltipPosition:function(t){if(t!=null){var c=this.getData().getName(t),o=this.coordinateSystem,f=o.getRegion(c);return f&&o.dataToPoint(f.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"}});d.mixin(n,h);var u=n;J.exports=u},TkdX:function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},p=2,A=4;function b(n,u,t){E.Group.call(this);var c=new E.Sector({z2:p});c.seriesIndex=u.seriesIndex;var o=new E.Text({z2:A,silent:n.getModel("label").get("silent")});this.add(c),this.add(o),this.updateData(!0,n,"normal",u,t);function f(){o.ignore=o.hoverIgnore}function v(){o.ignore=o.normalIgnore}this.on("emphasis",f).on("normal",v).on("mouseover",f).on("mouseout",v)}var h=b.prototype;h.updateData=function(n,u,t,c,o){this.node=u,u.piece=this,c=c||this._seriesModel,o=o||this._ecModel;var f=this.childAt(0);f.dataIndex=u.dataIndex;var v=u.getModel(),y=u.getLayout(),L=d.extend({},y);L.label=null;var S=r(u,c,o);l(u,c,S);var x=v.getModel("itemStyle").getItemStyle(),O;if(t==="normal")O=x;else{var T=v.getModel(t+".itemStyle").getItemStyle();O=d.merge(T,x)}O=d.defaults({lineJoin:"bevel",fill:O.fill||S},O),n?(f.setShape(L),f.shape.r=y.r0,E.updateProps(f,{shape:{r:y.r}},c,u.dataIndex),f.useStyle(O)):typeof O.fill=="object"&&O.fill.type||typeof f.style.fill=="object"&&f.style.fill.type?(E.updateProps(f,{shape:L},c),f.useStyle(O)):E.updateProps(f,{shape:L,style:O},c),this._updateLabel(c,S,t);var w=v.getShallow("cursor");if(w&&f.attr("cursor",w),n){var C=c.getShallow("highlightPolicy");this._initEvents(f,u,c,C)}this._seriesModel=c||this._seriesModel,this._ecModel=o||this._ecModel,E.setHoverStyle(this)},h.onEmphasis=function(n){var u=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(u.node===t?t.piece.updateData(!1,t,"emphasis"):s(t,u.node,n)?t.piece.childAt(0).trigger("highlight"):n!==g.NONE&&t.piece.childAt(0).trigger("downplay"))})},h.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},h.onHighlight=function(){this.updateData(!1,this.node,"highlight")},h.onDownplay=function(){this.updateData(!1,this.node,"downplay")},h._updateLabel=function(n,u,t){var c=this.node.getModel(),o=c.getModel("label"),f=t==="normal"||t==="emphasis"?o:c.getModel(t+".label"),v=c.getModel("emphasis.label"),y=d.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);K("show")===!1&&(y="");var L=this.node.getLayout(),S=f.get("minAngle");S==null&&(S=o.get("minAngle")),S=S/180*Math.PI;var x=L.endAngle-L.startAngle;S!=null&&Math.abs(x)<S&&(y="");var O=this.childAt(1);E.setLabelStyle(O.style,O.hoverStyle||{},o,v,{defaultText:f.getShallow("show")?y:null,autoColor:u,useInsideStyle:!0});var T=(L.startAngle+L.endAngle)/2,w=Math.cos(T),C=Math.sin(T),N,D=K("position"),B=K("distance")||0,R=K("align");D==="outside"?(N=L.r+B,R=T>Math.PI/2?"right":"left"):!R||R==="center"?(N=(L.r+L.r0)/2,R="center"):R==="left"?(N=L.r0+B,T>Math.PI/2&&(R="right")):R==="right"&&(N=L.r-B,T>Math.PI/2&&(R="left")),O.attr("style",{text:y,textAlign:R,textVerticalAlign:K("verticalAlign")||"middle",opacity:K("opacity")});var U=N*w+L.cx,M=N*C+L.cy;O.attr("position",[U,M]);var j=K("rotate"),P=0;j==="radial"?(P=-T,P<-Math.PI/2&&(P+=Math.PI)):j==="tangential"?(P=Math.PI/2-T,P>Math.PI/2?P-=Math.PI:P<-Math.PI/2&&(P+=Math.PI)):typeof j=="number"&&(P=j*Math.PI/180),O.attr("rotation",P);function K(H){var k=f.get(H);return k==null?o.get(H):k}},h._initEvents=function(n,u,t,c){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var o=this,f=function(){o.onEmphasis(c)},v=function(){o.onNormal()},y=function(){o.onDownplay()},L=function(){o.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",f).on("mouseout",v).on("emphasis",f).on("normal",v).on("downplay",y).on("highlight",L)},d.inherits(b,E.Group);var i=b;function r(n,u,t){var c=n.getVisual("color"),o=n.getVisual("visualMeta");(!o||o.length===0)&&(c=null);var f=n.getModel("itemStyle").get("color");if(f)return f;if(c)return c;if(n.depth===0)return t.option.color[0];var v=t.option.color.length;return f=t.option.color[a(n)%v],f}function a(n){for(var u=n;u.depth>1;)u=u.parentNode;var t=n.getAncestors()[0];return d.indexOf(t.children,u)}function s(n,u,t){return t===g.NONE?!1:t===g.SELF?n===u:t===g.ANCESTOR?n===u||n.isAncestorOf(u):n===u||n.isDescendantOf(u)}function l(n,u,t){var c=u.getData();c.setItemVisual(n.dataIndex,"color",t)}J.exports=i},Tp9H:function(J,F,e){var d=e("ItGF"),E=e("Kagy"),g=e("IUWy"),p=E.toolbox.saveAsImage;function A(i){this.model=i}A.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:p.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:p.lang.slice()},A.prototype.unusable=!d.canvasSupported;var b=A.prototype;b.onclick=function(i,r){var a=this.model,s=a.get("name")||i.get("title.0.text")||"echarts",l=r.getZr().painter.getType()==="svg",n=l?"svg":a.get("type",!0)||"png",u=r.getConnectedDataURL({type:n,backgroundColor:a.get("backgroundColor",!0)||i.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")});if(typeof MouseEvent=="function"&&!d.browser.ie&&!d.browser.edge){var t=document.createElement("a");t.download=s+"."+n,t.target="_blank",t.href=u;var c=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob){for(var o=atob(u.split(",")[1]),f=o.length,v=new Uint8Array(f);f--;)v[f]=o.charCodeAt(f);var y=new Blob([v]);window.navigator.msSaveOrOpenBlob(y,s+"."+n)}else{var L=a.get("lang"),S='<body style="margin:0;"><img src="'+u+'" style="max-width:100%;" title="'+(L&&L[0]||"")+'" /></body>',x=window.open();x.document.write(S)}},g.register("saveAsImage",A);var h=A;J.exports=h},"U/Mo":function(J,F){function e(E){var g=E.coordinateSystem;if(g.type!=="view")return 1;var p=E.option.nodeScaleRatio,A=g.scale,b=A&&A[0]||1,h=g.getZoom(),i=(h-1)*p+1;return i/b}function d(E){var g=E.getVisual("symbolSize");return g instanceof Array&&(g=(g[0]+g[1])/2),+g}F.getNodeGlobalScale=e,F.getSymbolSize=d},UADf:function(J,F,e){},"UNi/":function(J,F){function e(d,E){for(var g=-1,p=Array(d);++g<d;)p[g]=E(g);return p}J.exports=e},UOVi:function(J,F,e){var d=e("bYtY"),E=e("7aKB"),g=["x","y","z","radius","angle","single"],p=["cartesian2d","polar","singleAxis"];function A(r){return d.indexOf(p,r)>=0}function b(r,a){r=r.slice();var s=d.map(r,E.capitalFirst);a=(a||[]).slice();var l=d.map(a,E.capitalFirst);return function(n,u){d.each(r,function(t,c){for(var o={name:t,capital:s[c]},f=0;f<a.length;f++)o[a[f]]=t+l[f];n.call(u,o)})}}var h=b(g,["axisIndex","axis","index","id"]);function i(r,a,s){return function(t){var c={nodes:[],records:{}};if(a(function(v){c.records[v.name]={}}),!t)return c;u(t,c);var o;do o=!1,r(f);while(o);function f(v){!l(v,c)&&n(v,c)&&(u(v,c),o=!0)}return c};function l(t,c){return d.indexOf(c.nodes,t)>=0}function n(t,c){var o=!1;return a(function(f){d.each(s(t,f)||[],function(v){c.records[f.name][v]&&(o=!0)})}),o}function u(t,c){c.nodes.push(t),a(function(o){d.each(s(t,o)||[],function(f){c.records[o.name][f]=!0})})}}F.isCoordSupported=A,F.createNameEach=b,F.eachAxisDim=h,F.createLinkedNodesFinder=i},Uc92:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},UmKh:function(J,F,e){"use strict";var d=e("q1tI"),E=e.n(d),g=e("aGtg");function p(j){var P=[];return E.a.Children.forEach(j,function(K){P.push(K)}),P}function A(j,P){var K=null;return j&&j.forEach(function(H){if(K)return;H&&H.key===P&&(K=H)}),K}function b(j,P,K){var H=null;return j&&j.forEach(function(k){if(k&&k.key===P&&k.props[K]){if(H)throw new Error("two child with same key for <rc-animate> children");H=k}}),H}function h(j,P,K){var H=0;return j&&j.forEach(function(k){if(H)return;H=k&&k.key===P&&!k.props[K]}),H}function i(j,P,K){var H=j.length===P.length;return H&&j.forEach(function(k,Z){var Y=P[Z];k&&Y&&((k&&!Y||!k&&Y||(k.key!==Y.key||K&&k.props[K]!==Y.props[K]))&&(H=!1))}),H}function r(j,P){var K=[],H={},k=[];return j.forEach(function(Z){Z&&A(P,Z.key)?k.length&&(H[Z.key]=k,k=[]):k.push(Z)}),P.forEach(function(Z){Z&&Object.prototype.hasOwnProperty.call(H,Z.key)&&(K=K.concat(H[Z.key])),K.push(Z)}),K=K.concat(k),K}var a=e("i8i4"),s=e.n(a),l=e("UwPn"),n={isAppearSupported:function(P){return P.transitionName&&P.transitionAppear||P.animation.appear},isEnterSupported:function(P){return P.transitionName&&P.transitionEnter||P.animation.enter},isLeaveSupported:function(P){return P.transitionName&&P.transitionLeave||P.animation.leave},allowAppearCallback:function(P){return P.transitionAppear||P.animation.appear},allowEnterCallback:function(P){return P.transitionEnter||P.animation.enter},allowLeaveCallback:function(P){return P.transitionLeave||P.animation.leave}},u=n,t=function(){function j(P,K){for(var H=0;H<K.length;H++){var k=K[H];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(P,k.key,k)}}return function(P,K,H){return K&&j(P.prototype,K),H&&j(P,H),P}}();function c(j,P){if(!(j instanceof P))throw new TypeError("Cannot call a class as a function")}function o(j,P){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:j}function f(j,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);j.prototype=Object.create(P&&P.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(j,P):j.__proto__=P)}var v={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},y=function(j){f(P,j);function P(){return c(this,P),o(this,(P.__proto__||Object.getPrototypeOf(P)).apply(this,arguments))}return t(P,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(H){u.isEnterSupported(this.props)?this.transition("enter",H):H()}},{key:"componentWillAppear",value:function(H){u.isAppearSupported(this.props)?this.transition("appear",H):H()}},{key:"componentWillLeave",value:function(H){u.isLeaveSupported(this.props)?this.transition("leave",H):H()}},{key:"transition",value:function(H,k){var Z=this,Y=s.a.findDOMNode(this),_=this.props,Q=_.transitionName,X=typeof Q=="object";this.stop();var he=function(){Z.stopper=null,k()};if((l.b||!_.animation[H])&&Q&&_[v[H]]){var te=X?Q[H]:Q+"-"+H,fe=te+"-active";X&&Q[H+"Active"]&&(fe=Q[H+"Active"]),this.stopper=Object(l.a)(Y,{name:te,active:fe},he)}else this.stopper=_.animation[H](Y,he)}},{key:"stop",value:function(){var H=this.stopper;H&&(this.stopper=null,H.stop())}},{key:"render",value:function(){return this.props.children}}]),P}(E.a.Component),L=y,S=Object.assign||function(j){for(var P=1;P<arguments.length;P++){var K=arguments[P];for(var H in K)Object.prototype.hasOwnProperty.call(K,H)&&(j[H]=K[H])}return j},x=function(){function j(P,K){for(var H=0;H<K.length;H++){var k=K[H];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(P,k.key,k)}}return function(P,K,H){return K&&j(P.prototype,K),H&&j(P,H),P}}();function O(j,P,K){return P in j?Object.defineProperty(j,P,{value:K,enumerable:!0,configurable:!0,writable:!0}):j[P]=K,j}function T(j,P){if(!(j instanceof P))throw new TypeError("Cannot call a class as a function")}function w(j,P){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:j}function C(j,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);j.prototype=Object.create(P&&P.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(j,P):j.__proto__=P)}var N="rc_animate_"+Date.now();function D(j){var P=j.children;return E.a.isValidElement(P)&&!P.key?E.a.cloneElement(P,{key:N}):P}function B(){}var R=function(j){C(P,j);function P(K){T(this,P);var H=w(this,(P.__proto__||Object.getPrototypeOf(P)).call(this,K));return U.call(H),H.currentlyAnimatingKeys={},H.keysToEnter=[],H.keysToLeave=[],H.state={children:p(D(K))},H.childrenRefs={},H}return x(P,[{key:"componentDidMount",value:function(){var H=this,k=this.props.showProp,Z=this.state.children;k&&(Z=Z.filter(function(Y){return!!Y.props[k]})),Z.forEach(function(Y){Y&&H.performAppear(Y.key)})}},{key:"componentWillReceiveProps",value:function(H){var k=this;this.nextProps=H;var Z=p(D(H)),Y=this.props;Y.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(te){k.stop(te)});var _=Y.showProp,Q=this.currentlyAnimatingKeys,X=Y.exclusive?p(D(Y)):this.state.children,he=[];_?(X.forEach(function(te){var fe=te&&A(Z,te.key),be=void 0;(!fe||!fe.props[_])&&te.props[_]?be=E.a.cloneElement(fe||te,O({},_,!0)):be=fe,be&&he.push(be)}),Z.forEach(function(te){(!te||!A(X,te.key))&&he.push(te)})):he=r(X,Z),this.setState({children:he}),Z.forEach(function(te){var fe=te&&te.key;if(te&&Q[fe])return;var be=te&&A(X,fe);if(_){var we=te.props[_];if(be){var Ke=b(X,fe,_);!Ke&&we&&k.keysToEnter.push(fe)}else we&&k.keysToEnter.push(fe)}else be||k.keysToEnter.push(fe)}),X.forEach(function(te){var fe=te&&te.key;if(te&&Q[fe])return;var be=te&&A(Z,fe);if(_){var we=te.props[_];if(be){var Ke=b(Z,fe,_);!Ke&&we&&k.keysToLeave.push(fe)}else we&&k.keysToLeave.push(fe)}else be||k.keysToLeave.push(fe)})}},{key:"componentDidUpdate",value:function(){var H=this.keysToEnter;this.keysToEnter=[],H.forEach(this.performEnter);var k=this.keysToLeave;this.keysToLeave=[],k.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(H,k){var Z=this.props.showProp;return Z?b(H,k,Z):A(H,k)}},{key:"stop",value:function(H){delete this.currentlyAnimatingKeys[H];var k=this.childrenRefs[H];k&&k.stop()}},{key:"render",value:function(){var H=this,k=this.props;this.nextProps=k;var Z=this.state.children,Y=null;Z&&(Y=Z.map(function(X){if(X==null)return X;if(!X.key)throw new Error("must set key for <rc-animate> children");return E.a.createElement(L,{key:X.key,ref:function(te){H.childrenRefs[X.key]=te},animation:k.animation,transitionName:k.transitionName,transitionEnter:k.transitionEnter,transitionAppear:k.transitionAppear,transitionLeave:k.transitionLeave},X)}));var _=k.component;if(_){var Q=k;return typeof _=="string"&&(Q=S({className:k.className,style:k.style},k.componentProps)),E.a.createElement(_,Q,Y)}return Y[0]||null}}]),P}(E.a.Component);R.isAnimate=!0,R.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:B,onEnter:B,onLeave:B,onAppear:B};var U=function(){var P=this;this.performEnter=function(K){P.childrenRefs[K]&&(P.currentlyAnimatingKeys[K]=!0,P.childrenRefs[K].componentWillEnter(P.handleDoneAdding.bind(P,K,"enter")))},this.performAppear=function(K){P.childrenRefs[K]&&(P.currentlyAnimatingKeys[K]=!0,P.childrenRefs[K].componentWillAppear(P.handleDoneAdding.bind(P,K,"appear")))},this.handleDoneAdding=function(K,H){var k=P.props;if(delete P.currentlyAnimatingKeys[K],k.exclusive&&k!==P.nextProps)return;var Z=p(D(k));P.isValidChildByKey(Z,K)?H==="appear"?u.allowAppearCallback(k)&&(k.onAppear(K),k.onEnd(K,!0)):u.allowEnterCallback(k)&&(k.onEnter(K),k.onEnd(K,!0)):P.performLeave(K)},this.performLeave=function(K){P.childrenRefs[K]&&(P.currentlyAnimatingKeys[K]=!0,P.childrenRefs[K].componentWillLeave(P.handleDoneLeaving.bind(P,K)))},this.handleDoneLeaving=function(K){var H=P.props;if(delete P.currentlyAnimatingKeys[K],H.exclusive&&H!==P.nextProps)return;var k=p(D(H));if(P.isValidChildByKey(k,K))P.performEnter(K);else{var Z=function(){u.allowLeaveCallback(H)&&(H.onLeave(K),H.onEnd(K,!1))};i(P.state.children,k,H.showProp)?Z():P.setState({children:k},Z)}}},M=F.a=Object(g.a)(R)},UnoB:function(J,F,e){var d=e("bYtY"),E=e("OELB");function g(b,h){b.eachSeriesByType("themeRiver",function(i){var r=i.getData(),a=i.coordinateSystem,s={},l=a.getRect();s.rect=l;var n=i.get("boundaryGap"),u=a.getAxis();if(s.boundaryGap=n,u.orient==="horizontal"){n[0]=E.parsePercent(n[0],l.height),n[1]=E.parsePercent(n[1],l.height);var t=l.height-n[0]-n[1];p(r,i,t)}else{n[0]=E.parsePercent(n[0],l.width),n[1]=E.parsePercent(n[1],l.width);var c=l.width-n[0]-n[1];p(r,i,c)}r.setLayout("layoutInfo",s)})}function p(b,h,i){if(!b.count())return;for(var r=h.coordinateSystem,a=h.getLayerSeries(),s=b.mapDimension("single"),l=b.mapDimension("value"),n=d.map(a,function(S){return d.map(S.indices,function(x){var O=r.dataToPoint(b.get(s,x));return O[1]=b.get(l,x),O})}),u=A(n),t=u.y0,c=i/u.max,o=a.length,f=a[0].indices.length,v,y=0;y<f;++y){v=t[y]*c,b.setItemLayout(a[0].indices[y],{layerIndex:0,x:n[0][y][0],y0:v,y:n[0][y][1]*c});for(var L=1;L<o;++L)v+=n[L-1][y][1]*c,b.setItemLayout(a[L].indices[y],{layerIndex:L,x:n[L][y][0],y0:v,y:n[L][y][1]*c})}}function A(b){for(var h=b.length,i=b[0].length,r=[],a=[],s=0,l,n={},u=0;u<i;++u){for(var t=0,l=0;t<h;++t)l+=b[t][u][1];l>s&&(s=l),r.push(l)}for(var c=0;c<i;++c)a[c]=(s-r[c])/2;s=0;for(var o=0;o<i;++o){var f=r[o]+a[o];f>s&&(s=f)}return n.y0=a,n.max=s,n}J.exports=g},Urep:function(J,F,e){},V6Ve:function(J,F,e){var d=e("kekF"),E=d(Object.keys,Object);J.exports=E},V7ic:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("digP")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FileTwoTone";var h=g.forwardRef(b);F.default=h},VFCP:function(J,F,e){e("dBmv"),e("KamJ")},VPsl:function(J,F){function e(d){d.eachSeriesByType("map",function(E){var g=E.get("color"),p=E.getModel("itemStyle"),A=p.get("areaColor"),b=p.get("color")||g[E.seriesIndex%g.length];E.getData().setVisual({areaColor:A,color:b})})}J.exports=e},VR9l:function(J,F,e){var d=e("KCsZ"),E=d([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),g={getItemStyle:function(p,A){var b=E(this,p,A),h=this.getBorderLineDash();return h&&(b.lineDash=h),b},getBorderLineDash:function(){var p=this.get("borderType");return p==="solid"||p==null?null:p==="dashed"?[5,5]:[1,1]}};J.exports=g},VSLf:function(J,F,e){e("I+Bx"),e("F0hE"),e("bBKM")},VXYp:function(J,F,e){var d=e("bYtY"),E=e("SgGq"),g=e("iLNv"),p="\0_ec_dataZoom_roams";function A(n,u){var t=i(n),c=u.dataZoomId,o=u.coordId;d.each(t,function(y,L){var S=y.dataZoomInfos;S[c]&&d.indexOf(u.allCoordIds,o)<0&&(delete S[c],y.count--)}),a(t);var f=t[o];f||(f=t[o]={coordId:o,dataZoomInfos:{},count:0},f.controller=r(n,f),f.dispatchAction=d.curry(s,n)),!f.dataZoomInfos[c]&&f.count++,f.dataZoomInfos[c]=u;var v=l(f.dataZoomInfos);f.controller.enable(v.controlType,v.opt),f.controller.setPointerChecker(u.containsPoint),g.createOrUpdate(f,"dispatchAction",u.dataZoomModel.get("throttle",!0),"fixRate")}function b(n,u){var t=i(n);d.each(t,function(c){c.controller.dispose();var o=c.dataZoomInfos;o[u]&&(delete o[u],c.count--)}),a(t)}function h(n){return n.type+"\0_"+n.id}function i(n){var u=n.getZr();return u[p]||(u[p]={})}function r(n,u){var t=new E(n.getZr());return d.each(["pan","zoom","scrollMove"],function(c){t.on(c,function(o){var f=[];d.each(u.dataZoomInfos,function(v){if(!o.isAvailableBehavior(v.dataZoomModel.option))return;var y=(v.getRange||{})[c],L=y&&y(u.controller,o);!v.dataZoomModel.get("disabled",!0)&&L&&f.push({dataZoomId:v.dataZoomId,start:L[0],end:L[1]})}),f.length&&u.dispatchAction(f)})}),t}function a(n){d.each(n,function(u,t){u.count||(u.controller.dispose(),delete n[t])})}function s(n,u){n.dispatchAction({type:"dataZoom",batch:u})}function l(n){var u,t="type_",c={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return d.each(n,function(f){var v=f.dataZoomModel,y=v.get("disabled",!0)?!1:v.get("zoomLock",!0)?"move":!0;c[t+y]>c[t+u]&&(u=y),o&=v.get("preventDefaultMouseMove",!0)}),{controlType:u,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}F.register=A,F.unregister=b,F.generateCoordId=h},VaNO:function(J,F){function e(d){return this.__data__.has(d)}J.exports=e},VaxA:function(J,F,e){var d=e("bYtY");function E(b,h,i){if(b&&d.indexOf(h,b.type)>=0){var r=i.getData().tree.root,a=b.targetNode;if(typeof a=="string"&&(a=r.getNodeById(a)),a&&r.contains(a))return{node:a};var s=b.targetNodeId;if(s!=null&&(a=r.getNodeById(s)))return{node:a}}}function g(b){for(var h=[];b;)b=b.parentNode,b&&h.push(b);return h.reverse()}function p(b,h){var i=g(b);return d.indexOf(i,h)>=0}function A(b,h){for(var i=[];b;){var r=b.dataIndex;i.push({name:b.name,dataIndex:r,value:h.getRawValue(r)}),b=b.parentNode}return i.reverse(),i}F.retrieveTargetInfo=E,F.getPathToRoot=g,F.aboveViewRoot=p,F.wrapTreePathInfo=A},Vi4m:function(J,F,e){var d=e("bYtY");function E(p){p!=null&&d.extend(this,p),this.otherDims={}}var g=E;J.exports=g},Vl3Y:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("J4zp"),p=e.n(g),A=e("lSNA"),b=e.n(A),h=e("q1tI"),i=e("TSYQ"),r=e.n(i),a=e("85Yc"),s=e("H84U"),l=e("BGR+"),n=h.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),u=h.createContext({updateItemErrors:function(){}}),t=function(nr){var Gt=Object(l.default)(nr,["prefixCls"]);return h.createElement(a.FormProvider,Gt)};function c(It){return It!=null&&typeof It=="object"&&It.nodeType===1}function o(It,nr){return nr&&It==="hidden"?!1:It!=="visible"&&It!=="clip"}function f(It){if(!It.ownerDocument||!It.ownerDocument.defaultView)return null;try{return It.ownerDocument.defaultView.frameElement}catch(nr){return null}}function v(It){var nr=f(It);return nr?nr.clientHeight<It.scrollHeight||nr.clientWidth<It.scrollWidth:!1}function y(It,nr){if(It.clientHeight<It.scrollHeight||It.clientWidth<It.scrollWidth){var Gt=getComputedStyle(It,null);return o(Gt.overflowY,nr)||o(Gt.overflowX,nr)||v(It)}return!1}function L(It,nr,Gt,Jt,hr,Xt,de,ue){return Xt<It&&de>nr||Xt>It&&de<nr?0:Xt<=It&&ue<=Gt||de>=nr&&ue>=Gt?Xt-It-Jt:de>nr&&ue<Gt||Xt<It&&ue>Gt?de-nr+hr:0}var S=function(It,nr){var Gt=nr.scrollMode,Jt=nr.block,hr=nr.inline,Xt=nr.boundary,de=nr.skipOverflowHiddenElements,ue=typeof Xt=="function"?Xt:function(Yt){return Yt!==Xt};if(!c(It))throw new TypeError("Invalid target");for(var se=document.scrollingElement||document.documentElement,ae=[],ye=It;c(ye)&&ue(ye);){if(ye=ye.parentNode,ye===se){ae.push(ye);break}if(ye===document.body&&y(ye)&&!y(document.documentElement))continue;y(ye,de)&&ae.push(ye)}for(var Ce=window.visualViewport?visualViewport.width:innerWidth,Oe=window.visualViewport?visualViewport.height:innerHeight,Te=window.scrollX||pageXOffset,xe=window.scrollY||pageYOffset,je=It.getBoundingClientRect(),ut=je.height,wt=je.width,ee=je.top,ie=je.right,z=je.bottom,$=je.left,le=Jt==="start"||Jt==="nearest"?ee:Jt==="end"?z:ee+ut/2,ge=hr==="center"?$+wt/2:hr==="end"?ie:$,Ae=[],Me=0;Me<ae.length;Me++){var $e=ae[Me],kt=$e.getBoundingClientRect(),$t=kt.height,Lt=kt.width,Ut=kt.top,Wt=kt.right,Vt=kt.bottom,Tt=kt.left;if(Gt==="if-needed"&&ee>=0&&$>=0&&z<=Oe&&ie<=Ce&&ee>=Ut&&z<=Vt&&$>=Tt&&ie<=Wt)return Ae;var ur=getComputedStyle($e),qt=parseInt(ur.borderLeftWidth,10),ze=parseInt(ur.borderTopWidth,10),nt=parseInt(ur.borderRightWidth,10),Ye=parseInt(ur.borderBottomWidth,10),Xe=0,yt=0,mt="offsetWidth"in $e?$e.offsetWidth-$e.clientWidth-qt-nt:0,We="offsetHeight"in $e?$e.offsetHeight-$e.clientHeight-ze-Ye:0;if(se===$e)Jt==="start"?Xe=le:Jt==="end"?Xe=le-Oe:Jt==="nearest"?Xe=L(xe,xe+Oe,Oe,ze,Ye,xe+le,xe+le+ut,ut):Xe=le-Oe/2,hr==="start"?yt=ge:hr==="center"?yt=ge-Ce/2:hr==="end"?yt=ge-Ce:yt=L(Te,Te+Ce,Ce,qt,nt,Te+ge,Te+ge+wt,wt),Xe=Math.max(0,Xe+xe),yt=Math.max(0,yt+Te);else{Jt==="start"?Xe=le-Ut-ze:Jt==="end"?Xe=le-Vt+Ye+We:Jt==="nearest"?Xe=L(Ut,Vt,$t,ze,Ye+We,le,le+ut,ut):Xe=le-(Ut+$t/2)+We/2,hr==="start"?yt=ge-Tt-qt:hr==="center"?yt=ge-(Tt+Lt/2)+mt/2:hr==="end"?yt=ge-Wt+nt+mt:yt=L(Tt,Wt,Lt,qt,nt+mt,ge,ge+wt,wt);var rt=$e.scrollLeft,ft=$e.scrollTop;Xe=Math.max(0,Math.min(ft+Xe,$e.scrollHeight-$t+We)),yt=Math.max(0,Math.min(rt+yt,$e.scrollWidth-Lt+mt)),le+=ft-Xe,ge+=rt-yt}Ae.push({el:$e,top:Xe,left:yt})}return Ae};function x(It){return It===Object(It)&&Object.keys(It).length!==0}function O(It,nr){nr===void 0&&(nr="auto");var Gt="scrollBehavior"in document.body.style;It.forEach(function(Jt){var hr=Jt.el,Xt=Jt.top,de=Jt.left;hr.scroll&&Gt?hr.scroll({top:Xt,left:de,behavior:nr}):(hr.scrollTop=Xt,hr.scrollLeft=de)})}function T(It){return It===!1?{block:"end",inline:"nearest"}:x(It)?It:{block:"start",inline:"nearest"}}function w(It,nr){var Gt=!It.ownerDocument.documentElement.contains(It);if(x(nr)&&typeof nr.behavior=="function")return nr.behavior(Gt?[]:S(It,nr));if(Gt)return;var Jt=T(nr);return O(S(It,Jt),Jt.behavior)}var C=w;function N(It){return It===void 0||It===!1?[]:Array.isArray(It)?It:[It]}function D(It,nr){if(!It.length)return;var Gt=It.join("_");return nr?"".concat(nr,"_").concat(Gt):Gt}function B(It){var nr=N(It);return nr.join("_")}function R(It){var nr=Object(a.useForm)(),Gt=p()(nr,1),Jt=Gt[0],hr=Object(h.useRef)({}),Xt=Object(h.useMemo)(function(){return It||E()(E()({},Jt),{__INTERNAL__:{itemRef:function(ue){return function(se){var ae=B(ue);se?hr.current[ae]=se:delete hr.current[ae]}}},scrollToField:function(ue){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ae=N(ue),ye=D(ae,Xt.__INTERNAL__.name),Ce=ye?document.getElementById(ye):null;Ce&&C(Ce,E()({scrollMode:"if-needed",block:"nearest"},se))},getFieldInstance:function(ue){var se=B(ue);return hr.current[se]}})},[It,Jt]);return[Xt]}var U=e("3Nzz"),M=function(It,nr){var Gt={};for(var Jt in It)Object.prototype.hasOwnProperty.call(It,Jt)&&nr.indexOf(Jt)<0&&(Gt[Jt]=It[Jt]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hr=0,Jt=Object.getOwnPropertySymbols(It);hr<Jt.length;hr++)nr.indexOf(Jt[hr])<0&&Object.prototype.propertyIsEnumerable.call(It,Jt[hr])&&(Gt[Jt[hr]]=It[Jt[hr]]);return Gt},j=function(nr,Gt){var Jt,hr=h.useContext(U.b),Xt=h.useContext(s.b),de=Xt.getPrefixCls,ue=Xt.direction,se=nr.name,ae=nr.prefixCls,ye=nr.className,Ce=ye===void 0?"":ye,Oe=nr.size,Te=Oe===void 0?hr:Oe,xe=nr.form,je=nr.colon,ut=nr.labelAlign,wt=nr.labelCol,ee=nr.wrapperCol,ie=nr.hideRequiredMark,z=nr.layout,$=z===void 0?"horizontal":z,le=nr.scrollToFirstError,ge=nr.requiredMark,Ae=nr.onFinishFailed,Me=M(nr,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),$e=Object(h.useMemo)(function(){return ge!==void 0?ge:!ie},[ie,ge]),kt=de("form",ae),$t=r()(kt,(Jt={},b()(Jt,"".concat(kt,"-").concat($),!0),b()(Jt,"".concat(kt,"-hide-required-mark"),$e===!1),b()(Jt,"".concat(kt,"-rtl"),ue==="rtl"),b()(Jt,"".concat(kt,"-").concat(Te),Te),Jt),Ce),Lt=R(xe),Ut=p()(Lt,1),Wt=Ut[0],Vt=Wt.__INTERNAL__;Vt.name=se;var Tt=Object(h.useMemo)(function(){return{name:se,labelAlign:ut,labelCol:wt,wrapperCol:ee,vertical:$==="vertical",colon:je,requiredMark:$e,itemRef:Vt.itemRef}},[se,ut,wt,ee,$,je,$e]);h.useImperativeHandle(Gt,function(){return Wt});var ur=function(ze){Ae&&Ae(ze),le&&ze.errorFields.length&&Wt.scrollToField(ze.errorFields[0].name)};return h.createElement(U.a,{size:Te},h.createElement(n.Provider,{value:Tt},h.createElement(a.default,E()({id:se},Me,{onFinishFailed:ur,form:Wt,className:$t}))))},P=h.forwardRef(j),K=P,H=e("cDf5"),k=e.n(H),Z=e("RIqP"),Y=e.n(Z),_=e("Y+p1"),Q=e.n(_),X=e("KW7l"),he=e("c+Xe"),te=e("qrJ5"),fe=e("CWQg"),be=e("uaoM"),we=e("/kpp"),Ke=e("YMnH"),qe=e("ZvpZ"),xt=function(nr){var Gt=nr.prefixCls,Jt=nr.label,hr=nr.htmlFor,Xt=nr.labelCol,de=nr.labelAlign,ue=nr.colon,se=nr.required,ae=nr.requiredMark,ye=Object(Ke.b)("Form"),Ce=p()(ye,1),Oe=Ce[0];return Jt?h.createElement(n.Consumer,{key:"label"},function(Te){var xe,je=Te.vertical,ut=Te.labelAlign,wt=Te.labelCol,ee=Te.colon,ie,z=Xt||wt||{},$=de||ut,le="".concat(Gt,"-item-label"),ge=r()(le,$==="left"&&"".concat(le,"-left"),z.className),Ae=Jt,Me=ue===!0||ee!==!1&&ue!==!1,$e=Me&&!je;$e&&typeof Jt=="string"&&Jt.trim()!==""&&(Ae=Jt.replace(/[:|:]\s*$/,"")),ae==="optional"&&!se&&(Ae=h.createElement(h.Fragment,null,Ae,h.createElement("span",{className:"".concat(Gt,"-item-optional")},(Oe==null?void 0:Oe.optional)||((ie=qe.a.Form)===null||ie===void 0?void 0:ie.optional))));var kt=r()((xe={},b()(xe,"".concat(Gt,"-item-required"),se),b()(xe,"".concat(Gt,"-item-required-mark-optional"),ae==="optional"),b()(xe,"".concat(Gt,"-item-no-colon"),!Me),xe));return h.createElement(we.a,E()({},z,{className:ge}),h.createElement("label",{htmlFor:hr,className:kt,title:typeof Jt=="string"?Jt:""},Ae))}):null},Fe=xt,Be=e("gZBC"),bt=e.n(Be),lt=e("kbBi"),tt=e.n(lt),St=e("J84W"),ht=e.n(St),vt=e("sKbD"),Ge=e.n(vt),At=e("YrtM"),_e=e("8XRh"),De=e("hkKa");function Ie(It,nr,Gt){var Jt=h.useRef({errors:It,visible:!!It.length}),hr=Object(De.a)(),Xt=function(){var ue=Jt.current.visible,se=!!It.length,ae=Jt.current.errors;Jt.current.errors=It,Jt.current.visible=se,ue!==se?nr(se):(ae.length!==It.length||ae.some(function(ye,Ce){return ye!==It[Ce]}))&&hr()};return h.useEffect(function(){if(!Gt){var de=setTimeout(Xt,10);return function(){return clearTimeout(de)}}},[It]),Gt&&Xt(),[Jt.current.visible,Jt.current.errors]}var st={success:ht.a,warning:Ge.a,error:tt.a,validating:bt.a},Et=function(nr){var Gt=nr.prefixCls,Jt=nr.wrapperCol,hr=nr.children,Xt=nr.help,de=nr.errors,ue=nr.onDomErrorVisibleChange,se=nr.hasFeedback,ae=nr.validateStatus,ye=nr.extra,Ce=Object(De.a)(),Oe="".concat(Gt,"-item"),Te=h.useContext(n),xe=Jt||Te.wrapperCol||{},je=r()("".concat(Oe,"-control"),xe.className),ut=Ie(de,function(Ae){Ae&&Promise.resolve().then(function(){ue(!0)}),Ce()},!!Xt),wt=p()(ut,2),ee=wt[0],ie=wt[1];h.useEffect(function(){return function(){ue(!1)}},[]);var z=Object(At.a)(function(){return ie},ee,function(Ae,Me){return Me}),$=ae&&st[ae],le=se&&$?h.createElement("span",{className:"".concat(Oe,"-children-icon")},h.createElement($,null)):null,ge=E()({},Te);return delete ge.labelCol,delete ge.wrapperCol,h.createElement(n.Provider,{value:ge},h.createElement(we.a,E()({},xe,{className:je}),h.createElement("div",{className:"".concat(Oe,"-control-input")},h.createElement("div",{className:"".concat(Oe,"-control-input-content")},hr),le),h.createElement(_e.default,{motionDeadline:500,visible:ee,motionName:"show-help",onLeaveEnd:function(){ue(!1)},motionAppear:!0,removeOnLeave:!0},function(Ae){var Me=Ae.className;return h.createElement("div",{className:r()("".concat(Oe,"-explain"),Me),key:"help"},z.map(function($e,kt){return h.createElement("div",{key:kt,role:"alert"},$e)}))}),ye&&h.createElement("div",{className:"".concat(Oe,"-extra")},ye)))},Mt=Et,Pt=e("0n0R"),ke=e("xEkU"),zt=e.n(ke);function Ot(It){var nr=h.useState(It),Gt=p()(nr,2),Jt=Gt[0],hr=Gt[1],Xt=Object(h.useRef)(null),de=Object(h.useRef)([]),ue=Object(h.useRef)(!1);h.useEffect(function(){return function(){ue.current=!0,zt.a.cancel(Xt.current)}},[]);function se(ae){if(ue.current)return;Xt.current===null&&(de.current=[],Xt.current=zt()(function(){Xt.current=null,hr(function(ye){var Ce=ye;return de.current.forEach(function(Oe){Ce=Oe(Ce)}),Ce})})),de.current.push(ae)}return[Jt,se]}function _t(){var It=h.useContext(n),nr=It.itemRef,Gt=h.useRef({});function Jt(hr,Xt){var de=Xt&&k()(Xt)==="object"&&Xt.ref,ue=hr.join("_");return(Gt.current.name!==ue||Gt.current.originRef!==de)&&(Gt.current.name=ue,Gt.current.originRef=de,Gt.current.ref=Object(he.a)(nr(hr),de)),Gt.current.ref}return Jt}var Ve=function(It,nr){var Gt={};for(var Jt in It)Object.prototype.hasOwnProperty.call(It,Jt)&&nr.indexOf(Jt)<0&&(Gt[Jt]=It[Jt]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hr=0,Jt=Object.getOwnPropertySymbols(It);hr<Jt.length;hr++)nr.indexOf(Jt[hr])<0&&Object.prototype.propertyIsEnumerable.call(It,Jt[hr])&&(Gt[Jt[hr]]=It[Jt[hr]]);return Gt},Qe=Object(fe.a)("success","warning","error","validating",""),et=h.memo(function(It){var nr=It.children;return nr},function(It,nr){return It.value===nr.value&&It.update===nr.update});function dt(It){return It===null&&Object(be.a)(!1,"Form.Item","`null` is passed as `name` property"),!(It==null)}function Ze(It){var nr=It.name,Gt=It.fieldKey,Jt=It.noStyle,hr=It.dependencies,Xt=It.prefixCls,de=It.style,ue=It.className,se=It.shouldUpdate,ae=It.hasFeedback,ye=It.help,Ce=It.rules,Oe=It.validateStatus,Te=It.children,xe=It.required,je=It.label,ut=It.trigger,wt=ut===void 0?"onChange":ut,ee=It.validateTrigger,ie=It.hidden,z=Ve(It,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),$=h.useRef(!1),le=h.useContext(s.b),ge=le.getPrefixCls,Ae=h.useContext(n),Me=Ae.name,$e=Ae.requiredMark,kt=h.useContext(u),$t=kt.updateItemErrors,Lt=h.useState(!!ye),Ut=p()(Lt,2),Wt=Ut[0],Vt=Ut[1],Tt=h.useRef(Oe),ur=Ot({}),qt=p()(ur,2),ze=qt[0],nt=qt[1],Ye=h.useContext(X.b),Xe=Ye.validateTrigger,yt=ee!==void 0?ee:Xe;function mt(en){$.current||Vt(en)}var We=dt(nr),rt=h.useRef([]);h.useEffect(function(){return function(){$.current=!0,$t(rt.current.join("__SPLIT__"),[])}},[]);var ft=ge("form",Xt),Yt=Jt?$t:function(en,Qr){nt(function(){var Cr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Q()(Cr[en],Qr)?Cr:E()(E()({},Cr),b()({},en,Qr))})},Ft=_t();function fr(en,Qr,Cr,Gr){var Nr,lr;if(Jt&&!ie)return en;var pr=[];Object.keys(ze).forEach(function(Xr){pr=[].concat(Y()(pr),Y()(ze[Xr]||[]))});var sr;ye!=null?sr=N(ye):(sr=Cr?Cr.errors:[],sr=[].concat(Y()(sr),Y()(pr)));var dr="";Oe!==void 0?dr=Oe:(Cr==null?void 0:Cr.validating)?dr="validating":((lr=Cr==null?void 0:Cr.errors)===null||lr===void 0?void 0:lr.length)||pr.length?dr="error":(Cr==null?void 0:Cr.touched)&&(dr="success"),Wt&&ye&&(Tt.current=dr);var Sr=(Nr={},b()(Nr,"".concat(ft,"-item"),!0),b()(Nr,"".concat(ft,"-item-with-help"),Wt||ye),b()(Nr,"".concat(ue),!!ue),b()(Nr,"".concat(ft,"-item-has-feedback"),dr&&ae),b()(Nr,"".concat(ft,"-item-has-success"),dr==="success"),b()(Nr,"".concat(ft,"-item-has-warning"),dr==="warning"),b()(Nr,"".concat(ft,"-item-has-error"),dr==="error"),b()(Nr,"".concat(ft,"-item-has-error-leave"),!ye&&Wt&&Tt.current==="error"),b()(Nr,"".concat(ft,"-item-is-validating"),dr==="validating"),b()(Nr,"".concat(ft,"-item-hidden"),ie),Nr);return h.createElement(te.a,E()({className:r()(Sr),style:de,key:"row"},Object(l.default)(z,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),h.createElement(Fe,E()({htmlFor:Qr,required:Gr,requiredMark:$e},It,{prefixCls:ft})),h.createElement(Mt,E()({},It,Cr,{errors:sr,prefixCls:ft,onDomErrorVisibleChange:mt,validateStatus:dr}),h.createElement(u.Provider,{value:{updateItemErrors:Yt}},en)))}var mr=typeof Te=="function",Er=h.useRef(0);if(Er.current+=1,!We&&!mr&&!hr)return fr(Te);var Lr={};return typeof je=="string"&&(Lr.label=je),h.createElement(a.Field,E()({},It,{messageVariables:Lr,trigger:wt,validateTrigger:yt,onReset:function(){mt(!1)}}),function(en,Qr,Cr){var Gr=Qr.errors,Nr=N(nr).length&&Qr?Qr.name:[],lr=D(Nr,Me);if(Jt){if(rt.current=Y()(Nr),Gt){var pr=Array.isArray(Gt)?Gt:[Gt];rt.current=[].concat(Y()(Nr.slice(0,-1)),Y()(pr))}$t(rt.current.join("__SPLIT__"),Gr)}var sr=xe!==void 0?xe:!!(Ce&&Ce.some(function(Dn){if(Dn&&k()(Dn)==="object"&&Dn.required)return!0;if(typeof Dn=="function"){var jr=Dn(Cr);return jr&&jr.required}return!1})),dr=E()({},en),Sr=null;if(Object(be.a)(!(se&&hr),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Te)&&We)Object(be.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Sr=Te;else if(mr&&(!(se||hr)||We))Object(be.a)(!!(se||hr),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(be.a)(!We,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(hr&&!mr&&!We)Object(be.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Pt.b)(Te)){Object(be.a)(Te.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Xr=E()(E()({},Te.props),dr);Xr.id||(Xr.id=lr),Object(he.c)(Te)&&(Xr.ref=Ft(Nr,Te));var cn=new Set([].concat(Y()(N(wt)),Y()(N(yt))));cn.forEach(function(Dn){Xr[Dn]=function(){for(var jr,On,gn,Un,Wn,Jn=arguments.length,Qn=new Array(Jn),Vn=0;Vn<Jn;Vn++)Qn[Vn]=arguments[Vn];(gn=dr[Dn])===null||gn===void 0||(jr=gn).call.apply(jr,[dr].concat(Qn)),(Wn=(Un=Te.props)[Dn])===null||Wn===void 0||(On=Wn).call.apply(On,[Un].concat(Qn))}}),Sr=h.createElement(et,{value:dr[It.valuePropName||"value"],update:Er.current},Object(Pt.a)(Te,Xr))}else mr&&(se||hr)&&!We?Sr=Te(Cr):(Object(be.a)(!Nr.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),Sr=Te);return fr(Sr,lr,Qr,sr)})}var oe=Ze,me=function(It,nr){var Gt={};for(var Jt in It)Object.prototype.hasOwnProperty.call(It,Jt)&&nr.indexOf(Jt)<0&&(Gt[Jt]=It[Jt]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hr=0,Jt=Object.getOwnPropertySymbols(It);hr<Jt.length;hr++)nr.indexOf(Jt[hr])<0&&Object.prototype.propertyIsEnumerable.call(It,Jt[hr])&&(Gt[Jt[hr]]=It[Jt[hr]]);return Gt},ot=function(nr){var Gt=nr.children,Jt=me(nr,["children"]);return Object(be.a)(!!Jt.name,"Form.List","Miss `name` prop."),h.createElement(a.List,Jt,function(hr,Xt){return Gt(hr.map(function(de){return E()(E()({},de),{fieldKey:de.key})}),Xt)})},Pe=ot,pt=K;pt.Item=oe,pt.List=Pe,pt.useForm=R,pt.Provider=t,pt.create=function(){Object(be.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Rr=F.a=pt},VpOo:function(J,F){function e(d,E){var g=E.x,p=E.y,A=E.width,b=E.height,h=E.r,i,r,a,s;A<0&&(g=g+A,A=-A),b<0&&(p=p+b,b=-b),typeof h=="number"?i=r=a=s=h:h instanceof Array?h.length===1?i=r=a=s=h[0]:h.length===2?(i=a=h[0],r=s=h[1]):h.length===3?(i=h[0],r=s=h[1],a=h[2]):(i=h[0],r=h[1],a=h[2],s=h[3]):i=r=a=s=0;var l;i+r>A&&(l=i+r,i*=A/l,r*=A/l),a+s>A&&(l=a+s,a*=A/l,s*=A/l),r+a>b&&(l=r+a,r*=b/l,a*=b/l),i+s>b&&(l=i+s,i*=b/l,s*=b/l),d.moveTo(g+i,p),d.lineTo(g+A-r,p),r!==0&&d.arc(g+A-r,p+r,r,-Math.PI/2,0),d.lineTo(g+A,p+b-a),a!==0&&d.arc(g+A-a,p+b-a,a,0,Math.PI/2),d.lineTo(g+s,p+b),s!==0&&d.arc(g+s,p+b-s,s,Math.PI/2,Math.PI),d.lineTo(g,p+i),i!==0&&d.arc(g+i,p+i,i,Math.PI,Math.PI*1.5)}F.buildPath=e},"VrN/":function(J,F,e){(function(d,E){J.exports=E()})(this,function(){"use strict";var d=navigator.userAgent,E=navigator.platform,g=/gecko\/\d/i.test(d),p=/MSIE \d/.test(d),A=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(d),b=/Edge\/(\d+)/.exec(d),h=p||A||b,i=h&&(p?document.documentMode||6:+(b||A)[1]),r=!b&&/WebKit\//.test(d),a=r&&/Qt\/\d+\.\d+/.test(d),s=!b&&/Chrome\//.test(d),l=/Opera\//.test(d),n=/Apple Computer/.test(navigator.vendor),u=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(d),t=/PhantomJS/.test(d),c=!b&&/AppleWebKit/.test(d)&&/Mobile\/\w+/.test(d),o=/Android/.test(d),f=c||o||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(d),v=c||/Mac/.test(E),y=/\bCrOS\b/.test(d),L=/win/i.test(E),S=l&&d.match(/Version\/(\d*\.\d*)/);S&&(S=Number(S[1])),S&&S>=15&&(l=!1,r=!0);var x=v&&(a||l&&(S==null||S<12.11)),O=g||h&&i>=9;function T(m){return new RegExp("(^|\\s)"+m+"(?:$|\\s)\\s*")}var w=function(I,W){var V=I.className,q=T(W).exec(V);if(q){var ve=V.slice(q.index+q[0].length);I.className=V.slice(0,q.index)+(ve?q[1]+ve:"")}};function C(m){for(var I=m.childNodes.length;I>0;--I)m.removeChild(m.firstChild);return m}function N(m,I){return C(m).appendChild(I)}function D(m,I,W,V){var q=document.createElement(m);if(W&&(q.className=W),V&&(q.style.cssText=V),typeof I=="string")q.appendChild(document.createTextNode(I));else if(I)for(var ve=0;ve<I.length;++ve)q.appendChild(I[ve]);return q}function B(m,I,W,V){var q=D(m,I,W,V);return q.setAttribute("role","presentation"),q}var R;document.createRange?R=function(I,W,V,q){var ve=document.createRange();return ve.setEnd(q||I,V),ve.setStart(I,W),ve}:R=function(I,W,V){var q=document.body.createTextRange();try{q.moveToElementText(I.parentNode)}catch(ve){return q}return q.collapse(!0),q.moveEnd("character",V),q.moveStart("character",W),q};function U(m,I){if(I.nodeType==3&&(I=I.parentNode),m.contains)return m.contains(I);do if(I.nodeType==11&&(I=I.host),I==m)return!0;while(I=I.parentNode)}function M(){var m;try{m=document.activeElement}catch(I){m=document.body||null}for(;m&&m.shadowRoot&&m.shadowRoot.activeElement;)m=m.shadowRoot.activeElement;return m}function j(m,I){var W=m.className;T(I).test(W)||(m.className+=(W?" ":"")+I)}function P(m,I){for(var W=m.split(" "),V=0;V<W.length;V++)W[V]&&!T(W[V]).test(I)&&(I+=" "+W[V]);return I}var K=function(I){I.select()};c?K=function(I){I.selectionStart=0,I.selectionEnd=I.value.length}:h&&(K=function(I){try{I.select()}catch(W){}});function H(m){var I=Array.prototype.slice.call(arguments,1);return function(){return m.apply(null,I)}}function k(m,I,W){I||(I={});for(var V in m)m.hasOwnProperty(V)&&(W!==!1||!I.hasOwnProperty(V))&&(I[V]=m[V]);return I}function Z(m,I,W,V,q){I==null&&(I=m.search(/[^\s\u00a0]/),I==-1&&(I=m.length));for(var ve=V||0,Je=q||0;;){var Ct=m.indexOf(" ",ve);if(Ct<0||Ct>=I)return Je+(I-ve);Je+=Ct-ve,Je+=W-Je%W,ve=Ct+1}}var Y=function(){this.id=null,this.f=null,this.time=0,this.handler=H(this.onTimeout,this)};Y.prototype.onTimeout=function(m){m.id=0,m.time<=+new Date?m.f():setTimeout(m.handler,m.time-+new Date)},Y.prototype.set=function(m,I){this.f=I;var W=+new Date+m;(!this.id||W<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,m),this.time=W)};function _(m,I){for(var W=0;W<m.length;++W)if(m[W]==I)return W;return-1}var Q=50,X={toString:function(){return"CodeMirror.Pass"}},he={scroll:!1},te={origin:"*mouse"},fe={origin:"+move"};function be(m,I,W){for(var V=0,q=0;;){var ve=m.indexOf(" ",V);ve==-1&&(ve=m.length);var Je=ve-V;if(ve==m.length||q+Je>=I)return V+Math.min(Je,I-q);if(q+=ve-V,q+=W-q%W,V=ve+1,q>=I)return V}}var we=[""];function Ke(m){for(;we.length<=m;)we.push(qe(we)+" ");return we[m]}function qe(m){return m[m.length-1]}function xt(m,I){for(var W=[],V=0;V<m.length;V++)W[V]=I(m[V],V);return W}function Fe(m,I,W){for(var V=0,q=W(I);V<m.length&&W(m[V])<=q;)V++;m.splice(V,0,I)}function Be(){}function bt(m,I){var W;return Object.create?W=Object.create(m):(Be.prototype=m,W=new Be),I&&k(I,W),W}var lt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function tt(m){return/\w/.test(m)||m>"\x80"&&(m.toUpperCase()!=m.toLowerCase()||lt.test(m))}function St(m,I){return I?I.source.indexOf("\\w")>-1&&tt(m)?!0:I.test(m):tt(m)}function ht(m){for(var I in m)if(m.hasOwnProperty(I)&&m[I])return!1;return!0}var vt=/[\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 Ge(m){return m.charCodeAt(0)>=768&&vt.test(m)}function At(m,I,W){for(;(W<0?I>0:I<m.length)&&Ge(m.charAt(I));)I+=W;return I}function _e(m,I,W){for(var V=I>W?-1:1;;){if(I==W)return I;var q=(I+W)/2,ve=V<0?Math.ceil(q):Math.floor(q);if(ve==I)return m(ve)?I:W;m(ve)?W=ve:I=ve+V}}function De(m,I,W,V){if(!m)return V(I,W,"ltr",0);for(var q=!1,ve=0;ve<m.length;++ve){var Je=m[ve];(Je.from<W&&Je.to>I||I==W&&Je.to==I)&&(V(Math.max(Je.from,I),Math.min(Je.to,W),Je.level==1?"rtl":"ltr",ve),q=!0)}q||V(I,W,"ltr")}var Ie=null;function st(m,I,W){var V;Ie=null;for(var q=0;q<m.length;++q){var ve=m[q];if(ve.from<I&&ve.to>I)return q;ve.to==I&&(ve.from!=ve.to&&W=="before"?V=q:Ie=q),ve.from==I&&(ve.from!=ve.to&&W!="before"?V=q:Ie=q)}return V!=null?V:Ie}var Et=function(){var m="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",I="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function W(Kt){return Kt<=247?m.charAt(Kt):1424<=Kt&&Kt<=1524?"R":1536<=Kt&&Kt<=1785?I.charAt(Kt-1536):1774<=Kt&&Kt<=2220?"r":8192<=Kt&&Kt<=8203?"w":Kt==8204?"b":"L"}var V=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,q=/[stwN]/,ve=/[LRr]/,Je=/[Lb1n]/,Ct=/[1n]/;function jt(Kt,Or,kr){this.level=Kt,this.from=Or,this.to=kr}return function(Kt,Or){var kr=Or=="ltr"?"L":"R";if(Kt.length==0||Or=="ltr"&&!V.test(Kt))return!1;for(var tn=Kt.length,nn=[],xn=0;xn<tn;++xn)nn.push(W(Kt.charCodeAt(xn)));for(var _n=0,Zn=kr;_n<tn;++_n){var $n=nn[_n];$n=="m"?nn[_n]=Zn:Zn=$n}for(var oi=0,li=kr;oi<tn;++oi){var Ne=nn[oi];Ne=="1"&&li=="r"?nn[oi]="n":ve.test(Ne)&&(li=Ne,Ne=="r"&&(nn[oi]="R"))}for(var G=1,Se=nn[0];G<tn-1;++G){var Re=nn[G];Re=="+"&&Se=="1"&&nn[G+1]=="1"?nn[G]="1":Re==","&&Se==nn[G+1]&&(Se=="1"||Se=="n")&&(nn[G]=Se),Se=Re}for(var gt=0;gt<tn;++gt){var er=nn[gt];if(er==",")nn[gt]="N";else if(er=="%"){var vr=void 0;for(vr=gt+1;vr<tn&&nn[vr]=="%";++vr);for(var Dr=gt&&nn[gt-1]=="!"||vr<tn&&nn[vr]=="1"?"1":"N",Hr=gt;Hr<vr;++Hr)nn[Hr]=Dr;gt=vr-1}}for(var zr=0,un=kr;zr<tn;++zr){var sn=nn[zr];un=="L"&&sn=="1"?nn[zr]="L":ve.test(sn)&&(un=sn)}for(var Fn=0;Fn<tn;++Fn)if(q.test(nn[Fn])){var si=void 0;for(si=Fn+1;si<tn&&q.test(nn[si]);++si);for(var zn=(Fn?nn[Fn-1]:kr)=="L",fi=(si<tn?nn[si]:kr)=="L",da=zn==fi?zn?"L":"R":kr,Oi=Fn;Oi<si;++Oi)nn[Oi]=da;Fn=si-1}for(var na=[],Na,Ui=0;Ui<tn;)if(Je.test(nn[Ui])){var No=Ui;for(++Ui;Ui<tn&&Je.test(nn[Ui]);++Ui);na.push(new jt(0,No,Ui))}else{var no=Ui,Wo=na.length,Uo=Or=="rtl"?1:0;for(++Ui;Ui<tn&&nn[Ui]!="L";++Ui);for(var Pa=no;Pa<Ui;)if(Ct.test(nn[Pa])){no<Pa&&(na.splice(Wo,0,new jt(1,no,Pa)),Wo+=Uo);var Ko=Pa;for(++Pa;Pa<Ui&&Ct.test(nn[Pa]);++Pa);na.splice(Wo,0,new jt(2,Ko,Pa)),Wo+=Uo,no=Pa}else++Pa;no<Ui&&na.splice(Wo,0,new jt(1,no,Ui))}return Or=="ltr"&&(na[0].level==1&&(Na=Kt.match(/^\s+/))&&(na[0].from=Na[0].length,na.unshift(new jt(0,0,Na[0].length))),qe(na).level==1&&(Na=Kt.match(/\s+$/))&&(qe(na).to-=Na[0].length,na.push(new jt(0,tn-Na[0].length,tn)))),Or=="rtl"?na.reverse():na}}();function Mt(m,I){var W=m.order;return W==null&&(W=m.order=Et(m.text,I)),W}var Pt=[],ke=function(I,W,V){if(I.addEventListener)I.addEventListener(W,V,!1);else if(I.attachEvent)I.attachEvent("on"+W,V);else{var q=I._handlers||(I._handlers={});q[W]=(q[W]||Pt).concat(V)}};function zt(m,I){return m._handlers&&m._handlers[I]||Pt}function Ot(m,I,W){if(m.removeEventListener)m.removeEventListener(I,W,!1);else if(m.detachEvent)m.detachEvent("on"+I,W);else{var V=m._handlers,q=V&&V[I];if(q){var ve=_(q,W);ve>-1&&(V[I]=q.slice(0,ve).concat(q.slice(ve+1)))}}}function _t(m,I){var W=zt(m,I);if(!W.length)return;for(var V=Array.prototype.slice.call(arguments,2),q=0;q<W.length;++q)W[q].apply(null,V)}function Ve(m,I,W){return typeof I=="string"&&(I={type:I,preventDefault:function(){this.defaultPrevented=!0}}),_t(m,W||I.type,m,I),me(I)||I.codemirrorIgnore}function Qe(m){var I=m._handlers&&m._handlers.cursorActivity;if(!I)return;for(var W=m.curOp.cursorActivityHandlers||(m.curOp.cursorActivityHandlers=[]),V=0;V<I.length;++V)_(W,I[V])==-1&&W.push(I[V])}function et(m,I){return zt(m,I).length>0}function dt(m){m.prototype.on=function(I,W){ke(this,I,W)},m.prototype.off=function(I,W){Ot(this,I,W)}}function Ze(m){m.preventDefault?m.preventDefault():m.returnValue=!1}function oe(m){m.stopPropagation?m.stopPropagation():m.cancelBubble=!0}function me(m){return m.defaultPrevented!=null?m.defaultPrevented:m.returnValue==!1}function ot(m){Ze(m),oe(m)}function Pe(m){return m.target||m.srcElement}function pt(m){var I=m.which;return I==null&&(m.button&1?I=1:m.button&2?I=3:m.button&4&&(I=2)),v&&m.ctrlKey&&I==1&&(I=3),I}var Rr=function(){if(h&&i<9)return!1;var m=D("div");return"draggable"in m||"dragDrop"in m}(),It;function nr(m){if(It==null){var I=D("span","\u200B");N(m,D("span",[I,document.createTextNode("x")])),m.firstChild.offsetHeight!=0&&(It=I.offsetWidth<=1&&I.offsetHeight>2&&!(h&&i<8))}var W=It?D("span","\u200B"):D("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return W.setAttribute("cm-text",""),W}var Gt;function Jt(m){if(Gt!=null)return Gt;var I=N(m,document.createTextNode("A\u062EA")),W=R(I,0,1).getBoundingClientRect(),V=R(I,1,2).getBoundingClientRect();return C(m),!W||W.left==W.right?!1:Gt=V.right-W.right<3}var hr=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(m){for(var I=0,W=[],V=m.length;I<=V;){var q=m.indexOf(`
|
|
|
`,I);q==-1&&(q=m.length);var ve=m.slice(I,m.charAt(q-1)=="\r"?q-1:q),Je=ve.indexOf("\r");Je!=-1?(W.push(ve.slice(0,Je)),I+=Je+1):(W.push(ve),I=q+1)}return W}:function(m){return m.split(/\r\n?|\n/)},Xt=window.getSelection?function(m){try{return m.selectionStart!=m.selectionEnd}catch(I){return!1}}:function(m){var I;try{I=m.ownerDocument.selection.createRange()}catch(W){}return!I||I.parentElement()!=m?!1:I.compareEndPoints("StartToEnd",I)!=0},de=function(){var m=D("div");return"oncopy"in m?!0:(m.setAttribute("oncopy","return;"),typeof m.oncopy=="function")}(),ue=null;function se(m){if(ue!=null)return ue;var I=N(m,D("span","x")),W=I.getBoundingClientRect(),V=R(I,0,1).getBoundingClientRect();return ue=Math.abs(W.left-V.left)>1}var ae={},ye={};function Ce(m,I){arguments.length>2&&(I.dependencies=Array.prototype.slice.call(arguments,2)),ae[m]=I}function Oe(m,I){ye[m]=I}function Te(m){if(typeof m=="string"&&ye.hasOwnProperty(m))m=ye[m];else if(m&&typeof m.name=="string"&&ye.hasOwnProperty(m.name)){var I=ye[m.name];typeof I=="string"&&(I={name:I}),m=bt(I,m),m.name=I.name}else{if(typeof m=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(m))return Te("application/xml");if(typeof m=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(m))return Te("application/json")}return typeof m=="string"?{name:m}:m||{name:"null"}}function xe(m,I){I=Te(I);var W=ae[I.name];if(!W)return xe(m,"text/plain");var V=W(m,I);if(je.hasOwnProperty(I.name)){var q=je[I.name];for(var ve in q){if(!q.hasOwnProperty(ve))continue;V.hasOwnProperty(ve)&&(V["_"+ve]=V[ve]),V[ve]=q[ve]}}if(V.name=I.name,I.helperType&&(V.helperType=I.helperType),I.modeProps)for(var Je in I.modeProps)V[Je]=I.modeProps[Je];return V}var je={};function ut(m,I){var W=je.hasOwnProperty(m)?je[m]:je[m]={};k(I,W)}function wt(m,I){if(I===!0)return I;if(m.copyState)return m.copyState(I);var W={};for(var V in I){var q=I[V];q instanceof Array&&(q=q.concat([])),W[V]=q}return W}function ee(m,I){for(var W;m.innerMode&&!(W=m.innerMode(I),!W||W.mode==m);)I=W.state,m=W.mode;return W||{mode:m,state:I}}function ie(m,I,W){return m.startState?m.startState(I,W):!0}var z=function(I,W,V){this.pos=this.start=0,this.string=I,this.tabSize=W||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=V};z.prototype.eol=function(){return this.pos>=this.string.length},z.prototype.sol=function(){return this.pos==this.lineStart},z.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},z.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},z.prototype.eat=function(m){var I=this.string.charAt(this.pos),W;if(typeof m=="string"?W=I==m:W=I&&(m.test?m.test(I):m(I)),W)return++this.pos,I},z.prototype.eatWhile=function(m){for(var I=this.pos;this.eat(m););return this.pos>I},z.prototype.eatSpace=function(){for(var m=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>m},z.prototype.skipToEnd=function(){this.pos=this.string.length},z.prototype.skipTo=function(m){var I=this.string.indexOf(m,this.pos);if(I>-1)return this.pos=I,!0},z.prototype.backUp=function(m){this.pos-=m},z.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Z(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Z(this.string,this.lineStart,this.tabSize):0)},z.prototype.indentation=function(){return Z(this.string,null,this.tabSize)-(this.lineStart?Z(this.string,this.lineStart,this.tabSize):0)},z.prototype.match=function(m,I,W){if(typeof m=="string"){var V=function(Ct){return W?Ct.toLowerCase():Ct},q=this.string.substr(this.pos,m.length);if(V(q)==V(m))return I!==!1&&(this.pos+=m.length),!0}else{var ve=this.string.slice(this.pos).match(m);return ve&&ve.index>0?null:(ve&&I!==!1&&(this.pos+=ve[0].length),ve)}},z.prototype.current=function(){return this.string.slice(this.start,this.pos)},z.prototype.hideFirstChars=function(m,I){this.lineStart+=m;try{return I()}finally{this.lineStart-=m}},z.prototype.lookAhead=function(m){var I=this.lineOracle;return I&&I.lookAhead(m)},z.prototype.baseToken=function(){var m=this.lineOracle;return m&&m.baseToken(this.pos)};function $(m,I){if(I-=m.first,I<0||I>=m.size)throw new Error("There is no line "+(I+m.first)+" in the document.");for(var W=m;!W.lines;)for(var V=0;;++V){var q=W.children[V],ve=q.chunkSize();if(I<ve){W=q;break}I-=ve}return W.lines[I]}function le(m,I,W){var V=[],q=I.line;return m.iter(I.line,W.line+1,function(ve){var Je=ve.text;q==W.line&&(Je=Je.slice(0,W.ch)),q==I.line&&(Je=Je.slice(I.ch)),V.push(Je),++q}),V}function ge(m,I,W){var V=[];return m.iter(I,W,function(q){V.push(q.text)}),V}function Ae(m,I){var W=I-m.height;if(W)for(var V=m;V;V=V.parent)V.height+=W}function Me(m){if(m.parent==null)return null;for(var I=m.parent,W=_(I.lines,m),V=I.parent;V;I=V,V=V.parent)for(var q=0;!(V.children[q]==I);++q)W+=V.children[q].chunkSize();return W+I.first}function $e(m,I){var W=m.first;e:do{for(var V=0;V<m.children.length;++V){var q=m.children[V],ve=q.height;if(I<ve){m=q;continue e}I-=ve,W+=q.chunkSize()}return W}while(!m.lines);for(var Je=0;Je<m.lines.length;++Je){var Ct=m.lines[Je],jt=Ct.height;if(I<jt)break;I-=jt}return W+Je}function kt(m,I){return I>=m.first&&I<m.first+m.size}function $t(m,I){return String(m.lineNumberFormatter(I+m.firstLineNumber))}function Lt(m,I,W){if(W===void 0&&(W=null),!(this instanceof Lt))return new Lt(m,I,W);this.line=m,this.ch=I,this.sticky=W}function Ut(m,I){return m.line-I.line||m.ch-I.ch}function Wt(m,I){return m.sticky==I.sticky&&Ut(m,I)==0}function Vt(m){return Lt(m.line,m.ch)}function Tt(m,I){return Ut(m,I)<0?I:m}function ur(m,I){return Ut(m,I)<0?m:I}function qt(m,I){return Math.max(m.first,Math.min(I,m.first+m.size-1))}function ze(m,I){if(I.line<m.first)return Lt(m.first,0);var W=m.first+m.size-1;return I.line>W?Lt(W,$(m,W).text.length):nt(I,$(m,I.line).text.length)}function nt(m,I){var W=m.ch;return W==null||W>I?Lt(m.line,I):W<0?Lt(m.line,0):m}function Ye(m,I){for(var W=[],V=0;V<I.length;V++)W[V]=ze(m,I[V]);return W}var Xe=function(I,W){this.state=I,this.lookAhead=W},yt=function(I,W,V,q){this.state=W,this.doc=I,this.line=V,this.maxLookAhead=q||0,this.baseTokens=null,this.baseTokenPos=1};yt.prototype.lookAhead=function(m){var I=this.doc.getLine(this.line+m);return I!=null&&m>this.maxLookAhead&&(this.maxLookAhead=m),I},yt.prototype.baseToken=function(m){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=m;)this.baseTokenPos+=2;var I=this.baseTokens[this.baseTokenPos+1];return{type:I&&I.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-m}},yt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},yt.fromSaved=function(m,I,W){return I instanceof Xe?new yt(m,wt(m.mode,I.state),W,I.lookAhead):new yt(m,wt(m.mode,I),W)},yt.prototype.save=function(m){var I=m!==!1?wt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Xe(I,this.maxLookAhead):I};function mt(m,I,W,V){var q=[m.state.modeGen],ve={};Lr(m,I.text,m.doc.mode,W,function(Kt,Or){return q.push(Kt,Or)},ve,V);for(var Je=W.state,Ct=function(Or){W.baseTokens=q;var kr=m.state.overlays[Or],tn=1,nn=0;W.state=!0,Lr(m,I.text,kr.mode,W,function(xn,_n){for(var Zn=tn;nn<xn;){var $n=q[tn];$n>xn&&q.splice(tn,1,xn,q[tn+1],$n),tn+=2,nn=Math.min(xn,$n)}if(!_n)return;if(kr.opaque)q.splice(Zn,tn-Zn,xn,"overlay "+_n),tn=Zn+2;else for(;Zn<tn;Zn+=2){var oi=q[Zn+1];q[Zn+1]=(oi?oi+" ":"")+"overlay "+_n}},ve),W.state=Je,W.baseTokens=null,W.baseTokenPos=1},jt=0;jt<m.state.overlays.length;++jt)Ct(jt);return{styles:q,classes:ve.bgClass||ve.textClass?ve:null}}function We(m,I,W){if(!I.styles||I.styles[0]!=m.state.modeGen){var V=rt(m,Me(I)),q=I.text.length>m.options.maxHighlightLength&&wt(m.doc.mode,V.state),ve=mt(m,I,V);q&&(V.state=q),I.stateAfter=V.save(!q),I.styles=ve.styles,ve.classes?I.styleClasses=ve.classes:I.styleClasses&&(I.styleClasses=null),W===m.doc.highlightFrontier&&(m.doc.modeFrontier=Math.max(m.doc.modeFrontier,++m.doc.highlightFrontier))}return I.styles}function rt(m,I,W){var V=m.doc,q=m.display;if(!V.mode.startState)return new yt(V,!0,I);var ve=en(m,I,W),Je=ve>V.first&&$(V,ve-1).stateAfter,Ct=Je?yt.fromSaved(V,Je,ve):new yt(V,ie(V.mode),ve);return V.iter(ve,I,function(jt){ft(m,jt.text,Ct);var Kt=Ct.line;jt.stateAfter=Kt==I-1||Kt%5==0||Kt>=q.viewFrom&&Kt<q.viewTo?Ct.save():null,Ct.nextLine()}),W&&(V.modeFrontier=Ct.line),Ct}function ft(m,I,W,V){var q=m.doc.mode,ve=new z(I,m.options.tabSize,W);for(ve.start=ve.pos=V||0,I==""&&Yt(q,W.state);!ve.eol();)Ft(q,ve,W.state),ve.start=ve.pos}function Yt(m,I){if(m.blankLine)return m.blankLine(I);if(!m.innerMode)return;var W=ee(m,I);if(W.mode.blankLine)return W.mode.blankLine(W.state)}function Ft(m,I,W,V){for(var q=0;q<10;q++){V&&(V[0]=ee(m,W).mode);var ve=m.token(I,W);if(I.pos>I.start)return ve}throw new Error("Mode "+m.name+" failed to advance stream.")}var fr=function(I,W,V){this.start=I.start,this.end=I.pos,this.string=I.current(),this.type=W||null,this.state=V};function mr(m,I,W,V){var q=m.doc,ve=q.mode,Je;I=ze(q,I);var Ct=$(q,I.line),jt=rt(m,I.line,W),Kt=new z(Ct.text,m.options.tabSize,jt),Or;for(V&&(Or=[]);(V||Kt.pos<I.ch)&&!Kt.eol();)Kt.start=Kt.pos,Je=Ft(ve,Kt,jt.state),V&&Or.push(new fr(Kt,Je,wt(q.mode,jt.state)));return V?Or:new fr(Kt,Je,jt.state)}function Er(m,I){if(m)for(;;){var W=m.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!W)break;m=m.slice(0,W.index)+m.slice(W.index+W[0].length);var V=W[1]?"bgClass":"textClass";I[V]==null?I[V]=W[2]:new RegExp("(?:^|\\s)"+W[2]+"(?:$|\\s)").test(I[V])||(I[V]+=" "+W[2])}return m}function Lr(m,I,W,V,q,ve,Je){var Ct=W.flattenSpans;Ct==null&&(Ct=m.options.flattenSpans);var jt=0,Kt=null,Or=new z(I,m.options.tabSize,V),kr,tn=m.options.addModeClass&&[null];for(I==""&&Er(Yt(W,V.state),ve);!Or.eol();){if(Or.pos>m.options.maxHighlightLength?(Ct=!1,Je&&ft(m,I,V,Or.pos),Or.pos=I.length,kr=null):kr=Er(Ft(W,Or,V.state,tn),ve),tn){var nn=tn[0].name;nn&&(kr="m-"+(kr?nn+" "+kr:nn))}if(!Ct||Kt!=kr){for(;jt<Or.start;)jt=Math.min(Or.start,jt+5e3),q(jt,Kt);Kt=kr}Or.start=Or.pos}for(;jt<Or.pos;){var xn=Math.min(Or.pos,jt+5e3);q(xn,Kt),jt=xn}}function en(m,I,W){for(var V,q,ve=m.doc,Je=W?-1:I-(m.doc.mode.innerMode?1e3:100),Ct=I;Ct>Je;--Ct){if(Ct<=ve.first)return ve.first;var jt=$(ve,Ct-1),Kt=jt.stateAfter;if(Kt&&(!W||Ct+(Kt instanceof Xe?Kt.lookAhead:0)<=ve.modeFrontier))return Ct;var Or=Z(jt.text,null,m.options.tabSize);(q==null||V>Or)&&(q=Ct-1,V=Or)}return q}function Qr(m,I){if(m.modeFrontier=Math.min(m.modeFrontier,I),m.highlightFrontier<I-10)return;for(var W=m.first,V=I-1;V>W;V--){var q=$(m,V).stateAfter;if(q&&(!(q instanceof Xe)||V+q.lookAhead<I)){W=V+1;break}}m.highlightFrontier=Math.min(m.highlightFrontier,W)}var Cr=!1,Gr=!1;function Nr(){Cr=!0}function lr(){Gr=!0}function pr(m,I,W){this.marker=m,this.from=I,this.to=W}function sr(m,I){if(m)for(var W=0;W<m.length;++W){var V=m[W];if(V.marker==I)return V}}function dr(m,I){for(var W,V=0;V<m.length;++V)m[V]!=I&&(W||(W=[])).push(m[V]);return W}function Sr(m,I){m.markedSpans=m.markedSpans?m.markedSpans.concat([I]):[I],I.marker.attachLine(m)}function Xr(m,I,W){var V;if(m)for(var q=0;q<m.length;++q){var ve=m[q],Je=ve.marker,Ct=ve.from==null||(Je.inclusiveLeft?ve.from<=I:ve.from<I);if(Ct||ve.from==I&&Je.type=="bookmark"&&(!W||!ve.marker.insertLeft)){var jt=ve.to==null||(Je.inclusiveRight?ve.to>=I:ve.to>I);(V||(V=[])).push(new pr(Je,ve.from,jt?null:ve.to))}}return V}function cn(m,I,W){var V;if(m)for(var q=0;q<m.length;++q){var ve=m[q],Je=ve.marker,Ct=ve.to==null||(Je.inclusiveRight?ve.to>=I:ve.to>I);if(Ct||ve.from==I&&Je.type=="bookmark"&&(!W||ve.marker.insertLeft)){var jt=ve.from==null||(Je.inclusiveLeft?ve.from<=I:ve.from<I);(V||(V=[])).push(new pr(Je,jt?null:ve.from-I,ve.to==null?null:ve.to-I))}}return V}function Dn(m,I){if(I.full)return null;var W=kt(m,I.from.line)&&$(m,I.from.line).markedSpans,V=kt(m,I.to.line)&&$(m,I.to.line).markedSpans;if(!W&&!V)return null;var q=I.from.ch,ve=I.to.ch,Je=Ut(I.from,I.to)==0,Ct=Xr(W,q,Je),jt=cn(V,ve,Je),Kt=I.text.length==1,Or=qe(I.text).length+(Kt?q:0);if(Ct)for(var kr=0;kr<Ct.length;++kr){var tn=Ct[kr];if(tn.to==null){var nn=sr(jt,tn.marker);nn?Kt&&(tn.to=nn.to==null?null:nn.to+Or):tn.to=q}}if(jt)for(var xn=0;xn<jt.length;++xn){var _n=jt[xn];if(_n.to!=null&&(_n.to+=Or),_n.from==null){var Zn=sr(Ct,_n.marker);Zn||(_n.from=Or,Kt&&(Ct||(Ct=[])).push(_n))}else _n.from+=Or,Kt&&(Ct||(Ct=[])).push(_n)}Ct&&(Ct=jr(Ct)),jt&&jt!=Ct&&(jt=jr(jt));var $n=[Ct];if(!Kt){var oi=I.text.length-2,li;if(oi>0&&Ct)for(var Ne=0;Ne<Ct.length;++Ne)Ct[Ne].to==null&&(li||(li=[])).push(new pr(Ct[Ne].marker,null,null));for(var G=0;G<oi;++G)$n.push(li);$n.push(jt)}return $n}function jr(m){for(var I=0;I<m.length;++I){var W=m[I];W.from!=null&&W.from==W.to&&W.marker.clearWhenEmpty!==!1&&m.splice(I--,1)}return m.length?m:null}function On(m,I,W){var V=null;if(m.iter(I.line,W.line+1,function(nn){if(nn.markedSpans)for(var xn=0;xn<nn.markedSpans.length;++xn){var _n=nn.markedSpans[xn].marker;_n.readOnly&&(!V||_(V,_n)==-1)&&(V||(V=[])).push(_n)}}),!V)return null;for(var q=[{from:I,to:W}],ve=0;ve<V.length;++ve)for(var Je=V[ve],Ct=Je.find(0),jt=0;jt<q.length;++jt){var Kt=q[jt];if(Ut(Kt.to,Ct.from)<0||Ut(Kt.from,Ct.to)>0)continue;var Or=[jt,1],kr=Ut(Kt.from,Ct.from),tn=Ut(Kt.to,Ct.to);(kr<0||!Je.inclusiveLeft&&!kr)&&Or.push({from:Kt.from,to:Ct.from}),(tn>0||!Je.inclusiveRight&&!tn)&&Or.push({from:Ct.to,to:Kt.to}),q.splice.apply(q,Or),jt+=Or.length-3}return q}function gn(m){var I=m.markedSpans;if(!I)return;for(var W=0;W<I.length;++W)I[W].marker.detachLine(m);m.markedSpans=null}function Un(m,I){if(!I)return;for(var W=0;W<I.length;++W)I[W].marker.attachLine(m);m.markedSpans=I}function Wn(m){return m.inclusiveLeft?-1:0}function Jn(m){return m.inclusiveRight?1:0}function Qn(m,I){var W=m.lines.length-I.lines.length;if(W!=0)return W;var V=m.find(),q=I.find(),ve=Ut(V.from,q.from)||Wn(m)-Wn(I);if(ve)return-ve;var Je=Ut(V.to,q.to)||Jn(m)-Jn(I);return Je||I.id-m.id}function Vn(m,I){var W=Gr&&m.markedSpans,V;if(W)for(var q=void 0,ve=0;ve<W.length;++ve)q=W[ve],q.marker.collapsed&&(I?q.from:q.to)==null&&(!V||Qn(V,q.marker)<0)&&(V=q.marker);return V}function yn(m){return Vn(m,!0)}function on(m){return Vn(m,!1)}function ia(m,I){var W=Gr&&m.markedSpans,V;if(W)for(var q=0;q<W.length;++q){var ve=W[q];ve.marker.collapsed&&(ve.from==null||ve.from<I)&&(ve.to==null||ve.to>I)&&(!V||Qn(V,ve.marker)<0)&&(V=ve.marker)}return V}function xa(m,I,W,V,q){var ve=$(m,I),Je=Gr&&ve.markedSpans;if(Je)for(var Ct=0;Ct<Je.length;++Ct){var jt=Je[Ct];if(!jt.marker.collapsed)continue;var Kt=jt.marker.find(0),Or=Ut(Kt.from,W)||Wn(jt.marker)-Wn(q),kr=Ut(Kt.to,V)||Jn(jt.marker)-Jn(q);if(Or>=0&&kr<=0||Or<=0&&kr>=0)continue;if(Or<=0&&(jt.marker.inclusiveRight&&q.inclusiveLeft?Ut(Kt.to,W)>=0:Ut(Kt.to,W)>0)||Or>=0&&(jt.marker.inclusiveRight&&q.inclusiveLeft?Ut(Kt.from,V)<=0:Ut(Kt.from,V)<0))return!0}}function ta(m){for(var I;I=yn(m);)m=I.find(-1,!0).line;return m}function Ni(m){for(var I;I=on(m);)m=I.find(1,!0).line;return m}function Ci(m){for(var I,W;I=on(m);)m=I.find(1,!0).line,(W||(W=[])).push(m);return W}function Gn(m,I){var W=$(m,I),V=ta(W);return W==V?I:Me(V)}function Ia(m,I){if(I>m.lastLine())return I;var W=$(m,I),V;if(!mn(m,W))return I;for(;V=on(W);)W=V.find(1,!0).line;return Me(W)+1}function mn(m,I){var W=Gr&&I.markedSpans;if(W)for(var V=void 0,q=0;q<W.length;++q){if(V=W[q],!V.marker.collapsed)continue;if(V.from==null)return!0;if(V.marker.widgetNode)continue;if(V.from==0&&V.marker.inclusiveLeft&&In(m,I,V))return!0}}function In(m,I,W){if(W.to==null){var V=W.marker.find(1,!0);return In(m,V.line,sr(V.line.markedSpans,W.marker))}if(W.marker.inclusiveRight&&W.to==I.text.length)return!0;for(var q=void 0,ve=0;ve<I.markedSpans.length;++ve)if(q=I.markedSpans[ve],q.marker.collapsed&&!q.marker.widgetNode&&q.from==W.to&&(q.to==null||q.to!=W.from)&&(q.marker.inclusiveLeft||W.marker.inclusiveRight)&&In(m,I,q))return!0}function Ln(m){m=ta(m);for(var I=0,W=m.parent,V=0;V<W.lines.length;++V){var q=W.lines[V];if(q==m)break;I+=q.height}for(var ve=W.parent;ve;W=ve,ve=W.parent)for(var Je=0;Je<ve.children.length;++Je){var Ct=ve.children[Je];if(Ct==W)break;I+=Ct.height}return I}function Nn(m){if(m.height==0)return 0;for(var I=m.text.length,W,V=m;W=yn(V);){var q=W.find(0,!0);V=q.from.line,I+=q.from.ch-q.to.ch}for(V=m;W=on(V);){var ve=W.find(0,!0);I-=V.text.length-ve.from.ch,V=ve.to.line,I+=V.text.length-ve.to.ch}return I}function jn(m){var I=m.display,W=m.doc;I.maxLine=$(W,W.first),I.maxLineLength=Nn(I.maxLine),I.maxLineChanged=!0,W.iter(function(V){var q=Nn(V);q>I.maxLineLength&&(I.maxLineLength=q,I.maxLine=V)})}var ni=function(I,W,V){this.text=I,Un(this,W),this.height=V?V(this):1};ni.prototype.lineNo=function(){return Me(this)},dt(ni);function di(m,I,W,V){m.text=I,m.stateAfter&&(m.stateAfter=null),m.styles&&(m.styles=null),m.order!=null&&(m.order=null),gn(m),Un(m,W);var q=V?V(m):1;q!=m.height&&Ae(m,q)}function Da(m){m.parent=null,gn(m)}var Xi={},ma={};function _a(m,I){if(!m||/^\s*$/.test(m))return null;var W=I.addModeClass?ma:Xi;return W[m]||(W[m]=m.replace(/\S+/g,"cm-$&"))}function Xa(m,I){var W=B("span",null,null,r?"padding-right: .1px":null),V={pre:B("pre",[W],"CodeMirror-line"),content:W,col:0,pos:0,cm:m,trailingSpace:!1,splitSpaces:m.getOption("lineWrapping")};I.measure={};for(var q=0;q<=(I.rest?I.rest.length:0);q++){var ve=q?I.rest[q-1]:I.line,Je=void 0;V.pos=0,V.addToken=Co,Jt(m.display.measure)&&(Je=Mt(ve,m.doc.direction))&&(V.addToken=Hi(V.addToken,Je)),V.map=[];var Ct=I!=m.display.externalMeasured&&Me(ve);ha(ve,V,We(m,ve,Ct)),ve.styleClasses&&(ve.styleClasses.bgClass&&(V.bgClass=P(ve.styleClasses.bgClass,V.bgClass||"")),ve.styleClasses.textClass&&(V.textClass=P(ve.styleClasses.textClass,V.textClass||""))),V.map.length==0&&V.map.push(0,0,V.content.appendChild(nr(m.display.measure))),q==0?(I.measure.map=V.map,I.measure.cache={}):((I.measure.maps||(I.measure.maps=[])).push(V.map),(I.measure.caches||(I.measure.caches=[])).push({}))}if(r){var jt=V.content.lastChild;(/\bcm-tab\b/.test(jt.className)||jt.querySelector&&jt.querySelector(".cm-tab"))&&(V.content.className="cm-tab-wrap-hack")}return _t(m,"renderLine",m,I.line,V.pre),V.pre.className&&(V.textClass=P(V.pre.className,V.textClass||"")),V}function Ki(m){var I=D("span","\u2022","cm-invalidchar");return I.title="\\u"+m.charCodeAt(0).toString(16),I.setAttribute("aria-label",I.title),I}function Co(m,I,W,V,q,ve,Je){if(!I)return;var Ct=m.splitSpaces?aa(I,m.trailingSpace):I,jt=m.cm.state.specialChars,Kt=!1,Or;if(!jt.test(I))m.col+=I.length,Or=document.createTextNode(Ct),m.map.push(m.pos,m.pos+I.length,Or),h&&i<9&&(Kt=!0),m.pos+=I.length;else{Or=document.createDocumentFragment();for(var kr=0;;){jt.lastIndex=kr;var tn=jt.exec(I),nn=tn?tn.index-kr:I.length-kr;if(nn){var xn=document.createTextNode(Ct.slice(kr,kr+nn));h&&i<9?Or.appendChild(D("span",[xn])):Or.appendChild(xn),m.map.push(m.pos,m.pos+nn,xn),m.col+=nn,m.pos+=nn}if(!tn)break;kr+=nn+1;var _n=void 0;if(tn[0]==" "){var Zn=m.cm.options.tabSize,$n=Zn-m.col%Zn;_n=Or.appendChild(D("span",Ke($n),"cm-tab")),_n.setAttribute("role","presentation"),_n.setAttribute("cm-text"," "),m.col+=$n}else tn[0]=="\r"||tn[0]==`
|
|
|
`?(_n=Or.appendChild(D("span",tn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),_n.setAttribute("cm-text",tn[0]),m.col+=1):(_n=m.cm.options.specialCharPlaceholder(tn[0]),_n.setAttribute("cm-text",tn[0]),h&&i<9?Or.appendChild(D("span",[_n])):Or.appendChild(_n),m.col+=1);m.map.push(m.pos,m.pos+1,_n),m.pos++}}if(m.trailingSpace=Ct.charCodeAt(I.length-1)==32,W||V||q||Kt||ve||Je){var oi=W||"";V&&(oi+=V),q&&(oi+=q);var li=D("span",[Or],oi,ve);if(Je)for(var Ne in Je)Je.hasOwnProperty(Ne)&&Ne!="style"&&Ne!="class"&&li.setAttribute(Ne,Je[Ne]);return m.content.appendChild(li)}m.content.appendChild(Or)}function aa(m,I){if(m.length>1&&!/ /.test(m))return m;for(var W=I,V="",q=0;q<m.length;q++){var ve=m.charAt(q);ve==" "&&W&&(q==m.length-1||m.charCodeAt(q+1)==32)&&(ve="\xA0"),V+=ve,W=ve==" "}return V}function Hi(m,I){return function(W,V,q,ve,Je,Ct,jt){q=q?q+" cm-force-border":"cm-force-border";for(var Kt=W.pos,Or=Kt+V.length;;){for(var kr=void 0,tn=0;tn<I.length&&!(kr=I[tn],kr.to>Kt&&kr.from<=Kt);tn++);if(kr.to>=Or)return m(W,V,q,ve,Je,Ct,jt);m(W,V.slice(0,kr.to-Kt),q,ve,null,Ct,jt),ve=null,V=V.slice(kr.to-Kt),Kt=kr.to}}}function ga(m,I,W,V){var q=!V&&W.widgetNode;q&&m.map.push(m.pos,m.pos+I,q),!V&&m.cm.display.input.needsContentAttribute&&(q||(q=m.content.appendChild(document.createElement("span"))),q.setAttribute("cm-marker",W.id)),q&&(m.cm.display.input.setUneditable(q),m.content.appendChild(q)),m.pos+=I,m.trailingSpace=!1}function ha(m,I,W){var V=m.markedSpans,q=m.text,ve=0;if(!V){for(var Je=1;Je<W.length;Je+=2)I.addToken(I,q.slice(ve,ve=W[Je]),_a(W[Je+1],I.cm.options));return}for(var Ct=q.length,jt=0,Kt=1,Or="",kr,tn,nn=0,xn,_n,Zn,$n,oi;;){if(nn==jt){xn=_n=Zn=tn="",oi=null,$n=null,nn=Infinity;for(var li=[],Ne=void 0,G=0;G<V.length;++G){var Se=V[G],Re=Se.marker;if(Re.type=="bookmark"&&Se.from==jt&&Re.widgetNode)li.push(Re);else if(Se.from<=jt&&(Se.to==null||Se.to>jt||Re.collapsed&&Se.to==jt&&Se.from==jt)){if(Se.to!=null&&Se.to!=jt&&nn>Se.to&&(nn=Se.to,_n=""),Re.className&&(xn+=" "+Re.className),Re.css&&(tn=(tn?tn+";":"")+Re.css),Re.startStyle&&Se.from==jt&&(Zn+=" "+Re.startStyle),Re.endStyle&&Se.to==nn&&(Ne||(Ne=[])).push(Re.endStyle,Se.to),Re.title&&((oi||(oi={})).title=Re.title),Re.attributes)for(var gt in Re.attributes)(oi||(oi={}))[gt]=Re.attributes[gt];Re.collapsed&&(!$n||Qn($n.marker,Re)<0)&&($n=Se)}else Se.from>jt&&nn>Se.from&&(nn=Se.from)}if(Ne)for(var er=0;er<Ne.length;er+=2)Ne[er+1]==nn&&(_n+=" "+Ne[er]);if(!$n||$n.from==jt)for(var vr=0;vr<li.length;++vr)ga(I,0,li[vr]);if($n&&($n.from||0)==jt){if(ga(I,($n.to==null?Ct+1:$n.to)-jt,$n.marker,$n.from==null),$n.to==null)return;$n.to==jt&&($n=!1)}}if(jt>=Ct)break;for(var Dr=Math.min(Ct,nn);;){if(Or){var Hr=jt+Or.length;if(!$n){var zr=Hr>Dr?Or.slice(0,Dr-jt):Or;I.addToken(I,zr,kr?kr+xn:xn,Zn,jt+zr.length==nn?_n:"",tn,oi)}if(Hr>=Dr){Or=Or.slice(Dr-jt),jt=Dr;break}jt=Hr,Zn=""}Or=q.slice(ve,ve=W[Kt++]),kr=_a(W[Kt++],I.cm.options)}}}function mo(m,I,W){this.line=I,this.rest=Ci(I),this.size=this.rest?Me(qe(this.rest))-W+1:1,this.node=this.text=null,this.hidden=mn(m,I)}function Pn(m,I,W){for(var V=[],q,ve=I;ve<W;ve=q){var Je=new mo(m.doc,$(m.doc,ve),ve);q=ve+Je.size,V.push(Je)}return V}var qi=null;function eo(m){qi?qi.ops.push(m):m.ownsGroup=qi={ops:[m],delayedCallbacks:[]}}function Oo(m){var I=m.delayedCallbacks,W=0;do{for(;W<I.length;W++)I[W].call(null);for(var V=0;V<m.ops.length;V++){var q=m.ops[V];if(q.cursorActivityHandlers)for(;q.cursorActivityCalled<q.cursorActivityHandlers.length;)q.cursorActivityHandlers[q.cursorActivityCalled++].call(null,q.cm)}}while(W<I.length)}function co(m,I){var W=m.ownsGroup;if(!W)return;try{Oo(W)}finally{qi=null,I(W)}}var tr=null;function Ir(m,I){var W=zt(m,I);if(!W.length)return;var V=Array.prototype.slice.call(arguments,2),q;qi?q=qi.delayedCallbacks:tr?q=tr:(q=tr=[],setTimeout(Ur,0));for(var ve=function(jt){q.push(function(){return W[jt].apply(null,V)})},Je=0;Je<W.length;++Je)ve(Je)}function Ur(){var m=tr;tr=null;for(var I=0;I<m.length;++I)m[I]()}function Kr(m,I,W,V){for(var q=0;q<I.changes.length;q++){var ve=I.changes[q];ve=="text"?Zt(m,I):ve=="gutter"?Tr(m,I,W,V):ve=="class"?rr(m,I):ve=="widget"&&br(m,I,V)}I.changes=null}function hn(m){return m.node==m.text&&(m.node=D("div",null,null,"position: relative"),m.text.parentNode&&m.text.parentNode.replaceChild(m.node,m.text),m.node.appendChild(m.text),h&&i<8&&(m.node.style.zIndex=2)),m.node}function Ue(m,I){var W=I.bgClass?I.bgClass+" "+(I.line.bgClass||""):I.line.bgClass;if(W&&(W+=" CodeMirror-linebackground"),I.background)W?I.background.className=W:(I.background.parentNode.removeChild(I.background),I.background=null);else if(W){var V=hn(I);I.background=V.insertBefore(D("div",null,W),V.firstChild),m.display.input.setUneditable(I.background)}}function Bt(m,I){var W=m.display.externalMeasured;return W&&W.line==I.line?(m.display.externalMeasured=null,I.measure=W.measure,W.built):Xa(m,I)}function Zt(m,I){var W=I.text.className,V=Bt(m,I);I.text==I.node&&(I.node=V.pre),I.text.parentNode.replaceChild(V.pre,I.text),I.text=V.pre,V.bgClass!=I.bgClass||V.textClass!=I.textClass?(I.bgClass=V.bgClass,I.textClass=V.textClass,rr(m,I)):W&&(I.text.className=W)}function rr(m,I){Ue(m,I),I.line.wrapClass?hn(I).className=I.line.wrapClass:I.node!=I.text&&(I.node.className="");var W=I.textClass?I.textClass+" "+(I.line.textClass||""):I.line.textClass;I.text.className=W||""}function Tr(m,I,W,V){if(I.gutter&&(I.node.removeChild(I.gutter),I.gutter=null),I.gutterBackground&&(I.node.removeChild(I.gutterBackground),I.gutterBackground=null),I.line.gutterClass){var q=hn(I);I.gutterBackground=D("div",null,"CodeMirror-gutter-background "+I.line.gutterClass,"left: "+(m.options.fixedGutter?V.fixedPos:-V.gutterTotalWidth)+"px; width: "+V.gutterTotalWidth+"px"),m.display.input.setUneditable(I.gutterBackground),q.insertBefore(I.gutterBackground,I.text)}var ve=I.line.gutterMarkers;if(m.options.lineNumbers||ve){var Je=hn(I),Ct=I.gutter=D("div",null,"CodeMirror-gutter-wrapper","left: "+(m.options.fixedGutter?V.fixedPos:-V.gutterTotalWidth)+"px");if(m.display.input.setUneditable(Ct),Je.insertBefore(Ct,I.text),I.line.gutterClass&&(Ct.className+=" "+I.line.gutterClass),m.options.lineNumbers&&(!ve||!ve["CodeMirror-linenumbers"])&&(I.lineNumber=Ct.appendChild(D("div",$t(m.options,W),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+V.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+m.display.lineNumInnerWidth+"px"))),ve)for(var jt=0;jt<m.display.gutterSpecs.length;++jt){var Kt=m.display.gutterSpecs[jt].className,Or=ve.hasOwnProperty(Kt)&&ve[Kt];Or&&Ct.appendChild(D("div",[Or],"CodeMirror-gutter-elt","left: "+V.gutterLeft[Kt]+"px; width: "+V.gutterWidth[Kt]+"px"))}}}function br(m,I,W){I.alignable&&(I.alignable=null);for(var V=T("CodeMirror-linewidget"),q=I.node.firstChild,ve=void 0;q;q=ve)ve=q.nextSibling,V.test(q.className)&&I.node.removeChild(q);Wr(m,I,W)}function xr(m,I,W,V){var q=Bt(m,I);return I.text=I.node=q.pre,q.bgClass&&(I.bgClass=q.bgClass),q.textClass&&(I.textClass=q.textClass),rr(m,I),Tr(m,I,W,V),Wr(m,I,V),I.node}function Wr(m,I,W){if($r(m,I.line,I,W,!0),I.rest)for(var V=0;V<I.rest.length;V++)$r(m,I.rest[V],I,W,!1)}function $r(m,I,W,V,q){if(!I.widgets)return;for(var ve=hn(W),Je=0,Ct=I.widgets;Je<Ct.length;++Je){var jt=Ct[Je],Kt=D("div",[jt.node],"CodeMirror-linewidget"+(jt.className?" "+jt.className:""));jt.handleMouseEvents||Kt.setAttribute("cm-ignore-events","true"),Zr(jt,Kt,W,V),m.display.input.setUneditable(Kt),q&&jt.above?ve.insertBefore(Kt,W.gutter||W.text):ve.appendChild(Kt),Ir(jt,"redraw")}}function Zr(m,I,W,V){if(m.noHScroll){(W.alignable||(W.alignable=[])).push(I);var q=V.wrapperWidth;I.style.left=V.fixedPos+"px",m.coverGutter||(q-=V.gutterTotalWidth,I.style.paddingLeft=V.gutterTotalWidth+"px"),I.style.width=q+"px"}m.coverGutter&&(I.style.zIndex=5,I.style.position="relative",m.noHScroll||(I.style.marginLeft=-V.gutterTotalWidth+"px"))}function an(m){if(m.height!=null)return m.height;var I=m.doc.cm;if(!I)return 0;if(!U(document.body,m.node)){var W="position: relative;";m.coverGutter&&(W+="margin-left: -"+I.display.gutters.offsetWidth+"px;"),m.noHScroll&&(W+="width: "+I.display.wrapper.clientWidth+"px;"),N(I.display.measure,D("div",[m.node],null,W))}return m.height=m.node.parentNode.offsetHeight}function at(m,I){for(var W=Pe(I);W!=m.wrapper;W=W.parentNode)if(!W||W.nodeType==1&&W.getAttribute("cm-ignore-events")=="true"||W.parentNode==m.sizer&&W!=m.mover)return!0}function Ht(m){return m.lineSpace.offsetTop}function ar(m){return m.mover.offsetHeight-m.lineSpace.offsetHeight}function yr(m){if(m.cachedPaddingH)return m.cachedPaddingH;var I=N(m.measure,D("pre","x","CodeMirror-line-like")),W=window.getComputedStyle?window.getComputedStyle(I):I.currentStyle,V={left:parseInt(W.paddingLeft),right:parseInt(W.paddingRight)};return!isNaN(V.left)&&!isNaN(V.right)&&(m.cachedPaddingH=V),V}function Fr(m){return Q-m.display.nativeBarWidth}function Mr(m){return m.display.scroller.clientWidth-Fr(m)-m.display.barWidth}function rn(m){return m.display.scroller.clientHeight-Fr(m)-m.display.barHeight}function fn(m,I,W){var V=m.options.lineWrapping,q=V&&Mr(m);if(!I.measure.heights||V&&I.measure.width!=q){var ve=I.measure.heights=[];if(V){I.measure.width=q;for(var Je=I.text.firstChild.getClientRects(),Ct=0;Ct<Je.length-1;Ct++){var jt=Je[Ct],Kt=Je[Ct+1];Math.abs(jt.bottom-Kt.bottom)>2&&ve.push((jt.bottom+Kt.top)/2-W.top)}}ve.push(W.bottom-W.top)}}function wn(m,I,W){if(m.line==I)return{map:m.measure.map,cache:m.measure.cache};for(var V=0;V<m.rest.length;V++)if(m.rest[V]==I)return{map:m.measure.maps[V],cache:m.measure.caches[V]};for(var q=0;q<m.rest.length;q++)if(Me(m.rest[q])>W)return{map:m.measure.maps[q],cache:m.measure.caches[q],before:!0}}function Hn(m,I){I=ta(I);var W=Me(I),V=m.display.externalMeasured=new mo(m.doc,I,W);V.lineN=W;var q=V.built=Xa(m,V);return V.text=q.pre,N(m.display.lineMeasure,q.pre),V}function Sn(m,I,W,V){return vn(m,Bn(m,I),W,V)}function bn(m,I){if(I>=m.display.viewFrom&&I<m.display.viewTo)return m.display.view[la(m,I)];var W=m.display.externalMeasured;if(W&&I>=W.lineN&&I<W.lineN+W.size)return W}function Bn(m,I){var W=Me(I),V=bn(m,W);V&&!V.text?V=null:V&&V.changes&&(Kr(m,V,W,Vi(m)),m.curOp.forceUpdate=!0),V||(V=Hn(m,I));var q=wn(V,I,W);return{line:I,view:V,rect:null,map:q.map,cache:q.cache,before:q.before,hasHeights:!1}}function vn(m,I,W,V,q){I.before&&(W=-1);var ve=W+(V||""),Je;return I.cache.hasOwnProperty(ve)?Je=I.cache[ve]:(I.rect||(I.rect=I.view.text.getBoundingClientRect()),I.hasHeights||(fn(m,I.view,I.rect),I.hasHeights=!0),Je=Yn(m,I,W,V),Je.bogus||(I.cache[ve]=Je)),{left:Je.left,right:Je.right,top:q?Je.rtop:Je.top,bottom:q?Je.rbottom:Je.bottom}}var Mn={left:0,right:0,top:0,bottom:0};function En(m,I,W){for(var V,q,ve,Je,Ct,jt,Kt=0;Kt<m.length;Kt+=3)if(Ct=m[Kt],jt=m[Kt+1],I<Ct?(q=0,ve=1,Je="left"):I<jt?(q=I-Ct,ve=q+1):(Kt==m.length-3||I==jt&&m[Kt+3]>I)&&(ve=jt-Ct,q=ve-1,I>=jt&&(Je="right")),q!=null){if(V=m[Kt+2],Ct==jt&&W==(V.insertLeft?"left":"right")&&(Je=W),W=="left"&&q==0)for(;Kt&&m[Kt-2]==m[Kt-3]&&m[Kt-1].insertLeft;)V=m[(Kt-=3)+2],Je="left";if(W=="right"&&q==jt-Ct)for(;Kt<m.length-3&&m[Kt+3]==m[Kt+4]&&!m[Kt+5].insertLeft;)V=m[(Kt+=3)+2],Je="right";break}return{node:V,start:q,end:ve,collapse:Je,coverStart:Ct,coverEnd:jt}}function Tn(m,I){var W=Mn;if(I=="left")for(var V=0;V<m.length&&!((W=m[V]).left!=W.right);V++);else for(var q=m.length-1;q>=0&&!((W=m[q]).left!=W.right);q--);return W}function Yn(m,I,W,V){var q=En(I.map,W,V),ve=q.node,Je=q.start,Ct=q.end,jt=q.collapse,Kt;if(ve.nodeType==3){for(var Or=0;Or<4;Or++){for(;Je&&Ge(I.line.text.charAt(q.coverStart+Je));)--Je;for(;q.coverStart+Ct<q.coverEnd&&Ge(I.line.text.charAt(q.coverStart+Ct));)++Ct;if(h&&i<9&&Je==0&&Ct==q.coverEnd-q.coverStart?Kt=ve.parentNode.getBoundingClientRect():Kt=Tn(R(ve,Je,Ct).getClientRects(),V),Kt.left||Kt.right||Je==0)break;Ct=Je,Je=Je-1,jt="right"}h&&i<11&&(Kt=ai(m.display.measure,Kt))}else{Je>0&&(jt=V="right");var kr;m.options.lineWrapping&&(kr=ve.getClientRects()).length>1?Kt=kr[V=="right"?kr.length-1:0]:Kt=ve.getBoundingClientRect()}if(h&&i<9&&!Je&&(!Kt||!Kt.left&&!Kt.right)){var tn=ve.parentNode.getClientRects()[0];tn?Kt={left:tn.left,right:tn.left+Ti(m.display),top:tn.top,bottom:tn.bottom}:Kt=Mn}for(var nn=Kt.top-I.rect.top,xn=Kt.bottom-I.rect.top,_n=(nn+xn)/2,Zn=I.view.measure.heights,$n=0;$n<Zn.length-1&&!(_n<Zn[$n]);$n++);var oi=$n?Zn[$n-1]:0,li=Zn[$n],Ne={left:(jt=="right"?Kt.right:Kt.left)-I.rect.left,right:(jt=="left"?Kt.left:Kt.right)-I.rect.left,top:oi,bottom:li};return!Kt.left&&!Kt.right&&(Ne.bogus=!0),m.options.singleCursorHeightPerLine||(Ne.rtop=nn,Ne.rbottom=xn),Ne}function ai(m,I){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!se(m))return I;var W=screen.logicalXDPI/screen.deviceXDPI,V=screen.logicalYDPI/screen.deviceYDPI;return{left:I.left*W,right:I.right*W,top:I.top*V,bottom:I.bottom*V}}function ri(m){if(m.measure&&(m.measure.cache={},m.measure.heights=null,m.rest))for(var I=0;I<m.rest.length;I++)m.measure.caches[I]={}}function Ri(m){m.display.externalMeasure=null,C(m.display.lineMeasure);for(var I=0;I<m.display.view.length;I++)ri(m.display.view[I])}function Ai(m){Ri(m),m.display.cachedCharWidth=m.display.cachedTextHeight=m.display.cachedPaddingH=null,m.options.lineWrapping||(m.display.maxLineChanged=!0),m.display.lineNumChars=null}function xi(){return s&&o?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Li(){return s&&o?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function kn(m){var I=0;if(m.widgets)for(var W=0;W<m.widgets.length;++W)m.widgets[W].above&&(I+=an(m.widgets[W]));return I}function Mi(m,I,W,V,q){if(!q){var ve=kn(I);W.top+=ve,W.bottom+=ve}if(V=="line")return W;V||(V="local");var Je=Ln(I);if(V=="local"?Je+=Ht(m.display):Je-=m.display.viewOffset,V=="page"||V=="window"){var Ct=m.display.lineSpace.getBoundingClientRect();Je+=Ct.top+(V=="window"?0:Li());var jt=Ct.left+(V=="window"?0:xi());W.left+=jt,W.right+=jt}return W.top+=Je,W.bottom+=Je,W}function fa(m,I,W){if(W=="div")return I;var V=I.left,q=I.top;if(W=="page")V-=xi(),q-=Li();else if(W=="local"||!W){var ve=m.display.sizer.getBoundingClientRect();V+=ve.left,q+=ve.top}var Je=m.display.lineSpace.getBoundingClientRect();return{left:V-Je.left,top:q-Je.top}}function ki(m,I,W,V,q){return V||(V=$(m.doc,I.line)),Mi(m,V,Sn(m,V,I.ch,q),W)}function Bi(m,I,W,V,q,ve){V=V||$(m.doc,I.line),q||(q=Bn(m,V));function Je(xn,_n){var Zn=vn(m,q,xn,_n?"right":"left",ve);return _n?Zn.left=Zn.right:Zn.right=Zn.left,Mi(m,V,Zn,W)}var Ct=Mt(V,m.doc.direction),jt=I.ch,Kt=I.sticky;if(jt>=V.text.length?(jt=V.text.length,Kt="before"):jt<=0&&(jt=0,Kt="after"),!Ct)return Je(Kt=="before"?jt-1:jt,Kt=="before");function Or(xn,_n,Zn){var $n=Ct[_n],oi=$n.level==1;return Je(Zn?xn-1:xn,oi!=Zn)}var kr=st(Ct,jt,Kt),tn=Ie,nn=Or(jt,kr,Kt=="before");return tn!=null&&(nn.other=Or(jt,tn,Kt!="before")),nn}function mi(m,I){var W=0;I=ze(m.doc,I),m.options.lineWrapping||(W=Ti(m.display)*I.ch);var V=$(m.doc,I.line),q=Ln(V)+Ht(m.display);return{left:W,right:W,top:q,bottom:q+V.height}}function hi(m,I,W,V,q){var ve=Lt(m,I,W);return ve.xRel=q,V&&(ve.outside=V),ve}function Ji(m,I,W){var V=m.doc;if(W+=m.display.viewOffset,W<0)return hi(V.first,0,null,-1,-1);var q=$e(V,W),ve=V.first+V.size-1;if(q>ve)return hi(V.first+V.size-1,$(V,ve).text.length,null,1,1);I<0&&(I=0);for(var Je=$(V,q);;){var Ct=oa(m,Je,q,I,W),jt=ia(Je,Ct.ch+(Ct.xRel>0||Ct.outside>0?1:0));if(!jt)return Ct;var Kt=jt.find(1);if(Kt.line==q)return Kt;Je=$(V,q=Kt.line)}}function va(m,I,W,V){V-=kn(I);var q=I.text.length,ve=_e(function(Je){return vn(m,W,Je-1).bottom<=V},q,0);return q=_e(function(Je){return vn(m,W,Je).top>V},ve,q),{begin:ve,end:q}}function Ea(m,I,W,V){W||(W=Bn(m,I));var q=Mi(m,I,vn(m,W,V),"line").top;return va(m,I,W,q)}function Aa(m,I,W,V){return m.bottom<=W?!1:m.top>W?!0:(V?m.left:m.right)>I}function oa(m,I,W,V,q){q-=Ln(I);var ve=Bn(m,I),Je=kn(I),Ct=0,jt=I.text.length,Kt=!0,Or=Mt(I,m.doc.direction);if(Or){var kr=(m.options.lineWrapping?Di:sa)(m,I,W,ve,Or,V,q);Kt=kr.level!=1,Ct=Kt?kr.from:kr.to-1,jt=Kt?kr.to:kr.from-1}var tn=null,nn=null,xn=_e(function(G){var Se=vn(m,ve,G);return Se.top+=Je,Se.bottom+=Je,Aa(Se,V,q,!1)?(Se.top<=q&&Se.left<=V&&(tn=G,nn=Se),!0):!1},Ct,jt),_n,Zn,$n=!1;if(nn){var oi=V-nn.left<nn.right-V,li=oi==Kt;xn=tn+(li?0:1),Zn=li?"after":"before",_n=oi?nn.left:nn.right}else{!Kt&&(xn==jt||xn==Ct)&&xn++,Zn=xn==0?"after":xn==I.text.length?"before":vn(m,ve,xn-(Kt?1:0)).bottom+Je<=q==Kt?"after":"before";var Ne=Bi(m,Lt(W,xn,Zn),"line",I,ve);_n=Ne.left,$n=q<Ne.top?-1:q>=Ne.bottom?1:0}return xn=At(I.text,xn,1),hi(W,xn,Zn,$n,V-_n)}function sa(m,I,W,V,q,ve,Je){var Ct=_e(function(kr){var tn=q[kr],nn=tn.level!=1;return Aa(Bi(m,Lt(W,nn?tn.to:tn.from,nn?"before":"after"),"line",I,V),ve,Je,!0)},0,q.length-1),jt=q[Ct];if(Ct>0){var Kt=jt.level!=1,Or=Bi(m,Lt(W,Kt?jt.from:jt.to,Kt?"after":"before"),"line",I,V);Aa(Or,ve,Je,!0)&&Or.top>Je&&(jt=q[Ct-1])}return jt}function Di(m,I,W,V,q,ve,Je){var Ct=va(m,I,V,Je),jt=Ct.begin,Kt=Ct.end;/\s/.test(I.text.charAt(Kt-1))&&Kt--;for(var Or=null,kr=null,tn=0;tn<q.length;tn++){var nn=q[tn];if(nn.from>=Kt||nn.to<=jt)continue;var xn=nn.level!=1,_n=vn(m,V,xn?Math.min(Kt,nn.to)-1:Math.max(jt,nn.from)).right,Zn=_n<ve?ve-_n+1e9:_n-ve;(!Or||kr>Zn)&&(Or=nn,kr=Zn)}return Or||(Or=q[q.length-1]),Or.from<jt&&(Or={from:jt,to:Or.to,level:Or.level}),Or.to>Kt&&(Or={from:Or.from,to:Kt,level:Or.level}),Or}var qn;function yi(m){if(m.cachedTextHeight!=null)return m.cachedTextHeight;if(qn==null){qn=D("pre",null,"CodeMirror-line-like");for(var I=0;I<49;++I)qn.appendChild(document.createTextNode("x")),qn.appendChild(D("br"));qn.appendChild(document.createTextNode("x"))}N(m.measure,qn);var W=qn.offsetHeight/50;return W>3&&(m.cachedTextHeight=W),C(m.measure),W||1}function Ti(m){if(m.cachedCharWidth!=null)return m.cachedCharWidth;var I=D("span","xxxxxxxxxx"),W=D("pre",[I],"CodeMirror-line-like");N(m.measure,W);var V=I.getBoundingClientRect(),q=(V.right-V.left)/10;return q>2&&(m.cachedCharWidth=q),q||10}function Vi(m){for(var I=m.display,W={},V={},q=I.gutters.clientLeft,ve=I.gutters.firstChild,Je=0;ve;ve=ve.nextSibling,++Je){var Ct=m.display.gutterSpecs[Je].className;W[Ct]=ve.offsetLeft+ve.clientLeft+q,V[Ct]=ve.clientWidth}return{fixedPos:Yi(I),gutterTotalWidth:I.gutters.offsetWidth,gutterLeft:W,gutterWidth:V,wrapperWidth:I.wrapper.clientWidth}}function Yi(m){return m.scroller.getBoundingClientRect().left-m.sizer.getBoundingClientRect().left}function bi(m){var I=yi(m.display),W=m.options.lineWrapping,V=W&&Math.max(5,m.display.scroller.clientWidth/Ti(m.display)-3);return function(q){if(mn(m.doc,q))return 0;var ve=0;if(q.widgets)for(var Je=0;Je<q.widgets.length;Je++)q.widgets[Je].height&&(ve+=q.widgets[Je].height);return W?ve+(Math.ceil(q.text.length/V)||1)*I:ve+I}}function ya(m){var I=m.doc,W=bi(m);I.iter(function(V){var q=W(V);q!=V.height&&Ae(V,q)})}function ua(m,I,W,V){var q=m.display;if(!W&&Pe(I).getAttribute("cm-not-content")=="true")return null;var ve,Je,Ct=q.lineSpace.getBoundingClientRect();try{ve=I.clientX-Ct.left,Je=I.clientY-Ct.top}catch(kr){return null}var jt=Ji(m,ve,Je),Kt;if(V&&jt.xRel>0&&(Kt=$(m.doc,jt.line).text).length==jt.ch){var Or=Z(Kt,Kt.length,m.options.tabSize)-Kt.length;jt=Lt(jt.line,Math.max(0,Math.round((ve-yr(m.display).left)/Ti(m.display))-Or))}return jt}function la(m,I){if(I>=m.display.viewTo)return null;if(I-=m.display.viewFrom,I<0)return null;for(var W=m.display.view,V=0;V<W.length;V++)if(I-=W[V].size,I<0)return V}function gi(m,I,W,V){I==null&&(I=m.doc.first),W==null&&(W=m.doc.first+m.doc.size),V||(V=0);var q=m.display;if(V&&W<q.viewTo&&(q.updateLineNumbers==null||q.updateLineNumbers>I)&&(q.updateLineNumbers=I),m.curOp.viewChanged=!0,I>=q.viewTo)Gr&&Gn(m.doc,I)<q.viewTo&&Ba(m);else if(W<=q.viewFrom)Gr&&Ia(m.doc,W+V)>q.viewFrom?Ba(m):(q.viewFrom+=V,q.viewTo+=V);else if(I<=q.viewFrom&&W>=q.viewTo)Ba(m);else if(I<=q.viewFrom){var ve=ra(m,W,W+V,1);ve?(q.view=q.view.slice(ve.index),q.viewFrom=ve.lineN,q.viewTo+=V):Ba(m)}else if(W>=q.viewTo){var Je=ra(m,I,I,-1);Je?(q.view=q.view.slice(0,Je.index),q.viewTo=Je.lineN):Ba(m)}else{var Ct=ra(m,I,I,-1),jt=ra(m,W,W+V,1);Ct&&jt?(q.view=q.view.slice(0,Ct.index).concat(Pn(m,Ct.lineN,jt.lineN)).concat(q.view.slice(jt.index)),q.viewTo+=V):Ba(m)}var Kt=q.externalMeasured;Kt&&(W<Kt.lineN?Kt.lineN+=V:I<Kt.lineN+Kt.size&&(q.externalMeasured=null))}function Ua(m,I,W){m.curOp.viewChanged=!0;var V=m.display,q=m.display.externalMeasured;if(q&&I>=q.lineN&&I<q.lineN+q.size&&(V.externalMeasured=null),I<V.viewFrom||I>=V.viewTo)return;var ve=V.view[la(m,I)];if(ve.node==null)return;var Je=ve.changes||(ve.changes=[]);_(Je,W)==-1&&Je.push(W)}function Ba(m){m.display.viewFrom=m.display.viewTo=m.doc.first,m.display.view=[],m.display.viewOffset=0}function ra(m,I,W,V){var q=la(m,I),ve,Je=m.display.view;if(!Gr||W==m.doc.first+m.doc.size)return{index:q,lineN:W};for(var Ct=m.display.viewFrom,jt=0;jt<q;jt++)Ct+=Je[jt].size;if(Ct!=I){if(V>0){if(q==Je.length-1)return null;ve=Ct+Je[q].size-I,q++}else ve=Ct-I;I+=ve,W+=ve}for(;Gn(m.doc,W)!=W;){if(q==(V<0?0:Je.length-1))return null;W+=V*Je[q-(V<0?1:0)].size,q+=V}return{index:q,lineN:W}}function Qi(m,I,W){var V=m.display,q=V.view;q.length==0||I>=V.viewTo||W<=V.viewFrom?(V.view=Pn(m,I,W),V.viewFrom=I):(V.viewFrom>I?V.view=Pn(m,I,V.viewFrom).concat(V.view):V.viewFrom<I&&(V.view=V.view.slice(la(m,I))),V.viewFrom=I,V.viewTo<W?V.view=V.view.concat(Pn(m,V.viewTo,W)):V.viewTo>W&&(V.view=V.view.slice(0,la(m,W)))),V.viewTo=W}function Ya(m){for(var I=m.display.view,W=0,V=0;V<I.length;V++){var q=I[V];!q.hidden&&(!q.node||q.changes)&&++W}return W}function zi(m){m.display.input.showSelection(m.display.input.prepareSelection())}function Wi(m,I){I===void 0&&(I=!0);for(var W=m.doc,V={},q=V.cursors=document.createDocumentFragment(),ve=V.selection=document.createDocumentFragment(),Je=0;Je<W.sel.ranges.length;Je++){if(!I&&Je==W.sel.primIndex)continue;var Ct=W.sel.ranges[Je];if(Ct.from().line>=m.display.viewTo||Ct.to().line<m.display.viewFrom)continue;var jt=Ct.empty();(jt||m.options.showCursorWhenSelecting)&&ba(m,Ct.head,q),jt||wa(m,Ct,ve)}return V}function ba(m,I,W){var V=Bi(m,I,"div",null,null,!m.options.singleCursorHeightPerLine),q=W.appendChild(D("div","\xA0","CodeMirror-cursor"));if(q.style.left=V.left+"px",q.style.top=V.top+"px",q.style.height=Math.max(0,V.bottom-V.top)*m.options.cursorHeight+"px",V.other){var ve=W.appendChild(D("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ve.style.display="",ve.style.left=V.other.left+"px",ve.style.top=V.other.top+"px",ve.style.height=(V.other.bottom-V.other.top)*.85+"px"}}function ka(m,I){return m.top-I.top||m.left-I.left}function wa(m,I,W){var V=m.display,q=m.doc,ve=document.createDocumentFragment(),Je=yr(m.display),Ct=Je.left,jt=Math.max(V.sizerWidth,Mr(m)-V.sizer.offsetLeft)-Je.right,Kt=q.direction=="ltr";function Or(li,Ne,G,Se){Ne<0&&(Ne=0),Ne=Math.round(Ne),Se=Math.round(Se),ve.appendChild(D("div",null,"CodeMirror-selected","position: absolute; left: "+li+`px;
|
|
|
top: `+Ne+"px; width: "+(G==null?jt-li:G)+`px;
|
|
|
height: `+(Se-Ne)+"px"))}function kr(li,Ne,G){var Se=$(q,li),Re=Se.text.length,gt,er;function vr(zr,un){return ki(m,Lt(li,zr),"div",Se,un)}function Dr(zr,un,sn){var Fn=Ea(m,Se,null,zr),si=un=="ltr"==(sn=="after")?"left":"right",zn=sn=="after"?Fn.begin:Fn.end-(/\s/.test(Se.text.charAt(Fn.end-1))?2:1);return vr(zn,si)[si]}var Hr=Mt(Se,q.direction);return De(Hr,Ne||0,G==null?Re:G,function(zr,un,sn,Fn){var si=sn=="ltr",zn=vr(zr,si?"left":"right"),fi=vr(un-1,si?"right":"left"),da=Ne==null&&zr==0,Oi=G==null&&un==Re,na=Fn==0,Na=!Hr||Fn==Hr.length-1;if(fi.top-zn.top<=3){var Ui=(Kt?da:Oi)&&na,No=(Kt?Oi:da)&&Na,no=Ui?Ct:(si?zn:fi).left,Wo=No?jt:(si?fi:zn).right;Or(no,zn.top,Wo-no,zn.bottom)}else{var Uo,Pa,Ko,fs;si?(Uo=Kt&&da&&na?Ct:zn.left,Pa=Kt?jt:Dr(zr,sn,"before"),Ko=Kt?Ct:Dr(un,sn,"after"),fs=Kt&&Oi&&Na?jt:fi.right):(Uo=Kt?Dr(zr,sn,"before"):Ct,Pa=!Kt&&da&&na?jt:zn.right,Ko=!Kt&&Oi&&Na?Ct:fi.left,fs=Kt?Dr(un,sn,"after"):jt),Or(Uo,zn.top,Pa-Uo,zn.bottom),zn.bottom<fi.top&&Or(Ct,zn.bottom,null,fi.top),Or(Ko,fi.top,fs-Ko,fi.bottom)}(!gt||ka(zn,gt)<0)&&(gt=zn),ka(fi,gt)<0&&(gt=fi),(!er||ka(zn,er)<0)&&(er=zn),ka(fi,er)<0&&(er=fi)}),{start:gt,end:er}}var tn=I.from(),nn=I.to();if(tn.line==nn.line)kr(tn.line,tn.ch,nn.ch);else{var xn=$(q,tn.line),_n=$(q,nn.line),Zn=ta(xn)==ta(_n),$n=kr(tn.line,tn.ch,Zn?xn.text.length+1:null).end,oi=kr(nn.line,Zn?0:null,nn.ch).start;Zn&&($n.top<oi.top-2?(Or($n.right,$n.top,null,$n.bottom),Or(Ct,oi.top,oi.left,oi.bottom)):Or($n.right,$n.top,oi.left-$n.right,$n.bottom)),$n.bottom<oi.top&&Or(Ct,$n.bottom,null,oi.top)}W.appendChild(ve)}function vi(m){if(!m.state.focused)return;var I=m.display;clearInterval(I.blinker);var W=!0;I.cursorDiv.style.visibility="",m.options.cursorBlinkRate>0?I.blinker=setInterval(function(){m.hasFocus()||Ii(m),I.cursorDiv.style.visibility=(W=!W)?"":"hidden"},m.options.cursorBlinkRate):m.options.cursorBlinkRate<0&&(I.cursorDiv.style.visibility="hidden")}function Qa(m){m.state.focused||(m.display.input.focus(),pa(m))}function za(m){m.state.delayingBlurEvent=!0,setTimeout(function(){m.state.delayingBlurEvent&&(m.state.delayingBlurEvent=!1,Ii(m))},100)}function pa(m,I){if(m.state.delayingBlurEvent&&(m.state.delayingBlurEvent=!1),m.options.readOnly=="nocursor")return;m.state.focused||(_t(m,"focus",m,I),m.state.focused=!0,j(m.display.wrapper,"CodeMirror-focused"),!m.curOp&&m.display.selForContextMenu!=m.doc.sel&&(m.display.input.reset(),r&&setTimeout(function(){return m.display.input.reset(!0)},20)),m.display.input.receivedFocus()),vi(m)}function Ii(m,I){if(m.state.delayingBlurEvent)return;m.state.focused&&(_t(m,"blur",m,I),m.state.focused=!1,w(m.display.wrapper,"CodeMirror-focused")),clearInterval(m.display.blinker),setTimeout(function(){m.state.focused||(m.display.shift=!1)},150)}function So(m){for(var I=m.display,W=I.lineDiv.offsetTop,V=0;V<I.view.length;V++){var q=I.view[V],ve=m.options.lineWrapping,Je=void 0,Ct=0;if(q.hidden)continue;if(h&&i<8){var jt=q.node.offsetTop+q.node.offsetHeight;Je=jt-W,W=jt}else{var Kt=q.node.getBoundingClientRect();Je=Kt.bottom-Kt.top,!ve&&q.text.firstChild&&(Ct=q.text.firstChild.getBoundingClientRect().right-Kt.left-1)}var Or=q.line.height-Je;if((Or>.005||Or<-.005)&&(Ae(q.line,Je),Wa(q.line),q.rest))for(var kr=0;kr<q.rest.length;kr++)Wa(q.rest[kr]);if(Ct>m.display.sizerWidth){var tn=Math.ceil(Ct/Ti(m.display));tn>m.display.maxLineLength&&(m.display.maxLineLength=tn,m.display.maxLine=q.line,m.display.maxLineChanged=!0)}}}function Wa(m){if(m.widgets)for(var I=0;I<m.widgets.length;++I){var W=m.widgets[I],V=W.node.parentNode;V&&(W.height=V.offsetHeight)}}function ja(m,I,W){var V=W&&W.top!=null?Math.max(0,W.top):m.scroller.scrollTop;V=Math.floor(V-Ht(m));var q=W&&W.bottom!=null?W.bottom:V+m.wrapper.clientHeight,ve=$e(I,V),Je=$e(I,q);if(W&&W.ensure){var Ct=W.ensure.from.line,jt=W.ensure.to.line;Ct<ve?(ve=Ct,Je=$e(I,Ln($(I,Ct))+m.wrapper.clientHeight)):Math.min(jt,I.lastLine())>=Je&&(ve=$e(I,Ln($(I,jt))-m.wrapper.clientHeight),Je=jt)}return{from:ve,to:Math.max(Je,ve+1)}}function Ja(m,I){if(Ve(m,"scrollCursorIntoView"))return;var W=m.display,V=W.sizer.getBoundingClientRect(),q=null;if(I.top+V.top<0?q=!0:I.bottom+V.top>(window.innerHeight||document.documentElement.clientHeight)&&(q=!1),q!=null&&!t){var ve=D("div","\u200B",null,`position: absolute;
|
|
|
top: `+(I.top-W.viewOffset-Ht(m.display))+`px;
|
|
|
height: `+(I.bottom-I.top+Fr(m)+W.barHeight)+`px;
|
|
|
left: `+I.left+"px; width: "+Math.max(2,I.right-I.left)+"px;");m.display.lineSpace.appendChild(ve),ve.scrollIntoView(q),m.display.lineSpace.removeChild(ve)}}function ho(m,I,W,V){V==null&&(V=0);var q;!m.options.lineWrapping&&I==W&&(I=I.ch?Lt(I.line,I.sticky=="before"?I.ch-1:I.ch,"after"):I,W=I.sticky=="before"?Lt(I.line,I.ch+1,"before"):I);for(var ve=0;ve<5;ve++){var Je=!1,Ct=Bi(m,I),jt=!W||W==I?Ct:Bi(m,W);q={left:Math.min(Ct.left,jt.left),top:Math.min(Ct.top,jt.top)-V,right:Math.max(Ct.left,jt.left),bottom:Math.max(Ct.bottom,jt.bottom)+V};var Kt=to(m,q),Or=m.doc.scrollTop,kr=m.doc.scrollLeft;if(Kt.scrollTop!=null&&(Gi(m,Kt.scrollTop),Math.abs(m.doc.scrollTop-Or)>1&&(Je=!0)),Kt.scrollLeft!=null&&(go(m,Kt.scrollLeft),Math.abs(m.doc.scrollLeft-kr)>1&&(Je=!0)),!Je)break}return q}function Ca(m,I){var W=to(m,I);W.scrollTop!=null&&Gi(m,W.scrollTop),W.scrollLeft!=null&&go(m,W.scrollLeft)}function to(m,I){var W=m.display,V=yi(m.display);I.top<0&&(I.top=0);var q=m.curOp&&m.curOp.scrollTop!=null?m.curOp.scrollTop:W.scroller.scrollTop,ve=rn(m),Je={};I.bottom-I.top>ve&&(I.bottom=I.top+ve);var Ct=m.doc.height+ar(W),jt=I.top<V,Kt=I.bottom>Ct-V;if(I.top<q)Je.scrollTop=jt?0:I.top;else if(I.bottom>q+ve){var Or=Math.min(I.top,(Kt?Ct:I.bottom)-ve);Or!=q&&(Je.scrollTop=Or)}var kr=m.options.fixedGutter?0:W.gutters.offsetWidth,tn=m.curOp&&m.curOp.scrollLeft!=null?m.curOp.scrollLeft:W.scroller.scrollLeft-kr,nn=Mr(m)-W.gutters.offsetWidth,xn=I.right-I.left>nn;return xn&&(I.right=I.left+nn),I.left<10?Je.scrollLeft=0:I.left<tn?Je.scrollLeft=Math.max(0,I.left+kr-(xn?0:10)):I.right>nn+tn-3&&(Je.scrollLeft=I.right+(xn?0:10)-nn),Je}function Lo(m,I){if(I==null)return;Ra(m),m.curOp.scrollTop=(m.curOp.scrollTop==null?m.doc.scrollTop:m.curOp.scrollTop)+I}function Ta(m){Ra(m);var I=m.getCursor();m.curOp.scrollToPos={from:I,to:I,margin:m.options.cursorScrollMargin}}function Fi(m,I,W){(I!=null||W!=null)&&Ra(m),I!=null&&(m.curOp.scrollLeft=I),W!=null&&(m.curOp.scrollTop=W)}function $a(m,I){Ra(m),m.curOp.scrollToPos=I}function Ra(m){var I=m.curOp.scrollToPos;if(I){m.curOp.scrollToPos=null;var W=mi(m,I.from),V=mi(m,I.to);pi(m,W,V,I.margin)}}function pi(m,I,W,V){var q=to(m,{left:Math.min(I.left,W.left),top:Math.min(I.top,W.top)-V,right:Math.max(I.right,W.right),bottom:Math.max(I.bottom,W.bottom)+V});Fi(m,q.scrollLeft,q.scrollTop)}function Gi(m,I){if(Math.abs(m.doc.scrollTop-I)<2)return;g||To(m,{top:I}),oo(m,I,!0),g&&To(m),ps(m,100)}function oo(m,I,W){if(I=Math.max(0,Math.min(m.display.scroller.scrollHeight-m.display.scroller.clientHeight,I)),m.display.scroller.scrollTop==I&&!W)return;m.doc.scrollTop=I,m.display.scrollbars.setScrollTop(I),m.display.scroller.scrollTop!=I&&(m.display.scroller.scrollTop=I)}function go(m,I,W,V){if(I=Math.max(0,Math.min(I,m.display.scroller.scrollWidth-m.display.scroller.clientWidth)),(W?I==m.doc.scrollLeft:Math.abs(m.doc.scrollLeft-I)<2)&&!V)return;m.doc.scrollLeft=I,ms(m),m.display.scroller.scrollLeft!=I&&(m.display.scroller.scrollLeft=I),m.display.scrollbars.setScrollLeft(I)}function fo(m){var I=m.display,W=I.gutters.offsetWidth,V=Math.round(m.doc.height+ar(m.display));return{clientHeight:I.scroller.clientHeight,viewHeight:I.wrapper.clientHeight,scrollWidth:I.scroller.scrollWidth,clientWidth:I.scroller.clientWidth,viewWidth:I.wrapper.clientWidth,barLeft:m.options.fixedGutter?W:0,docHeight:V,scrollHeight:V+Fr(m)+I.barHeight,nativeBarWidth:I.nativeBarWidth,gutterWidth:W}}var Oa=function(I,W,V){this.cm=V;var q=this.vert=D("div",[D("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ve=this.horiz=D("div",[D("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");q.tabIndex=ve.tabIndex=-1,I(q),I(ve),ke(q,"scroll",function(){q.clientHeight&&W(q.scrollTop,"vertical")}),ke(ve,"scroll",function(){ve.clientWidth&&W(ve.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,h&&i<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Oa.prototype.update=function(m){var I=m.scrollWidth>m.clientWidth+1,W=m.scrollHeight>m.clientHeight+1,V=m.nativeBarWidth;if(W){this.vert.style.display="block",this.vert.style.bottom=I?V+"px":"0";var q=m.viewHeight-(I?V:0);this.vert.firstChild.style.height=Math.max(0,m.scrollHeight-m.clientHeight+q)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(I){this.horiz.style.display="block",this.horiz.style.right=W?V+"px":"0",this.horiz.style.left=m.barLeft+"px";var ve=m.viewWidth-m.barLeft-(W?V:0);this.horiz.firstChild.style.width=Math.max(0,m.scrollWidth-m.clientWidth+ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&m.clientHeight>0&&(V==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:W?V:0,bottom:I?V:0}},Oa.prototype.setScrollLeft=function(m){this.horiz.scrollLeft!=m&&(this.horiz.scrollLeft=m),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Oa.prototype.setScrollTop=function(m){this.vert.scrollTop!=m&&(this.vert.scrollTop=m),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Oa.prototype.zeroWidthHack=function(){var m=v&&!u?"12px":"18px";this.horiz.style.height=this.vert.style.width=m,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Y,this.disableVert=new Y},Oa.prototype.enableZeroWidthBar=function(m,I,W){m.style.pointerEvents="auto";function V(){var q=m.getBoundingClientRect(),ve=W=="vert"?document.elementFromPoint(q.right-1,(q.top+q.bottom)/2):document.elementFromPoint((q.right+q.left)/2,q.bottom-1);ve!=m?m.style.pointerEvents="none":I.set(1e3,V)}I.set(1e3,V)},Oa.prototype.clear=function(){var m=this.horiz.parentNode;m.removeChild(this.horiz),m.removeChild(this.vert)};var Pi=function(){};Pi.prototype.update=function(){return{bottom:0,right:0}},Pi.prototype.setScrollLeft=function(){},Pi.prototype.setScrollTop=function(){},Pi.prototype.clear=function(){};function Ma(m,I){I||(I=fo(m));var W=m.display.barWidth,V=m.display.barHeight;Vo(m,I);for(var q=0;q<4&&W!=m.display.barWidth||V!=m.display.barHeight;q++)W!=m.display.barWidth&&m.options.lineWrapping&&So(m),Vo(m,fo(m)),W=m.display.barWidth,V=m.display.barHeight}function Vo(m,I){var W=m.display,V=W.scrollbars.update(I);W.sizer.style.paddingRight=(W.barWidth=V.right)+"px",W.sizer.style.paddingBottom=(W.barHeight=V.bottom)+"px",W.heightForcer.style.borderBottom=V.bottom+"px solid transparent",V.right&&V.bottom?(W.scrollbarFiller.style.display="block",W.scrollbarFiller.style.height=V.bottom+"px",W.scrollbarFiller.style.width=V.right+"px"):W.scrollbarFiller.style.display="",V.bottom&&m.options.coverGutterNextToScrollbar&&m.options.fixedGutter?(W.gutterFiller.style.display="block",W.gutterFiller.style.height=V.bottom+"px",W.gutterFiller.style.width=I.gutterWidth+"px"):W.gutterFiller.style.display=""}var ro={native:Oa,null:Pi};function vo(m){m.display.scrollbars&&(m.display.scrollbars.clear(),m.display.scrollbars.addClass&&w(m.display.wrapper,m.display.scrollbars.addClass)),m.display.scrollbars=new ro[m.options.scrollbarStyle](function(I){m.display.wrapper.insertBefore(I,m.display.scrollbarFiller),ke(I,"mousedown",function(){m.state.focused&&setTimeout(function(){return m.display.input.focus()},0)}),I.setAttribute("cm-not-content","true")},function(I,W){W=="horizontal"?go(m,I):Gi(m,I)},m),m.display.scrollbars.addClass&&j(m.display.wrapper,m.display.scrollbars.addClass)}var po=0;function Zi(m){m.curOp={cm:m,viewChanged:!1,startHeight:m.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++po},eo(m.curOp)}function xo(m){var I=m.curOp;I&&co(I,function(W){for(var V=0;V<W.ops.length;V++)W.ops[V].cm.curOp=null;is(W)})}function is(m){for(var I=m.ops,W=0;W<I.length;W++)$o(I[W]);for(var V=0;V<I.length;V++)Ns(I[V]);for(var q=0;q<I.length;q++)Cs(I[q]);for(var ve=0;ve<I.length;ve++)Os(I[ve]);for(var Je=0;Je<I.length;Je++)Go(I[Je])}function $o(m){var I=m.cm,W=I.display;ss(I),m.updateMaxLine&&jn(I),m.mustUpdate=m.viewChanged||m.forceUpdate||m.scrollTop!=null||m.scrollToPos&&(m.scrollToPos.from.line<W.viewFrom||m.scrollToPos.to.line>=W.viewTo)||W.maxLineChanged&&I.options.lineWrapping,m.update=m.mustUpdate&&new Yo(I,m.mustUpdate&&{top:m.scrollTop,ensure:m.scrollToPos},m.forceUpdate)}function Ns(m){m.updatedDisplay=m.mustUpdate&&La(m.cm,m.update)}function Cs(m){var I=m.cm,W=I.display;m.updatedDisplay&&So(I),m.barMeasure=fo(I),W.maxLineChanged&&!I.options.lineWrapping&&(m.adjustWidthTo=Sn(I,W.maxLine,W.maxLine.text.length).left+3,I.display.sizerWidth=m.adjustWidthTo,m.barMeasure.scrollWidth=Math.max(W.scroller.clientWidth,W.sizer.offsetLeft+m.adjustWidthTo+Fr(I)+I.display.barWidth),m.maxScrollLeft=Math.max(0,W.sizer.offsetLeft+m.adjustWidthTo-Mr(I))),(m.updatedDisplay||m.selectionChanged)&&(m.preparedSelection=W.input.prepareSelection())}function Os(m){var I=m.cm;m.adjustWidthTo!=null&&(I.display.sizer.style.minWidth=m.adjustWidthTo+"px",m.maxScrollLeft<I.doc.scrollLeft&&go(I,Math.min(I.display.scroller.scrollLeft,m.maxScrollLeft),!0),I.display.maxLineChanged=!1);var W=m.focus&&m.focus==M();m.preparedSelection&&I.display.input.showSelection(m.preparedSelection,W),(m.updatedDisplay||m.startHeight!=I.doc.height)&&Ma(I,m.barMeasure),m.updatedDisplay&&rs(I,m.barMeasure),m.selectionChanged&&vi(I),I.state.focused&&m.updateInput&&I.display.input.reset(m.typing),W&&Qa(m.cm)}function Go(m){var I=m.cm,W=I.display,V=I.doc;if(m.updatedDisplay&&Io(I,m.update),W.wheelStartX!=null&&(m.scrollTop!=null||m.scrollLeft!=null||m.scrollToPos)&&(W.wheelStartX=W.wheelStartY=null),m.scrollTop!=null&&oo(I,m.scrollTop,m.forceScroll),m.scrollLeft!=null&&go(I,m.scrollLeft,!0,!0),m.scrollToPos){var q=ho(I,ze(V,m.scrollToPos.from),ze(V,m.scrollToPos.to),m.scrollToPos.margin);Ja(I,q)}var ve=m.maybeHiddenMarkers,Je=m.maybeUnhiddenMarkers;if(ve)for(var Ct=0;Ct<ve.length;++Ct)ve[Ct].lines.length||_t(ve[Ct],"hide");if(Je)for(var jt=0;jt<Je.length;++jt)Je[jt].lines.length&&_t(Je[jt],"unhide");W.wrapper.offsetHeight&&(V.scrollTop=I.display.scroller.scrollTop),m.changeObjs&&_t(I,"changes",I,m.changeObjs),m.update&&m.update.finish()}function bo(m,I){if(m.curOp)return I();Zi(m);try{return I()}finally{xo(m)}}function Za(m,I){return function(){if(m.curOp)return I.apply(m,arguments);Zi(m);try{return I.apply(m,arguments)}finally{xo(m)}}}function Ga(m){return function(){if(this.curOp)return m.apply(this,arguments);Zi(this);try{return m.apply(this,arguments)}finally{xo(this)}}}function so(m){return function(){var I=this.cm;if(!I||I.curOp)return m.apply(this,arguments);Zi(I);try{return m.apply(this,arguments)}finally{xo(I)}}}function ps(m,I){m.doc.highlightFrontier<m.display.viewTo&&m.state.highlight.set(I,H(wr,m))}function wr(m){var I=m.doc;if(I.highlightFrontier>=m.display.viewTo)return;var W=+new Date+m.options.workTime,V=rt(m,I.highlightFrontier),q=[];I.iter(V.line,Math.min(I.first+I.size,m.display.viewTo+500),function(ve){if(V.line>=m.display.viewFrom){var Je=ve.styles,Ct=ve.text.length>m.options.maxHighlightLength?wt(I.mode,V.state):null,jt=mt(m,ve,V,!0);Ct&&(V.state=Ct),ve.styles=jt.styles;var Kt=ve.styleClasses,Or=jt.classes;Or?ve.styleClasses=Or:Kt&&(ve.styleClasses=null);for(var kr=!Je||Je.length!=ve.styles.length||Kt!=Or&&(!Kt||!Or||Kt.bgClass!=Or.bgClass||Kt.textClass!=Or.textClass),tn=0;!kr&&tn<Je.length;++tn)kr=Je[tn]!=ve.styles[tn];kr&&q.push(V.line),ve.stateAfter=V.save(),V.nextLine()}else ve.text.length<=m.options.maxHighlightLength&&ft(m,ve.text,V),ve.stateAfter=V.line%5==0?V.save():null,V.nextLine();if(+new Date>W)return ps(m,m.options.workDelay),!0}),I.highlightFrontier=V.line,I.modeFrontier=Math.max(I.modeFrontier,V.line),q.length&&bo(m,function(){for(var ve=0;ve<q.length;ve++)Ua(m,q[ve],"text")})}var Yo=function(I,W,V){var q=I.display;this.viewport=W,this.visible=ja(q,I.doc,W),this.editorIsHidden=!q.wrapper.offsetWidth,this.wrapperHeight=q.wrapper.clientHeight,this.wrapperWidth=q.wrapper.clientWidth,this.oldDisplayWidth=Mr(I),this.force=V,this.dims=Vi(I),this.events=[]};Yo.prototype.signal=function(m,I){et(m,I)&&this.events.push(arguments)},Yo.prototype.finish=function(){for(var m=0;m<this.events.length;m++)_t.apply(null,this.events[m])};function ss(m){var I=m.display;!I.scrollbarsClipped&&I.scroller.offsetWidth&&(I.nativeBarWidth=I.scroller.offsetWidth-I.scroller.clientWidth,I.heightForcer.style.height=Fr(m)+"px",I.sizer.style.marginBottom=-I.nativeBarWidth+"px",I.sizer.style.borderRightWidth=Fr(m)+"px",I.scrollbarsClipped=!0)}function Ls(m){if(m.hasFocus())return null;var I=M();if(!I||!U(m.display.lineDiv,I))return null;var W={activeElt:I};if(window.getSelection){var V=window.getSelection();V.anchorNode&&V.extend&&U(m.display.lineDiv,V.anchorNode)&&(W.anchorNode=V.anchorNode,W.anchorOffset=V.anchorOffset,W.focusNode=V.focusNode,W.focusOffset=V.focusOffset)}return W}function Fa(m){if(!m||!m.activeElt||m.activeElt==M())return;if(m.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(m.activeElt.nodeName)&&m.anchorNode&&U(document.body,m.anchorNode)&&U(document.body,m.focusNode)){var I=window.getSelection(),W=document.createRange();W.setEnd(m.anchorNode,m.anchorOffset),W.collapse(!1),I.removeAllRanges(),I.addRange(W),I.extend(m.focusNode,m.focusOffset)}}function La(m,I){var W=m.display,V=m.doc;if(I.editorIsHidden)return Ba(m),!1;if(!I.force&&I.visible.from>=W.viewFrom&&I.visible.to<=W.viewTo&&(W.updateLineNumbers==null||W.updateLineNumbers>=W.viewTo)&&W.renderedView==W.view&&Ya(m)==0)return!1;ls(m)&&(Ba(m),I.dims=Vi(m));var q=V.first+V.size,ve=Math.max(I.visible.from-m.options.viewportMargin,V.first),Je=Math.min(q,I.visible.to+m.options.viewportMargin);W.viewFrom<ve&&ve-W.viewFrom<20&&(ve=Math.max(V.first,W.viewFrom)),W.viewTo>Je&&W.viewTo-Je<20&&(Je=Math.min(q,W.viewTo)),Gr&&(ve=Gn(m.doc,ve),Je=Ia(m.doc,Je));var Ct=ve!=W.viewFrom||Je!=W.viewTo||W.lastWrapHeight!=I.wrapperHeight||W.lastWrapWidth!=I.wrapperWidth;Qi(m,ve,Je),W.viewOffset=Ln($(m.doc,W.viewFrom)),m.display.mover.style.top=W.viewOffset+"px";var jt=Ya(m);if(!Ct&&jt==0&&!I.force&&W.renderedView==W.view&&(W.updateLineNumbers==null||W.updateLineNumbers>=W.viewTo))return!1;var Kt=Ls(m);return jt>4&&(W.lineDiv.style.display="none"),ts(m,W.updateLineNumbers,I.dims),jt>4&&(W.lineDiv.style.display=""),W.renderedView=W.view,Fa(Kt),C(W.cursorDiv),C(W.selectionDiv),W.gutters.style.height=W.sizer.style.minHeight=0,Ct&&(W.lastWrapHeight=I.wrapperHeight,W.lastWrapWidth=I.wrapperWidth,ps(m,400)),W.updateLineNumbers=null,!0}function Io(m,I){for(var W=I.viewport,V=!0;;V=!1){if(!V||!m.options.lineWrapping||I.oldDisplayWidth==Mr(m)){if(W&&W.top!=null&&(W={top:Math.min(m.doc.height+ar(m.display)-rn(m),W.top)}),I.visible=ja(m.display,m.doc,W),I.visible.from>=m.display.viewFrom&&I.visible.to<=m.display.viewTo)break}else V&&(I.visible=ja(m.display,m.doc,W));if(!La(m,I))break;So(m);var q=fo(m);zi(m),Ma(m,q),rs(m,q),I.force=!1}I.signal(m,"update",m),(m.display.viewFrom!=m.display.reportedViewFrom||m.display.viewTo!=m.display.reportedViewTo)&&(I.signal(m,"viewportChange",m,m.display.viewFrom,m.display.viewTo),m.display.reportedViewFrom=m.display.viewFrom,m.display.reportedViewTo=m.display.viewTo)}function To(m,I){var W=new Yo(m,I);if(La(m,W)){So(m),Io(m,W);var V=fo(m);zi(m),Ma(m,V),rs(m,V),W.finish()}}function ts(m,I,W){var V=m.display,q=m.options.lineNumbers,ve=V.lineDiv,Je=ve.firstChild;function Ct(xn){var _n=xn.nextSibling;return r&&v&&m.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),_n}for(var jt=V.view,Kt=V.viewFrom,Or=0;Or<jt.length;Or++){var kr=jt[Or];if(!kr.hidden)if(!kr.node||kr.node.parentNode!=ve){var tn=xr(m,kr,Kt,W);ve.insertBefore(tn,Je)}else{for(;Je!=kr.node;)Je=Ct(Je);var nn=q&&I!=null&&I<=Kt&&kr.lineNumber;kr.changes&&(_(kr.changes,"gutter")>-1&&(nn=!1),Kr(m,kr,Kt,W)),nn&&(C(kr.lineNumber),kr.lineNumber.appendChild(document.createTextNode($t(m.options,Kt)))),Je=kr.node.nextSibling}Kt+=kr.size}for(;Je;)Je=Ct(Je)}function _o(m){var I=m.gutters.offsetWidth;m.sizer.style.marginLeft=I+"px"}function rs(m,I){m.display.sizer.style.minHeight=I.docHeight+"px",m.display.heightForcer.style.top=I.docHeight+"px",m.display.gutters.style.height=I.docHeight+m.display.barHeight+Fr(m)+"px"}function ms(m){var I=m.display,W=I.view;if(!I.alignWidgets&&(!I.gutters.firstChild||!m.options.fixedGutter))return;for(var V=Yi(I)-I.scroller.scrollLeft+m.doc.scrollLeft,q=I.gutters.offsetWidth,ve=V+"px",Je=0;Je<W.length;Je++)if(!W[Je].hidden){m.options.fixedGutter&&(W[Je].gutter&&(W[Je].gutter.style.left=ve),W[Je].gutterBackground&&(W[Je].gutterBackground.style.left=ve));var Ct=W[Je].alignable;if(Ct)for(var jt=0;jt<Ct.length;jt++)Ct[jt].style.left=ve}m.options.fixedGutter&&(I.gutters.style.left=V+q+"px")}function ls(m){if(!m.options.lineNumbers)return!1;var I=m.doc,W=$t(m.options,I.first+I.size-1),V=m.display;if(W.length!=V.lineNumChars){var q=V.measure.appendChild(D("div",[D("div",W)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ve=q.firstChild.offsetWidth,Je=q.offsetWidth-ve;return V.lineGutter.style.width="",V.lineNumInnerWidth=Math.max(ve,V.lineGutter.offsetWidth-Je)+1,V.lineNumWidth=V.lineNumInnerWidth+Je,V.lineNumChars=V.lineNumInnerWidth?W.length:-1,V.lineGutter.style.width=V.lineNumWidth+"px",_o(m.display),!0}return!1}function Ds(m,I){for(var W=[],V=!1,q=0;q<m.length;q++){var ve=m[q],Je=null;if(typeof ve!="string"&&(Je=ve.style,ve=ve.className),ve=="CodeMirror-linenumbers")if(I)V=!0;else continue;W.push({className:ve,style:Je})}return I&&!V&&W.push({className:"CodeMirror-linenumbers",style:null}),W}function Rs(m){var I=m.gutters,W=m.gutterSpecs;C(I),m.lineGutter=null;for(var V=0;V<W.length;++V){var q=W[V],ve=q.className,Je=q.style,Ct=I.appendChild(D("div",null,"CodeMirror-gutter "+ve));Je&&(Ct.style.cssText=Je),ve=="CodeMirror-linenumbers"&&(m.lineGutter=Ct,Ct.style.width=(m.lineNumWidth||1)+"px")}I.style.display=W.length?"":"none",_o(m)}function as(m){Rs(m.display),gi(m),ms(m)}function Zs(m,I,W,V){var q=this;this.input=W,q.scrollbarFiller=D("div",null,"CodeMirror-scrollbar-filler"),q.scrollbarFiller.setAttribute("cm-not-content","true"),q.gutterFiller=D("div",null,"CodeMirror-gutter-filler"),q.gutterFiller.setAttribute("cm-not-content","true"),q.lineDiv=B("div",null,"CodeMirror-code"),q.selectionDiv=D("div",null,null,"position: relative; z-index: 1"),q.cursorDiv=D("div",null,"CodeMirror-cursors"),q.measure=D("div",null,"CodeMirror-measure"),q.lineMeasure=D("div",null,"CodeMirror-measure"),q.lineSpace=B("div",[q.measure,q.lineMeasure,q.selectionDiv,q.cursorDiv,q.lineDiv],null,"position: relative; outline: none");var ve=B("div",[q.lineSpace],"CodeMirror-lines");q.mover=D("div",[ve],null,"position: relative"),q.sizer=D("div",[q.mover],"CodeMirror-sizer"),q.sizerWidth=null,q.heightForcer=D("div",null,null,"position: absolute; height: "+Q+"px; width: 1px;"),q.gutters=D("div",null,"CodeMirror-gutters"),q.lineGutter=null,q.scroller=D("div",[q.sizer,q.heightForcer,q.gutters],"CodeMirror-scroll"),q.scroller.setAttribute("tabIndex","-1"),q.wrapper=D("div",[q.scrollbarFiller,q.gutterFiller,q.scroller],"CodeMirror"),h&&i<8&&(q.gutters.style.zIndex=-1,q.scroller.style.paddingRight=0),!r&&!(g&&f)&&(q.scroller.draggable=!0),m&&(m.appendChild?m.appendChild(q.wrapper):m(q.wrapper)),q.viewFrom=q.viewTo=I.first,q.reportedViewFrom=q.reportedViewTo=I.first,q.view=[],q.renderedView=null,q.externalMeasured=null,q.viewOffset=0,q.lastWrapHeight=q.lastWrapWidth=0,q.updateLineNumbers=null,q.nativeBarWidth=q.barHeight=q.barWidth=0,q.scrollbarsClipped=!1,q.lineNumWidth=q.lineNumInnerWidth=q.lineNumChars=null,q.alignWidgets=!1,q.cachedCharWidth=q.cachedTextHeight=q.cachedPaddingH=null,q.maxLine=null,q.maxLineLength=0,q.maxLineChanged=!1,q.wheelDX=q.wheelDY=q.wheelStartX=q.wheelStartY=null,q.shift=!1,q.selForContextMenu=null,q.activeTouch=null,q.gutterSpecs=Ds(V.gutters,V.lineNumbers),Rs(q),W.init(q)}var us=0,Bo=null;h?Bo=-.53:g?Bo=15:s?Bo=-.7:n&&(Bo=-1/3);function Rn(m){var I=m.wheelDeltaX,W=m.wheelDeltaY;return I==null&&m.detail&&m.axis==m.HORIZONTAL_AXIS&&(I=m.detail),W==null&&m.detail&&m.axis==m.VERTICAL_AXIS?W=m.detail:W==null&&(W=m.wheelDelta),{x:I,y:W}}function Vs(m){var I=Rn(m);return I.x*=Bo,I.y*=Bo,I}function Is(m,I){var W=Rn(I),V=W.x,q=W.y,ve=m.display,Je=ve.scroller,Ct=Je.scrollWidth>Je.clientWidth,jt=Je.scrollHeight>Je.clientHeight;if(!(V&&Ct||q&&jt))return;if(q&&v&&r){e:for(var Kt=I.target,Or=ve.view;Kt!=Je;Kt=Kt.parentNode)for(var kr=0;kr<Or.length;kr++)if(Or[kr].node==Kt){m.display.currentWheelTarget=Kt;break e}}if(V&&!g&&!l&&Bo!=null){q&&jt&&Gi(m,Math.max(0,Je.scrollTop+q*Bo)),go(m,Math.max(0,Je.scrollLeft+V*Bo)),(!q||q&&jt)&&Ze(I),ve.wheelStartX=null;return}if(q&&Bo!=null){var tn=q*Bo,nn=m.doc.scrollTop,xn=nn+ve.wrapper.clientHeight;tn<0?nn=Math.max(0,nn+tn-50):xn=Math.min(m.doc.height,xn+tn+50),To(m,{top:nn,bottom:xn})}us<20&&(ve.wheelStartX==null?(ve.wheelStartX=Je.scrollLeft,ve.wheelStartY=Je.scrollTop,ve.wheelDX=V,ve.wheelDY=q,setTimeout(function(){if(ve.wheelStartX==null)return;var _n=Je.scrollLeft-ve.wheelStartX,Zn=Je.scrollTop-ve.wheelStartY,$n=Zn&&ve.wheelDY&&Zn/ve.wheelDY||_n&&ve.wheelDX&&_n/ve.wheelDX;if(ve.wheelStartX=ve.wheelStartY=null,!$n)return;Bo=(Bo*us+$n)/(us+1),++us},200)):(ve.wheelDX+=V,ve.wheelDY+=q))}var Dt=function(I,W){this.ranges=I,this.primIndex=W};Dt.prototype.primary=function(){return this.ranges[this.primIndex]},Dt.prototype.equals=function(m){if(m==this)return!0;if(m.primIndex!=this.primIndex||m.ranges.length!=this.ranges.length)return!1;for(var I=0;I<this.ranges.length;I++){var W=this.ranges[I],V=m.ranges[I];if(!Wt(W.anchor,V.anchor)||!Wt(W.head,V.head))return!1}return!0},Dt.prototype.deepCopy=function(){for(var m=[],I=0;I<this.ranges.length;I++)m[I]=new re(Vt(this.ranges[I].anchor),Vt(this.ranges[I].head));return new Dt(m,this.primIndex)},Dt.prototype.somethingSelected=function(){for(var m=0;m<this.ranges.length;m++)if(!this.ranges[m].empty())return!0;return!1},Dt.prototype.contains=function(m,I){I||(I=m);for(var W=0;W<this.ranges.length;W++){var V=this.ranges[W];if(Ut(I,V.from())>=0&&Ut(m,V.to())<=0)return W}return-1};var re=function(I,W){this.anchor=I,this.head=W};re.prototype.from=function(){return ur(this.anchor,this.head)},re.prototype.to=function(){return Tt(this.anchor,this.head)},re.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ce(m,I,W){var V=m&&m.options.selectionsMayTouch,q=I[W];I.sort(function(tn,nn){return Ut(tn.from(),nn.from())}),W=_(I,q);for(var ve=1;ve<I.length;ve++){var Je=I[ve],Ct=I[ve-1],jt=Ut(Ct.to(),Je.from());if(V&&!Je.empty()?jt>0:jt>=0){var Kt=ur(Ct.from(),Je.from()),Or=Tt(Ct.to(),Je.to()),kr=Ct.empty()?Je.from()==Je.head:Ct.from()==Ct.head;ve<=W&&--W,I.splice(--ve,2,new re(kr?Or:Kt,kr?Kt:Or))}}return new Dt(I,W)}function pe(m,I){return new Dt([new re(m,I||m)],0)}function Le(m){return m.text?Lt(m.from.line+m.text.length-1,qe(m.text).length+(m.text.length==1?m.from.ch:0)):m.to}function ct(m,I){if(Ut(m,I.from)<0)return m;if(Ut(m,I.to)<=0)return Le(I);var W=m.line+I.text.length-(I.to.line-I.from.line)-1,V=m.ch;return m.line==I.to.line&&(V+=Le(I).ch-I.to.ch),Lt(W,V)}function Rt(m,I){for(var W=[],V=0;V<m.sel.ranges.length;V++){var q=m.sel.ranges[V];W.push(new re(ct(q.anchor,I),ct(q.head,I)))}return ce(m.cm,W,m.sel.primIndex)}function cr(m,I,W){return m.line==I.line?Lt(W.line,m.ch-I.ch+W.ch):Lt(W.line+(m.line-I.line),m.ch)}function gr(m,I,W){for(var V=[],q=Lt(m.first,0),ve=q,Je=0;Je<I.length;Je++){var Ct=I[Je],jt=cr(Ct.from,q,ve),Kt=cr(Le(Ct),q,ve);if(q=Ct.to,ve=Kt,W=="around"){var Or=m.sel.ranges[Je],kr=Ut(Or.head,Or.anchor)<0;V[Je]=new re(kr?Kt:jt,kr?jt:Kt)}else V[Je]=new re(jt,jt)}return new Dt(V,m.sel.primIndex)}function Br(m){m.doc.mode=xe(m.options,m.doc.modeOption),qr(m)}function qr(m){m.doc.iter(function(I){I.stateAfter&&(I.stateAfter=null),I.styles&&(I.styles=null)}),m.doc.modeFrontier=m.doc.highlightFrontier=m.doc.first,ps(m,100),m.state.modeGen++,m.curOp&&gi(m)}function ln(m,I){return I.from.ch==0&&I.to.ch==0&&qe(I.text)==""&&(!m.cm||m.cm.options.wholeLineUpdateBefore)}function An(m,I,W,V){function q(oi){return W?W[oi]:null}function ve(oi,li,Ne){di(oi,li,Ne,V),Ir(oi,"change",oi,I)}function Je(oi,li){for(var Ne=[],G=oi;G<li;++G)Ne.push(new ni(Kt[G],q(G),V));return Ne}var Ct=I.from,jt=I.to,Kt=I.text,Or=$(m,Ct.line),kr=$(m,jt.line),tn=qe(Kt),nn=q(Kt.length-1),xn=jt.line-Ct.line;if(I.full)m.insert(0,Je(0,Kt.length)),m.remove(Kt.length,m.size-Kt.length);else if(ln(m,I)){var _n=Je(0,Kt.length-1);ve(kr,kr.text,nn),xn&&m.remove(Ct.line,xn),_n.length&&m.insert(Ct.line,_n)}else if(Or==kr)if(Kt.length==1)ve(Or,Or.text.slice(0,Ct.ch)+tn+Or.text.slice(jt.ch),nn);else{var Zn=Je(1,Kt.length-1);Zn.push(new ni(tn+Or.text.slice(jt.ch),nn,V)),ve(Or,Or.text.slice(0,Ct.ch)+Kt[0],q(0)),m.insert(Ct.line+1,Zn)}else if(Kt.length==1)ve(Or,Or.text.slice(0,Ct.ch)+Kt[0]+kr.text.slice(jt.ch),q(0)),m.remove(Ct.line+1,xn);else{ve(Or,Or.text.slice(0,Ct.ch)+Kt[0],q(0)),ve(kr,tn+kr.text.slice(jt.ch),nn);var $n=Je(1,Kt.length-1);xn>1&&m.remove(Ct.line+1,xn-1),m.insert(Ct.line+1,$n)}Ir(m,"change",m,I)}function Cn(m,I,W){function V(q,ve,Je){if(q.linked)for(var Ct=0;Ct<q.linked.length;++Ct){var jt=q.linked[Ct];if(jt.doc==ve)continue;var Kt=Je&&jt.sharedHist;if(W&&!Kt)continue;I(jt.doc,Kt),V(jt.doc,q,Kt)}}V(m,null,!0)}function Xn(m,I){if(I.cm)throw new Error("This document is already in use.");m.doc=I,I.cm=m,ya(m),Br(m),ti(m),m.options.lineWrapping||jn(m),m.options.mode=I.modeOption,gi(m)}function ti(m){(m.doc.direction=="rtl"?j:w)(m.display.lineDiv,"CodeMirror-rtl")}function wi(m){bo(m,function(){ti(m),gi(m)})}function ea(m){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=m||1}function ji(m,I){var W={from:Vt(I.from),to:Le(I),text:le(m,I.from,I.to)};return Fo(m,W,I.from.line,I.to.line+1),Cn(m,function(V){return Fo(V,W,I.from.line,I.to.line+1)},!0),W}function Sa(m){for(;m.length;){var I=qe(m);if(I.ranges)m.pop();else break}}function lo(m,I){if(I)return Sa(m.done),qe(m.done);if(m.done.length&&!qe(m.done).ranges)return qe(m.done);if(m.done.length>1&&!m.done[m.done.length-2].ranges)return m.done.pop(),qe(m.done)}function Ka(m,I,W,V){var q=m.history;q.undone.length=0;var ve=+new Date,Je,Ct;if((q.lastOp==V||q.lastOrigin==I.origin&&I.origin&&(I.origin.charAt(0)=="+"&&q.lastModTime>ve-(m.cm?m.cm.options.historyEventDelay:500)||I.origin.charAt(0)=="*"))&&(Je=lo(q,q.lastOp==V)))Ct=qe(Je.changes),Ut(I.from,I.to)==0&&Ut(I.from,Ct.to)==0?Ct.to=Le(I):Je.changes.push(ji(m,I));else{var jt=qe(q.done);for((!jt||!jt.ranges)&&qa(m.sel,q.done),Je={changes:[ji(m,I)],generation:q.generation},q.done.push(Je);q.done.length>q.undoDepth;)q.done.shift(),q.done[0].ranges||q.done.shift()}q.done.push(W),q.generation=++q.maxGeneration,q.lastModTime=q.lastSelTime=ve,q.lastOp=q.lastSelOp=V,q.lastOrigin=q.lastSelOrigin=I.origin,Ct||_t(m,"historyAdded")}function Ao(m,I,W,V){var q=I.charAt(0);return q=="*"||q=="+"&&W.ranges.length==V.ranges.length&&W.somethingSelected()==V.somethingSelected()&&new Date-m.history.lastSelTime<=(m.cm?m.cm.options.historyEventDelay:500)}function yo(m,I,W,V){var q=m.history,ve=V&&V.origin;W==q.lastSelOp||ve&&q.lastSelOrigin==ve&&(q.lastModTime==q.lastSelTime&&q.lastOrigin==ve||Ao(m,ve,qe(q.done),I))?q.done[q.done.length-1]=I:qa(I,q.done),q.lastSelTime=+new Date,q.lastSelOrigin=ve,q.lastSelOp=W,V&&V.clearRedo!==!1&&Sa(q.undone)}function qa(m,I){var W=qe(I);W&&W.ranges&&W.equals(m)||I.push(m)}function Fo(m,I,W,V){var q=I["spans_"+m.id],ve=0;m.iter(Math.max(m.first,W),Math.min(m.first+m.size,V),function(Je){Je.markedSpans&&((q||(q=I["spans_"+m.id]={}))[ve]=Je.markedSpans),++ve})}function Do(m){if(!m)return null;for(var I,W=0;W<m.length;++W)m[W].marker.explicitlyCleared?I||(I=m.slice(0,W)):I&&I.push(m[W]);return I?I.length?I:null:m}function Ha(m,I){var W=I["spans_"+m.id];if(!W)return null;for(var V=[],q=0;q<I.text.length;++q)V.push(Do(W[q]));return V}function jo(m,I){var W=Ha(m,I),V=Dn(m,I);if(!W)return V;if(!V)return W;for(var q=0;q<W.length;++q){var ve=W[q],Je=V[q];if(ve&&Je){e:for(var Ct=0;Ct<Je.length;++Ct){for(var jt=Je[Ct],Kt=0;Kt<ve.length;++Kt)if(ve[Kt].marker==jt.marker)continue e;ve.push(jt)}}else Je&&(W[q]=Je)}return W}function Po(m,I,W){for(var V=[],q=0;q<m.length;++q){var ve=m[q];if(ve.ranges){V.push(W?Dt.prototype.deepCopy.call(ve):ve);continue}var Je=ve.changes,Ct=[];V.push({changes:Ct});for(var jt=0;jt<Je.length;++jt){var Kt=Je[jt],Or=void 0;if(Ct.push({from:Kt.from,to:Kt.to,text:Kt.text}),I)for(var kr in Kt)(Or=kr.match(/^spans_(\d+)$/))&&(_(I,Number(Or[1]))>-1&&(qe(Ct)[kr]=Kt[kr],delete Kt[kr]))}}return V}function Xo(m,I,W,V){if(V){var q=m.anchor;if(W){var ve=Ut(I,q)<0;ve!=Ut(W,q)<0?(q=I,I=W):ve!=Ut(I,W)<0&&(I=W)}return new re(q,I)}else return new re(W||I,I)}function wo(m,I,W,V,q){q==null&&(q=m.cm&&(m.cm.display.shift||m.extend)),Eo(m,new Dt([Xo(m.sel.primary(),I,W,q)],0),V)}function cs(m,I,W){for(var V=[],q=m.cm&&(m.cm.display.shift||m.extend),ve=0;ve<m.sel.ranges.length;ve++)V[ve]=Xo(m.sel.ranges[ve],I[ve],null,q);var Je=ce(m.cm,V,m.sel.primIndex);Eo(m,Je,W)}function ns(m,I,W,V){var q=m.sel.ranges.slice(0);q[I]=W,Eo(m,ce(m.cm,q,m.sel.primIndex),V)}function Ys(m,I,W,V){Eo(m,pe(I,W),V)}function Qs(m,I,W){var V={ranges:I.ranges,update:function(ve){this.ranges=[];for(var Je=0;Je<ve.length;Je++)this.ranges[Je]=new re(ze(m,ve[Je].anchor),ze(m,ve[Je].head))},origin:W&&W.origin};return _t(m,"beforeSelectionChange",m,V),m.cm&&_t(m.cm,"beforeSelectionChange",m.cm,V),V.ranges!=I.ranges?ce(m.cm,V.ranges,V.ranges.length-1):I}function Qo(m,I,W){var V=m.history.done,q=qe(V);q&&q.ranges?(V[V.length-1]=I,ds(m,I,W)):Eo(m,I,W)}function Eo(m,I,W){ds(m,I,W),yo(m,m.sel,m.cm?m.cm.curOp.id:NaN,W)}function ds(m,I,W){(et(m,"beforeSelectionChange")||m.cm&&et(m.cm,"beforeSelectionChange"))&&(I=Qs(m,I,W));var V=W&&W.bias||(Ut(I.primary().head,m.sel.primary().head)<0?-1:1);hs(m,Ro(m,I,V,!0)),!(W&&W.scroll===!1)&&m.cm&&Ta(m.cm)}function hs(m,I){if(I.equals(m.sel))return;m.sel=I,m.cm&&(m.cm.curOp.updateInput=1,m.cm.curOp.selectionChanged=!0,Qe(m.cm)),Ir(m,"cursorActivity",m)}function Ms(m){hs(m,Ro(m,m.sel,null,!1))}function Ro(m,I,W,V){for(var q,ve=0;ve<I.ranges.length;ve++){var Je=I.ranges[ve],Ct=I.ranges.length==m.sel.ranges.length&&m.sel.ranges[ve],jt=Bs(m,Je.anchor,Ct&&Ct.anchor,W,V),Kt=Bs(m,Je.head,Ct&&Ct.head,W,V);(q||jt!=Je.anchor||Kt!=Je.head)&&(q||(q=I.ranges.slice(0,ve)),q[ve]=new re(jt,Kt))}return q?ce(m.cm,q,I.primIndex):I}function As(m,I,W,V,q){var ve=$(m,I.line);if(ve.markedSpans)for(var Je=0;Je<ve.markedSpans.length;++Je){var Ct=ve.markedSpans[Je],jt=Ct.marker,Kt="selectLeft"in jt?!jt.selectLeft:jt.inclusiveLeft,Or="selectRight"in jt?!jt.selectRight:jt.inclusiveRight;if((Ct.from==null||(Kt?Ct.from<=I.ch:Ct.from<I.ch))&&(Ct.to==null||(Or?Ct.to>=I.ch:Ct.to>I.ch))){if(q&&(_t(jt,"beforeCursorEnter"),jt.explicitlyCleared))if(ve.markedSpans){--Je;continue}else break;if(!jt.atomic)continue;if(W){var kr=jt.find(V<0?1:-1),tn=void 0;if((V<0?Or:Kt)&&(kr=ys(m,kr,-V,kr&&kr.line==I.line?ve:null)),kr&&kr.line==I.line&&(tn=Ut(kr,W))&&(V<0?tn<0:tn>0))return As(m,kr,I,V,q)}var nn=jt.find(V<0?-1:1);return(V<0?Kt:Or)&&(nn=ys(m,nn,V,nn.line==I.line?ve:null)),nn?As(m,nn,I,V,q):null}}return I}function Bs(m,I,W,V,q){var ve=V||1,Je=As(m,I,W,ve,q)||!q&&As(m,I,W,ve,!0)||As(m,I,W,-ve,q)||!q&&As(m,I,W,-ve,!0);return Je||(m.cantEdit=!0,Lt(m.first,0))}function ys(m,I,W,V){return W<0&&I.ch==0?I.line>m.first?ze(m,Lt(I.line-1)):null:W>0&&I.ch==(V||$(m,I.line)).text.length?I.line<m.first+m.size-1?Lt(I.line+1,0):null:new Lt(I.line,I.ch+W)}function Fs(m){m.setSelection(Lt(m.firstLine(),0),Lt(m.lastLine()),he)}function Hs(m,I,W){var V={canceled:!1,from:I.from,to:I.to,text:I.text,origin:I.origin,cancel:function(){return V.canceled=!0}};return W&&(V.update=function(q,ve,Je,Ct){q&&(V.from=ze(m,q)),ve&&(V.to=ze(m,ve)),Je&&(V.text=Je),Ct!==void 0&&(V.origin=Ct)}),_t(m,"beforeChange",m,V),m.cm&&_t(m.cm,"beforeChange",m.cm,V),V.canceled?(m.cm&&(m.cm.curOp.updateInput=2),null):{from:V.from,to:V.to,text:V.text,origin:V.origin}}function bs(m,I,W){if(m.cm){if(!m.cm.curOp)return Za(m.cm,bs)(m,I,W);if(m.cm.state.suppressEdits)return}if((et(m,"beforeChange")||m.cm&&et(m.cm,"beforeChange"))&&(I=Hs(m,I,!0),!I))return;var V=Cr&&!W&&On(m,I.from,I.to);if(V)for(var q=V.length-1;q>=0;--q)ca(m,{from:V[q].from,to:V[q].to,text:q?[""]:I.text,origin:I.origin});else ca(m,I)}function ca(m,I){if(I.text.length==1&&I.text[0]==""&&Ut(I.from,I.to)==0)return;var W=Rt(m,I);Ka(m,I,W,m.cm?m.cm.curOp.id:NaN),Kn(m,I,W,Dn(m,I));var V=[];Cn(m,function(q,ve){!ve&&_(V,q.history)==-1&&(Zo(q.history,I),V.push(q.history)),Kn(q,I,null,Dn(q,I))})}function ci(m,I,W){var V=m.cm&&m.cm.state.suppressEdits;if(V&&!W)return;for(var q=m.history,ve,Je=m.sel,Ct=I=="undo"?q.done:q.undone,jt=I=="undo"?q.undone:q.done,Kt=0;Kt<Ct.length&&!(ve=Ct[Kt],W?ve.ranges&&!ve.equals(m.sel):!ve.ranges);Kt++);if(Kt==Ct.length)return;for(q.lastOrigin=q.lastSelOrigin=null;;)if(ve=Ct.pop(),ve.ranges){if(qa(ve,jt),W&&!ve.equals(m.sel)){Eo(m,ve,{clearRedo:!1});return}Je=ve}else if(V){Ct.push(ve);return}else break;var Or=[];qa(Je,jt),jt.push({changes:Or,generation:q.generation}),q.generation=ve.generation||++q.maxGeneration;for(var kr=et(m,"beforeChange")||m.cm&&et(m.cm,"beforeChange"),tn=function(Zn){var $n=ve.changes[Zn];if($n.origin=I,kr&&!Hs(m,$n,!1))return Ct.length=0,{};Or.push(ji(m,$n));var oi=Zn?Rt(m,$n):qe(Ct);Kn(m,$n,oi,jo(m,$n)),!Zn&&m.cm&&m.cm.scrollIntoView({from:$n.from,to:Le($n)});var li=[];Cn(m,function(Ne,G){!G&&_(li,Ne.history)==-1&&(Zo(Ne.history,$n),li.push(Ne.history)),Kn(Ne,$n,null,jo(Ne,$n))})},nn=ve.changes.length-1;nn>=0;--nn){var xn=tn(nn);if(xn)return xn.v}}function _i(m,I){if(I==0)return;if(m.first+=I,m.sel=new Dt(xt(m.sel.ranges,function(q){return new re(Lt(q.anchor.line+I,q.anchor.ch),Lt(q.head.line+I,q.head.ch))}),m.sel.primIndex),m.cm){gi(m.cm,m.first,m.first-I,I);for(var W=m.cm.display,V=W.viewFrom;V<W.viewTo;V++)Ua(m.cm,V,"gutter")}}function Kn(m,I,W,V){if(m.cm&&!m.cm.curOp)return Za(m.cm,Kn)(m,I,W,V);if(I.to.line<m.first){_i(m,I.text.length-1-(I.to.line-I.from.line));return}if(I.from.line>m.lastLine())return;if(I.from.line<m.first){var q=I.text.length-1-(m.first-I.from.line);_i(m,q),I={from:Lt(m.first,0),to:Lt(I.to.line+q,I.to.ch),text:[qe(I.text)],origin:I.origin}}var ve=m.lastLine();I.to.line>ve&&(I={from:I.from,to:Lt(ve,$(m,ve).text.length),text:[I.text[0]],origin:I.origin}),I.removed=le(m,I.from,I.to),W||(W=Rt(m,I)),m.cm?io(m.cm,I,V):An(m,I,V),ds(m,W,he),m.cantEdit&&Bs(m,Lt(m.firstLine(),0))&&(m.cantEdit=!1)}function io(m,I,W){var V=m.doc,q=m.display,ve=I.from,Je=I.to,Ct=!1,jt=ve.line;m.options.lineWrapping||(jt=Me(ta($(V,ve.line))),V.iter(jt,Je.line+1,function(nn){if(nn==q.maxLine)return Ct=!0,!0})),V.sel.contains(I.from,I.to)>-1&&Qe(m),An(V,I,W,bi(m)),m.options.lineWrapping||(V.iter(jt,ve.line+I.text.length,function(nn){var xn=Nn(nn);xn>q.maxLineLength&&(q.maxLine=nn,q.maxLineLength=xn,q.maxLineChanged=!0,Ct=!1)}),Ct&&(m.curOp.updateMaxLine=!0)),Qr(V,ve.line),ps(m,400);var Kt=I.text.length-(Je.line-ve.line)-1;I.full?gi(m):ve.line==Je.line&&I.text.length==1&&!ln(m.doc,I)?Ua(m,ve.line,"text"):gi(m,ve.line,Je.line+1,Kt);var Or=et(m,"changes"),kr=et(m,"change");if(kr||Or){var tn={from:ve,to:Je,text:I.text,removed:I.removed,origin:I.origin};kr&&Ir(m,"change",m,tn),Or&&(m.curOp.changeObjs||(m.curOp.changeObjs=[])).push(tn)}m.display.selForContextMenu=null}function Jo(m,I,W,V,q){var ve;V||(V=W),Ut(V,W)<0&&(ve=[V,W],W=ve[0],V=ve[1]),typeof I=="string"&&(I=m.splitLines(I)),bs(m,{from:W,to:V,text:I,origin:q})}function gs(m,I,W,V){W<m.line?m.line+=V:I<m.line&&(m.line=I,m.ch=0)}function os(m,I,W,V){for(var q=0;q<m.length;++q){var ve=m[q],Je=!0;if(ve.ranges){ve.copied||(ve=m[q]=ve.deepCopy(),ve.copied=!0);for(var Ct=0;Ct<ve.ranges.length;Ct++)gs(ve.ranges[Ct].anchor,I,W,V),gs(ve.ranges[Ct].head,I,W,V);continue}for(var jt=0;jt<ve.changes.length;++jt){var Kt=ve.changes[jt];if(W<Kt.from.line)Kt.from=Lt(Kt.from.line+V,Kt.from.ch),Kt.to=Lt(Kt.to.line+V,Kt.to.ch);else if(I<=Kt.to.line){Je=!1;break}}Je||(m.splice(0,q+1),q=0)}}function Zo(m,I){var W=I.from.line,V=I.to.line,q=I.text.length-(V-W)-1;os(m.done,W,V,q),os(m.undone,W,V,q)}function qo(m,I,W,V){var q=I,ve=I;return typeof I=="number"?ve=$(m,qt(m,I)):q=Me(I),q==null?null:(V(ve,q)&&m.cm&&Ua(m.cm,q,W),ve)}function ws(m){this.lines=m,this.parent=null;for(var I=0,W=0;W<m.length;++W)m[W].parent=this,I+=m[W].height;this.height=I}ws.prototype={chunkSize:function(){return this.lines.length},removeInner:function(I,W){for(var V=I,q=I+W;V<q;++V){var ve=this.lines[V];this.height-=ve.height,Da(ve),Ir(ve,"delete")}this.lines.splice(I,W)},collapse:function(I){I.push.apply(I,this.lines)},insertInner:function(I,W,V){this.height+=V,this.lines=this.lines.slice(0,I).concat(W).concat(this.lines.slice(I));for(var q=0;q<W.length;++q)W[q].parent=this},iterN:function(I,W,V){for(var q=I+W;I<q;++I)if(V(this.lines[I]))return!0}};function Ho(m){this.children=m;for(var I=0,W=0,V=0;V<m.length;++V){var q=m[V];I+=q.chunkSize(),W+=q.height,q.parent=this}this.size=I,this.height=W,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(I,W){this.size-=W;for(var V=0;V<this.children.length;++V){var q=this.children[V],ve=q.chunkSize();if(I<ve){var Je=Math.min(W,ve-I),Ct=q.height;if(q.removeInner(I,Je),this.height-=Ct-q.height,ve==Je&&(this.children.splice(V--,1),q.parent=null),(W-=Je)==0)break;I=0}else I-=ve}if(this.size-W<25&&(this.children.length>1||!(this.children[0]instanceof ws))){var jt=[];this.collapse(jt),this.children=[new ws(jt)],this.children[0].parent=this}},collapse:function(I){for(var W=0;W<this.children.length;++W)this.children[W].collapse(I)},insertInner:function(I,W,V){this.size+=W.length,this.height+=V;for(var q=0;q<this.children.length;++q){var ve=this.children[q],Je=ve.chunkSize();if(I<=Je){if(ve.insertInner(I,W,V),ve.lines&&ve.lines.length>50){for(var Ct=ve.lines.length%25+25,jt=Ct;jt<ve.lines.length;){var Kt=new ws(ve.lines.slice(jt,jt+=25));ve.height-=Kt.height,this.children.splice(++q,0,Kt),Kt.parent=this}ve.lines=ve.lines.slice(0,Ct),this.maybeSpill()}break}I-=Je}},maybeSpill:function(){if(this.children.length<=10)return;var I=this;do{var W=I.children.splice(I.children.length-5,5),V=new Ho(W);if(I.parent){I.size-=V.size,I.height-=V.height;var ve=_(I.parent.children,I);I.parent.children.splice(ve+1,0,V)}else{var q=new Ho(I.children);q.parent=I,I.children=[q,V],I=q}V.parent=I.parent}while(I.children.length>10);I.parent.maybeSpill()},iterN:function(I,W,V){for(var q=0;q<this.children.length;++q){var ve=this.children[q],Je=ve.chunkSize();if(I<Je){var Ct=Math.min(W,Je-I);if(ve.iterN(I,Ct,V))return!0;if((W-=Ct)==0)break;I=0}else I-=Je}}};var sl=function(I,W,V){if(V)for(var q in V)V.hasOwnProperty(q)&&(this[q]=V[q]);this.doc=I,this.node=W};sl.prototype.clear=function(){var m=this.doc.cm,I=this.line.widgets,W=this.line,V=Me(W);if(V==null||!I)return;for(var q=0;q<I.length;++q)I[q]==this&&I.splice(q--,1);I.length||(W.widgets=null);var ve=an(this);Ae(W,Math.max(0,W.height-ve)),m&&(bo(m,function(){kl(m,W,-ve),Ua(m,V,"widget")}),Ir(m,"lineWidgetCleared",m,this,V))},sl.prototype.changed=function(){var m=this,I=this.height,W=this.doc.cm,V=this.line;this.height=null;var q=an(this)-I;if(!q)return;mn(this.doc,V)||Ae(V,V.height+q),W&&bo(W,function(){W.curOp.forceUpdate=!0,kl(W,V,q),Ir(W,"lineWidgetChanged",W,m,Me(V))})},dt(sl);function kl(m,I,W){Ln(I)<(m.curOp&&m.curOp.scrollTop||m.doc.scrollTop)&&Lo(m,W)}function ll(m,I,W,V){var q=new sl(m,W,V),ve=m.cm;return ve&&q.noHScroll&&(ve.display.alignWidgets=!0),qo(m,I,"widget",function(Je){var Ct=Je.widgets||(Je.widgets=[]);if(q.insertAt==null?Ct.push(q):Ct.splice(Math.min(Ct.length-1,Math.max(0,q.insertAt)),0,q),q.line=Je,ve&&!mn(m,Je)){var jt=Ln(Je)<m.scrollTop;Ae(Je,Je.height+an(q)),jt&&Lo(ve,q.height),ve.curOp.forceUpdate=!0}return!0}),ve&&Ir(ve,"lineWidgetAdded",ve,q,typeof I=="number"?I:Me(I)),q}var Nl=0,Ts=function(I,W){this.lines=[],this.type=W,this.doc=I,this.id=++Nl};Ts.prototype.clear=function(){if(this.explicitlyCleared)return;var m=this.doc.cm,I=m&&!m.curOp;if(I&&Zi(m),et(this,"clear")){var W=this.find();W&&Ir(this,"clear",W.from,W.to)}for(var V=null,q=null,ve=0;ve<this.lines.length;++ve){var Je=this.lines[ve],Ct=sr(Je.markedSpans,this);m&&!this.collapsed?Ua(m,Me(Je),"text"):m&&(Ct.to!=null&&(q=Me(Je)),Ct.from!=null&&(V=Me(Je))),Je.markedSpans=dr(Je.markedSpans,Ct),Ct.from==null&&this.collapsed&&!mn(this.doc,Je)&&m&&Ae(Je,yi(m.display))}if(m&&this.collapsed&&!m.options.lineWrapping)for(var jt=0;jt<this.lines.length;++jt){var Kt=ta(this.lines[jt]),Or=Nn(Kt);Or>m.display.maxLineLength&&(m.display.maxLine=Kt,m.display.maxLineLength=Or,m.display.maxLineChanged=!0)}V!=null&&m&&this.collapsed&&gi(m,V,q+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,m&&Ms(m.doc)),m&&Ir(m,"markerCleared",m,this,V,q),I&&xo(m),this.parent&&this.parent.clear()},Ts.prototype.find=function(m,I){m==null&&this.type=="bookmark"&&(m=1);for(var W,V,q=0;q<this.lines.length;++q){var ve=this.lines[q],Je=sr(ve.markedSpans,this);if(Je.from!=null&&(W=Lt(I?ve:Me(ve),Je.from),m==-1))return W;if(Je.to!=null&&(V=Lt(I?ve:Me(ve),Je.to),m==1))return V}return W&&{from:W,to:V}},Ts.prototype.changed=function(){var m=this,I=this.find(-1,!0),W=this,V=this.doc.cm;if(!I||!V)return;bo(V,function(){var q=I.line,ve=Me(I.line),Je=bn(V,ve);if(Je&&(ri(Je),V.curOp.selectionChanged=V.curOp.forceUpdate=!0),V.curOp.updateMaxLine=!0,!mn(W.doc,q)&&W.height!=null){var Ct=W.height;W.height=null;var jt=an(W)-Ct;jt&&Ae(q,q.height+jt)}Ir(V,"markerChanged",V,m)})},Ts.prototype.attachLine=function(m){if(!this.lines.length&&this.doc.cm){var I=this.doc.cm.curOp;(!I.maybeHiddenMarkers||_(I.maybeHiddenMarkers,this)==-1)&&(I.maybeUnhiddenMarkers||(I.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(m)},Ts.prototype.detachLine=function(m){if(this.lines.splice(_(this.lines,m),1),!this.lines.length&&this.doc.cm){var I=this.doc.cm.curOp;(I.maybeHiddenMarkers||(I.maybeHiddenMarkers=[])).push(this)}},dt(Ts);function Gs(m,I,W,V,q){if(V&&V.shared)return jl(m,I,W,V,q);if(m.cm&&!m.cm.curOp)return Za(m.cm,Gs)(m,I,W,V,q);var ve=new Ts(m,q),Je=Ut(I,W);if(V&&k(V,ve,!1),Je>0||Je==0&&ve.clearWhenEmpty!==!1)return ve;if(ve.replacedWith&&(ve.collapsed=!0,ve.widgetNode=B("span",[ve.replacedWith],"CodeMirror-widget"),V.handleMouseEvents||ve.widgetNode.setAttribute("cm-ignore-events","true"),V.insertLeft&&(ve.widgetNode.insertLeft=!0)),ve.collapsed){if(xa(m,I.line,I,W,ve)||I.line!=W.line&&xa(m,W.line,I,W,ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");lr()}ve.addToHistory&&Ka(m,{from:I,to:W,origin:"markText"},m.sel,NaN);var Ct=I.line,jt=m.cm,Kt;if(m.iter(Ct,W.line+1,function(kr){jt&&ve.collapsed&&!jt.options.lineWrapping&&ta(kr)==jt.display.maxLine&&(Kt=!0),ve.collapsed&&Ct!=I.line&&Ae(kr,0),Sr(kr,new pr(ve,Ct==I.line?I.ch:null,Ct==W.line?W.ch:null)),++Ct}),ve.collapsed&&m.iter(I.line,W.line+1,function(kr){mn(m,kr)&&Ae(kr,0)}),ve.clearOnEnter&&ke(ve,"beforeCursorEnter",function(){return ve.clear()}),ve.readOnly&&(Nr(),(m.history.done.length||m.history.undone.length)&&m.clearHistory()),ve.collapsed&&(ve.id=++Nl,ve.atomic=!0),jt){if(Kt&&(jt.curOp.updateMaxLine=!0),ve.collapsed)gi(jt,I.line,W.line+1);else if(ve.className||ve.startStyle||ve.endStyle||ve.css||ve.attributes||ve.title)for(var Or=I.line;Or<=W.line;Or++)Ua(jt,Or,"text");ve.atomic&&Ms(jt.doc),Ir(jt,"markerAdded",jt,ve)}return ve}var qs=function(I,W){this.markers=I,this.primary=W;for(var V=0;V<I.length;++V)I[V].parent=this};qs.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var m=0;m<this.markers.length;++m)this.markers[m].clear();Ir(this,"clear")},qs.prototype.find=function(m,I){return this.primary.find(m,I)},dt(qs);function jl(m,I,W,V,q){V=k(V),V.shared=!1;var ve=[Gs(m,I,W,V,q)],Je=ve[0],Ct=V.widgetNode;return Cn(m,function(jt){Ct&&(V.widgetNode=Ct.cloneNode(!0)),ve.push(Gs(jt,ze(jt,I),ze(jt,W),V,q));for(var Kt=0;Kt<jt.linked.length;++Kt)if(jt.linked[Kt].isParent)return;Je=qe(ve)}),new qs(ve,Je)}function Hl(m){return m.findMarks(Lt(m.first,0),m.clipPos(Lt(m.lastLine())),function(I){return I.parent})}function Dl(m,I){for(var W=0;W<I.length;W++){var V=I[W],q=V.find(),ve=m.clipPos(q.from),Je=m.clipPos(q.to);if(Ut(ve,Je)){var Ct=Gs(m,ve,Je,V.primary,V.primary.type);V.markers.push(Ct),Ct.parent=V}}}function ru(m){for(var I=function(q){var ve=m[q],Je=[ve.primary.doc];Cn(ve.primary.doc,function(Kt){return Je.push(Kt)});for(var Ct=0;Ct<ve.markers.length;Ct++){var jt=ve.markers[Ct];_(Je,jt.doc)==-1&&(jt.parent=null,ve.markers.splice(Ct--,1))}},W=0;W<m.length;W++)I(W)}var nu=0,es=function m(I,W,V,q,ve){if(!(this instanceof m))return new m(I,W,V,q,ve);V==null&&(V=0),Ho.call(this,[new ws([new ni("",null)])]),this.first=V,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=V;var Je=Lt(V,0);this.sel=pe(Je),this.history=new ea(null),this.id=++nu,this.modeOption=W,this.lineSep=q,this.direction=ve=="rtl"?"rtl":"ltr",this.extend=!1,typeof I=="string"&&(I=this.splitLines(I)),An(this,{from:Je,to:Je,text:I}),Eo(this,pe(Je),he)};es.prototype=bt(Ho.prototype,{constructor:es,iter:function(I,W,V){V?this.iterN(I-this.first,W-I,V):this.iterN(this.first,this.first+this.size,I)},insert:function(I,W){for(var V=0,q=0;q<W.length;++q)V+=W[q].height;this.insertInner(I-this.first,W,V)},remove:function(I,W){this.removeInner(I-this.first,W)},getValue:function(I){var W=ge(this,this.first,this.first+this.size);return I===!1?W:W.join(I||this.lineSeparator())},setValue:so(function(m){var I=Lt(this.first,0),W=this.first+this.size-1;bs(this,{from:I,to:Lt(W,$(this,W).text.length),text:this.splitLines(m),origin:"setValue",full:!0},!0),this.cm&&Fi(this.cm,0,0),Eo(this,pe(I),he)}),replaceRange:function(I,W,V,q){W=ze(this,W),V=V?ze(this,V):W,Jo(this,I,W,V,q)},getRange:function(I,W,V){var q=le(this,ze(this,I),ze(this,W));return V===!1?q:q.join(V||this.lineSeparator())},getLine:function(I){var W=this.getLineHandle(I);return W&&W.text},getLineHandle:function(I){if(kt(this,I))return $(this,I)},getLineNumber:function(I){return Me(I)},getLineHandleVisualStart:function(I){return typeof I=="number"&&(I=$(this,I)),ta(I)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(I){return ze(this,I)},getCursor:function(I){var W=this.sel.primary(),V;return I==null||I=="head"?V=W.head:I=="anchor"?V=W.anchor:I=="end"||I=="to"||I===!1?V=W.to():V=W.from(),V},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(m,I,W){Ys(this,ze(this,typeof m=="number"?Lt(m,I||0):m),null,W)}),setSelection:so(function(m,I,W){Ys(this,ze(this,m),ze(this,I||m),W)}),extendSelection:so(function(m,I,W){wo(this,ze(this,m),I&&ze(this,I),W)}),extendSelections:so(function(m,I){cs(this,Ye(this,m),I)}),extendSelectionsBy:so(function(m,I){var W=xt(this.sel.ranges,m);cs(this,Ye(this,W),I)}),setSelections:so(function(m,I,W){if(!m.length)return;for(var V=[],q=0;q<m.length;q++)V[q]=new re(ze(this,m[q].anchor),ze(this,m[q].head));I==null&&(I=Math.min(m.length-1,this.sel.primIndex)),Eo(this,ce(this.cm,V,I),W)}),addSelection:so(function(m,I,W){var V=this.sel.ranges.slice(0);V.push(new re(ze(this,m),ze(this,I||m))),Eo(this,ce(this.cm,V,V.length-1),W)}),getSelection:function(I){for(var W=this.sel.ranges,V,q=0;q<W.length;q++){var ve=le(this,W[q].from(),W[q].to());V=V?V.concat(ve):ve}return I===!1?V:V.join(I||this.lineSeparator())},getSelections:function(I){for(var W=[],V=this.sel.ranges,q=0;q<V.length;q++){var ve=le(this,V[q].from(),V[q].to());I!==!1&&(ve=ve.join(I||this.lineSeparator())),W[q]=ve}return W},replaceSelection:function(I,W,V){for(var q=[],ve=0;ve<this.sel.ranges.length;ve++)q[ve]=I;this.replaceSelections(q,W,V||"+input")},replaceSelections:so(function(m,I,W){for(var V=[],q=this.sel,ve=0;ve<q.ranges.length;ve++){var Je=q.ranges[ve];V[ve]={from:Je.from(),to:Je.to(),text:this.splitLines(m[ve]),origin:W}}for(var Ct=I&&I!="end"&&gr(this,V,I),jt=V.length-1;jt>=0;jt--)bs(this,V[jt]);Ct?Qo(this,Ct):this.cm&&Ta(this.cm)}),undo:so(function(){ci(this,"undo")}),redo:so(function(){ci(this,"redo")}),undoSelection:so(function(){ci(this,"undo",!0)}),redoSelection:so(function(){ci(this,"redo",!0)}),setExtending:function(I){this.extend=I},getExtending:function(){return this.extend},historySize:function(){for(var I=this.history,W=0,V=0,q=0;q<I.done.length;q++)I.done[q].ranges||++W;for(var ve=0;ve<I.undone.length;ve++)I.undone[ve].ranges||++V;return{undo:W,redo:V}},clearHistory:function(){var I=this;this.history=new ea(this.history.maxGeneration),Cn(this,function(W){return W.history=I.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(I){return I&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(I){return this.history.generation==(I||this.cleanGeneration)},getHistory:function(){return{done:Po(this.history.done),undone:Po(this.history.undone)}},setHistory:function(I){var W=this.history=new ea(this.history.maxGeneration);W.done=Po(I.done.slice(0),null,!0),W.undone=Po(I.undone.slice(0),null,!0)},setGutterMarker:so(function(m,I,W){return qo(this,m,"gutter",function(V){var q=V.gutterMarkers||(V.gutterMarkers={});return q[I]=W,!W&&ht(q)&&(V.gutterMarkers=null),!0})}),clearGutter:so(function(m){var I=this;this.iter(function(W){W.gutterMarkers&&W.gutterMarkers[m]&&qo(I,W,"gutter",function(){return W.gutterMarkers[m]=null,ht(W.gutterMarkers)&&(W.gutterMarkers=null),!0})})}),lineInfo:function(I){var W;if(typeof I=="number"){if(!kt(this,I))return null;if(W=I,I=$(this,I),!I)return null}else if(W=Me(I),W==null)return null;return{line:W,handle:I,text:I.text,gutterMarkers:I.gutterMarkers,textClass:I.textClass,bgClass:I.bgClass,wrapClass:I.wrapClass,widgets:I.widgets}},addLineClass:so(function(m,I,W){return qo(this,m,I=="gutter"?"gutter":"class",function(V){var q=I=="text"?"textClass":I=="background"?"bgClass":I=="gutter"?"gutterClass":"wrapClass";if(!V[q])V[q]=W;else{if(T(W).test(V[q]))return!1;V[q]+=" "+W}return!0})}),removeLineClass:so(function(m,I,W){return qo(this,m,I=="gutter"?"gutter":"class",function(V){var q=I=="text"?"textClass":I=="background"?"bgClass":I=="gutter"?"gutterClass":"wrapClass",ve=V[q];if(ve)if(W==null)V[q]=null;else{var Je=ve.match(T(W));if(!Je)return!1;var Ct=Je.index+Je[0].length;V[q]=ve.slice(0,Je.index)+(!Je.index||Ct==ve.length?"":" ")+ve.slice(Ct)||null}else return!1;return!0})}),addLineWidget:so(function(m,I,W){return ll(this,m,I,W)}),removeLineWidget:function(I){I.clear()},markText:function(I,W,V){return Gs(this,ze(this,I),ze(this,W),V,V&&V.type||"range")},setBookmark:function(I,W){var V={replacedWith:W&&(W.nodeType==null?W.widget:W),insertLeft:W&&W.insertLeft,clearWhenEmpty:!1,shared:W&&W.shared,handleMouseEvents:W&&W.handleMouseEvents};return I=ze(this,I),Gs(this,I,I,V,"bookmark")},findMarksAt:function(I){I=ze(this,I);var W=[],V=$(this,I.line).markedSpans;if(V)for(var q=0;q<V.length;++q){var ve=V[q];(ve.from==null||ve.from<=I.ch)&&(ve.to==null||ve.to>=I.ch)&&W.push(ve.marker.parent||ve.marker)}return W},findMarks:function(I,W,V){I=ze(this,I),W=ze(this,W);var q=[],ve=I.line;return this.iter(I.line,W.line+1,function(Je){var Ct=Je.markedSpans;if(Ct)for(var jt=0;jt<Ct.length;jt++){var Kt=Ct[jt];!(Kt.to!=null&&ve==I.line&&I.ch>=Kt.to||Kt.from==null&&ve!=I.line||Kt.from!=null&&ve==W.line&&Kt.from>=W.ch)&&(!V||V(Kt.marker))&&q.push(Kt.marker.parent||Kt.marker)}++ve}),q},getAllMarks:function(){var I=[];return this.iter(function(W){var V=W.markedSpans;if(V)for(var q=0;q<V.length;++q)V[q].from!=null&&I.push(V[q].marker)}),I},posFromIndex:function(I){var W,V=this.first,q=this.lineSeparator().length;return this.iter(function(ve){var Je=ve.text.length+q;if(Je>I)return W=I,!0;I-=Je,++V}),ze(this,Lt(V,W))},indexFromPos:function(I){I=ze(this,I);var W=I.ch;if(I.line<this.first||I.ch<0)return 0;var V=this.lineSeparator().length;return this.iter(this.first,I.line,function(q){W+=q.text.length+V}),W},copy:function(I){var W=new es(ge(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return W.scrollTop=this.scrollTop,W.scrollLeft=this.scrollLeft,W.sel=this.sel,W.extend=!1,I&&(W.history.undoDepth=this.history.undoDepth,W.setHistory(this.getHistory())),W},linkedDoc:function(I){I||(I={});var W=this.first,V=this.first+this.size;I.from!=null&&I.from>W&&(W=I.from),I.to!=null&&I.to<V&&(V=I.to);var q=new es(ge(this,W,V),I.mode||this.modeOption,W,this.lineSep,this.direction);return I.sharedHist&&(q.history=this.history),(this.linked||(this.linked=[])).push({doc:q,sharedHist:I.sharedHist}),q.linked=[{doc:this,isParent:!0,sharedHist:I.sharedHist}],Dl(q,Hl(this)),q},unlinkDoc:function(I){if(I instanceof He&&(I=I.doc),this.linked)for(var W=0;W<this.linked.length;++W){var V=this.linked[W];if(V.doc!=I)continue;this.linked.splice(W,1),I.unlinkDoc(this),ru(Hl(this));break}if(I.history==this.history){var q=[I.id];Cn(I,function(ve){return q.push(ve.id)},!0),I.history=new ea(null),I.history.done=Po(this.history.done,q),I.history.undone=Po(this.history.undone,q)}},iterLinkedDocs:function(I){Cn(this,I)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(I){return this.lineSep?I.split(this.lineSep):hr(I)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:so(function(m){if(m!="rtl"&&(m="ltr"),m==this.direction)return;this.direction=m,this.iter(function(I){return I.order=null}),this.cm&&wi(this.cm)})}),es.prototype.eachLine=es.prototype.iter;var el=0;function iu(m){var I=this;if(yl(I),Ve(I,m)||at(I.display,m))return;Ze(m),h&&(el=+new Date);var W=ua(I,m,!0),V=m.dataTransfer.files;if(!W||I.isReadOnly())return;if(V&&V.length&&window.FileReader&&window.File)for(var q=V.length,ve=Array(q),Je=0,Ct=function(){++Je==q&&Za(I,function(){W=ze(I.doc,W);var xn={from:W,to:W,text:I.doc.splitLines(ve.filter(function(_n){return _n!=null}).join(I.doc.lineSeparator())),origin:"paste"};bs(I.doc,xn),Qo(I.doc,pe(ze(I.doc,W),ze(I.doc,Le(xn))))})()},jt=function(xn,_n){if(I.options.allowDropFileTypes&&_(I.options.allowDropFileTypes,xn.type)==-1){Ct();return}var Zn=new FileReader;Zn.onerror=function(){return Ct()},Zn.onload=function(){var $n=Zn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test($n)){Ct();return}ve[_n]=$n,Ct()},Zn.readAsText(xn)},Kt=0;Kt<V.length;Kt++)jt(V[Kt],Kt);else{if(I.state.draggingText&&I.doc.sel.contains(W)>-1){I.state.draggingText(m),setTimeout(function(){return I.display.input.focus()},20);return}try{var Or=m.dataTransfer.getData("Text");if(Or){var kr;if(I.state.draggingText&&!I.state.draggingText.copy&&(kr=I.listSelections()),ds(I.doc,pe(W,W)),kr)for(var tn=0;tn<kr.length;++tn)Jo(I.doc,"",kr[tn].anchor,kr[tn].head,"drag");I.replaceSelection(Or,"around","paste"),I.display.input.focus()}}catch(nn){}}}function Rl(m,I){if(h&&(!m.state.draggingText||+new Date-el<100)){ot(I);return}if(Ve(m,I)||at(m.display,I))return;if(I.dataTransfer.setData("Text",m.getSelection()),I.dataTransfer.effectAllowed="copyMove",I.dataTransfer.setDragImage&&!n){var W=D("img",null,null,"position: fixed; left: 0; top: 0;");W.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",l&&(W.width=W.height=1,m.display.wrapper.appendChild(W),W._top=W.offsetTop),I.dataTransfer.setDragImage(W,0,0),l&&W.parentNode.removeChild(W)}}function Ml(m,I){var W=ua(m,I);if(!W)return;var V=document.createDocumentFragment();ba(m,W,V),m.display.dragCursor||(m.display.dragCursor=D("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),m.display.lineSpace.insertBefore(m.display.dragCursor,m.display.cursorDiv)),N(m.display.dragCursor,V)}function yl(m){m.display.dragCursor&&(m.display.lineSpace.removeChild(m.display.dragCursor),m.display.dragCursor=null)}function zl(m){if(!document.getElementsByClassName)return;for(var I=document.getElementsByClassName("CodeMirror"),W=[],V=0;V<I.length;V++){var q=I[V].CodeMirror;q&&W.push(q)}W.length&&W[0].operation(function(){for(var ve=0;ve<W.length;ve++)m(W[ve])})}var ul=!1;function Wl(){if(ul)return;au(),ul=!0}function au(){var m;ke(window,"resize",function(){m==null&&(m=setTimeout(function(){m=null,zl(ou)},100))}),ke(window,"blur",function(){return zl(Ii)})}function ou(m){var I=m.display;I.cachedCharWidth=I.cachedTextHeight=I.cachedPaddingH=null,I.scrollbarsClipped=!1,m.setSize()}for(var Ps={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"},tl=0;tl<10;tl++)Ps[tl+48]=Ps[tl+96]=String(tl);for(var bl=65;bl<=90;bl++)Ps[bl]=String.fromCharCode(bl);for(var cl=1;cl<=12;cl++)Ps[cl+111]=Ps[cl+63235]="F"+cl;var Ss={};Ss.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ss.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ss.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ss.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ss.default=v?Ss.macDefault:Ss.pcDefault;function zs(m){var I=m.split(/-(?!$)/);m=I[I.length-1];for(var W,V,q,ve,Je=0;Je<I.length-1;Je++){var Ct=I[Je];if(/^(cmd|meta|m)$/i.test(Ct))ve=!0;else if(/^a(lt)?$/i.test(Ct))W=!0;else if(/^(c|ctrl|control)$/i.test(Ct))V=!0;else if(/^s(hift)?$/i.test(Ct))q=!0;else throw new Error("Unrecognized modifier name: "+Ct)}return W&&(m="Alt-"+m),V&&(m="Ctrl-"+m),ve&&(m="Cmd-"+m),q&&(m="Shift-"+m),m}function rl(m){var I={};for(var W in m)if(m.hasOwnProperty(W)){var V=m[W];if(/^(name|fallthrough|(de|at)tach)$/.test(W))continue;if(V=="..."){delete m[W];continue}for(var q=xt(W.split(" "),zs),ve=0;ve<q.length;ve++){var Je=void 0,Ct=void 0;ve==q.length-1?(Ct=q.join(" "),Je=V):(Ct=q.slice(0,ve+1).join(" "),Je="...");var jt=I[Ct];if(!jt)I[Ct]=Je;else if(jt!=Je)throw new Error("Inconsistent bindings for "+Ct)}delete m[W]}for(var Kt in I)m[Kt]=I[Kt];return m}function Us(m,I,W,V){I=Sl(I);var q=I.call?I.call(m,V):I[m];if(q===!1)return"nothing";if(q==="...")return"multi";if(q!=null&&W(q))return"handled";if(I.fallthrough){if(Object.prototype.toString.call(I.fallthrough)!="[object Array]")return Us(m,I.fallthrough,W,V);for(var ve=0;ve<I.fallthrough.length;ve++){var Je=Us(m,I.fallthrough[ve],W,V);if(Je)return Je}}}function wl(m){var I=typeof m=="string"?m:Ps[m.keyCode];return I=="Ctrl"||I=="Alt"||I=="Shift"||I=="Mod"}function Bl(m,I,W){var V=m;return I.altKey&&V!="Alt"&&(m="Alt-"+m),(x?I.metaKey:I.ctrlKey)&&V!="Ctrl"&&(m="Ctrl-"+m),(x?I.ctrlKey:I.metaKey)&&V!="Mod"&&(m="Cmd-"+m),!W&&I.shiftKey&&V!="Shift"&&(m="Shift-"+m),m}function Kl(m,I){if(l&&m.keyCode==34&&m.char)return!1;var W=Ps[m.keyCode];return W==null||m.altGraphKey?!1:(m.keyCode==3&&m.code&&(W=m.code),Bl(W,m,I))}function Sl(m){return typeof m=="string"?Ss[m]:m}function Xs(m,I){for(var W=m.doc.sel.ranges,V=[],q=0;q<W.length;q++){for(var ve=I(W[q]);V.length&&Ut(ve.from,qe(V).to)<=0;){var Je=V.pop();if(Ut(Je.from,ve.from)<0){ve.from=Je.from;break}}V.push(ve)}bo(m,function(){for(var Ct=V.length-1;Ct>=0;Ct--)Jo(m.doc,"",V[Ct].from,V[Ct].to,"+delete");Ta(m)})}function dl(m,I,W){var V=At(m.text,I+W,W);return V<0||V>m.text.length?null:V}function nl(m,I,W){var V=dl(m,I.ch,W);return V==null?null:new Lt(I.line,V,W<0?"after":"before")}function hl(m,I,W,V,q){if(m){I.doc.direction=="rtl"&&(q=-q);var ve=Mt(W,I.doc.direction);if(ve){var Je=q<0?qe(ve):ve[0],Ct=q<0==(Je.level==1),jt=Ct?"after":"before",Kt;if(Je.level>0||I.doc.direction=="rtl"){var Or=Bn(I,W);Kt=q<0?W.text.length-1:0;var kr=vn(I,Or,Kt).top;Kt=_e(function(tn){return vn(I,Or,tn).top==kr},q<0==(Je.level==1)?Je.from:Je.to-1,Kt),jt=="before"&&(Kt=dl(W,Kt,1))}else Kt=q<0?Je.to:Je.from;return new Lt(V,Kt,jt)}}return new Lt(V,q<0?W.text.length:0,q<0?"before":"after")}function xl(m,I,W,V){var q=Mt(I,m.doc.direction);if(!q)return nl(I,W,V);W.ch>=I.text.length?(W.ch=I.text.length,W.sticky="before"):W.ch<=0&&(W.ch=0,W.sticky="after");var ve=st(q,W.ch,W.sticky),Je=q[ve];if(m.doc.direction=="ltr"&&Je.level%2==0&&(V>0?Je.to>W.ch:Je.from<W.ch))return nl(I,W,V);var Ct=function(oi,li){return dl(I,oi instanceof Lt?oi.ch:oi,li)},jt,Kt=function(oi){return m.options.lineWrapping?(jt=jt||Bn(m,I),Ea(m,I,jt,oi)):{begin:0,end:I.text.length}},Or=Kt(W.sticky=="before"?Ct(W,-1):W.ch);if(m.doc.direction=="rtl"||Je.level==1){var kr=Je.level==1==V<0,tn=Ct(W,kr?1:-1);if(tn!=null&&(kr?tn<=Je.to&&tn<=Or.end:tn>=Je.from&&tn>=Or.begin)){var nn=kr?"before":"after";return new Lt(W.line,tn,nn)}}var xn=function(oi,li,Ne){for(var G=function(vr,Dr){return Dr?new Lt(W.line,Ct(vr,1),"before"):new Lt(W.line,vr,"after")};oi>=0&&oi<q.length;oi+=li){var Se=q[oi],Re=li>0==(Se.level!=1),gt=Re?Ne.begin:Ct(Ne.end,-1);if(Se.from<=gt&><Se.to)return G(gt,Re);if(gt=Re?Se.from:Ct(Se.to,-1),Ne.begin<=gt&><Ne.end)return G(gt,Re)}},_n=xn(ve+V,V,Or);if(_n)return _n;var Zn=V>0?Or.end:Ct(Or.begin,-1);return Zn!=null&&!(V>0&&Zn==I.text.length)&&(_n=xn(V>0?0:q.length-1,V,Kt(Zn)),_n)?_n:null}var Ws={selectAll:Fs,singleSelection:function(I){return I.setSelection(I.getCursor("anchor"),I.getCursor("head"),he)},killLine:function(I){return Xs(I,function(W){if(W.empty()){var V=$(I.doc,W.head.line).text.length;return W.head.ch==V&&W.head.line<I.lastLine()?{from:W.head,to:Lt(W.head.line+1,0)}:{from:W.head,to:Lt(W.head.line,V)}}else return{from:W.from(),to:W.to()}})},deleteLine:function(I){return Xs(I,function(W){return{from:Lt(W.from().line,0),to:ze(I.doc,Lt(W.to().line+1,0))}})},delLineLeft:function(I){return Xs(I,function(W){return{from:Lt(W.from().line,0),to:W.from()}})},delWrappedLineLeft:function(I){return Xs(I,function(W){var V=I.charCoords(W.head,"div").top+5,q=I.coordsChar({left:0,top:V},"div");return{from:q,to:W.from()}})},delWrappedLineRight:function(I){return Xs(I,function(W){var V=I.charCoords(W.head,"div").top+5,q=I.coordsChar({left:I.display.lineDiv.offsetWidth+100,top:V},"div");return{from:W.from(),to:q}})},undo:function(I){return I.undo()},redo:function(I){return I.redo()},undoSelection:function(I){return I.undoSelection()},redoSelection:function(I){return I.redoSelection()},goDocStart:function(I){return I.extendSelection(Lt(I.firstLine(),0))},goDocEnd:function(I){return I.extendSelection(Lt(I.lastLine()))},goLineStart:function(I){return I.extendSelectionsBy(function(W){return Vl(I,W.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(I){return I.extendSelectionsBy(function(W){return fl(I,W.head)},{origin:"+move",bias:1})},goLineEnd:function(I){return I.extendSelectionsBy(function(W){return El(I,W.head.line)},{origin:"+move",bias:-1})},goLineRight:function(I){return I.extendSelectionsBy(function(W){var V=I.cursorCoords(W.head,"div").top+5;return I.coordsChar({left:I.display.lineDiv.offsetWidth+100,top:V},"div")},fe)},goLineLeft:function(I){return I.extendSelectionsBy(function(W){var V=I.cursorCoords(W.head,"div").top+5;return I.coordsChar({left:0,top:V},"div")},fe)},goLineLeftSmart:function(I){return I.extendSelectionsBy(function(W){var V=I.cursorCoords(W.head,"div").top+5,q=I.coordsChar({left:0,top:V},"div");return q.ch<I.getLine(q.line).search(/\S/)?fl(I,W.head):q},fe)},goLineUp:function(I){return I.moveV(-1,"line")},goLineDown:function(I){return I.moveV(1,"line")},goPageUp:function(I){return I.moveV(-1,"page")},goPageDown:function(I){return I.moveV(1,"page")},goCharLeft:function(I){return I.moveH(-1,"char")},goCharRight:function(I){return I.moveH(1,"char")},goColumnLeft:function(I){return I.moveH(-1,"column")},goColumnRight:function(I){return I.moveH(1,"column")},goWordLeft:function(I){return I.moveH(-1,"word")},goGroupRight:function(I){return I.moveH(1,"group")},goGroupLeft:function(I){return I.moveH(-1,"group")},goWordRight:function(I){return I.moveH(1,"word")},delCharBefore:function(I){return I.deleteH(-1,"codepoint")},delCharAfter:function(I){return I.deleteH(1,"char")},delWordBefore:function(I){return I.deleteH(-1,"word")},delWordAfter:function(I){return I.deleteH(1,"word")},delGroupBefore:function(I){return I.deleteH(-1,"group")},delGroupAfter:function(I){return I.deleteH(1,"group")},indentAuto:function(I){return I.indentSelection("smart")},indentMore:function(I){return I.indentSelection("add")},indentLess:function(I){return I.indentSelection("subtract")},insertTab:function(I){return I.replaceSelection(" ")},insertSoftTab:function(I){for(var W=[],V=I.listSelections(),q=I.options.tabSize,ve=0;ve<V.length;ve++){var Je=V[ve].from(),Ct=Z(I.getLine(Je.line),Je.ch,q);W.push(Ke(q-Ct%q))}I.replaceSelections(W)},defaultTab:function(I){I.somethingSelected()?I.indentSelection("add"):I.execCommand("insertTab")},transposeChars:function(I){return bo(I,function(){for(var W=I.listSelections(),V=[],q=0;q<W.length;q++){if(!W[q].empty())continue;var ve=W[q].head,Je=$(I.doc,ve.line).text;if(Je){if(ve.ch==Je.length&&(ve=new Lt(ve.line,ve.ch-1)),ve.ch>0)ve=new Lt(ve.line,ve.ch+1),I.replaceRange(Je.charAt(ve.ch-1)+Je.charAt(ve.ch-2),Lt(ve.line,ve.ch-2),ve,"+transpose");else if(ve.line>I.doc.first){var Ct=$(I.doc,ve.line-1).text;Ct&&(ve=new Lt(ve.line,1),I.replaceRange(Je.charAt(0)+I.doc.lineSeparator()+Ct.charAt(Ct.length-1),Lt(ve.line-1,Ct.length-1),ve,"+transpose"))}}V.push(new re(ve,ve))}I.setSelections(V)})},newlineAndIndent:function(I){return bo(I,function(){for(var W=I.listSelections(),V=W.length-1;V>=0;V--)I.replaceRange(I.doc.lineSeparator(),W[V].anchor,W[V].head,"+input");W=I.listSelections();for(var q=0;q<W.length;q++)I.indentLine(W[q].from().line,null,!0);Ta(I)})},openLine:function(I){return I.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(I){return I.toggleOverwrite()}};function Vl(m,I){var W=$(m.doc,I),V=ta(W);return V!=W&&(I=Me(V)),hl(!0,m,V,I,1)}function El(m,I){var W=$(m.doc,I),V=Ni(W);return V!=W&&(I=Me(V)),hl(!0,m,W,I,-1)}function fl(m,I){var W=Vl(m,I.line),V=$(m.doc,W.line),q=Mt(V,m.doc.direction);if(!q||q[0].level==0){var ve=Math.max(W.ch,V.text.search(/\S/)),Je=I.line==W.line&&I.ch<=ve&&I.ch;return Lt(W.line,Je?0:ve,W.sticky)}return W}function Cl(m,I,W){if(typeof I=="string"&&(I=Ws[I],!I))return!1;m.display.input.ensurePolled();var V=m.display.shift,q=!1;try{m.isReadOnly()&&(m.state.suppressEdits=!0),W&&(m.display.shift=!1),q=I(m)!=X}finally{m.display.shift=V,m.state.suppressEdits=!1}return q}function Yl(m,I,W){for(var V=0;V<m.state.keyMaps.length;V++){var q=Us(I,m.state.keyMaps[V],W,m);if(q)return q}return m.options.extraKeys&&Us(I,m.options.extraKeys,W,m)||Us(I,m.options.keyMap,W,m)}var Fl=new Y;function pl(m,I,W,V){var q=m.state.keySeq;if(q){if(wl(I))return"handled";if(/\'$/.test(I)?m.state.keySeq=null:Fl.set(50,function(){m.state.keySeq==q&&(m.state.keySeq=null,m.display.input.reset())}),Ql(m,q+" "+I,W,V))return!0}return Ql(m,I,W,V)}function Ql(m,I,W,V){var q=Yl(m,I,V);return q=="multi"&&(m.state.keySeq=I),q=="handled"&&Ir(m,"keyHandled",m,I,W),(q=="handled"||q=="multi")&&(Ze(W),vi(m)),!!q}function Js(m,I){var W=Kl(I,!0);return W?I.shiftKey&&!m.state.keySeq?pl(m,"Shift-"+W,I,function(V){return Cl(m,V,!0)})||pl(m,W,I,function(V){if(typeof V=="string"?/^go[A-Z]/.test(V):V.motion)return Cl(m,V)}):pl(m,W,I,function(V){return Cl(m,V)}):!1}function Gl(m,I,W){return pl(m,"'"+W+"'",I,function(V){return Cl(m,V,!0)})}var Mo=null;function Ks(m){var I=this;if(m.target&&m.target!=I.display.input.getField())return;if(I.curOp.focus=M(),Ve(I,m))return;h&&i<11&&m.keyCode==27&&(m.returnValue=!1);var W=m.keyCode;I.display.shift=W==16||m.shiftKey;var V=Js(I,m);l&&(Mo=V?W:null,!V&&W==88&&!de&&(v?m.metaKey:m.ctrlKey)&&I.replaceSelection("",null,"cut")),g&&!v&&!V&&W==46&&m.shiftKey&&!m.ctrlKey&&document.execCommand&&document.execCommand("cut"),W==18&&!/\bCodeMirror-crosshair\b/.test(I.display.lineDiv.className)&&il(I)}function il(m){var I=m.display.lineDiv;j(I,"CodeMirror-crosshair");function W(V){(V.keyCode==18||!V.altKey)&&(w(I,"CodeMirror-crosshair"),Ot(document,"keyup",W),Ot(document,"mouseover",W))}ke(document,"keyup",W),ke(document,"mouseover",W)}function _s(m){m.keyCode==16&&(this.doc.sel.shift=!1),Ve(this,m)}function ks(m){var I=this;if(m.target&&m.target!=I.display.input.getField())return;if(at(I.display,m)||Ve(I,m)||m.ctrlKey&&!m.altKey||v&&m.metaKey)return;var W=m.keyCode,V=m.charCode;if(l&&W==Mo){Mo=null,Ze(m);return}if(l&&(!m.which||m.which<10)&&Js(I,m))return;var q=String.fromCharCode(V==null?W:V);if(q=="\b")return;if(Gl(I,m,q))return;I.display.input.onKeyPress(m)}var ml=400,xs=function(I,W,V){this.time=I,this.pos=W,this.button=V};xs.prototype.compare=function(m,I,W){return this.time+ml>m&&Ut(I,this.pos)==0&&W==this.button};var al,$s;function Pl(m,I){var W=+new Date;return $s&&$s.compare(W,m,I)?(al=$s=null,"triple"):al&&al.compare(W,m,I)?($s=new xs(W,m,I),al=null,"double"):(al=new xs(W,m,I),$s=null,"single")}function Ol(m){var I=this,W=I.display;if(Ve(I,m)||W.activeTouch&&W.input.supportsTouch())return;if(W.input.ensurePolled(),W.shift=m.shiftKey,at(W,m)){r||(W.scroller.draggable=!1,setTimeout(function(){return W.scroller.draggable=!0},100));return}if(Ll(I,m))return;var V=ua(I,m),q=pt(m),ve=V?Pl(V,q):"single";if(window.focus(),q==1&&I.state.selectingText&&I.state.selectingText(m),V&&gl(I,q,V,ve,m))return;q==1?V?Ul(I,V,ve,m):Pe(m)==W.scroller&&Ze(m):q==2?(V&&wo(I.doc,V),setTimeout(function(){return W.input.focus()},20)):q==3&&(O?I.display.input.onContextMenu(m):za(I))}function gl(m,I,W,V,q){var ve="Click";return V=="double"?ve="Double"+ve:V=="triple"&&(ve="Triple"+ve),ve=(I==1?"Left":I==2?"Middle":"Right")+ve,pl(m,Bl(ve,q),q,function(Je){if(typeof Je=="string"&&(Je=Ws[Je]),!Je)return!1;var Ct=!1;try{m.isReadOnly()&&(m.state.suppressEdits=!0),Ct=Je(m,W)!=X}finally{m.state.suppressEdits=!1}return Ct})}function Xl(m,I,W){var V=m.getOption("configureMouse"),q=V?V(m,I,W):{};if(q.unit==null){var ve=y?W.shiftKey&&W.metaKey:W.altKey;q.unit=ve?"rectangle":I=="single"?"char":I=="double"?"word":"line"}return(q.extend==null||m.doc.extend)&&(q.extend=m.doc.extend||W.shiftKey),q.addNew==null&&(q.addNew=v?W.metaKey:W.ctrlKey),q.moveOnDrag==null&&(q.moveOnDrag=!(v?W.altKey:W.ctrlKey)),q}function Ul(m,I,W,V){h?setTimeout(H(Qa,m),0):m.curOp.focus=M();var q=Xl(m,W,V),ve=m.doc.sel,Je;m.options.dragDrop&&Rr&&!m.isReadOnly()&&W=="single"&&(Je=ve.contains(I))>-1&&(Ut((Je=ve.ranges[Je]).from(),I)<0||I.xRel>0)&&(Ut(Je.to(),I)>0||I.xRel<0)?vl(m,V,I,q):su(m,V,I,q)}function vl(m,I,W,V){var q=m.display,ve=!1,Je=Za(m,function(Kt){r&&(q.scroller.draggable=!1),m.state.draggingText=!1,Ot(q.wrapper.ownerDocument,"mouseup",Je),Ot(q.wrapper.ownerDocument,"mousemove",Ct),Ot(q.scroller,"dragstart",jt),Ot(q.scroller,"drop",Je),ve||(Ze(Kt),V.addNew||wo(m.doc,W,null,null,V.extend),r&&!n||h&&i==9?setTimeout(function(){q.wrapper.ownerDocument.body.focus({preventScroll:!0}),q.input.focus()},20):q.input.focus())}),Ct=function(Or){ve=ve||Math.abs(I.clientX-Or.clientX)+Math.abs(I.clientY-Or.clientY)>=10},jt=function(){return ve=!0};r&&(q.scroller.draggable=!0),m.state.draggingText=Je,Je.copy=!V.moveOnDrag,q.scroller.dragDrop&&q.scroller.dragDrop(),ke(q.wrapper.ownerDocument,"mouseup",Je),ke(q.wrapper.ownerDocument,"mousemove",Ct),ke(q.scroller,"dragstart",jt),ke(q.scroller,"drop",Je),za(m),setTimeout(function(){return q.input.focus()},20)}function Jl(m,I,W){if(W=="char")return new re(I,I);if(W=="word")return m.findWordAt(I);if(W=="line")return new re(Lt(I.line,0),ze(m.doc,Lt(I.line+1,0)));var V=W(m,I);return new re(V.from,V.to)}function su(m,I,W,V){var q=m.display,ve=m.doc;Ze(I);var Je,Ct,jt=ve.sel,Kt=jt.ranges;if(V.addNew&&!V.extend?(Ct=ve.sel.contains(W),Ct>-1?Je=Kt[Ct]:Je=new re(W,W)):(Je=ve.sel.primary(),Ct=ve.sel.primIndex),V.unit=="rectangle")V.addNew||(Je=new re(W,W)),W=ua(m,I,!0,!0),Ct=-1;else{var Or=Jl(m,W,V.unit);V.extend?Je=Xo(Je,Or.anchor,Or.head,V.extend):Je=Or}V.addNew?Ct==-1?(Ct=Kt.length,Eo(ve,ce(m,Kt.concat([Je]),Ct),{scroll:!1,origin:"*mouse"})):Kt.length>1&&Kt[Ct].empty()&&V.unit=="char"&&!V.extend?(Eo(ve,ce(m,Kt.slice(0,Ct).concat(Kt.slice(Ct+1)),0),{scroll:!1,origin:"*mouse"}),jt=ve.sel):ns(ve,Ct,Je,te):(Ct=0,Eo(ve,new Dt([Je],0),te),jt=ve.sel);var kr=W;function tn(li){if(Ut(kr,li)==0)return;if(kr=li,V.unit=="rectangle"){for(var Ne=[],G=m.options.tabSize,Se=Z($(ve,W.line).text,W.ch,G),Re=Z($(ve,li.line).text,li.ch,G),gt=Math.min(Se,Re),er=Math.max(Se,Re),vr=Math.min(W.line,li.line),Dr=Math.min(m.lastLine(),Math.max(W.line,li.line));vr<=Dr;vr++){var Hr=$(ve,vr).text,zr=be(Hr,gt,G);gt==er?Ne.push(new re(Lt(vr,zr),Lt(vr,zr))):Hr.length>zr&&Ne.push(new re(Lt(vr,zr),Lt(vr,be(Hr,er,G))))}Ne.length||Ne.push(new re(W,W)),Eo(ve,ce(m,jt.ranges.slice(0,Ct).concat(Ne),Ct),{origin:"*mouse",scroll:!1}),m.scrollIntoView(li)}else{var un=Je,sn=Jl(m,li,V.unit),Fn=un.anchor,si;Ut(sn.anchor,Fn)>0?(si=sn.head,Fn=ur(un.from(),sn.anchor)):(si=sn.anchor,Fn=Tt(un.to(),sn.head));var zn=jt.ranges.slice(0);zn[Ct]=$l(m,new re(ze(ve,Fn),si)),Eo(ve,ce(m,zn,Ct),te)}}var nn=q.wrapper.getBoundingClientRect(),xn=0;function _n(li){var Ne=++xn,G=ua(m,li,!0,V.unit=="rectangle");if(!G)return;if(Ut(G,kr)!=0){m.curOp.focus=M(),tn(G);var Se=ja(q,ve);(G.line>=Se.to||G.line<Se.from)&&setTimeout(Za(m,function(){xn==Ne&&_n(li)}),150)}else{var Re=li.clientY<nn.top?-20:li.clientY>nn.bottom?20:0;Re&&setTimeout(Za(m,function(){if(xn!=Ne)return;q.scroller.scrollTop+=Re,_n(li)}),50)}}function Zn(li){m.state.selectingText=!1,xn=Infinity,li&&(Ze(li),q.input.focus()),Ot(q.wrapper.ownerDocument,"mousemove",$n),Ot(q.wrapper.ownerDocument,"mouseup",oi),ve.history.lastSelOrigin=null}var $n=Za(m,function(li){li.buttons===0||!pt(li)?Zn(li):_n(li)}),oi=Za(m,Zn);m.state.selectingText=oi,ke(q.wrapper.ownerDocument,"mousemove",$n),ke(q.wrapper.ownerDocument,"mouseup",oi)}function $l(m,I){var W=I.anchor,V=I.head,q=$(m.doc,W.line);if(Ut(W,V)==0&&W.sticky==V.sticky)return I;var ve=Mt(q);if(!ve)return I;var Je=st(ve,W.ch,W.sticky),Ct=ve[Je];if(Ct.from!=W.ch&&Ct.to!=W.ch)return I;var jt=Je+(Ct.from==W.ch==(Ct.level!=1)?0:1);if(jt==0||jt==ve.length)return I;var Kt;if(V.line!=W.line)Kt=(V.line-W.line)*(m.doc.direction=="ltr"?1:-1)>0;else{var Or=st(ve,V.ch,V.sticky),kr=Or-Je||(V.ch-W.ch)*(Ct.level==1?-1:1);Or==jt-1||Or==jt?Kt=kr<0:Kt=kr>0}var tn=ve[jt+(Kt?-1:0)],nn=Kt==(tn.level==1),xn=nn?tn.from:tn.to,_n=nn?"after":"before";return W.ch==xn&&W.sticky==_n?I:new re(new Lt(W.line,xn,_n),V)}function Zl(m,I,W,V){var q,ve;if(I.touches)q=I.touches[0].clientX,ve=I.touches[0].clientY;else try{q=I.clientX,ve=I.clientY}catch(tn){return!1}if(q>=Math.floor(m.display.gutters.getBoundingClientRect().right))return!1;V&&Ze(I);var Je=m.display,Ct=Je.lineDiv.getBoundingClientRect();if(ve>Ct.bottom||!et(m,W))return me(I);ve-=Ct.top-Je.viewOffset;for(var jt=0;jt<m.display.gutterSpecs.length;++jt){var Kt=Je.gutters.childNodes[jt];if(Kt&&Kt.getBoundingClientRect().right>=q){var Or=$e(m.doc,ve),kr=m.display.gutterSpecs[jt];return _t(m,W,m,Or,kr.className,I),me(I)}}}function Ll(m,I){return Zl(m,I,"gutterClick",!0)}function ql(m,I){if(at(m.display,I)||lu(m,I))return;if(Ve(m,I,"contextmenu"))return;O||m.display.input.onContextMenu(I)}function lu(m,I){return et(m,"gutterContextMenu")?Zl(m,I,"gutterContextMenu",!1):!1}function Il(m){m.display.wrapper.className=m.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+m.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ai(m)}var js={toString:function(){return"CodeMirror.Init"}},Tl={},Al={};function uu(m){var I=m.optionHandlers;function W(V,q,ve,Je){m.defaults[V]=q,ve&&(I[V]=Je?function(Ct,jt,Kt){Kt!=js&&ve(Ct,jt,Kt)}:ve)}m.defineOption=W,m.Init=js,W("value","",function(V,q){return V.setValue(q)},!0),W("mode",null,function(V,q){V.doc.modeOption=q,Br(V)},!0),W("indentUnit",2,Br,!0),W("indentWithTabs",!1),W("smartIndent",!0),W("tabSize",4,function(V){qr(V),Ai(V),gi(V)},!0),W("lineSeparator",null,function(V,q){if(V.doc.lineSep=q,!q)return;var ve=[],Je=V.doc.first;V.doc.iter(function(jt){for(var Kt=0;;){var Or=jt.text.indexOf(q,Kt);if(Or==-1)break;Kt=Or+q.length,ve.push(Lt(Je,Or))}Je++});for(var Ct=ve.length-1;Ct>=0;Ct--)Jo(V.doc,q,ve[Ct],Lt(ve[Ct].line,ve[Ct].ch+q.length))}),W("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(V,q,ve){V.state.specialChars=new RegExp(q.source+(q.test(" ")?"":"| "),"g"),ve!=js&&V.refresh()}),W("specialCharPlaceholder",Ki,function(V){return V.refresh()},!0),W("electricChars",!0),W("inputStyle",f?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),W("spellcheck",!1,function(V,q){return V.getInputField().spellcheck=q},!0),W("autocorrect",!1,function(V,q){return V.getInputField().autocorrect=q},!0),W("autocapitalize",!1,function(V,q){return V.getInputField().autocapitalize=q},!0),W("rtlMoveVisually",!L),W("wholeLineUpdateBefore",!0),W("theme","default",function(V){Il(V),as(V)},!0),W("keyMap","default",function(V,q,ve){var Je=Sl(q),Ct=ve!=js&&Sl(ve);Ct&&Ct.detach&&Ct.detach(V,Je),Je.attach&&Je.attach(V,Ct||null)}),W("extraKeys",null),W("configureMouse",null),W("lineWrapping",!1,ol,!0),W("gutters",[],function(V,q){V.display.gutterSpecs=Ds(q,V.options.lineNumbers),as(V)},!0),W("fixedGutter",!0,function(V,q){V.display.gutters.style.left=q?Yi(V.display)+"px":"0",V.refresh()},!0),W("coverGutterNextToScrollbar",!1,function(V){return Ma(V)},!0),W("scrollbarStyle","native",function(V){vo(V),Ma(V),V.display.scrollbars.setScrollTop(V.doc.scrollTop),V.display.scrollbars.setScrollLeft(V.doc.scrollLeft)},!0),W("lineNumbers",!1,function(V,q){V.display.gutterSpecs=Ds(V.options.gutters,q),as(V)},!0),W("firstLineNumber",1,as,!0),W("lineNumberFormatter",function(V){return V},as,!0),W("showCursorWhenSelecting",!1,zi,!0),W("resetSelectionOnContextMenu",!0),W("lineWiseCopyCut",!0),W("pasteLinesPerSelection",!0),W("selectionsMayTouch",!1),W("readOnly",!1,function(V,q){q=="nocursor"&&(Ii(V),V.display.input.blur()),V.display.input.readOnlyChanged(q)}),W("screenReaderLabel",null,function(V,q){q=q===""?null:q,V.display.input.screenReaderLabelChanged(q)}),W("disableInput",!1,function(V,q){q||V.display.input.reset()},!0),W("dragDrop",!0,cu),W("allowDropFileTypes",null),W("cursorBlinkRate",530),W("cursorScrollMargin",0),W("cursorHeight",1,zi,!0),W("singleCursorHeightPerLine",!0,zi,!0),W("workTime",100),W("workDelay",100),W("flattenSpans",!0,qr,!0),W("addModeClass",!1,qr,!0),W("pollInterval",100),W("undoDepth",200,function(V,q){return V.doc.history.undoDepth=q}),W("historyEventDelay",1250),W("viewportMargin",10,function(V){return V.refresh()},!0),W("maxHighlightLength",1e4,qr,!0),W("moveInputWithCursor",!0,function(V,q){q||V.display.input.resetPosition()}),W("tabindex",null,function(V,q){return V.display.input.getField().tabIndex=q||""}),W("autofocus",null),W("direction","ltr",function(V,q){return V.doc.setDirection(q)},!0),W("phrases",null)}function cu(m,I,W){var V=W&&W!=js;if(!I!=!V){var q=m.display.dragFunctions,ve=I?ke:Ot;ve(m.display.scroller,"dragstart",q.start),ve(m.display.scroller,"dragenter",q.enter),ve(m.display.scroller,"dragover",q.over),ve(m.display.scroller,"dragleave",q.leave),ve(m.display.scroller,"drop",q.drop)}}function ol(m){m.options.lineWrapping?(j(m.display.wrapper,"CodeMirror-wrap"),m.display.sizer.style.minWidth="",m.display.sizerWidth=null):(w(m.display.wrapper,"CodeMirror-wrap"),jn(m)),ya(m),gi(m),Ai(m),setTimeout(function(){return Ma(m)},100)}function He(m,I){var W=this;if(!(this instanceof He))return new He(m,I);this.options=I=I?k(I):{},k(Tl,I,!1);var V=I.value;typeof V=="string"?V=new es(V,I.mode,null,I.lineSeparator,I.direction):I.mode&&(V.modeOption=I.mode),this.doc=V;var q=new He.inputStyles[I.inputStyle](this),ve=this.display=new Zs(m,V,q,I);ve.wrapper.CodeMirror=this,Il(this),I.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Y,keySeq:null,specialChars:null},I.autofocus&&!f&&ve.input.focus(),h&&i<11&&setTimeout(function(){return W.display.input.reset(!0)},20),ne(this),Wl(),Zi(this),this.curOp.forceUpdate=!0,Xn(this,V),I.autofocus&&!f||this.hasFocus()?setTimeout(function(){W.hasFocus()&&!W.state.focused&&pa(W)},20):Ii(this);for(var Je in Al)Al.hasOwnProperty(Je)&&Al[Je](this,I[Je],js);ls(this),I.finishInit&&I.finishInit(this);for(var Ct=0;Ct<Ee.length;++Ct)Ee[Ct](this);xo(this),r&&I.lineWrapping&&getComputedStyle(ve.lineDiv).textRendering=="optimizelegibility"&&(ve.lineDiv.style.textRendering="auto")}He.defaults=Tl,He.optionHandlers=Al;function ne(m){var I=m.display;ke(I.scroller,"mousedown",Za(m,Ol)),h&&i<11?ke(I.scroller,"dblclick",Za(m,function(jt){if(Ve(m,jt))return;var Kt=ua(m,jt);if(!Kt||Ll(m,jt)||at(m.display,jt))return;Ze(jt);var Or=m.findWordAt(Kt);wo(m.doc,Or.anchor,Or.head)})):ke(I.scroller,"dblclick",function(jt){return Ve(m,jt)||Ze(jt)}),ke(I.scroller,"contextmenu",function(jt){return ql(m,jt)}),ke(I.input.getField(),"contextmenu",function(jt){I.scroller.contains(jt.target)||ql(m,jt)});var W,V={end:0};function q(){I.activeTouch&&(W=setTimeout(function(){return I.activeTouch=null},1e3),V=I.activeTouch,V.end=+new Date)}function ve(jt){if(jt.touches.length!=1)return!1;var Kt=jt.touches[0];return Kt.radiusX<=1&&Kt.radiusY<=1}function Je(jt,Kt){if(Kt.left==null)return!0;var Or=Kt.left-jt.left,kr=Kt.top-jt.top;return Or*Or+kr*kr>20*20}ke(I.scroller,"touchstart",function(jt){if(!Ve(m,jt)&&!ve(jt)&&!Ll(m,jt)){I.input.ensurePolled(),clearTimeout(W);var Kt=+new Date;I.activeTouch={start:Kt,moved:!1,prev:Kt-V.end<=300?V:null},jt.touches.length==1&&(I.activeTouch.left=jt.touches[0].pageX,I.activeTouch.top=jt.touches[0].pageY)}}),ke(I.scroller,"touchmove",function(){I.activeTouch&&(I.activeTouch.moved=!0)}),ke(I.scroller,"touchend",function(jt){var Kt=I.activeTouch;if(Kt&&!at(I,jt)&&Kt.left!=null&&!Kt.moved&&new Date-Kt.start<300){var Or=m.coordsChar(I.activeTouch,"page"),kr;!Kt.prev||Je(Kt,Kt.prev)?kr=new re(Or,Or):!Kt.prev.prev||Je(Kt,Kt.prev.prev)?kr=m.findWordAt(Or):kr=new re(Lt(Or.line,0),ze(m.doc,Lt(Or.line+1,0))),m.setSelection(kr.anchor,kr.head),m.focus(),Ze(jt)}q()}),ke(I.scroller,"touchcancel",q),ke(I.scroller,"scroll",function(){I.scroller.clientHeight&&(Gi(m,I.scroller.scrollTop),go(m,I.scroller.scrollLeft,!0),_t(m,"scroll",m))}),ke(I.scroller,"mousewheel",function(jt){return Is(m,jt)}),ke(I.scroller,"DOMMouseScroll",function(jt){return Is(m,jt)}),ke(I.wrapper,"scroll",function(){return I.wrapper.scrollTop=I.wrapper.scrollLeft=0}),I.dragFunctions={enter:function(Kt){Ve(m,Kt)||ot(Kt)},over:function(Kt){Ve(m,Kt)||(Ml(m,Kt),ot(Kt))},start:function(Kt){return Rl(m,Kt)},drop:Za(m,iu),leave:function(Kt){Ve(m,Kt)||yl(m)}};var Ct=I.input.getField();ke(Ct,"keyup",function(jt){return _s.call(m,jt)}),ke(Ct,"keydown",Za(m,Ks)),ke(Ct,"keypress",Za(m,ks)),ke(Ct,"focus",function(jt){return pa(m,jt)}),ke(Ct,"blur",function(jt){return Ii(m,jt)})}var Ee=[];He.defineInitHook=function(m){return Ee.push(m)};function it(m,I,W,V){var q=m.doc,ve;W==null&&(W="add"),W=="smart"&&(q.mode.indent?ve=rt(m,I).state:W="prev");var Je=m.options.tabSize,Ct=$(q,I),jt=Z(Ct.text,null,Je);Ct.stateAfter&&(Ct.stateAfter=null);var Kt=Ct.text.match(/^\s*/)[0],Or;if(!V&&!/\S/.test(Ct.text))Or=0,W="not";else if(W=="smart"&&(Or=q.mode.indent(ve,Ct.text.slice(Kt.length),Ct.text),Or==X||Or>150)){if(!V)return;W="prev"}W=="prev"?I>q.first?Or=Z($(q,I-1).text,null,Je):Or=0:W=="add"?Or=jt+m.options.indentUnit:W=="subtract"?Or=jt-m.options.indentUnit:typeof W=="number"&&(Or=jt+W),Or=Math.max(0,Or);var kr="",tn=0;if(m.options.indentWithTabs)for(var nn=Math.floor(Or/Je);nn;--nn)tn+=Je,kr+=" ";if(tn<Or&&(kr+=Ke(Or-tn)),kr!=Kt)return Jo(q,kr,Lt(I,0),Lt(I,Kt.length),"+input"),Ct.stateAfter=null,!0;for(var xn=0;xn<q.sel.ranges.length;xn++){var _n=q.sel.ranges[xn];if(_n.head.line==I&&_n.head.ch<Kt.length){var Zn=Lt(I,Kt.length);ns(q,xn,new re(Zn,Zn));break}}}var Nt=null;function Qt(m){Nt=m}function ir(m,I,W,V,q){var ve=m.doc;m.display.shift=!1,V||(V=ve.sel);var Je=+new Date-200,Ct=q=="paste"||m.state.pasteIncoming>Je,jt=hr(I),Kt=null;if(Ct&&V.ranges.length>1)if(Nt&&Nt.text.join(`
|
|
|
`)==I){if(V.ranges.length%Nt.text.length==0){Kt=[];for(var Or=0;Or<Nt.text.length;Or++)Kt.push(ve.splitLines(Nt.text[Or]))}}else jt.length==V.ranges.length&&m.options.pasteLinesPerSelection&&(Kt=xt(jt,function($n){return[$n]}));for(var kr=m.curOp.updateInput,tn=V.ranges.length-1;tn>=0;tn--){var nn=V.ranges[tn],xn=nn.from(),_n=nn.to();nn.empty()&&(W&&W>0?xn=Lt(xn.line,xn.ch-W):m.state.overwrite&&!Ct?_n=Lt(_n.line,Math.min($(ve,_n.line).text.length,_n.ch+qe(jt).length)):Ct&&Nt&&Nt.lineWise&&Nt.text.join(`
|
|
|
`)==jt.join(`
|
|
|
`)&&(xn=_n=Lt(xn.line,0)));var Zn={from:xn,to:_n,text:Kt?Kt[tn%Kt.length]:jt,origin:q||(Ct?"paste":m.state.cutIncoming>Je?"cut":"+input")};bs(m.doc,Zn),Ir(m,"inputRead",m,Zn)}I&&!Ct&&Ar(m,I),Ta(m),m.curOp.updateInput<2&&(m.curOp.updateInput=kr),m.curOp.typing=!0,m.state.pasteIncoming=m.state.cutIncoming=-1}function or(m,I){var W=m.clipboardData&&m.clipboardData.getData("Text");if(W)return m.preventDefault(),!I.isReadOnly()&&!I.options.disableInput&&bo(I,function(){return ir(I,W,0,null,"paste")}),!0}function Ar(m,I){if(!m.options.electricChars||!m.options.smartIndent)return;for(var W=m.doc.sel,V=W.ranges.length-1;V>=0;V--){var q=W.ranges[V];if(q.head.ch>100||V&&W.ranges[V-1].head.line==q.head.line)continue;var ve=m.getModeAt(q.head),Je=!1;if(ve.electricChars){for(var Ct=0;Ct<ve.electricChars.length;Ct++)if(I.indexOf(ve.electricChars.charAt(Ct))>-1){Je=it(m,q.head.line,"smart");break}}else ve.electricInput&&(ve.electricInput.test($(m.doc,q.head.line).text.slice(0,q.head.ch))&&(Je=it(m,q.head.line,"smart")));Je&&Ir(m,"electricInput",m,q.head.line)}}function Vr(m){for(var I=[],W=[],V=0;V<m.doc.sel.ranges.length;V++){var q=m.doc.sel.ranges[V].head.line,ve={anchor:Lt(q,0),head:Lt(q+1,0)};W.push(ve),I.push(m.getRange(ve.anchor,ve.head))}return{text:I,ranges:W}}function Yr(m,I,W,V){m.setAttribute("autocorrect",W?"":"off"),m.setAttribute("autocapitalize",V?"":"off"),m.setAttribute("spellcheck",!!I)}function _r(){var m=D("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),I=D("div",[m],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return r?m.style.width="1000px":m.setAttribute("wrap","off"),c&&(m.style.border="1px solid black"),Yr(m),I}function Pr(m){var I=m.optionHandlers,W=m.helpers={};m.prototype={constructor:m,focus:function(){window.focus(),this.display.input.focus()},setOption:function(q,ve){var Je=this.options,Ct=Je[q];if(Je[q]==ve&&q!="mode")return;Je[q]=ve,I.hasOwnProperty(q)&&Za(this,I[q])(this,ve,Ct),_t(this,"optionChange",this,q)},getOption:function(q){return this.options[q]},getDoc:function(){return this.doc},addKeyMap:function(q,ve){this.state.keyMaps[ve?"push":"unshift"](Sl(q))},removeKeyMap:function(q){for(var ve=this.state.keyMaps,Je=0;Je<ve.length;++Je)if(ve[Je]==q||ve[Je].name==q)return ve.splice(Je,1),!0},addOverlay:Ga(function(V,q){var ve=V.token?V:m.getMode(this.options,V);if(ve.startState)throw new Error("Overlays may not be stateful.");Fe(this.state.overlays,{mode:ve,modeSpec:V,opaque:q&&q.opaque,priority:q&&q.priority||0},function(Je){return Je.priority}),this.state.modeGen++,gi(this)}),removeOverlay:Ga(function(V){for(var q=this.state.overlays,ve=0;ve<q.length;++ve){var Je=q[ve].modeSpec;if(Je==V||typeof V=="string"&&Je.name==V){q.splice(ve,1),this.state.modeGen++,gi(this);return}}}),indentLine:Ga(function(V,q,ve){typeof q!="string"&&typeof q!="number"&&(q==null?q=this.options.smartIndent?"smart":"prev":q=q?"add":"subtract"),kt(this.doc,V)&&it(this,V,q,ve)}),indentSelection:Ga(function(V){for(var q=this.doc.sel.ranges,ve=-1,Je=0;Je<q.length;Je++){var Ct=q[Je];if(Ct.empty())Ct.head.line>ve&&(it(this,Ct.head.line,V,!0),ve=Ct.head.line,Je==this.doc.sel.primIndex&&Ta(this));else{var jt=Ct.from(),Kt=Ct.to(),Or=Math.max(ve,jt.line);ve=Math.min(this.lastLine(),Kt.line-(Kt.ch?0:1))+1;for(var kr=Or;kr<ve;++kr)it(this,kr,V);var tn=this.doc.sel.ranges;jt.ch==0&&q.length==tn.length&&tn[Je].from().ch>0&&ns(this.doc,Je,new re(jt,tn[Je].to()),he)}}}),getTokenAt:function(q,ve){return mr(this,q,ve)},getLineTokens:function(q,ve){return mr(this,Lt(q),ve,!0)},getTokenTypeAt:function(q){q=ze(this.doc,q);var ve=We(this,$(this.doc,q.line)),Je=0,Ct=(ve.length-1)/2,jt=q.ch,Kt;if(jt==0)Kt=ve[2];else for(;;){var Or=Je+Ct>>1;if((Or?ve[Or*2-1]:0)>=jt)Ct=Or;else if(ve[Or*2+1]<jt)Je=Or+1;else{Kt=ve[Or*2+2];break}}var kr=Kt?Kt.indexOf("overlay "):-1;return kr<0?Kt:kr==0?null:Kt.slice(0,kr-1)},getModeAt:function(q){var ve=this.doc.mode;return ve.innerMode?m.innerMode(ve,this.getTokenAt(q).state).mode:ve},getHelper:function(q,ve){return this.getHelpers(q,ve)[0]},getHelpers:function(q,ve){var Je=[];if(!W.hasOwnProperty(ve))return Je;var Ct=W[ve],jt=this.getModeAt(q);if(typeof jt[ve]=="string")Ct[jt[ve]]&&Je.push(Ct[jt[ve]]);else if(jt[ve])for(var Kt=0;Kt<jt[ve].length;Kt++){var Or=Ct[jt[ve][Kt]];Or&&Je.push(Or)}else jt.helperType&&Ct[jt.helperType]?Je.push(Ct[jt.helperType]):Ct[jt.name]&&Je.push(Ct[jt.name]);for(var kr=0;kr<Ct._global.length;kr++){var tn=Ct._global[kr];tn.pred(jt,this)&&_(Je,tn.val)==-1&&Je.push(tn.val)}return Je},getStateAfter:function(q,ve){var Je=this.doc;return q=qt(Je,q==null?Je.first+Je.size-1:q),rt(this,q+1,ve).state},cursorCoords:function(q,ve){var Je,Ct=this.doc.sel.primary();return q==null?Je=Ct.head:typeof q=="object"?Je=ze(this.doc,q):Je=q?Ct.from():Ct.to(),Bi(this,Je,ve||"page")},charCoords:function(q,ve){return ki(this,ze(this.doc,q),ve||"page")},coordsChar:function(q,ve){return q=fa(this,q,ve||"page"),Ji(this,q.left,q.top)},lineAtHeight:function(q,ve){return q=fa(this,{top:q,left:0},ve||"page").top,$e(this.doc,q+this.display.viewOffset)},heightAtLine:function(q,ve,Je){var Ct=!1,jt;if(typeof q=="number"){var Kt=this.doc.first+this.doc.size-1;q<this.doc.first?q=this.doc.first:q>Kt&&(q=Kt,Ct=!0),jt=$(this.doc,q)}else jt=q;return Mi(this,jt,{top:0,left:0},ve||"page",Je||Ct).top+(Ct?this.doc.height-Ln(jt):0)},defaultTextHeight:function(){return yi(this.display)},defaultCharWidth:function(){return Ti(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(q,ve,Je,Ct,jt){var Kt=this.display;q=Bi(this,ze(this.doc,q));var Or=q.bottom,kr=q.left;if(ve.style.position="absolute",ve.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ve),Kt.sizer.appendChild(ve),Ct=="over")Or=q.top;else if(Ct=="above"||Ct=="near"){var tn=Math.max(Kt.wrapper.clientHeight,this.doc.height),nn=Math.max(Kt.sizer.clientWidth,Kt.lineSpace.clientWidth);(Ct=="above"||q.bottom+ve.offsetHeight>tn)&&q.top>ve.offsetHeight?Or=q.top-ve.offsetHeight:q.bottom+ve.offsetHeight<=tn&&(Or=q.bottom),kr+ve.offsetWidth>nn&&(kr=nn-ve.offsetWidth)}ve.style.top=Or+"px",ve.style.left=ve.style.right="",jt=="right"?(kr=Kt.sizer.clientWidth-ve.offsetWidth,ve.style.right="0px"):(jt=="left"?kr=0:jt=="middle"&&(kr=(Kt.sizer.clientWidth-ve.offsetWidth)/2),ve.style.left=kr+"px"),Je&&Ca(this,{left:kr,top:Or,right:kr+ve.offsetWidth,bottom:Or+ve.offsetHeight})},triggerOnKeyDown:Ga(Ks),triggerOnKeyPress:Ga(ks),triggerOnKeyUp:_s,triggerOnMouseDown:Ga(Ol),execCommand:function(q){if(Ws.hasOwnProperty(q))return Ws[q].call(null,this)},triggerElectric:Ga(function(V){Ar(this,V)}),findPosH:function(q,ve,Je,Ct){var jt=1;ve<0&&(jt=-1,ve=-ve);for(var Kt=ze(this.doc,q),Or=0;Or<ve&&!(Kt=Jr(this.doc,Kt,jt,Je,Ct),Kt.hitSide);++Or);return Kt},moveH:Ga(function(V,q){var ve=this;this.extendSelectionsBy(function(Je){return ve.display.shift||ve.doc.extend||Je.empty()?Jr(ve.doc,Je.head,V,q,ve.options.rtlMoveVisually):V<0?Je.from():Je.to()},fe)}),deleteH:Ga(function(V,q){var ve=this.doc.sel,Je=this.doc;ve.somethingSelected()?Je.replaceSelection("",null,"+delete"):Xs(this,function(Ct){var jt=Jr(Je,Ct.head,V,q,!1);return V<0?{from:jt,to:Ct.head}:{from:Ct.head,to:jt}})}),findPosV:function(q,ve,Je,Ct){var jt=1,Kt=Ct;ve<0&&(jt=-1,ve=-ve);for(var Or=ze(this.doc,q),kr=0;kr<ve;++kr){var tn=Bi(this,Or,"div");if(Kt==null?Kt=tn.left:tn.left=Kt,Or=dn(this,tn,jt,Je),Or.hitSide)break}return Or},moveV:Ga(function(V,q){var ve=this,Je=this.doc,Ct=[],jt=!this.display.shift&&!Je.extend&&Je.sel.somethingSelected();if(Je.extendSelectionsBy(function(Or){if(jt)return V<0?Or.from():Or.to();var kr=Bi(ve,Or.head,"div");Or.goalColumn!=null&&(kr.left=Or.goalColumn),Ct.push(kr.left);var tn=dn(ve,kr,V,q);return q=="page"&&Or==Je.sel.primary()&&Lo(ve,ki(ve,tn,"div").top-kr.top),tn},fe),Ct.length)for(var Kt=0;Kt<Je.sel.ranges.length;Kt++)Je.sel.ranges[Kt].goalColumn=Ct[Kt]}),findWordAt:function(q){var ve=this.doc,Je=$(ve,q.line).text,Ct=q.ch,jt=q.ch;if(Je){var Kt=this.getHelper(q,"wordChars");(q.sticky=="before"||jt==Je.length)&&Ct?--Ct:++jt;for(var Or=Je.charAt(Ct),kr=St(Or,Kt)?function(tn){return St(tn,Kt)}:/\s/.test(Or)?function(tn){return/\s/.test(tn)}:function(tn){return!/\s/.test(tn)&&!St(tn)};Ct>0&&kr(Je.charAt(Ct-1));)--Ct;for(;jt<Je.length&&kr(Je.charAt(jt));)++jt}return new re(Lt(q.line,Ct),Lt(q.line,jt))},toggleOverwrite:function(q){if(q!=null&&q==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?j(this.display.cursorDiv,"CodeMirror-overwrite"):w(this.display.cursorDiv,"CodeMirror-overwrite"),_t(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==M()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ga(function(V,q){Fi(this,V,q)}),getScrollInfo:function(){var q=this.display.scroller;return{left:q.scrollLeft,top:q.scrollTop,height:q.scrollHeight-Fr(this)-this.display.barHeight,width:q.scrollWidth-Fr(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Mr(this)}},scrollIntoView:Ga(function(V,q){V==null?(V={from:this.doc.sel.primary().head,to:null},q==null&&(q=this.options.cursorScrollMargin)):typeof V=="number"?V={from:Lt(V,0),to:null}:V.from==null&&(V={from:V,to:null}),V.to||(V.to=V.from),V.margin=q||0,V.from.line!=null?$a(this,V):pi(this,V.from,V.to,V.margin)}),setSize:Ga(function(V,q){var ve=this,Je=function(Kt){return typeof Kt=="number"||/^\d+$/.test(String(Kt))?Kt+"px":Kt};V!=null&&(this.display.wrapper.style.width=Je(V)),q!=null&&(this.display.wrapper.style.height=Je(q)),this.options.lineWrapping&&Ri(this);var Ct=this.display.viewFrom;this.doc.iter(Ct,this.display.viewTo,function(jt){if(jt.widgets){for(var Kt=0;Kt<jt.widgets.length;Kt++)if(jt.widgets[Kt].noHScroll){Ua(ve,Ct,"widget");break}}++Ct}),this.curOp.forceUpdate=!0,_t(this,"refresh",this)}),operation:function(q){return bo(this,q)},startOperation:function(){return Zi(this)},endOperation:function(){return xo(this)},refresh:Ga(function(){var V=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,Ai(this),Fi(this,this.doc.scrollLeft,this.doc.scrollTop),_o(this.display),(V==null||Math.abs(V-yi(this.display))>.5||this.options.lineWrapping)&&ya(this),_t(this,"refresh",this)}),swapDoc:Ga(function(V){var q=this.doc;return q.cm=null,this.state.selectingText&&this.state.selectingText(),Xn(this,V),Ai(this),this.display.input.reset(),Fi(this,V.scrollLeft,V.scrollTop),this.curOp.forceScroll=!0,Ir(this,"swapDoc",this,q),q}),phrase:function(q){var ve=this.options.phrases;return ve&&Object.prototype.hasOwnProperty.call(ve,q)?ve[q]:q},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},dt(m),m.registerHelper=function(V,q,ve){W.hasOwnProperty(V)||(W[V]=m[V]={_global:[]}),W[V][q]=ve},m.registerGlobalHelper=function(V,q,ve,Je){m.registerHelper(V,q,Je),W[V]._global.push({pred:ve,val:Je})}}function Jr(m,I,W,V,q){var ve=I,Je=W,Ct=$(m,I.line),jt=q&&m.direction=="rtl"?-W:W;function Kt(){var oi=I.line+jt;return oi<m.first||oi>=m.first+m.size?!1:(I=new Lt(oi,I.ch,I.sticky),Ct=$(m,oi))}function Or(oi){var li;if(V=="codepoint"){var Ne=Ct.text.charCodeAt(I.ch+(V>0?0:-1));isNaN(Ne)?li=null:li=new Lt(I.line,Math.max(0,Math.min(Ct.text.length,I.ch+W*(Ne>=55296&&Ne<56320?2:1))),-W)}else q?li=xl(m.cm,Ct,I,W):li=nl(Ct,I,W);if(li==null)if(!oi&&Kt())I=hl(q,m.cm,Ct,I.line,jt);else return!1;else I=li;return!0}if(V=="char"||V=="codepoint")Or();else if(V=="column")Or(!0);else if(V=="word"||V=="group")for(var kr=null,tn=V=="group",nn=m.cm&&m.cm.getHelper(I,"wordChars"),xn=!0;!(W<0&&!Or(!xn));xn=!1){var _n=Ct.text.charAt(I.ch)||`
|
|
|
`,Zn=St(_n,nn)?"w":tn&&_n==`
|
|
|
`?"n":!tn||/\s/.test(_n)?null:"p";if(tn&&!xn&&!Zn&&(Zn="s"),kr&&kr!=Zn){W<0&&(W=1,Or(),I.sticky="after");break}if(Zn&&(kr=Zn),W>0&&!Or(!xn))break}var $n=Bs(m,I,ve,Je,!0);return Wt(ve,$n)&&($n.hitSide=!0),$n}function dn(m,I,W,V){var q=m.doc,ve=I.left,Je;if(V=="page"){var Ct=Math.min(m.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),jt=Math.max(Ct-.5*yi(m.display),3);Je=(W>0?I.bottom:I.top)+W*jt}else V=="line"&&(Je=W>0?I.bottom+3:I.top-3);for(var Kt;!(Kt=Ji(m,ve,Je),!Kt.outside);){if(W<0?Je<=0:Je>=q.height){Kt.hitSide=!0;break}Je+=W*5}return Kt}var pn=function(I){this.cm=I,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Y,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};pn.prototype.init=function(m){var I=this,W=this,V=W.cm,q=W.div=m.lineDiv;Yr(q,V.options.spellcheck,V.options.autocorrect,V.options.autocapitalize);function ve(Ct){for(var jt=Ct.target;jt;jt=jt.parentNode){if(jt==q)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(jt.className))break}return!1}ke(q,"paste",function(Ct){if(!ve(Ct)||Ve(V,Ct)||or(Ct,V))return;i<=11&&setTimeout(Za(V,function(){return I.updateFromDOM()}),20)}),ke(q,"compositionstart",function(Ct){I.composing={data:Ct.data,done:!1}}),ke(q,"compositionupdate",function(Ct){I.composing||(I.composing={data:Ct.data,done:!1})}),ke(q,"compositionend",function(Ct){I.composing&&(Ct.data!=I.composing.data&&I.readFromDOMSoon(),I.composing.done=!0)}),ke(q,"touchstart",function(){return W.forceCompositionEnd()}),ke(q,"input",function(){I.composing||I.readFromDOMSoon()});function Je(Ct){if(!ve(Ct)||Ve(V,Ct))return;if(V.somethingSelected())Qt({lineWise:!1,text:V.getSelections()}),Ct.type=="cut"&&V.replaceSelection("",null,"cut");else if(V.options.lineWiseCopyCut){var jt=Vr(V);Qt({lineWise:!0,text:jt.text}),Ct.type=="cut"&&V.operation(function(){V.setSelections(jt.ranges,0,he),V.replaceSelection("",null,"cut")})}else return;if(Ct.clipboardData){Ct.clipboardData.clearData();var Kt=Nt.text.join(`
|
|
|
`);if(Ct.clipboardData.setData("Text",Kt),Ct.clipboardData.getData("Text")==Kt){Ct.preventDefault();return}}var Or=_r(),kr=Or.firstChild;V.display.lineSpace.insertBefore(Or,V.display.lineSpace.firstChild),kr.value=Nt.text.join(`
|
|
|
`);var tn=document.activeElement;K(kr),setTimeout(function(){V.display.lineSpace.removeChild(Or),tn.focus(),tn==q&&W.showPrimarySelection()},50)}ke(q,"copy",Je),ke(q,"cut",Je)},pn.prototype.screenReaderLabelChanged=function(m){m?this.div.setAttribute("aria-label",m):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var m=Wi(this.cm,!1);return m.focus=document.activeElement==this.div,m},pn.prototype.showSelection=function(m,I){if(!m||!this.cm.display.view.length)return;(m.focus||I)&&this.showPrimarySelection(),this.showMultipleSelections(m)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var m=this.getSelection(),I=this.cm,W=I.doc.sel.primary(),V=W.from(),q=W.to();if(I.display.viewTo==I.display.viewFrom||V.line>=I.display.viewTo||q.line<I.display.viewFrom){m.removeAllRanges();return}var ve=Si(I,m.anchorNode,m.anchorOffset),Je=Si(I,m.focusNode,m.focusOffset);if(ve&&!ve.bad&&Je&&!Je.bad&&Ut(ur(ve,Je),V)==0&&Ut(Tt(ve,Je),q)==0)return;var Ct=I.display.view,jt=V.line>=I.display.viewFrom&&ei(I,V)||{node:Ct[0].measure.map[2],offset:0},Kt=q.line<I.display.viewTo&&ei(I,q);if(!Kt){var Or=Ct[Ct.length-1].measure,kr=Or.maps?Or.maps[Or.maps.length-1]:Or.map;Kt={node:kr[kr.length-1],offset:kr[kr.length-2]-kr[kr.length-3]}}if(!jt||!Kt){m.removeAllRanges();return}var tn=m.rangeCount&&m.getRangeAt(0),nn;try{nn=R(jt.node,jt.offset,Kt.offset,Kt.node)}catch(xn){}nn&&(!g&&I.state.focused?(m.collapse(jt.node,jt.offset),nn.collapsed||(m.removeAllRanges(),m.addRange(nn))):(m.removeAllRanges(),m.addRange(nn)),tn&&m.anchorNode==null?m.addRange(tn):g&&this.startGracePeriod()),this.rememberSelection()},pn.prototype.startGracePeriod=function(){var m=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){m.gracePeriod=!1,m.selectionChanged()&&m.cm.operation(function(){return m.cm.curOp.selectionChanged=!0})},20)},pn.prototype.showMultipleSelections=function(m){N(this.cm.display.cursorDiv,m.cursors),N(this.cm.display.selectionDiv,m.selection)},pn.prototype.rememberSelection=function(){var m=this.getSelection();this.lastAnchorNode=m.anchorNode,this.lastAnchorOffset=m.anchorOffset,this.lastFocusNode=m.focusNode,this.lastFocusOffset=m.focusOffset},pn.prototype.selectionInEditor=function(){var m=this.getSelection();if(!m.rangeCount)return!1;var I=m.getRangeAt(0).commonAncestorContainer;return U(this.div,I)},pn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},pn.prototype.blur=function(){this.div.blur()},pn.prototype.getField=function(){return this.div},pn.prototype.supportsTouch=function(){return!0},pn.prototype.receivedFocus=function(){var m=this;this.selectionInEditor()?this.pollSelection():bo(this.cm,function(){return m.cm.curOp.selectionChanged=!0});function I(){m.cm.state.focused&&(m.pollSelection(),m.polling.set(m.cm.options.pollInterval,I))}this.polling.set(this.cm.options.pollInterval,I)},pn.prototype.selectionChanged=function(){var m=this.getSelection();return m.anchorNode!=this.lastAnchorNode||m.anchorOffset!=this.lastAnchorOffset||m.focusNode!=this.lastFocusNode||m.focusOffset!=this.lastFocusOffset},pn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var m=this.getSelection(),I=this.cm;if(o&&s&&this.cm.display.gutterSpecs.length&&ui(m.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var W=Si(I,m.anchorNode,m.anchorOffset),V=Si(I,m.focusNode,m.focusOffset);W&&V&&bo(I,function(){Eo(I.doc,pe(W,V),he),(W.bad||V.bad)&&(I.curOp.selectionChanged=!0)})},pn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var m=this.cm,I=m.display,W=m.doc.sel.primary(),V=W.from(),q=W.to();if(V.ch==0&&V.line>m.firstLine()&&(V=Lt(V.line-1,$(m.doc,V.line-1).length)),q.ch==$(m.doc,q.line).text.length&&q.line<m.lastLine()&&(q=Lt(q.line+1,0)),V.line<I.viewFrom||q.line>I.viewTo-1)return!1;var ve,Je,Ct;V.line==I.viewFrom||(ve=la(m,V.line))==0?(Je=Me(I.view[0].line),Ct=I.view[0].node):(Je=Me(I.view[ve].line),Ct=I.view[ve-1].node.nextSibling);var jt=la(m,q.line),Kt,Or;if(jt==I.view.length-1?(Kt=I.viewTo-1,Or=I.lineDiv.lastChild):(Kt=Me(I.view[jt+1].line)-1,Or=I.view[jt+1].node.previousSibling),!Ct)return!1;for(var kr=m.doc.splitLines($i(m,Ct,Or,Je,Kt)),tn=le(m.doc,Lt(Je,0),Lt(Kt,$(m.doc,Kt).text.length));kr.length>1&&tn.length>1;)if(qe(kr)==qe(tn))kr.pop(),tn.pop(),Kt--;else if(kr[0]==tn[0])kr.shift(),tn.shift(),Je++;else break;for(var nn=0,xn=0,_n=kr[0],Zn=tn[0],$n=Math.min(_n.length,Zn.length);nn<$n&&_n.charCodeAt(nn)==Zn.charCodeAt(nn);)++nn;for(var oi=qe(kr),li=qe(tn),Ne=Math.min(oi.length-(kr.length==1?nn:0),li.length-(tn.length==1?nn:0));xn<Ne&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)++xn;if(kr.length==1&&tn.length==1&&Je==V.line)for(;nn&&nn>V.ch&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)nn--,xn++;kr[kr.length-1]=oi.slice(0,oi.length-xn).replace(/^\u200b+/,""),kr[0]=kr[0].slice(nn).replace(/\u200b+$/,"");var G=Lt(Je,nn),Se=Lt(Kt,tn.length?qe(tn).length-xn:0);if(kr.length>1||kr[0]||Ut(G,Se))return Jo(m.doc,kr,G,Se,"+input"),!0},pn.prototype.ensurePolled=function(){this.forceCompositionEnd()},pn.prototype.reset=function(){this.forceCompositionEnd()},pn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},pn.prototype.readFromDOMSoon=function(){var m=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(m.readDOMTimeout=null,m.composing)if(m.composing.done)m.composing=null;else return;m.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var m=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(m.cm)})},pn.prototype.setUneditable=function(m){m.contentEditable="false"},pn.prototype.onKeyPress=function(m){if(m.charCode==0||this.composing)return;m.preventDefault(),this.cm.isReadOnly()||Za(this.cm,ir)(this.cm,String.fromCharCode(m.charCode==null?m.keyCode:m.charCode),0)},pn.prototype.readOnlyChanged=function(m){this.div.contentEditable=String(m!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(m,I){var W=bn(m,I.line);if(!W||W.hidden)return null;var V=$(m.doc,I.line),q=wn(W,V,I.line),ve=Mt(V,m.doc.direction),Je="left";if(ve){var Ct=st(ve,I.ch);Je=Ct%2?"right":"left"}var jt=En(q.map,I.ch,Je);return jt.offset=jt.collapse=="right"?jt.end:jt.start,jt}function ui(m){for(var I=m;I;I=I.parentNode)if(/CodeMirror-gutter-wrapper/.test(I.className))return!0;return!1}function ii(m,I){return I&&(m.bad=!0),m}function $i(m,I,W,V,q){var ve="",Je=!1,Ct=m.doc.lineSeparator(),jt=!1;function Kt(nn){return function(xn){return xn.id==nn}}function Or(){Je&&(ve+=Ct,jt&&(ve+=Ct),Je=jt=!1)}function kr(nn){nn&&(Or(),ve+=nn)}function tn(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){kr(xn);return}var _n=nn.getAttribute("cm-marker"),Zn;if(_n){var $n=m.findMarks(Lt(V,0),Lt(q+1,0),Kt(+_n));$n.length&&(Zn=$n[0].find(0))&&kr(le(m.doc,Zn.from,Zn.to).join(Ct));return}if(nn.getAttribute("contenteditable")=="false")return;var oi=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;oi&&Or();for(var li=0;li<nn.childNodes.length;li++)tn(nn.childNodes[li]);/^(pre|p)$/i.test(nn.nodeName)&&(jt=!0),oi&&(Je=!0)}else nn.nodeType==3&&kr(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(tn(I),I==W);)I=I.nextSibling,jt=!1;return ve}function Si(m,I,W){var V;if(I==m.display.lineDiv){if(V=m.display.lineDiv.childNodes[W],!V)return ii(m.clipPos(Lt(m.display.viewTo-1)),!0);I=null,W=0}else for(V=I;;V=V.parentNode){if(!V||V==m.display.lineDiv)return null;if(V.parentNode&&V.parentNode==m.display.lineDiv)break}for(var q=0;q<m.display.view.length;q++){var ve=m.display.view[q];if(ve.node==V)return Va(ve,I,W)}}function Va(m,I,W){var V=m.text.firstChild,q=!1;if(!I||!U(V,I))return ii(Lt(Me(m.line),0),!0);if(I==V&&(q=!0,I=V.childNodes[W],W=0,!I)){var ve=m.rest?qe(m.rest):m.line;return ii(Lt(Me(ve),ve.text.length),q)}var Je=I.nodeType==3?I:null,Ct=I;for(!Je&&I.childNodes.length==1&&I.firstChild.nodeType==3&&(Je=I.firstChild,W&&(W=Je.nodeValue.length));Ct.parentNode!=V;)Ct=Ct.parentNode;var jt=m.measure,Kt=jt.maps;function Or(Zn,$n,oi){for(var li=-1;li<(Kt?Kt.length:0);li++)for(var Ne=li<0?jt.map:Kt[li],G=0;G<Ne.length;G+=3){var Se=Ne[G+2];if(Se==Zn||Se==$n){var Re=Me(li<0?m.line:m.rest[li]),gt=Ne[G]+oi;return(oi<0||Se!=Zn)&&(gt=Ne[G+(oi?1:0)]),Lt(Re,gt)}}}var kr=Or(Je,Ct,W);if(kr)return ii(kr,q);for(var tn=Ct.nextSibling,nn=Je?Je.nodeValue.length-W:0;tn;tn=tn.nextSibling){if(kr=Or(tn,tn.firstChild,0),kr)return ii(Lt(kr.line,kr.ch-nn),q);nn+=tn.textContent.length}for(var xn=Ct.previousSibling,_n=W;xn;xn=xn.previousSibling){if(kr=Or(xn,xn.firstChild,-1),kr)return ii(Lt(kr.line,kr.ch+_n),q);_n+=xn.textContent.length}}var Ei=function(I){this.cm=I,this.prevInput="",this.pollingFast=!1,this.polling=new Y,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(m){var I=this,W=this,V=this.cm;this.createField(m);var q=this.textarea;m.wrapper.insertBefore(this.wrapper,m.wrapper.firstChild),c&&(q.style.width="0px"),ke(q,"input",function(){h&&i>=9&&I.hasSelection&&(I.hasSelection=null),W.poll()}),ke(q,"paste",function(Je){if(Ve(V,Je)||or(Je,V))return;V.state.pasteIncoming=+new Date,W.fastPoll()});function ve(Je){if(Ve(V,Je))return;if(V.somethingSelected())Qt({lineWise:!1,text:V.getSelections()});else if(V.options.lineWiseCopyCut){var Ct=Vr(V);Qt({lineWise:!0,text:Ct.text}),Je.type=="cut"?V.setSelections(Ct.ranges,null,he):(W.prevInput="",q.value=Ct.text.join(`
|
|
|
`),K(q))}else return;Je.type=="cut"&&(V.state.cutIncoming=+new Date)}ke(q,"cut",ve),ke(q,"copy",ve),ke(m.scroller,"paste",function(Je){if(at(m,Je)||Ve(V,Je))return;if(!q.dispatchEvent){V.state.pasteIncoming=+new Date,W.focus();return}var Ct=new Event("paste");Ct.clipboardData=Je.clipboardData,q.dispatchEvent(Ct)}),ke(m.lineSpace,"selectstart",function(Je){at(m,Je)||Ze(Je)}),ke(q,"compositionstart",function(){var Je=V.getCursor("from");W.composing&&W.composing.range.clear(),W.composing={start:Je,range:V.markText(Je,V.getCursor("to"),{className:"CodeMirror-composing"})}}),ke(q,"compositionend",function(){W.composing&&(W.poll(),W.composing.range.clear(),W.composing=null)})},Ei.prototype.createField=function(m){this.wrapper=_r(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(m){m?this.textarea.setAttribute("aria-label",m):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var m=this.cm,I=m.display,W=m.doc,V=Wi(m);if(m.options.moveInputWithCursor){var q=Bi(m,W.sel.primary().head,"div"),ve=I.wrapper.getBoundingClientRect(),Je=I.lineDiv.getBoundingClientRect();V.teTop=Math.max(0,Math.min(I.wrapper.clientHeight-10,q.top+Je.top-ve.top)),V.teLeft=Math.max(0,Math.min(I.wrapper.clientWidth-10,q.left+Je.left-ve.left))}return V},Ei.prototype.showSelection=function(m){var I=this.cm,W=I.display;N(W.cursorDiv,m.cursors),N(W.selectionDiv,m.selection),m.teTop!=null&&(this.wrapper.style.top=m.teTop+"px",this.wrapper.style.left=m.teLeft+"px")},Ei.prototype.reset=function(m){if(this.contextMenuPending||this.composing)return;var I=this.cm;if(I.somethingSelected()){this.prevInput="";var W=I.getSelection();this.textarea.value=W,I.state.focused&&K(this.textarea),h&&i>=9&&(this.hasSelection=W)}else m||(this.prevInput=this.textarea.value="",h&&i>=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"&&(!f||M()!=this.textarea))try{this.textarea.focus()}catch(m){}},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 m=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){m.poll(),m.cm.state.focused&&m.slowPoll()})},Ei.prototype.fastPoll=function(){var m=!1,I=this;I.pollingFast=!0;function W(){var V=I.poll();!V&&!m?(m=!0,I.polling.set(60,W)):(I.pollingFast=!1,I.slowPoll())}I.polling.set(20,W)},Ei.prototype.poll=function(){var m=this,I=this.cm,W=this.textarea,V=this.prevInput;if(this.contextMenuPending||!I.state.focused||Xt(W)&&!V&&!this.composing||I.isReadOnly()||I.options.disableInput||I.state.keySeq)return!1;var q=W.value;if(q==V&&!I.somethingSelected())return!1;if(h&&i>=9&&this.hasSelection===q||v&&/[\uf700-\uf7ff]/.test(q))return I.display.input.reset(),!1;if(I.doc.sel==I.display.selForContextMenu){var ve=q.charCodeAt(0);if(ve==8203&&!V&&(V="\u200B"),ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var Je=0,Ct=Math.min(V.length,q.length);Je<Ct&&V.charCodeAt(Je)==q.charCodeAt(Je);)++Je;return bo(I,function(){ir(I,q.slice(Je),V.length-Je,null,m.composing?"*compose":null),q.length>1e3||q.indexOf(`
|
|
|
`)>-1?W.value=m.prevInput="":m.prevInput=q,m.composing&&(m.composing.range.clear(),m.composing.range=I.markText(m.composing.start,I.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){h&&i>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(m){var I=this,W=I.cm,V=W.display,q=I.textarea;I.contextMenuPending&&I.contextMenuPending();var ve=ua(W,m),Je=V.scroller.scrollTop;if(!ve||l)return;var Ct=W.options.resetSelectionOnContextMenu;Ct&&W.doc.sel.contains(ve)==-1&&Za(W,Eo)(W.doc,pe(ve),he);var jt=q.style.cssText,Kt=I.wrapper.style.cssText,Or=I.wrapper.offsetParent.getBoundingClientRect();I.wrapper.style.cssText="position: static",q.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(m.clientY-Or.top-5)+"px; left: "+(m.clientX-Or.left-5)+`px;
|
|
|
z-index: 1000; background: `+(h?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var kr;r&&(kr=window.scrollY),V.input.focus(),r&&window.scrollTo(null,kr),V.input.reset(),W.somethingSelected()||(q.value=I.prevInput=" "),I.contextMenuPending=nn,V.selForContextMenu=W.doc.sel,clearTimeout(V.detectingSelectAll);function tn(){if(q.selectionStart!=null){var _n=W.somethingSelected(),Zn="\u200B"+(_n?q.value:"");q.value="\u21DA",q.value=Zn,I.prevInput=_n?"":"\u200B",q.selectionStart=1,q.selectionEnd=Zn.length,V.selForContextMenu=W.doc.sel}}function nn(){if(I.contextMenuPending!=nn)return;if(I.contextMenuPending=!1,I.wrapper.style.cssText=Kt,q.style.cssText=jt,h&&i<9&&V.scrollbars.setScrollTop(V.scroller.scrollTop=Je),q.selectionStart!=null){(!h||h&&i<9)&&tn();var _n=0,Zn=function $n(){V.selForContextMenu==W.doc.sel&&q.selectionStart==0&&q.selectionEnd>0&&I.prevInput=="\u200B"?Za(W,Fs)(W):_n++<10?V.detectingSelectAll=setTimeout($n,500):(V.selForContextMenu=null,V.input.reset())};V.detectingSelectAll=setTimeout(Zn,200)}}if(h&&i>=9&&tn(),O){ot(m);var xn=function _n(){Ot(window,"mouseup",_n),setTimeout(nn,20)};ke(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(m){m||this.reset(),this.textarea.disabled=m=="nocursor",this.textarea.readOnly=!!m},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function uo(m,I){if(I=I?k(I):{},I.value=m.value,!I.tabindex&&m.tabIndex&&(I.tabindex=m.tabIndex),!I.placeholder&&m.placeholder&&(I.placeholder=m.placeholder),I.autofocus==null){var W=M();I.autofocus=W==m||m.getAttribute("autofocus")!=null&&W==document.body}function V(){m.value=Ct.getValue()}var q;if(m.form&&(ke(m.form,"submit",V),!I.leaveSubmitMethodAlone)){var ve=m.form;q=ve.submit;try{var Je=ve.submit=function(){V(),ve.submit=q,ve.submit(),ve.submit=Je}}catch(jt){}}I.finishInit=function(jt){jt.save=V,jt.getTextArea=function(){return m},jt.toTextArea=function(){jt.toTextArea=isNaN,V(),m.parentNode.removeChild(jt.getWrapperElement()),m.style.display="",m.form&&(Ot(m.form,"submit",V),!I.leaveSubmitMethodAlone&&typeof m.form.submit=="function"&&(m.form.submit=q))}},m.style.display="none";var Ct=He(function(jt){return m.parentNode.insertBefore(jt,m.nextSibling)},I);return Ct}function zo(m){m.off=Ot,m.on=ke,m.wheelEventPixels=Vs,m.Doc=es,m.splitLines=hr,m.countColumn=Z,m.findColumn=be,m.isWordChar=tt,m.Pass=X,m.signal=_t,m.Line=ni,m.changeEnd=Le,m.scrollbarModel=ro,m.Pos=Lt,m.cmpPos=Ut,m.modes=ae,m.mimeModes=ye,m.resolveMode=Te,m.getMode=xe,m.modeExtensions=je,m.extendMode=ut,m.copyState=wt,m.startState=ie,m.innerMode=ee,m.commands=Ws,m.keyMap=Ss,m.keyName=Kl,m.isModifierKey=wl,m.lookupKey=Us,m.normalizeKeyMap=rl,m.StringStream=z,m.SharedTextMarker=qs,m.TextMarker=Ts,m.LineWidget=sl,m.e_preventDefault=Ze,m.e_stopPropagation=oe,m.e_stop=ot,m.addClass=j,m.contains=U,m.rmClass=w,m.keyNames=Ps}uu(He),Pr(He);var ao="iter insert remove copy getEditor constructor".split(" ");for(var ko in es.prototype)es.prototype.hasOwnProperty(ko)&&_(ao,ko)<0&&(He.prototype[ko]=function(m){return function(){return m.apply(this.doc,arguments)}}(es.prototype[ko]));return dt(es),He.inputStyles={textarea:Ei,contenteditable:pn},He.defineMode=function(m){!He.defaults.mode&&m!="null"&&(He.defaults.mode=m),Ce.apply(this,arguments)},He.defineMIME=Oe,He.defineMode("null",function(){return{token:function(I){return I.skipToEnd()}}}),He.defineMIME("text/plain","null"),He.defineExtension=function(m,I){He.prototype[m]=I},He.defineDocExtension=function(m,I){es.prototype[m]=I},He.fromTextArea=uo,zo(He),He.version="5.58.2",He})},Vy0f:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("iYpf"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},W2nI:function(J,F,e){var d=e("IwbS"),E=e("ProS"),g=e("bYtY"),p=["itemStyle","opacity"],A=["emphasis","itemStyle","opacity"],b=["lineStyle","opacity"],h=["emphasis","lineStyle","opacity"];function i(u,t){return u.getVisual("opacity")||u.getModel().get(t)}function r(u,t,c){var o=u.getGraphicEl(),f=i(u,t);c!=null&&(f==null&&(f=1),f*=c),o.downplay&&o.downplay(),o.traverse(function(v){v.type!=="group"&&v.setStyle("opacity",f)})}function a(u,t){var c=i(u,t),o=u.getGraphicEl();o.traverse(function(f){f.type!=="group"&&f.setStyle("opacity",c)}),o.highlight&&o.highlight()}var s=d.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(u,t){var c=t.extent;u.moveTo(t.x1,t.y1),u.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(u.lineTo(t.x2+c,t.y2),u.bezierCurveTo(t.cpx2+c,t.cpy2,t.cpx1+c,t.cpy1,t.x1+c,t.y1)):(u.lineTo(t.x2,t.y2+c),u.bezierCurveTo(t.cpx2,t.cpy2+c,t.cpx1,t.cpy1+c,t.x1,t.y1+c)),u.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),l=E.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(u,t,c){var o=this,f=u.getGraph(),v=this.group,y=u.layoutInfo,L=y.width,S=y.height,x=u.getData(),O=u.getData("edge"),T=u.get("orient");this._model=u,v.removeAll(),v.attr("position",[y.x,y.y]),f.eachEdge(function(w){var C=new s;C.dataIndex=w.dataIndex,C.seriesIndex=u.seriesIndex,C.dataType="edge";var N=w.getModel("lineStyle"),D=N.get("curveness"),B=w.node1.getLayout(),R=w.node1.getModel(),U=R.get("localX"),M=R.get("localY"),j=w.node2.getLayout(),P=w.node2.getModel(),K=P.get("localX"),H=P.get("localY"),k=w.getLayout(),Z,Y,_,Q,X,he,te,fe;C.shape.extent=Math.max(1,k.dy),C.shape.orient=T,T==="vertical"?(Z=(U!=null?U*L:B.x)+k.sy,Y=(M!=null?M*S:B.y)+B.dy,_=(K!=null?K*L:j.x)+k.ty,Q=H!=null?H*S:j.y,X=Z,he=Y*(1-D)+Q*D,te=_,fe=Y*D+Q*(1-D)):(Z=(U!=null?U*L:B.x)+B.dx,Y=(M!=null?M*S:B.y)+k.sy,_=K!=null?K*L:j.x,Q=(H!=null?H*S:j.y)+k.ty,X=Z*(1-D)+_*D,he=Y,te=Z*D+_*(1-D),fe=Q),C.setShape({x1:Z,y1:Y,x2:_,y2:Q,cpx1:X,cpy1:he,cpx2:te,cpy2:fe}),C.setStyle(N.getItemStyle());switch(C.style.fill){case"source":C.style.fill=w.node1.getVisual("color");break;case"target":C.style.fill=w.node2.getVisual("color");break}d.setHoverStyle(C,w.getModel("emphasis.lineStyle").getItemStyle()),v.add(C),O.setItemGraphicEl(w.dataIndex,C)}),f.eachNode(function(w){var C=w.getLayout(),N=w.getModel(),D=N.get("localX"),B=N.get("localY"),R=N.getModel("label"),U=N.getModel("emphasis.label"),M=new d.Rect({shape:{x:D!=null?D*L:C.x,y:B!=null?B*S:C.y,width:C.dx,height:C.dy},style:N.getModel("itemStyle").getItemStyle()}),j=w.getModel("emphasis.itemStyle").getItemStyle();d.setLabelStyle(M.style,j,R,U,{labelFetcher:u,labelDataIndex:w.dataIndex,defaultText:w.id,isRectText:!0}),M.setStyle("fill",w.getVisual("color")),d.setHoverStyle(M,j),v.add(M),x.setItemGraphicEl(w.dataIndex,M),M.dataType="node"}),x.eachItemGraphicEl(function(w,C){var N=x.getItemModel(C);N.get("draggable")&&(w.drift=function(D,B){o._focusAdjacencyDisabled=!0,this.shape.x+=D,this.shape.y+=B,this.dirty(),c.dispatchAction({type:"dragNode",seriesId:u.id,dataIndex:x.getRawIndex(C),localX:this.shape.x/L,localY:this.shape.y/S})},w.ondragend=function(){o._focusAdjacencyDisabled=!1},w.draggable=!0,w.cursor="move"),w.highlight=function(){this.trigger("emphasis")},w.downplay=function(){this.trigger("normal")},w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),N.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),c.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,dataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(c)}))}),O.eachItemGraphicEl(function(w,C){var N=O.getItemModel(C);w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),N.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),c.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,edgeDataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(c)}))}),!this._data&&u.get("animation")&&v.setClipPath(n(v.getBoundingRect(),u,function(){v.removeClipPath()})),this._data=u.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(u){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,u.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(u,t,c,o){var f=u.getData(),v=f.graph,y=o.dataIndex,L=f.getItemModel(y),S=o.edgeDataIndex;if(y==null&&S==null)return;var x=v.getNodeByIndex(y),O=v.getEdgeByIndex(S);if(v.eachNode(function(w){r(w,p,.1)}),v.eachEdge(function(w){r(w,b,.1)}),x){a(x,A);var T=L.get("focusNodeAdjacency");T==="outEdges"?g.each(x.outEdges,function(w){if(w.dataIndex<0)return;a(w,h),a(w.node2,A)}):T==="inEdges"?g.each(x.inEdges,function(w){if(w.dataIndex<0)return;a(w,h),a(w.node1,A)}):T==="allEdges"&&g.each(x.edges,function(w){if(w.dataIndex<0)return;a(w,h),w.node1!==x&&a(w.node1,A),w.node2!==x&&a(w.node2,A)})}O&&(a(O,h),a(O.node1,A),a(O.node2,A))},unfocusNodeAdjacency:function(u,t,c,o){var f=u.getGraph();f.eachNode(function(v){r(v,p)}),f.eachEdge(function(v){r(v,b)})}});function n(u,t,c){var o=new d.Rect({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}});return d.initProps(o,{shape:{width:u.width+20}},t,c),o}J.exports=l},W4dC:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=g.each,A=g.createHashMap,b=e("7DRL"),h=e("TIY9"),i=e("yS9w"),r=e("mFDi"),a={geoJSON:h,svg:i},s={load:function(t,c,o){var f=[],v=A(),y=A(),L,S=u(t);return p(S,function(x){var O=a[x.type].load(t,x,o);p(O.regions,function(w){var C=w.name;c&&c.hasOwnProperty(C)&&(w=w.cloneShallow(C=c[C])),f.push(w),v.set(C,w),y.set(C,w.center)});var T=O.boundingRect;T&&(L?L.union(T):L=T.clone())}),{regions:f,regionsMap:v,nameCoordMap:y,boundingRect:L||new r(0,0,0,0)}},makeGraphic:l("makeGraphic"),removeGraphic:l("removeGraphic")};function l(t){return function(c,o){var f=u(c),v=[];return p(f,function(y){var L=a[y.type][t];L&&v.push(L(c,y,o))}),v}}function n(t){}function u(t){var c=b.retrieveMap(t)||[];return c}J.exports=s},WGYa:function(J,F,e){var d=e("7yuC"),E=d.forceLayout,g=e("HF/U"),p=g.simpleLayout,A=e("lOQZ"),b=A.circularLayout,h=e("OELB"),i=h.linearMap,r=e("QBsz"),a=e("bYtY");function s(l){l.eachSeriesByType("graph",function(n){var u=n.coordinateSystem;if(u&&u.type!=="view")return;if(n.get("layout")==="force"){var t=n.preservedPoints||{},c=n.getGraph(),o=c.data,f=c.edgeData,v=n.getModel("force"),y=v.get("initLayout");n.preservedPoints?o.each(function(R){var U=o.getId(R);o.setItemLayout(R,t[U]||[NaN,NaN])}):!y||y==="none"?p(n):y==="circular"&&b(n,"value");var L=o.getDataExtent("value"),S=f.getDataExtent("value"),x=v.get("repulsion"),O=v.get("edgeLength");a.isArray(x)||(x=[x,x]),a.isArray(O)||(O=[O,O]),O=[O[1],O[0]];var T=o.mapArray("value",function(R,U){var M=o.getItemLayout(U),j=i(R,L,x);return isNaN(j)&&(j=(x[0]+x[1])/2),{w:j,rep:j,fixed:o.getItemModel(U).get("fixed"),p:!M||isNaN(M[0])||isNaN(M[1])?null:M}}),w=f.mapArray("value",function(R,U){var M=c.getEdgeByIndex(U),j=i(R,S,O);isNaN(j)&&(j=(O[0]+O[1])/2);var P=M.getModel();return{n1:T[M.node1.dataIndex],n2:T[M.node2.dataIndex],d:j,curveness:P.get("lineStyle.curveness")||0,ignoreForceLayout:P.get("ignoreForceLayout")}}),u=n.coordinateSystem,C=u.getBoundingRect(),N=E(T,w,{rect:C,gravity:v.get("gravity"),friction:v.get("friction")}),D=N.step;N.step=function(R){for(var U=0,M=T.length;U<M;U++)T[U].fixed&&r.copy(T[U].p,c.getNodeByIndex(U).getLayout());D(function(j,P,K){for(var H=0,k=j.length;H<k;H++)j[H].fixed||c.getNodeByIndex(H).setLayout(j[H].p),t[o.getId(H)]=j[H].p;for(var H=0,k=P.length;H<k;H++){var Z=P[H],Y=c.getEdgeByIndex(H),_=Z.n1.p,Q=Z.n2.p,X=Y.getLayout();X=X?X.slice():[],X[0]=X[0]||[],X[1]=X[1]||[],r.copy(X[0],_),r.copy(X[1],Q),+Z.curveness&&(X[2]=[(_[0]+Q[0])/2-(_[1]-Q[1])*Z.curveness,(_[1]+Q[1])/2-(Q[0]-_[0])*Z.curveness]),Y.setLayout(X)}R&&R(K)})},n.forceLayout=N,n.preservedPoints=t,N.step()}else n.forceLayout=null})}J.exports=s},WKfj:function(J,F,e){"use strict";e.d(F,"d",function(){return E}),e.d(F,"e",function(){return g}),e.d(F,"f",function(){return p}),e.d(F,"c",function(){return A}),e.d(F,"b",function(){return h}),e.d(F,"a",function(){return r});var d=e("KQm4");function E(a){return Array.isArray(a)?a:a!==void 0?[a]:[]}function g(a,s){var l=s.labelInValue,n=s.combobox;if(a===void 0||a===""&&n)return[];var u=Array.isArray(a)?a:[a];return l?u.map(function(t){var c=t.key,o=t.value;return o!==void 0?o:c}):u}function p(a,s){var l=s.optionLabelProp,n=s.labelInValue,u=s.prevValue,t=s.options,c=s.getLabeledValue,o=a;return n&&(o=o.map(function(f){return c(f,{options:t,prevValue:u,labelInValue:n,optionLabelProp:l})})),o}function A(a,s){var l=Object(d.a)(s),n;for(n=a.length-1;n>=0&&a[n].disabled;n-=1);var u=null;return n!==-1&&(u=l[n],l.splice(n,1)),{values:l,removedValue:u}}var b=typeof window!="undefined"&&window.document&&window.document.documentElement,h=b,i=0;function r(){var a;return h?(a=i,i+=1):a="TEST_OR_SSR",a}},"WN+l":function(J,F,e){var d=e("bYtY"),E=e("IwbS");function g(A,b,h,i){var r=h.axis;if(r.scale.isBlank())return;var a=h.getModel("splitArea"),s=a.getModel("areaStyle"),l=s.get("color"),n=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:a,clamp:!0});if(!u.length)return;var t=l.length,c=A.__splitAreaColors,o=d.createHashMap(),f=0;if(c)for(var v=0;v<u.length;v++){var y=c.get(u[v].tickValue);if(y!=null){f=(y+(t-1)*v)%t;break}}var L=r.toGlobalCoord(u[0].coord),S=s.getAreaStyle();l=d.isArray(l)?l:[l];for(var v=1;v<u.length;v++){var x=r.toGlobalCoord(u[v].coord),O,T,w,C;r.isHorizontal()?(O=L,T=n.y,w=x-O,C=n.height,L=O+w):(O=n.x,T=L,w=n.width,C=x-T,L=T+C);var N=u[v-1].tickValue;N!=null&&o.set(N,f),b.add(new E.Rect({anid:N!=null?"area_"+N:null,shape:{x:O,y:T,width:w,height:C},style:d.defaults({fill:l[f]},S),silent:!0})),f=(f+1)%t}A.__splitAreaColors=o}function p(A){A.__splitAreaColors=null}F.rectCoordAxisBuildSplitArea=g,F.rectCoordAxisHandleRemove=p},WXVj:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("Bqw1")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="MinusSquareOutlined";var h=g.forwardRef(b);F.default=h},WaYH:function(J,F,e){"use strict";var d=e("rePB"),E=e("Ff2n"),g=e("VTBJ"),p=e("1OyB"),A=e("vuIU"),b=e("JX7q"),h=e("Ji7U"),i=e("LK+K"),r=e("q1tI"),a=e("TSYQ"),s=e.n(a),l=e("sboe"),n=e("OZM5"),u=function(O){var T=O.prefixCls,w=O.level,C=O.isStart,N=O.isEnd;if(!w)return null;for(var D="".concat(T,"-indent-unit"),B=[],R=0;R<w;R+=1){var U;B.push(r.createElement("span",{key:R,className:s()(D,(U={},Object(d.a)(U,"".concat(D,"-start"),C[R+1]),Object(d.a)(U,"".concat(D,"-end"),N[R+1]),Object(d.a)(U,"".concat(D,"-end-first-level"),!R&&N[0]),U))}))}return r.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},B)},t=u,c=e("815F"),o="open",f="close",v="---",y=function(x){Object(h.a)(T,x);var O=Object(i.a)(T);function T(){var w;return Object(p.a)(this,T),w=O.apply(this,arguments),w.state={dragNodeHighlight:!1},w.onSelectorClick=function(C){var N=w.props.context.onNodeClick;N(C,Object(c.b)(w.props)),w.isSelectable()?w.onSelect(C):w.onCheck(C)},w.onSelectorDoubleClick=function(C){var N=w.props.context.onNodeDoubleClick;N(C,Object(c.b)(w.props))},w.onSelect=function(C){if(w.isDisabled())return;var N=w.props.context.onNodeSelect;C.preventDefault(),N(C,Object(c.b)(w.props))},w.onCheck=function(C){if(w.isDisabled())return;var N=w.props,D=N.disableCheckbox,B=N.checked,R=w.props.context.onNodeCheck;if(!w.isCheckable()||D)return;C.preventDefault();var U=!B;R(C,Object(c.b)(w.props),U)},w.onMouseEnter=function(C){var N=w.props.context.onNodeMouseEnter;N(C,Object(c.b)(w.props))},w.onMouseLeave=function(C){var N=w.props.context.onNodeMouseLeave;N(C,Object(c.b)(w.props))},w.onContextMenu=function(C){var N=w.props.context.onNodeContextMenu;N(C,Object(c.b)(w.props))},w.onDragStart=function(C){var N=w.props.context.onNodeDragStart;C.stopPropagation(),w.setState({dragNodeHighlight:!0}),N(C,Object(b.a)(w));try{C.dataTransfer.setData("text/plain","")}catch(D){}},w.onDragEnter=function(C){var N=w.props.context.onNodeDragEnter;C.preventDefault(),C.stopPropagation(),N(C,Object(b.a)(w))},w.onDragOver=function(C){var N=w.props.context.onNodeDragOver;C.preventDefault(),C.stopPropagation(),N(C,Object(b.a)(w))},w.onDragLeave=function(C){var N=w.props.context.onNodeDragLeave;C.stopPropagation(),N(C,Object(b.a)(w))},w.onDragEnd=function(C){var N=w.props.context.onNodeDragEnd;C.stopPropagation(),w.setState({dragNodeHighlight:!1}),N(C,Object(b.a)(w))},w.onDrop=function(C){var N=w.props.context.onNodeDrop;C.preventDefault(),C.stopPropagation(),w.setState({dragNodeHighlight:!1}),N(C,Object(b.a)(w))},w.onExpand=function(C){var N=w.props.context.onNodeExpand;N(C,Object(c.b)(w.props))},w.setSelectHandle=function(C){w.selectHandle=C},w.getNodeState=function(){var C=w.props.expanded;return w.isLeaf()?null:C?o:f},w.hasChildren=function(){var C=w.props.eventKey,N=w.props.context.keyEntities,D=N[C]||{},B=D.children;return!!(B||[]).length},w.isLeaf=function(){var C=w.props,N=C.isLeaf,D=C.loaded,B=w.props.context.loadData,R=w.hasChildren();return N===!1?!1:N||!B&&!R||B&&D&&!R},w.isDisabled=function(){var C=w.props.disabled,N=w.props.context.disabled;return!!(N||C)},w.isCheckable=function(){var C=w.props.checkable,N=w.props.context.checkable;return!N||C===!1?!1:N},w.syncLoadData=function(C){var N=C.expanded,D=C.loading,B=C.loaded,R=w.props.context,U=R.loadData,M=R.onNodeLoad;if(D)return;U&&N&&!w.isLeaf()&&(!w.hasChildren()&&!B&&M(Object(c.b)(w.props)))},w.renderSwitcher=function(){var C=w.props,N=C.expanded,D=C.switcherIcon,B=w.props.context,R=B.prefixCls,U=B.switcherIcon,M=D||U;if(w.isLeaf())return r.createElement("span",{className:s()("".concat(R,"-switcher"),"".concat(R,"-switcher-noop"))},typeof M=="function"?M(Object(g.a)(Object(g.a)({},w.props),{},{isLeaf:!0})):M);var j=s()("".concat(R,"-switcher"),"".concat(R,"-switcher_").concat(N?o:f));return r.createElement("span",{onClick:w.onExpand,className:j},typeof M=="function"?M(Object(g.a)(Object(g.a)({},w.props),{},{isLeaf:!1})):M)},w.renderCheckbox=function(){var C=w.props,N=C.checked,D=C.halfChecked,B=C.disableCheckbox,R=w.props.context.prefixCls,U=w.isDisabled(),M=w.isCheckable();if(!M)return null;var j=typeof M!="boolean"?M:null;return r.createElement("span",{className:s()("".concat(R,"-checkbox"),N&&"".concat(R,"-checkbox-checked"),!N&&D&&"".concat(R,"-checkbox-indeterminate"),(U||B)&&"".concat(R,"-checkbox-disabled")),onClick:w.onCheck},j)},w.renderIcon=function(){var C=w.props.loading,N=w.props.context.prefixCls;return r.createElement("span",{className:s()("".concat(N,"-iconEle"),"".concat(N,"-icon__").concat(w.getNodeState()||"docu"),C&&"".concat(N,"-icon_loading"))})},w.renderSelector=function(){var C=w.state.dragNodeHighlight,N=w.props,D=N.title,B=N.selected,R=N.icon,U=N.loading,M=N.data,j=w.props.context,P=j.prefixCls,K=j.showIcon,H=j.icon,k=j.draggable,Z=j.loadData,Y=j.titleRender,_=w.isDisabled(),Q="".concat(P,"-node-content-wrapper"),X;if(K){var he=R||H;X=he?r.createElement("span",{className:s()("".concat(P,"-iconEle"),"".concat(P,"-icon__customize"))},typeof he=="function"?he(w.props):he):w.renderIcon()}else Z&&U&&(X=w.renderIcon());var te;typeof D=="function"?te=D(M):Y?te=Y(M):te=D;var fe=r.createElement("span",{className:"".concat(P,"-title")},te);return r.createElement("span",{ref:w.setSelectHandle,title:typeof D=="string"?D:"",className:s()("".concat(Q),"".concat(Q,"-").concat(w.getNodeState()||"normal"),!_&&(B||C)&&"".concat(P,"-node-selected"),!_&&k&&"draggable"),draggable:!_&&k||void 0,"aria-grabbed":!_&&k||void 0,onMouseEnter:w.onMouseEnter,onMouseLeave:w.onMouseLeave,onContextMenu:w.onContextMenu,onClick:w.onSelectorClick,onDoubleClick:w.onSelectorDoubleClick,onDragStart:k?w.onDragStart:void 0},X,fe)},w}return Object(A.a)(T,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var C=this.props.selectable,N=this.props.context.selectable;return typeof C=="boolean"?C:N}},{key:"render",value:function(){var C,N=this.props,D=N.eventKey,B=N.className,R=N.style,U=N.dragOver,M=N.dragOverGapTop,j=N.dragOverGapBottom,P=N.isLeaf,K=N.isStart,H=N.isEnd,k=N.expanded,Z=N.selected,Y=N.checked,_=N.halfChecked,Q=N.loading,X=N.domRef,he=N.active,te=N.onMouseMove,fe=Object(E.a)(N,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),be=this.props.context,we=be.prefixCls,Ke=be.filterTreeNode,qe=be.draggable,xt=be.keyEntities,Fe=this.isDisabled(),Be=Object(n.f)(fe),bt=xt[D]||{},lt=bt.level,tt=H[H.length-1];return r.createElement("div",Object.assign({ref:X,className:s()(B,"".concat(we,"-treenode"),(C={},Object(d.a)(C,"".concat(we,"-treenode-disabled"),Fe),Object(d.a)(C,"".concat(we,"-treenode-switcher-").concat(k?"open":"close"),!P),Object(d.a)(C,"".concat(we,"-treenode-checkbox-checked"),Y),Object(d.a)(C,"".concat(we,"-treenode-checkbox-indeterminate"),_),Object(d.a)(C,"".concat(we,"-treenode-selected"),Z),Object(d.a)(C,"".concat(we,"-treenode-loading"),Q),Object(d.a)(C,"".concat(we,"-treenode-active"),he),Object(d.a)(C,"".concat(we,"-treenode-leaf-last"),tt),Object(d.a)(C,"drag-over",!Fe&&U),Object(d.a)(C,"drag-over-gap-top",!Fe&&M),Object(d.a)(C,"drag-over-gap-bottom",!Fe&&j),Object(d.a)(C,"filter-node",Ke&&Ke(Object(c.b)(this.props))),C)),style:R,onDragEnter:qe?this.onDragEnter:void 0,onDragOver:qe?this.onDragOver:void 0,onDragLeave:qe?this.onDragLeave:void 0,onDrop:qe?this.onDrop:void 0,onDragEnd:qe?this.onDragEnd:void 0,onMouseMove:te},Be),r.createElement(t,{prefixCls:we,level:lt,isStart:K,isEnd:H}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),T}(r.Component),L=function(O){return r.createElement(l.a.Consumer,null,function(T){return r.createElement(y,Object.assign({},O,{context:T}))})};L.displayName="TreeNode",L.defaultProps={title:v},L.isTreeNode=1;var S=F.a=L},Wqna:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=g.isObject,A=g.each,b=g.map,h=g.indexOf,i=g.retrieve,r=e("+TT/"),a=r.getLayoutRect,s=e("aX7z"),l=s.createScaleByModel,n=s.ifAxisCrossZero,u=s.niceScaleExtent,t=s.estimateLabelUnionRect,c=e("y+lR"),o=e("7AJT"),f=e("IDmD"),v=e("7hqr"),y=v.getStackedDimension;e("jtI2");function L(R,U,M){return R.getCoordSysModel()===U}function S(R,U,M){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(R,U,M),this.model=R}var x=S.prototype;x.type="grid",x.axisPointerEnabled=!0,x.getRect=function(){return this._rect},x.update=function(R,U){var M=this._axesMap;this._updateScale(R,this.model),A(M.x,function(P){u(P.scale,P.model)}),A(M.y,function(P){u(P.scale,P.model)});var j={};A(M.x,function(P){O(M,"y",P,j)}),A(M.y,function(P){O(M,"x",P,j)}),this.resize(this.model,U)};function O(R,U,M,j){M.getAxesOnZeroOf=function(){return K?[K]:[]};var P=R[U],K,H=M.model,k=H.get("axisLine.onZero"),Z=H.get("axisLine.onZeroAxisIndex");if(!k)return;if(Z!=null)T(P[Z])&&(K=P[Z]);else for(var Y in P)if(P.hasOwnProperty(Y)&&T(P[Y])&&!j[_(P[Y])]){K=P[Y];break}K&&(j[_(K)]=!0);function _(Q){return Q.dim+"_"+Q.index}}function T(R){return R&&R.type!=="category"&&R.type!=="time"&&n(R)}x.resize=function(R,U,M){var j=a(R.getBoxLayoutParams(),{width:U.getWidth(),height:U.getHeight()});this._rect=j;var P=this._axesList;K(),!M&&R.get("containLabel")&&(A(P,function(H){if(!H.model.get("axisLabel.inside")){var k=t(H);if(k){var Z=H.isHorizontal()?"height":"width",Y=H.model.get("axisLabel.margin");j[Z]-=k[Z]+Y,H.position==="top"?j.y+=k.height+Y:H.position==="left"&&(j.x+=k.width+Y)}}}),K());function K(){A(P,function(H){var k=H.isHorizontal(),Z=k?[0,j.width]:[0,j.height],Y=H.inverse?1:0;H.setExtent(Z[Y],Z[1-Y]),w(H,k?j.x:j.y)})}},x.getAxis=function(R,U){var M=this._axesMap[R];if(M!=null){if(U==null){for(var j in M)if(M.hasOwnProperty(j))return M[j]}return M[U]}},x.getAxes=function(){return this._axesList.slice()},x.getCartesian=function(R,U){if(R!=null&&U!=null){var M="x"+R+"y"+U;return this._coordsMap[M]}p(R)&&(U=R.yAxisIndex,R=R.xAxisIndex);for(var j=0,P=this._coordsList;j<P.length;j++)if(P[j].getAxis("x").index===R||P[j].getAxis("y").index===U)return P[j]},x.getCartesians=function(){return this._coordsList.slice()},x.convertToPixel=function(R,U,M){var j=this._findConvertTarget(R,U);return j.cartesian?j.cartesian.dataToPoint(M):j.axis?j.axis.toGlobalCoord(j.axis.dataToCoord(M)):null},x.convertFromPixel=function(R,U,M){var j=this._findConvertTarget(R,U);return j.cartesian?j.cartesian.pointToData(M):j.axis?j.axis.coordToData(j.axis.toLocalCoord(M)):null},x._findConvertTarget=function(R,U){var M=U.seriesModel,j=U.xAxisModel||M&&M.getReferringComponents("xAxis")[0],P=U.yAxisModel||M&&M.getReferringComponents("yAxis")[0],K=U.gridModel,H=this._coordsList,k,Z;if(M)k=M.coordinateSystem,h(H,k)<0&&(k=null);else if(j&&P)k=this.getCartesian(j.componentIndex,P.componentIndex);else if(j)Z=this.getAxis("x",j.componentIndex);else if(P)Z=this.getAxis("y",P.componentIndex);else if(K){var Y=K.coordinateSystem;Y===this&&(k=this._coordsList[0])}return{cartesian:k,axis:Z}},x.containPoint=function(R){var U=this._coordsList[0];if(U)return U.containPoint(R)},x._initCartesian=function(R,U,M){var j={left:!1,right:!1,top:!1,bottom:!1},P={x:{},y:{}},K={x:0,y:0};if(U.eachComponent("xAxis",H("x"),this),U.eachComponent("yAxis",H("y"),this),!K.x||!K.y){this._axesMap={},this._axesList=[];return}this._axesMap=P,A(P.x,function(k,Z){A(P.y,function(Y,_){var Q="x"+Z+"y"+_,X=new c(Q);X.grid=this,X.model=R,this._coordsMap[Q]=X,this._coordsList.push(X),X.addAxis(k),X.addAxis(Y)},this)},this);function H(k){return function(Z,Y){if(!L(Z,R,U))return;var _=Z.get("position");k==="x"?_!=="top"&&_!=="bottom"&&(_=j.bottom?"top":"bottom"):_!=="left"&&_!=="right"&&(_=j.left?"right":"left"),j[_]=!0;var Q=new o(k,l(Z),[0,0],Z.get("type"),_),X=Q.type==="category";Q.onBand=X&&Z.get("boundaryGap"),Q.inverse=Z.get("inverse"),Z.axis=Q,Q.model=Z,Q.grid=this,Q.index=Y,this._axesList.push(Q),P[k][Y]=Q,K[k]++}}},x._updateScale=function(R,U){A(this._axesList,function(j){j.scale.setExtent(Infinity,-Infinity)}),R.eachSeries(function(j){if(D(j)){var P=N(j,R),K=P[0],H=P[1];if(!L(K,U,R)||!L(H,U,R))return;var k=this.getCartesian(K.componentIndex,H.componentIndex),Z=j.getData(),Y=k.getAxis("x"),_=k.getAxis("y");Z.type==="list"&&(M(Z,Y,j),M(Z,_,j))}},this);function M(j,P,K){A(j.mapDimension(P.dim,!0),function(H){P.scale.unionExtentFromData(j,y(j,H))})}},x.getTooltipAxes=function(R){var U=[],M=[];return A(this.getCartesians(),function(j){var P=R!=null&&R!=="auto"?j.getAxis(R):j.getBaseAxis(),K=j.getOtherAxis(P);h(U,P)<0&&U.push(P),h(M,K)<0&&M.push(K)}),{baseAxes:U,otherAxes:M}};function w(R,U){var M=R.getExtent(),j=M[0]+M[1];R.toGlobalCoord=R.dim==="x"?function(P){return P+U}:function(P){return j-P+U},R.toLocalCoord=R.dim==="x"?function(P){return P-U}:function(P){return j-P+U}}var C=["xAxis","yAxis"];function N(R,U){return b(C,function(M){var j=R.getReferringComponents(M)[0];return j})}function D(R){return R.get("coordinateSystem")==="cartesian2d"}S.create=function(R,U){var M=[];return R.eachComponent("grid",function(j,P){var K=new S(j,R,U);K.name="grid_"+P,K.resize(j,U,!0),j.coordinateSystem=K,M.push(K)}),R.eachSeries(function(j){if(!D(j))return;var P=N(j,R),K=P[0],H=P[1],k=K.getCoordSysModel(),Z=k.coordinateSystem;j.coordinateSystem=Z.getCartesian(K.componentIndex,H.componentIndex)}),M},S.dimensions=S.prototype.dimensions=c.prototype.dimensions,f.register("cartesian2d",S);var B=S;J.exports=B},"X+im":function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("KQeH")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DownloadOutlined";var h=g.forwardRef(b);F.default=h},"X2/X":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},XAae:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("hwYd"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},XOKv:function(J,F,e){e("OXB0"),e("SA4+")},Xi7e:function(J,F,e){var d=e("KMkd"),E=e("adU4"),g=e("tMB7"),p=e("+6XX"),A=e("Z8oC");function b(h){var i=-1,r=h==null?0:h.length;for(this.clear();++i<r;){var a=h[i];this.set(a[0],a[1])}}b.prototype.clear=d,b.prototype.delete=E,b.prototype.get=g,b.prototype.has=p,b.prototype.set=A,J.exports=b},Xmg4:function(J,F,e){var d=e("bYtY"),E=e("LPTA"),g=E.devicePixelRatio,p=e("K2GJ"),A=e("3C/r");function b(){return!1}function h(a,s,l){var n=d.createCanvas(),u=s.getWidth(),t=s.getHeight(),c=n.style;return c&&(c.position="absolute",c.left=0,c.top=0,c.width=u+"px",c.height=t+"px",n.setAttribute("data-zr-dom-id",a)),n.width=u*l,n.height=t*l,n}var i=function(s,l,n){var u;n=n||g,typeof s=="string"?u=h(s,l,n):d.isObject(s)&&(u=s,s=u.id),this.id=s,this.dom=u;var t=u.style;t&&(u.onselectstart=b,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=l,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};i.prototype={constructor:i,__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 s=this.dpr;this.domBack=h("back-"+this.id,this.painter,s),this.ctxBack=this.domBack.getContext("2d"),s!==1&&this.ctxBack.scale(s,s)},resize:function(s,l){var n=this.dpr,u=this.dom,t=u.style,c=this.domBack;t&&(t.width=s+"px",t.height=l+"px"),u.width=s*n,u.height=l*n,c&&(c.width=s*n,c.height=l*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(s,l){var n=this.dom,u=this.ctx,t=n.width,c=n.height,l=l||this.clearColor,o=this.motionBlur&&!s,f=this.lastFrameAlpha,v=this.dpr;if(o&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/v,c/v)),u.clearRect(0,0,t,c),l&&l!=="transparent"){var y;l.colorStops?(y=l.__canvasGradient||p.getGradient(u,l,{x:0,y:0,width:t,height:c}),l.__canvasGradient=y):l.image&&(y=A.prototype.getCanvasPattern.call(l,u)),u.save(),u.fillStyle=y||l,u.fillRect(0,0,t,c),u.restore()}if(o){var L=this.domBack;u.save(),u.globalAlpha=f,u.drawImage(L,0,0,t,c),u.restore()}}};var r=i;J.exports=r},Xnb7:function(J,F,e){var d=e("1RvN"),E=new d(50);function g(h){if(typeof h=="string"){var i=E.get(h);return i&&i.image}else return h}function p(h,i,r,a,s){if(h)if(typeof h=="string"){if(i&&i.__zrImageSrc===h||!r)return i;var l=E.get(h),n={hostEl:r,cb:a,cbPayload:s};return l?(i=l.image,!b(i)&&l.pending.push(n)):(i=new Image,i.onload=i.onerror=A,E.put(h,i.__cachedImgObj={image:i,pending:[n]}),i.src=i.__zrImageSrc=h),i}else return h;else return i}function A(){var h=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var i=0;i<h.pending.length;i++){var r=h.pending[i],a=r.cb;a&&a(this,r.cbPayload),r.hostEl.dirty()}h.pending.length=0}function b(h){return h&&h.width&&h.height}F.findExistImage=g,F.createOrUpdateImage=p,F.isImageReady=b},XpcN:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("bYtY"),A=e("oVpE"),b=A.createSymbol,h=e("IwbS"),i=e("eRkO"),r=i.makeBackground,a=e("+TT/"),s=p.curry,l=p.each,n=h.Group,u=g.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(v,y,L){var S=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!v.get("show",!0))return;var x=v.get("align"),O=v.get("orient");(!x||x==="auto")&&(x=v.get("left")==="right"&&O==="vertical"?"right":"left");var T=v.get("selector",!0),w=v.get("selectorPosition",!0);T&&(!w||w==="auto")&&(w=O==="horizontal"?"end":"start"),this.renderInner(x,v,y,L,T,O,w);var C=v.getBoxLayoutParams(),N={width:L.getWidth(),height:L.getHeight()},D=v.get("padding"),B=a.getLayoutRect(C,N,D),R=this.layoutInner(v,x,B,S,T,w),U=a.getLayoutRect(p.defaults({width:R.width,height:R.height},C),N,D);this.group.attr("position",[U.x-R.x,U.y-R.y]),this.group.add(this._backgroundEl=r(R,v))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(v,y,L,S,x,O,T){var w=this.getContentGroup(),C=p.createHashMap(),N=y.get("selectedMode"),D=[];L.eachRawSeries(function(B){!B.get("legendHoverLink")&&D.push(B.id)}),l(y.getData(),function(B,R){var U=B.get("name");if(!this.newlineDisabled&&(U===""||U===`
|
|
|
`)){w.add(new n({newline:!0}));return}var M=L.getSeriesByName(U)[0];if(C.get(U))return;if(M){var j=M.getData(),P=j.getVisual("color"),K=j.getVisual("borderColor");typeof P=="function"&&(P=P(M.getDataParams(0))),typeof K=="function"&&(K=K(M.getDataParams(0)));var H=j.getVisual("legendSymbol")||"roundRect",k=j.getVisual("symbol"),Z=this._createItem(U,R,B,y,H,k,v,P,K,N);Z.on("click",s(c,U,null,S,D)).on("mouseover",s(o,M.name,null,S,D)).on("mouseout",s(f,M.name,null,S,D)),C.set(U,!0)}else L.eachRawSeries(function(Y){if(C.get(U))return;if(Y.legendVisualProvider){var _=Y.legendVisualProvider;if(!_.containName(U))return;var Q=_.indexOfName(U),X=_.getItemVisual(Q,"color"),he=_.getItemVisual(Q,"borderColor"),te="roundRect",fe=this._createItem(U,R,B,y,te,null,v,X,he,N);fe.on("click",s(c,null,U,S,D)).on("mouseover",s(o,null,U,S,D)).on("mouseout",s(f,null,U,S,D)),C.set(U,!0)}},this)},this),x&&this._createSelector(x,y,S,O,T)},_createSelector:function(v,y,L,S,x){var O=this.getSelectorGroup();l(v,function(w){T(w)});function T(w){var C=w.type,N=new h.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){L.dispatchAction({type:C==="all"?"legendAllSelect":"legendInverseSelect"})}});O.add(N);var D=y.getModel("selectorLabel"),B=y.getModel("emphasis.selectorLabel");h.setLabelStyle(N.style,N.hoverStyle={},D,B,{defaultText:w.title,isRectText:!1}),h.setHoverStyle(N)}},_createItem:function(v,y,L,S,x,O,T,w,C,N){var D=S.get("itemWidth"),B=S.get("itemHeight"),R=S.get("inactiveColor"),U=S.get("inactiveBorderColor"),M=S.get("symbolKeepAspect"),j=S.getModel("itemStyle"),P=S.isSelected(v),K=new n,H=L.getModel("textStyle"),k=L.get("icon"),Z=L.getModel("tooltip"),Y=Z.parentModel;x=k||x;var _=b(x,0,0,D,B,P?w:R,M==null?!0:M);if(K.add(t(_,x,j,C,U,P)),!k&&O&&(O!==x||O==="none")){var Q=B*.8;O==="none"&&(O="circle");var X=b(O,(D-Q)/2,(B-Q)/2,Q,Q,P?w:R,M==null?!0:M);K.add(t(X,O,j,C,U,P))}var he=T==="left"?D+5:-5,te=T,fe=S.get("formatter"),be=v;typeof fe=="string"&&fe?be=fe.replace("{name}",v!=null?v:""):typeof fe=="function"&&(be=fe(v)),K.add(new h.Text({style:h.setTextStyle({},H,{text:be,x:he,y:B/2,textFill:P?H.getTextColor():R,textAlign:te,textVerticalAlign:"middle"})}));var we=new h.Rect({shape:K.getBoundingRect(),invisible:!0,tooltip:Z.get("show")?p.extend({content:v,formatter:Y.get("formatter",!0)||function(){return v},formatterParams:{componentType:"legend",legendIndex:S.componentIndex,name:v,$vars:["name"]}},Z.option):null});return K.add(we),K.eachChild(function(Ke){Ke.silent=!0}),we.silent=!N,this.getContentGroup().add(K),h.setHoverStyle(K),K.__legendDataIndex=y,K},layoutInner:function(v,y,L,S,x,O){var T=this.getContentGroup(),w=this.getSelectorGroup();a.box(v.get("orient"),T,v.get("itemGap"),L.width,L.height);var C=T.getBoundingRect(),N=[-C.x,-C.y];if(x){a.box("horizontal",w,v.get("selectorItemGap",!0));var D=w.getBoundingRect(),B=[-D.x,-D.y],R=v.get("selectorButtonGap",!0),U=v.getOrient().index,M=U===0?"width":"height",j=U===0?"height":"width",P=U===0?"y":"x";O==="end"?B[U]+=C[M]+R:N[U]+=D[M]+R,B[1-U]+=C[j]/2-D[j]/2,w.attr("position",B),T.attr("position",N);var K={x:0,y:0};return K[M]=C[M]+R+D[M],K[j]=Math.max(C[j],D[j]),K[P]=Math.min(0,D[P]+B[1-U]),K}else return T.attr("position",N),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(v,y,L,S,x,O){var T;return y!=="line"&&y.indexOf("empty")<0?(T=L.getItemStyle(),v.style.stroke=S,O||(T.stroke=x)):T=L.getItemStyle(["borderWidth","borderColor"]),v.setStyle(T)}function c(v,y,L,S){f(v,y,L,S),L.dispatchAction({type:"legendToggleSelect",name:v!=null?v:y}),o(v,y,L,S)}function o(v,y,L,S){var x=L.getZr().storage.getDisplayList()[0];x&&x.useHoverLayer||L.dispatchAction({type:"highlight",seriesName:v,name:y,excludeSeriesId:S})}function f(v,y,L,S){var x=L.getZr().storage.getDisplayList()[0];x&&x.useHoverLayer||L.dispatchAction({type:"downplay",seriesName:v,name:y,excludeSeriesId:S})}J.exports=u},XuBP:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},XxSj:function(J,F,e){var d=e("bYtY"),E=e("Qe9p"),g=e("OELB"),p=g.linearMap,A=d.each,b=d.isObject,h=-1,i=function(O){var T=O.mappingMethod,w=O.type,C=this.option=d.clone(O);this.type=w,this.mappingMethod=T,this._normalizeData=L[T];var N=r[w];this.applyVisual=N.applyVisual,this.getColorMapper=N.getColorMapper,this._doMap=N._doMap[T],T==="piecewise"?(l(C),a(C)):T==="category"?C.categories?s(C):l(C,!0):(d.assert(T!=="linear"||C.dataExtent),l(C))};i.prototype={constructor:i,mapValueToVisual:function(O){var T=this._normalizeData(O);return this._doMap(T,O)},getNormalizer:function(){return d.bind(this._normalizeData,this)}};var r=i.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var O=this.option;return d.bind(O.mappingMethod==="category"?function(T,w){return!w&&(T=this._normalizeData(T)),c.call(this,T)}:function(T,w,C){var N=!!C;return!w&&(T=this._normalizeData(T)),C=E.fastLerp(T,O.parsedVisual,C),N?C:E.stringify(C,"rgba")},this)},_doMap:{linear:function(O){return E.stringify(E.fastLerp(O,this.option.parsedVisual),"rgba")},category:c,piecewise:function(O,T){var w=v.call(this,T);return w==null&&(w=E.stringify(E.fastLerp(O,this.option.parsedVisual),"rgba")),w},fixed:o}},colorHue:n(function(O,T){return E.modifyHSL(O,T)}),colorSaturation:n(function(O,T){return E.modifyHSL(O,null,T)}),colorLightness:n(function(O,T){return E.modifyHSL(O,null,null,T)}),colorAlpha:n(function(O,T){return E.modifyAlpha(O,T)}),opacity:{applyVisual:t("opacity"),_doMap:f([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:o,category:o,piecewise:o,fixed:o}},symbol:{applyVisual:function(O,T,w){var C=this.mapValueToVisual(O);if(d.isString(C))w("symbol",C);else if(b(C))for(var N in C)C.hasOwnProperty(N)&&w(N,C[N])},_doMap:{linear:u,category:c,piecewise:function(O,T){var w=v.call(this,T);return w==null&&(w=u.call(this,O)),w},fixed:o}},symbolSize:{applyVisual:t("symbolSize"),_doMap:f([0,1])}};function a(O){var T=O.pieceList;O.hasSpecialVisual=!1,d.each(T,function(w,C){w.originIndex=C,w.visual!=null&&(O.hasSpecialVisual=!0)})}function s(O){var T=O.categories,w=O.visual,C=O.categoryMap={};if(A(T,function(B,R){C[B]=R}),!d.isArray(w)){var N=[];d.isObject(w)?A(w,function(B,R){var U=C[R];N[U!=null?U:h]=B}):N[h]=w,w=y(O,N)}for(var D=T.length-1;D>=0;D--)w[D]==null&&(delete C[T[D]],T.pop())}function l(O,T){var w=O.visual,C=[];d.isObject(w)?A(w,function(D){C.push(D)}):w!=null&&C.push(w);var N={color:1,symbol:1};!T&&C.length===1&&!N.hasOwnProperty(O.type)&&(C[1]=C[0]),y(O,C)}function n(O){return{applyVisual:function(T,w,C){T=this.mapValueToVisual(T),C("color",O(w("color"),T))},_doMap:f([0,1])}}function u(O){var T=this.option.visual;return T[Math.round(p(O,[0,1],[0,T.length-1],!0))]||{}}function t(O){return function(T,w,C){C(O,this.mapValueToVisual(T))}}function c(O){var T=this.option.visual;return T[this.option.loop&&O!==h?O%T.length:O]}function o(){return this.option.visual[0]}function f(O){return{linear:function(T){return p(T,O,this.option.visual,!0)},category:c,piecewise:function(T,w){var C=v.call(this,w);return C==null&&(C=p(T,O,this.option.visual,!0)),C},fixed:o}}function v(O){var T=this.option,w=T.pieceList;if(T.hasSpecialVisual){var C=i.findPieceIndex(O,w),N=w[C];if(N&&N.visual)return N.visual[this.type]}}function y(O,T){return O.visual=T,O.type==="color"&&(O.parsedVisual=d.map(T,function(w){return E.parse(w)})),T}var L={linear:function(O){return p(O,this.option.dataExtent,[0,1],!0)},piecewise:function(O){var T=this.option.pieceList,w=i.findPieceIndex(O,T,!0);if(w!=null)return p(w,[0,T.length-1],[0,1],!0)},category:function(O){var T=this.option.categories?this.option.categoryMap[O]:O;return T==null?h:T},fixed:d.noop};i.listVisualTypes=function(){var O=[];return d.each(r,function(T,w){O.push(w)}),O},i.addVisualHandler=function(O,T){r[O]=T},i.isValidType=function(O){return r.hasOwnProperty(O)},i.eachVisual=function(O,T,w){d.isObject(O)?d.each(O,T,w):T.call(w,O)},i.mapVisual=function(O,T,w){var C,N=d.isArray(O)?[]:d.isObject(O)?{}:(C=!0,null);return i.eachVisual(O,function(D,B){var R=T.call(w,D,B);C?N=R:N[B]=R}),N},i.retrieveVisuals=function(O){var T={},w;return O&&A(r,function(C,N){O.hasOwnProperty(N)&&(T[N]=O[N],w=!0)}),w?T:null},i.prepareVisualTypes=function(O){if(b(O)){var T=[];A(O,function(w,C){T.push(C)}),O=T}else if(d.isArray(O))O=O.slice();else return[];return O.sort(function(w,C){return C==="color"&&w!=="color"&&w.indexOf("color")===0?1:-1}),O},i.dependsOn=function(O,T){return T==="color"?!!(O&&O.indexOf(T)===0):O===T},i.findPieceIndex=function(O,T,w){for(var C,N=Infinity,D=0,B=T.length;D<B;D++){var R=T[D].value;if(R!=null){if(R===O||typeof R=="string"&&R===O+"")return D;w&&P(R,D)}}for(var D=0,B=T.length;D<B;D++){var U=T[D],M=U.interval,j=U.close;if(M){if(M[0]===-Infinity){if(S(j[1],O,M[1]))return D}else if(M[1]===Infinity){if(S(j[0],M[0],O))return D}else if(S(j[0],M[0],O)&&S(j[1],O,M[1]))return D;w&&P(M[0],D),w&&P(M[1],D)}}if(w)return O===Infinity?T.length-1:O===-Infinity?0:C;function P(K,H){var k=Math.abs(K-O);k<N&&(N=k,C=H)}};function S(O,T,w){return O?T<=w:T<w}var x=i;J.exports=x},XzQk:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("KpQ+"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},"Y+p1":function(J,F,e){var d=e("wF/u");function E(g,p){return d(g,p)}J.exports=E},Y1PL:function(J,F,e){"use strict";e.r(F),e.d(F,"ResizableTextArea",function(){return O});var d=e("1OyB"),E=e("vuIU"),g=e("Ji7U"),p=e("md7G"),A=e("foSv"),b=e("q1tI"),h=e("rePB"),i=e("t23M"),r=e("BGR+"),a=e("TSYQ"),s=e.n(a),l=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important
|
|
|
`,n=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],u={},t;function c(D){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=D.getAttribute("id")||D.getAttribute("data-reactid")||D.getAttribute("name");if(B&&u[R])return u[R];var U=window.getComputedStyle(D),M=U.getPropertyValue("box-sizing")||U.getPropertyValue("-moz-box-sizing")||U.getPropertyValue("-webkit-box-sizing"),j=parseFloat(U.getPropertyValue("padding-bottom"))+parseFloat(U.getPropertyValue("padding-top")),P=parseFloat(U.getPropertyValue("border-bottom-width"))+parseFloat(U.getPropertyValue("border-top-width")),K=n.map(function(k){return"".concat(k,":").concat(U.getPropertyValue(k))}).join(";"),H={sizingStyle:K,paddingSize:j,borderSize:P,boxSizing:M};return B&&R&&(u[R]=H),H}function o(D){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;t||(t=document.createElement("textarea"),t.setAttribute("tab-index","-1"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),D.getAttribute("wrap")?t.setAttribute("wrap",D.getAttribute("wrap")):t.removeAttribute("wrap");var M=c(D,B),j=M.paddingSize,P=M.borderSize,K=M.boxSizing,H=M.sizingStyle;t.setAttribute("style","".concat(H,";").concat(l)),t.value=D.value||D.placeholder||"";var k=Number.MIN_SAFE_INTEGER,Z=Number.MAX_SAFE_INTEGER,Y=t.scrollHeight,_;if(K==="border-box"?Y+=P:K==="content-box"&&(Y-=j),R!==null||U!==null){t.value=" ";var Q=t.scrollHeight-j;R!==null&&(k=Q*R,K==="border-box"&&(k=k+j+P),Y=Math.max(k,Y)),U!==null&&(Z=Q*U,K==="border-box"&&(Z=Z+j+P),_=Y>Z?"":"hidden",Y=Math.min(Z,Y))}return{height:Y,minHeight:k,maxHeight:Z,overflowY:_}}function f(D,B){var R=Object.keys(D);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(D);B&&(U=U.filter(function(M){return Object.getOwnPropertyDescriptor(D,M).enumerable})),R.push.apply(R,U)}return R}function v(D){for(var B=1;B<arguments.length;B++){var R=arguments[B]!=null?arguments[B]:{};B%2?f(Object(R),!0).forEach(function(U){Object(h.a)(D,U,R[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(R)):f(Object(R)).forEach(function(U){Object.defineProperty(D,U,Object.getOwnPropertyDescriptor(R,U))})}return D}function y(D){var B=L();return function(){var U=Object(A.a)(D),M;if(B){var j=Object(A.a)(this).constructor;M=Reflect.construct(U,arguments,j)}else M=U.apply(this,arguments);return Object(p.a)(this,M)}}function L(){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(D){return!1}}var S;(function(D){D[D.NONE=0]="NONE",D[D.RESIZING=1]="RESIZING",D[D.RESIZED=2]="RESIZED"})(S||(S={}));var x=function(D){Object(g.a)(R,D);var B=y(R);function R(U){var M;return Object(d.a)(this,R),M=B.call(this,U),M.saveTextArea=function(j){M.textArea=j},M.handleResize=function(j){var P=M.state.resizeStatus,K=M.props,H=K.autoSize,k=K.onResize;if(P!==S.NONE)return;typeof k=="function"&&k(j),H&&M.resizeOnNextFrame()},M.resizeOnNextFrame=function(){cancelAnimationFrame(M.nextFrameActionId),M.nextFrameActionId=requestAnimationFrame(M.resizeTextarea)},M.resizeTextarea=function(){var j=M.props.autoSize;if(!j||!M.textArea)return;var P=j.minRows,K=j.maxRows,H=o(M.textArea,!1,P,K);M.setState({textareaStyles:H,resizeStatus:S.RESIZING},function(){cancelAnimationFrame(M.resizeFrameId),M.resizeFrameId=requestAnimationFrame(function(){M.setState({resizeStatus:S.RESIZED},function(){M.resizeFrameId=requestAnimationFrame(function(){M.setState({resizeStatus:S.NONE}),M.fixFirefoxAutoScroll()})})})})},M.renderTextArea=function(){var j=M.props,P=j.prefixCls,K=P===void 0?"rc-textarea":P,H=j.autoSize,k=j.onResize,Z=j.className,Y=j.disabled,_=M.state,Q=_.textareaStyles,X=_.resizeStatus,he=Object(r.default)(M.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),te=s()(K,Z,Object(h.a)({},"".concat(K,"-disabled"),Y));"value"in he&&(he.value=he.value||"");var fe=v(v(v({},M.props.style),Q),X===S.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return b.createElement(i.a,{onResize:M.handleResize,disabled:!(H||k)},b.createElement("textarea",Object.assign({},he,{className:te,style:fe,ref:M.saveTextArea})))},M.state={textareaStyles:{},resizeStatus:S.NONE},M}return Object(E.a)(R,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(M){M.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 M=this.textArea.selectionStart,j=this.textArea.selectionEnd;this.textArea.setSelectionRange(M,j)}}catch(P){}}},{key:"render",value:function(){return this.renderTextArea()}}]),R}(b.Component),O=x;function T(D){var B=w();return function(){var U=Object(A.a)(D),M;if(B){var j=Object(A.a)(this).constructor;M=Reflect.construct(U,arguments,j)}else M=U.apply(this,arguments);return Object(p.a)(this,M)}}function w(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(D){return!1}}var C=function(D){Object(g.a)(R,D);var B=T(R);function R(U){var M;Object(d.a)(this,R),M=B.call(this,U),M.focus=function(){M.resizableTextArea.textArea.focus()},M.saveTextArea=function(P){M.resizableTextArea=P},M.handleChange=function(P){var K=M.props.onChange;M.setValue(P.target.value,function(){M.resizableTextArea.resizeTextarea()}),K&&K(P)},M.handleKeyDown=function(P){var K=M.props,H=K.onPressEnter,k=K.onKeyDown;P.keyCode===13&&H&&H(P),k&&k(P)};var j=typeof U.value=="undefined"||U.value===null?U.defaultValue:U.value;return M.state={value:j},M}return Object(E.a)(R,[{key:"setValue",value:function(M,j){"value"in this.props||this.setState({value:M},j)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return b.createElement(O,Object.assign({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(M){return"value"in M?{value:M.value}:null}}]),R}(b.Component),N=F.default=C},YESw:function(J,F,e){var d=e("Cwc5"),E=d(Object,"create");J.exports=E},YH21:function(J,F,e){var d=e("H6uX");F.Dispatcher=d;var E=e("ItGF"),g=e("Ze12"),p=g.isCanvasEl,A=g.transformCoordWithViewport,b=typeof window!="undefined"&&!!window.addEventListener,h=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,i=[];function r(f,v,y,L){return y=y||{},L||!E.canvasSupported?a(f,v,y):E.browser.firefox&&v.layerX!=null&&v.layerX!==v.offsetX?(y.zrX=v.layerX,y.zrY=v.layerY):v.offsetX!=null?(y.zrX=v.offsetX,y.zrY=v.offsetY):a(f,v,y),y}function a(f,v,y){if(E.domSupported&&f.getBoundingClientRect){var L=v.clientX,S=v.clientY;if(p(f)){var x=f.getBoundingClientRect();y.zrX=L-x.left,y.zrY=S-x.top;return}else if(A(i,f,L,S)){y.zrX=i[0],y.zrY=i[1];return}}y.zrX=y.zrY=0}function s(f){return f||window.event}function l(f,v,y){if(v=s(v),v.zrX!=null)return v;var L=v.type,S=L&&L.indexOf("touch")>=0;if(!S)r(f,v,v,y),v.zrDelta=v.wheelDelta?v.wheelDelta/120:-(v.detail||0)/3;else{var x=L!=="touchend"?v.targetTouches[0]:v.changedTouches[0];x&&r(f,x,v,y)}var O=v.button;return v.which==null&&O!==void 0&&h.test(v.type)&&(v.which=O&1?1:O&2?3:O&4?2:0),v}function n(f,v,y,L){b?f.addEventListener(v,y,L):f.attachEvent("on"+v,y)}function u(f,v,y,L){b?f.removeEventListener(v,y,L):f.detachEvent("on"+v,y)}var t=b?function(f){f.preventDefault(),f.stopPropagation(),f.cancelBubble=!0}:function(f){f.returnValue=!1,f.cancelBubble=!0};function c(f){return f.which===2||f.which===3}function o(f){return f.which>1}F.clientToLocal=r,F.getNativeEvent=s,F.normalizeEvent=l,F.addEventListener=n,F.removeEventListener=u,F.stop=t,F.isMiddleOrRightButtonOnMouseUpDown=c,F.notLeftMouse=o},YJCA:function(J,F,e){"use strict";e.d(F,"a",function(){return ht}),e.d(F,"b",function(){return At});var d=e("wx14"),E=e("ODXe"),g=e("vpQ4"),p=e("1OyB"),A=e("vuIU"),b=e("md7G"),h=e("foSv"),i=e("Ji7U"),r=e("JX7q"),a=e("rePB"),s=e("q1tI"),l=e.n(s),n=e("17x9"),u=e.n(n),t=e("i8i4"),c=e.n(t),o=e("QLaP"),f=e.n(o),v=e("KQm4"),y=function(){function _e(){Object(p.a)(this,_e),Object(a.a)(this,"refs",{})}return Object(A.a)(_e,[{key:"add",value:function(Ie,st){this.refs[Ie]||(this.refs[Ie]=[]),this.refs[Ie].push(st)}},{key:"remove",value:function(Ie,st){var Et=this.getIndex(Ie,st);Et!==-1&&this.refs[Ie].splice(Et,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var Ie=this;return this.refs[this.active.collection].find(function(st){var Et=st.node;return Et.sortableInfo.index==Ie.active.index})}},{key:"getIndex",value:function(Ie,st){return this.refs[Ie].indexOf(st)}},{key:"getOrderedRefs",value:function(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[Ie].sort(L)}}]),_e}();function L(_e,De){var Ie=_e.node.sortableInfo.index,st=De.node.sortableInfo.index;return Ie-st}function S(_e,De,Ie){return _e=_e.slice(),_e.splice(Ie<0?_e.length+Ie:Ie,0,_e.splice(De,1)[0]),_e}function x(_e,De){return Object.keys(_e).reduce(function(Ie,st){return De.indexOf(st)===-1&&(Ie[st]=_e[st]),Ie},{})}var O={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var _e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],De=(Array.prototype.slice.call(_e).join("").match(/-(moz|webkit|ms)-/)||_e.OLink===""&&["","o"])[1];switch(De){case"ms":return"ms";default:return De&&De.length?De[0].toUpperCase()+De.substr(1):""}}();function w(_e,De){Object.keys(De).forEach(function(Ie){_e.style[Ie]=De[Ie]})}function C(_e,De){_e.style["".concat(T,"Transform")]=De==null?"":"translate3d(".concat(De.x,"px,").concat(De.y,"px,0)")}function N(_e,De){_e.style["".concat(T,"TransitionDuration")]=De==null?"":"".concat(De,"ms")}function D(_e,De){for(;_e;){if(De(_e))return _e;_e=_e.parentNode}return null}function B(_e,De,Ie){return Math.max(_e,Math.min(Ie,De))}function R(_e){return _e.substr(-2)==="px"?parseFloat(_e):0}function U(_e){var De=window.getComputedStyle(_e);return{bottom:R(De.marginBottom),left:R(De.marginLeft),right:R(De.marginRight),top:R(De.marginTop)}}function M(_e,De){var Ie=De.displayName||De.name;return Ie?"".concat(_e,"(").concat(Ie,")"):_e}function j(_e,De){var Ie=_e.getBoundingClientRect();return{top:Ie.top+De.top,left:Ie.left+De.left}}function P(_e){return _e.touches&&_e.touches.length?{x:_e.touches[0].pageX,y:_e.touches[0].pageY}:_e.changedTouches&&_e.changedTouches.length?{x:_e.changedTouches[0].pageX,y:_e.changedTouches[0].pageY}:{x:_e.pageX,y:_e.pageY}}function K(_e){return _e.touches&&_e.touches.length||_e.changedTouches&&_e.changedTouches.length}function H(_e,De){var Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!_e)return;var st={left:Ie.left+_e.offsetLeft,top:Ie.top+_e.offsetTop};return _e.parentNode===De?st:H(_e.parentNode,De,st)}function k(_e,De,Ie){return _e<Ie&&_e>De?_e-1:_e>Ie&&_e<De?_e+1:_e}function Z(_e){var De=_e.lockOffset,Ie=_e.width,st=_e.height,Et=De,Mt=De,Pt="px";if(typeof De=="string"){var ke=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(De);f()(ke!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',De),Et=parseFloat(De),Mt=parseFloat(De),Pt=ke[1]}return f()(isFinite(Et)&&isFinite(Mt),"lockOffset value should be a finite. Given %s",De),Pt==="%"&&(Et=Et*Ie/100,Mt=Mt*st/100),{x:Et,y:Mt}}function Y(_e){var De=_e.height,Ie=_e.width,st=_e.lockOffset,Et=Array.isArray(st)?st:[st,st];f()(Et.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",st);var Mt=Object(E.a)(Et,2),Pt=Mt[0],ke=Mt[1];return[Z({height:De,lockOffset:Pt,width:Ie}),Z({height:De,lockOffset:ke,width:Ie})]}function _(_e){var De=window.getComputedStyle(_e),Ie=/(auto|scroll)/,st=["overflow","overflowX","overflowY"];return st.find(function(Et){return Ie.test(De[Et])})}function Q(_e){return _e instanceof HTMLElement?_(_e)?_e:Q(_e.parentNode):null}function X(_e){var De=window.getComputedStyle(_e);return De.display==="grid"?{x:R(De.gridColumnGap),y:R(De.gridRowGap)}:{x:0,y:0}}var he={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},te={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function fe(_e){var De="input, textarea, select, canvas, [contenteditable]",Ie=_e.querySelectorAll(De),st=_e.cloneNode(!0),Et=Object(v.a)(st.querySelectorAll(De));return Et.forEach(function(Mt,Pt){if(Mt.type!=="file"&&(Mt.value=Ie[Pt].value),Mt.type==="radio"&&Mt.name&&(Mt.name="__sortableClone__".concat(Mt.name)),Mt.tagName===te.Canvas&&Ie[Pt].width>0&&Ie[Pt].height>0){var ke=Mt.getContext("2d");ke.drawImage(Ie[Pt],0,0)}}),st}function be(_e){var De,Ie,st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ie=De=function(Et){Object(i.a)(Mt,Et);function Mt(){return Object(p.a)(this,Mt),Object(b.a)(this,Object(h.a)(Mt).apply(this,arguments))}return Object(A.a)(Mt,[{key:"componentDidMount",value:function(){var ke=Object(t.findDOMNode)(this);ke.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return f()(st.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 ke=st.withRef?"wrappedInstance":null;return Object(s.createElement)(_e,Object(d.a)({ref:ke},this.props))}}]),Mt}(s.Component),Object(a.a)(De,"displayName",M("sortableHandle",_e)),Ie}function we(_e){return _e.sortableHandle!=null}var Ke=function(){function _e(De,Ie){Object(p.a)(this,_e),this.container=De,this.onScrollCallback=Ie}return Object(A.a)(_e,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(Ie){var st=this,Et=Ie.translate,Mt=Ie.minTranslate,Pt=Ie.maxTranslate,ke=Ie.width,zt=Ie.height,Ot={x:0,y:0},_t={x:1,y:1},Ve={x:10,y:10},Qe=this.container,et=Qe.scrollTop,dt=Qe.scrollLeft,Ze=Qe.scrollHeight,oe=Qe.scrollWidth,me=Qe.clientHeight,ot=Qe.clientWidth,Pe=et===0,pt=Ze-et-me===0,Rr=dt===0,It=oe-dt-ot===0;Et.y>=Pt.y-zt/2&&!pt?(Ot.y=1,_t.y=Ve.y*Math.abs((Pt.y-zt/2-Et.y)/zt)):Et.x>=Pt.x-ke/2&&!It?(Ot.x=1,_t.x=Ve.x*Math.abs((Pt.x-ke/2-Et.x)/ke)):Et.y<=Mt.y+zt/2&&!Pe?(Ot.y=-1,_t.y=Ve.y*Math.abs((Et.y-zt/2-Mt.y)/zt)):Et.x<=Mt.x+ke/2&&!Rr&&(Ot.x=-1,_t.x=Ve.x*Math.abs((Et.x-ke/2-Mt.x)/ke)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Ot.x!==0||Ot.y!==0)&&(this.interval=setInterval(function(){st.isAutoScrolling=!0;var nr={left:_t.x*Ot.x,top:_t.y*Ot.y};st.container.scrollTop+=nr.top,st.container.scrollLeft+=nr.left,st.onScrollCallback(nr)},5))}}]),_e}();function qe(_e){var De=_e.node;return{height:De.offsetHeight,width:De.offsetWidth}}function xt(_e){var De=[te.Input,te.Textarea,te.Select,te.Option,te.Button];return De.indexOf(_e.target.tagName)!==-1?!0:!!D(_e.target,function(Ie){return Ie.contentEditable==="true"})}var Fe={axis:u.a.oneOf(["x","y","xy"]),contentWindow:u.a.any,disableAutoscroll:u.a.bool,distance:u.a.number,getContainer:u.a.func,getHelperDimensions:u.a.func,helperClass:u.a.string,helperContainer:u.a.oneOfType([u.a.func,typeof HTMLElement=="undefined"?u.a.any:u.a.instanceOf(HTMLElement)]),hideSortableGhost:u.a.bool,keyboardSortingTransitionDuration:u.a.number,lockAxis:u.a.string,lockOffset:u.a.oneOfType([u.a.number,u.a.string,u.a.arrayOf(u.a.oneOfType([u.a.number,u.a.string]))]),lockToContainerEdges:u.a.bool,onSortEnd:u.a.func,onSortMove:u.a.func,onSortOver:u.a.func,onSortStart:u.a.func,pressDelay:u.a.number,pressThreshold:u.a.number,keyCodes:u.a.shape({lift:u.a.arrayOf(u.a.number),drop:u.a.arrayOf(u.a.number),cancel:u.a.arrayOf(u.a.number),up:u.a.arrayOf(u.a.number),down:u.a.arrayOf(u.a.number)}),shouldCancelStart:u.a.func,transitionDuration:u.a.number,updateBeforeSortStart:u.a.func,useDragHandle:u.a.bool,useWindowAsScrollContainer:u.a.bool},Be={lift:[he.SPACE],drop:[he.SPACE],cancel:[he.ESC],up:[he.UP,he.LEFT],down:[he.DOWN,he.RIGHT]},bt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:qe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Be,shouldCancelStart:xt,transitionDuration:300,useWindowAsScrollContainer:!1},lt=Object.keys(Fe);function tt(_e){f()(!(_e.distance&&_e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function St(_e,De){try{var Ie=_e()}catch(st){return De(!0,st)}return Ie&&Ie.then?Ie.then(De.bind(null,!1),De.bind(null,!0)):De(!1,value)}function ht(_e){var De,Ie,st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ie=De=function(Et){Object(i.a)(Mt,Et);function Mt(Pt){var ke;return Object(p.a)(this,Mt),ke=Object(b.a)(this,Object(h.a)(Mt).call(this,Pt)),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"state",{}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"handleStart",function(zt){var Ot=ke.props,_t=Ot.distance,Ve=Ot.shouldCancelStart;if(zt.button===2||Ve(zt))return;ke.touched=!0,ke.position=P(zt);var Qe=D(zt.target,function(ot){return ot.sortableInfo!=null});if(Qe&&Qe.sortableInfo&&ke.nodeIsChild(Qe)&&!ke.state.sorting){var et=ke.props.useDragHandle,dt=Qe.sortableInfo,Ze=dt.index,oe=dt.collection,me=dt.disabled;if(me)return;if(et&&!D(zt.target,we))return;ke.manager.active={collection:oe,index:Ze},!K(zt)&&zt.target.tagName===te.Anchor&&zt.preventDefault(),_t||(ke.props.pressDelay===0?ke.handlePress(zt):ke.pressTimer=setTimeout(function(){return ke.handlePress(zt)},ke.props.pressDelay))}}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"nodeIsChild",function(zt){return zt.sortableInfo.manager===ke.manager}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"handleMove",function(zt){var Ot=ke.props,_t=Ot.distance,Ve=Ot.pressThreshold;if(!ke.state.sorting&&ke.touched&&!ke._awaitingUpdateBeforeSortStart){var Qe=P(zt),et={x:ke.position.x-Qe.x,y:ke.position.y-Qe.y},dt=Math.abs(et.x)+Math.abs(et.y);ke.delta=et,!_t&&(!Ve||dt>=Ve)?(clearTimeout(ke.cancelTimer),ke.cancelTimer=setTimeout(ke.cancel,0)):_t&&dt>=_t&&ke.manager.isActive()&&ke.handlePress(zt)}}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"handleEnd",function(){ke.touched=!1,ke.cancel()}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"cancel",function(){var zt=ke.props.distance,Ot=ke.state.sorting;Ot||(zt||clearTimeout(ke.pressTimer),ke.manager.active=null)}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"handlePress",function(zt){try{var Ot=ke.manager.getActive(),_t=function(){if(Ot){var Ve=function(){var Jt=pt.sortableInfo.index,hr=U(pt),Xt=X(ke.container),de=ke.scrollContainer.getBoundingClientRect(),ue=dt({index:Jt,node:pt,collection:Rr});if(ke.node=pt,ke.margin=hr,ke.gridGap=Xt,ke.width=ue.width,ke.height=ue.height,ke.marginOffset={x:ke.margin.left+ke.margin.right+ke.gridGap.x,y:Math.max(ke.margin.top,ke.margin.bottom,ke.gridGap.y)},ke.boundingClientRect=pt.getBoundingClientRect(),ke.containerBoundingRect=de,ke.index=Jt,ke.newIndex=Jt,ke.axis={x:et.indexOf("x")>=0,y:et.indexOf("y")>=0},ke.offsetEdge=H(pt,ke.container),It?ke.initialOffset=P(Object(g.a)({},zt,{pageX:ke.boundingClientRect.left,pageY:ke.boundingClientRect.top})):ke.initialOffset=P(zt),ke.initialScroll={left:ke.scrollContainer.scrollLeft,top:ke.scrollContainer.scrollTop},ke.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},ke.helper=ke.helperContainer.appendChild(fe(pt)),w(ke.helper,{boxSizing:"border-box",height:"".concat(ke.height,"px"),left:"".concat(ke.boundingClientRect.left-hr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(ke.boundingClientRect.top-hr.top,"px"),width:"".concat(ke.width,"px")}),It&&ke.helper.focus(),oe&&(ke.sortableGhost=pt,w(pt,{opacity:0,visibility:"hidden"})),ke.minTranslate={},ke.maxTranslate={},It){var se=Pe?{top:0,left:0,width:ke.contentWindow.innerWidth,height:ke.contentWindow.innerHeight}:ke.containerBoundingRect,ae=se.top,ye=se.left,Ce=se.width,Oe=se.height,Te=ae+Oe,xe=ye+Ce;ke.axis.x&&(ke.minTranslate.x=ye-ke.boundingClientRect.left,ke.maxTranslate.x=xe-(ke.boundingClientRect.left+ke.width)),ke.axis.y&&(ke.minTranslate.y=ae-ke.boundingClientRect.top,ke.maxTranslate.y=Te-(ke.boundingClientRect.top+ke.height))}else ke.axis.x&&(ke.minTranslate.x=(Pe?0:de.left)-ke.boundingClientRect.left-ke.width/2,ke.maxTranslate.x=(Pe?ke.contentWindow.innerWidth:de.left+de.width)-ke.boundingClientRect.left-ke.width/2),ke.axis.y&&(ke.minTranslate.y=(Pe?0:de.top)-ke.boundingClientRect.top-ke.height/2,ke.maxTranslate.y=(Pe?ke.contentWindow.innerHeight:de.top+de.height)-ke.boundingClientRect.top-ke.height/2);Ze&&Ze.split(" ").forEach(function(je){return ke.helper.classList.add(je)}),ke.listenerNode=zt.touches?pt:ke.contentWindow,It?(ke.listenerNode.addEventListener("wheel",ke.handleKeyEnd,!0),ke.listenerNode.addEventListener("mousedown",ke.handleKeyEnd,!0),ke.listenerNode.addEventListener("keydown",ke.handleKeyDown)):(O.move.forEach(function(je){return ke.listenerNode.addEventListener(je,ke.handleSortMove,!1)}),O.end.forEach(function(je){return ke.listenerNode.addEventListener(je,ke.handleSortEnd,!1)})),ke.setState({sorting:!0,sortingIndex:Jt}),ot&&ot({node:pt,index:Jt,collection:Rr,isKeySorting:It,nodes:ke.manager.getOrderedRefs(),helper:ke.helper},zt),It&&ke.keyMove(0)},Qe=ke.props,et=Qe.axis,dt=Qe.getHelperDimensions,Ze=Qe.helperClass,oe=Qe.hideSortableGhost,me=Qe.updateBeforeSortStart,ot=Qe.onSortStart,Pe=Qe.useWindowAsScrollContainer,pt=Ot.node,Rr=Ot.collection,It=ke.manager.isKeySorting,nr=function(){if(typeof me=="function"){ke._awaitingUpdateBeforeSortStart=!0;var Gt=St(function(){var Jt=pt.sortableInfo.index;return Promise.resolve(me({collection:Rr,index:Jt,node:pt,isKeySorting:It},zt)).then(function(){})},function(Jt,hr){if(ke._awaitingUpdateBeforeSortStart=!1,Jt)throw hr;return hr});if(Gt&&Gt.then)return Gt.then(function(){})}}();return nr&&nr.then?nr.then(Ve):Ve(nr)}}();return Promise.resolve(_t&&_t.then?_t.then(function(){}):void 0)}catch(Ve){return Promise.reject(Ve)}}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"handleSortMove",function(zt){var Ot=ke.props.onSortMove;typeof zt.preventDefault=="function"&&zt.preventDefault(),ke.updateHelperPosition(zt),ke.animateNodes(),ke.autoscroll(),Ot&&Ot(zt)}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"handleSortEnd",function(zt){var Ot=ke.props,_t=Ot.hideSortableGhost,Ve=Ot.onSortEnd,Qe=ke.manager,et=Qe.active.collection,dt=Qe.isKeySorting,Ze=ke.manager.getOrderedRefs();ke.listenerNode&&(dt?(ke.listenerNode.removeEventListener("wheel",ke.handleKeyEnd,!0),ke.listenerNode.removeEventListener("mousedown",ke.handleKeyEnd,!0),ke.listenerNode.removeEventListener("keydown",ke.handleKeyDown)):(O.move.forEach(function(pt){return ke.listenerNode.removeEventListener(pt,ke.handleSortMove)}),O.end.forEach(function(pt){return ke.listenerNode.removeEventListener(pt,ke.handleSortEnd)}))),ke.helper.parentNode.removeChild(ke.helper),_t&&ke.sortableGhost&&w(ke.sortableGhost,{opacity:"",visibility:""});for(var oe=0,me=Ze.length;oe<me;oe++){var ot=Ze[oe],Pe=ot.node;ot.edgeOffset=null,ot.boundingClientRect=null,C(Pe,null),N(Pe,null),ot.translate=null}ke.autoScroller.clear(),ke.manager.active=null,ke.manager.isKeySorting=!1,ke.setState({sorting:!1,sortingIndex:null}),typeof Ve=="function"&&Ve({collection:et,newIndex:ke.newIndex,oldIndex:ke.index,isKeySorting:dt,nodes:Ze},zt),ke.touched=!1}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"autoscroll",function(){var zt=ke.props.disableAutoscroll,Ot=ke.manager.isKeySorting;if(zt){ke.autoScroller.clear();return}if(Ot){var _t=Object(g.a)({},ke.translate),Ve=0,Qe=0;ke.axis.x&&(_t.x=Math.min(ke.maxTranslate.x,Math.max(ke.minTranslate.x,ke.translate.x)),Ve=ke.translate.x-_t.x),ke.axis.y&&(_t.y=Math.min(ke.maxTranslate.y,Math.max(ke.minTranslate.y,ke.translate.y)),Qe=ke.translate.y-_t.y),ke.translate=_t,C(ke.helper,ke.translate),ke.scrollContainer.scrollLeft+=Ve,ke.scrollContainer.scrollTop+=Qe;return}ke.autoScroller.update({height:ke.height,maxTranslate:ke.maxTranslate,minTranslate:ke.minTranslate,translate:ke.translate,width:ke.width})}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"onAutoScroll",function(zt){ke.translate.x+=zt.left,ke.translate.y+=zt.top,ke.animateNodes()}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"handleKeyDown",function(zt){var Ot=zt.keyCode,_t=ke.props,Ve=_t.shouldCancelStart,Qe=_t.keyCodes,et=Qe===void 0?{}:Qe,dt=Object(g.a)({},Be,et);if(ke.manager.active&&!ke.manager.isKeySorting||!ke.manager.active&&(!dt.lift.includes(Ot)||Ve(zt)||!ke.isValidSortingTarget(zt)))return;zt.stopPropagation(),zt.preventDefault(),dt.lift.includes(Ot)&&!ke.manager.active?ke.keyLift(zt):dt.drop.includes(Ot)&&ke.manager.active?ke.keyDrop(zt):dt.cancel.includes(Ot)?(ke.newIndex=ke.manager.active.index,ke.keyDrop(zt)):dt.up.includes(Ot)?ke.keyMove(-1):dt.down.includes(Ot)&&ke.keyMove(1)}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"keyLift",function(zt){var Ot=zt.target,_t=D(Ot,function(dt){return dt.sortableInfo!=null}),Ve=_t.sortableInfo,Qe=Ve.index,et=Ve.collection;ke.initialFocusedNode=Ot,ke.manager.isKeySorting=!0,ke.manager.active={index:Qe,collection:et},ke.handlePress(zt)}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"keyMove",function(zt){var Ot=ke.manager.getOrderedRefs(),_t=Ot[Ot.length-1].node.sortableInfo.index,Ve=ke.newIndex+zt,Qe=ke.newIndex;if(Ve<0||Ve>_t)return;ke.prevIndex=Qe,ke.newIndex=Ve;var et=k(ke.newIndex,ke.prevIndex,ke.index),dt=Ot.find(function(It){var nr=It.node;return nr.sortableInfo.index===et}),Ze=dt.node,oe=ke.containerScrollDelta,me=dt.boundingClientRect||j(Ze,oe),ot=dt.translate||{x:0,y:0},Pe={top:me.top+ot.y-oe.top,left:me.left+ot.x-oe.left},pt=Qe<Ve,Rr={x:pt&&ke.axis.x?Ze.offsetWidth-ke.width:0,y:pt&&ke.axis.y?Ze.offsetHeight-ke.height:0};ke.handleSortMove({pageX:Pe.left+Rr.x,pageY:Pe.top+Rr.y,ignoreTransition:zt===0})}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"keyDrop",function(zt){ke.handleSortEnd(zt),ke.initialFocusedNode&&ke.initialFocusedNode.focus()}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"handleKeyEnd",function(zt){ke.manager.active&&ke.keyDrop(zt)}),Object(a.a)(Object(r.a)(Object(r.a)(ke)),"isValidSortingTarget",function(zt){var Ot=ke.props.useDragHandle,_t=zt.target,Ve=D(_t,function(Qe){return Qe.sortableInfo!=null});return Ve&&Ve.sortableInfo&&!Ve.sortableInfo.disabled&&(Ot?we(_t):_t.sortableInfo)}),tt(Pt),ke.manager=new y,ke.events={end:ke.handleEnd,move:ke.handleMove,start:ke.handleStart},ke}return Object(A.a)(Mt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var ke=this,zt=this.props.useWindowAsScrollContainer,Ot=this.getContainer();Promise.resolve(Ot).then(function(_t){ke.container=_t,ke.document=ke.container.ownerDocument||document;var Ve=ke.props.contentWindow||ke.document.defaultView||window;ke.contentWindow=typeof Ve=="function"?Ve():Ve,ke.scrollContainer=zt?ke.document.scrollingElement||ke.document.documentElement:Q(ke.container)||ke.container,ke.autoScroller=new Ke(ke.scrollContainer,ke.onAutoScroll),Object.keys(ke.events).forEach(function(Qe){return O[Qe].forEach(function(et){return ke.container.addEventListener(et,ke.events[Qe],!1)})}),ke.container.addEventListener("keydown",ke.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var ke=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(zt){return O[zt].forEach(function(Ot){return ke.container.removeEventListener(Ot,ke.events[zt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(ke){var zt=this.props,Ot=zt.lockAxis,_t=zt.lockOffset,Ve=zt.lockToContainerEdges,Qe=zt.transitionDuration,et=zt.keyboardSortingTransitionDuration,dt=et===void 0?Qe:et,Ze=this.manager.isKeySorting,oe=ke.ignoreTransition,me=P(ke),ot={x:me.x-this.initialOffset.x,y:me.y-this.initialOffset.y};if(ot.y-=window.pageYOffset-this.initialWindowScroll.top,ot.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=ot,Ve){var Pe=Y({height:this.height,lockOffset:_t,width:this.width}),pt=Object(E.a)(Pe,2),Rr=pt[0],It=pt[1],nr={x:this.width/2-Rr.x,y:this.height/2-Rr.y},Gt={x:this.width/2-It.x,y:this.height/2-It.y};ot.x=B(this.minTranslate.x+nr.x,this.maxTranslate.x-Gt.x,ot.x),ot.y=B(this.minTranslate.y+nr.y,this.maxTranslate.y-Gt.y,ot.y)}Ot==="x"?ot.y=0:Ot==="y"&&(ot.x=0),Ze&&dt&&!oe&&N(this.helper,dt),C(this.helper,ot)}},{key:"animateNodes",value:function(){var ke=this.props,zt=ke.transitionDuration,Ot=ke.hideSortableGhost,_t=ke.onSortOver,Ve=this.containerScrollDelta,Qe=this.windowScrollDelta,et=this.manager.getOrderedRefs(),dt={left:this.offsetEdge.left+this.translate.x+Ve.left,top:this.offsetEdge.top+this.translate.y+Ve.top},Ze=this.manager.isKeySorting,oe=this.newIndex;this.newIndex=null;for(var me=0,ot=et.length;me<ot;me++){var Pe=et[me].node,pt=Pe.sortableInfo.index,Rr=Pe.offsetWidth,It=Pe.offsetHeight,nr={height:this.height>It?It/2:this.height/2,width:this.width>Rr?Rr/2:this.width/2},Gt=Ze&&pt>this.index&&pt<=oe,Jt=Ze&&pt<this.index&&pt>=oe,hr={x:0,y:0},Xt=et[me].edgeOffset;Xt||(Xt=H(Pe,this.container),et[me].edgeOffset=Xt,Ze&&(et[me].boundingClientRect=j(Pe,Ve)));var de=me<et.length-1&&et[me+1],ue=me>0&&et[me-1];if(de&&!de.edgeOffset&&(de.edgeOffset=H(de.node,this.container),Ze&&(de.boundingClientRect=j(de.node,Ve))),pt===this.index){Ot&&(this.sortableGhost=Pe,w(Pe,{opacity:0,visibility:"hidden"}));continue}zt&&N(Pe,zt),this.axis.x?this.axis.y?Jt||pt<this.index&&(dt.left+Qe.left-nr.width<=Xt.left&&dt.top+Qe.top<=Xt.top+nr.height||dt.top+Qe.top+nr.height<=Xt.top)?(hr.x=this.width+this.marginOffset.x,Xt.left+hr.x>this.containerBoundingRect.width-nr.width&&(de&&(hr.x=de.edgeOffset.left-Xt.left,hr.y=de.edgeOffset.top-Xt.top)),this.newIndex===null&&(this.newIndex=pt)):(Gt||pt>this.index&&(dt.left+Qe.left+nr.width>=Xt.left&&dt.top+Qe.top+nr.height>=Xt.top||dt.top+Qe.top+nr.height>=Xt.top+It))&&(hr.x=-(this.width+this.marginOffset.x),Xt.left+hr.x<this.containerBoundingRect.left+nr.width&&(ue&&(hr.x=ue.edgeOffset.left-Xt.left,hr.y=ue.edgeOffset.top-Xt.top)),this.newIndex=pt):Gt||pt>this.index&&dt.left+Qe.left+nr.width>=Xt.left?(hr.x=-(this.width+this.marginOffset.x),this.newIndex=pt):(Jt||pt<this.index&&dt.left+Qe.left<=Xt.left+nr.width)&&(hr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=pt)):this.axis.y&&(Gt||pt>this.index&&dt.top+Qe.top+nr.height>=Xt.top?(hr.y=-(this.height+this.marginOffset.y),this.newIndex=pt):(Jt||pt<this.index&&dt.top+Qe.top<=Xt.top+nr.height)&&(hr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=pt))),C(Pe,hr),et[me].translate=hr}this.newIndex==null&&(this.newIndex=this.index),Ze&&(this.newIndex=oe);var se=Ze?this.prevIndex:oe;_t&&this.newIndex!==se&&_t({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:se,isKeySorting:Ze,nodes:et,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return f()(st.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 ke=this.props.getContainer;return typeof ke!="function"?Object(t.findDOMNode)(this):ke(st.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var ke=st.withRef?"wrappedInstance":null;return Object(s.createElement)(_e,Object(d.a)({ref:ke},x(this.props,lt)))}},{key:"helperContainer",get:function(){var ke=this.props.helperContainer;return typeof ke=="function"?ke():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var ke=this.props.useWindowAsScrollContainer;return ke?{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}}}]),Mt}(s.Component),Object(a.a)(De,"displayName",M("sortableList",_e)),Object(a.a)(De,"defaultProps",bt),Object(a.a)(De,"propTypes",Fe),Object(a.a)(De,"childContextTypes",{manager:u.a.object.isRequired}),Ie}var vt={index:u.a.number.isRequired,collection:u.a.oneOfType([u.a.number,u.a.string]),disabled:u.a.bool},Ge=Object.keys(vt);function At(_e){var De,Ie,st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ie=De=function(Et){Object(i.a)(Mt,Et);function Mt(){return Object(p.a)(this,Mt),Object(b.a)(this,Object(h.a)(Mt).apply(this,arguments))}return Object(A.a)(Mt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(ke){this.node&&(ke.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),ke.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),ke.collection!==this.props.collection&&(this.unregister(ke.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var ke=this.props,zt=ke.collection,Ot=ke.disabled,_t=ke.index,Ve=Object(t.findDOMNode)(this);Ve.sortableInfo={collection:zt,disabled:Ot,index:_t,manager:this.context.manager},this.node=Ve,this.ref={node:Ve},this.context.manager.add(zt,this.ref)}},{key:"unregister",value:function(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(ke,this.ref)}},{key:"getWrappedInstance",value:function(){return f()(st.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 ke=st.withRef?"wrappedInstance":null;return Object(s.createElement)(_e,Object(d.a)({ref:ke},x(this.props,Ge)))}}]),Mt}(s.Component),Object(a.a)(De,"displayName",M("sortableElement",_e)),Object(a.a)(De,"contextTypes",{manager:u.a.object.isRequired}),Object(a.a)(De,"propTypes",vt),Object(a.a)(De,"defaultProps",{collection:0}),Ie}},YNAk:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("QyFq")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CaretDownFilled";var h=g.forwardRef(b);F.default=h},YNf1:function(J,F,e){var d=e("IwbS"),E=e("6Ic6"),g=.3,p=E.extend({type:"parallel",init:function(){this._dataGroup=new d.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(l,n,u,t){var c=this._dataGroup,o=l.getData(),f=this._data,v=l.coordinateSystem,y=v.dimensions,L=i(l);o.diff(f).add(S).update(x).remove(O).execute();function S(w){var C=h(o,c,w,y,v);r(C,o,w,L)}function x(w,C){var N=f.getItemGraphicEl(C),D=b(o,w,y,v);o.setItemGraphicEl(w,N);var B=t&&t.animation===!1?null:l;d.updateProps(N,{shape:{points:D}},B,w),r(N,o,w,L)}function O(w){var C=f.getItemGraphicEl(w);c.remove(C)}if(!this._initialized){this._initialized=!0;var T=A(v,l,function(){setTimeout(function(){c.removeClipPath()})});c.setClipPath(T)}this._data=o},incrementalPrepareRender:function(l,n,u){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(l,n,u){for(var t=n.getData(),c=n.coordinateSystem,o=c.dimensions,f=i(n),v=l.start;v<l.end;v++){var y=h(t,this._dataGroup,v,o,c);y.incremental=!0,r(y,t,v,f)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function A(l,n,u){var t=l.model,c=l.getRect(),o=new d.Rect({shape:{x:c.x,y:c.y,width:c.width,height:c.height}}),f=t.get("layout")==="horizontal"?"width":"height";return o.setShape(f,0),d.initProps(o,{shape:{width:c.width,height:c.height}},n,u),o}function b(l,n,u,t){for(var c=[],o=0;o<u.length;o++){var f=u[o],v=l.get(l.mapDimension(f),n);a(v,t.getAxis(f).type)||c.push(t.dataToPoint(v,f))}return c}function h(l,n,u,t,c){var o=b(l,u,t,c),f=new d.Polyline({shape:{points:o},silent:!0,z2:10});return n.add(f),l.setItemGraphicEl(u,f),f}function i(l){var n=l.get("smooth",!0);return n===!0&&(n=g),{lineStyle:l.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:g}}function r(l,n,u,t){var c=t.lineStyle;if(n.hasItemOption){var o=n.getItemModel(u).getModel("lineStyle");c=o.getLineStyle()}l.useStyle(c);var f=l.style;f.fill=null,f.stroke=n.getItemVisual(u,"color"),f.opacity=n.getItemVisual(u,"opacity"),t.smooth&&(l.shape.smooth=t.smooth)}function a(l,n){return n==="category"?l==null:l==null||isNaN(l)}var s=p;J.exports=s},YOMW:function(J,F,e){var d=e("bYtY"),E={get:function(A,b,h){var i=d.clone((g[A]||{})[b]);return h&&d.isArray(i)?i[i.length-1]:i}},g={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},p=E;J.exports=p},YXkt:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("Qxkt"),A=e("gPAo"),b=e("7G+c"),h=e("KxfA"),i=h.defaultDimValueGetters,r=h.DefaultDataProvider,a=e("L0Ub"),s=a.summarizeDimensions,l=e("Vi4m"),n=g.isObject,u="undefined",t=-1,c="e\0\0",o={float:typeof Float64Array===u?Array:Float64Array,int:typeof Int32Array===u?Array:Int32Array,ordinal:Array,number:Array,time:Array},f=typeof Uint32Array===u?Array:Uint32Array,v=typeof Int32Array===u?Array:Int32Array,y=typeof Uint16Array===u?Array:Uint16Array;function L(_){return _._rawCount>65535?f:y}function S(_){var Q=_.constructor;return Q===Array?_.slice():new Q(_)}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],O=["_extent","_approximateExtent","_rawExtent"];function T(_,Q){g.each(x.concat(Q.__wrappedMethods||[]),function(X){Q.hasOwnProperty(X)&&(_[X]=Q[X])}),_.__wrappedMethods=Q.__wrappedMethods,g.each(O,function(X){_[X]=g.clone(Q[X])}),_._calculationInfo=g.extend(Q._calculationInfo)}var w=function(_,Q){_=_||["x","y"];for(var X={},he=[],te={},fe=0;fe<_.length;fe++){var be=_[fe];g.isString(be)?be=new l({name:be}):be instanceof l||(be=new l(be));var we=be.name;be.type=be.type||"float",be.coordDim||(be.coordDim=we,be.coordDimIndex=0),be.otherDims=be.otherDims||{},he.push(we),X[we]=be,be.index=fe,be.createInvertedIndices&&(te[we]=[])}this.dimensions=he,this._dimensionInfos=X,this.hostModel=Q,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=s(this),this._invertedIndicesMap=te,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=w.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(_){return(typeof _=="number"||!isNaN(_)&&!this._dimensionInfos.hasOwnProperty(_))&&(_=this.dimensions[_]),_},C.getDimensionInfo=function(_){return this._dimensionInfos[this.getDimension(_)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(_,Q){var X=this._dimensionsSummary;if(Q==null)return X.encodeFirstDimNotExtra[_];var he=X.encode[_];return Q===!0?(he||[]).slice():he&&he[Q]},C.initData=function(_,Q,X){var he=b.isInstance(_)||g.isArrayLike(_);he&&(_=new r(_,this.dimensions.length)),this._rawData=_,this._storage={},this._indices=null,this._nameList=Q||[],this._idList=[],this._nameRepeatCount={},X||(this.hasItemOption=!1),this.defaultDimValueGetter=i[this._rawData.getSource().sourceFormat],this._dimValueGetter=X=X||this.defaultDimValueGetter,this._dimValueGetterArrayRows=i.arrayRows,this._rawExtent={},this._initDataFromProvider(0,_.count()),_.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(_){var Q=this._rawData,X=this.count();Q.appendData(_);var he=Q.count();Q.persistent||(he+=X),this._initDataFromProvider(X,he)},C.appendValues=function(_,Q){for(var X=this._chunkSize,he=this._storage,te=this.dimensions,fe=te.length,be=this._rawExtent,we=this.count(),Ke=we+Math.max(_.length,Q?Q.length:0),qe=this._chunkCount,xt=0;xt<fe;xt++){var Fe=te[xt];be[Fe]||(be[Fe]=k()),he[Fe]||(he[Fe]=[]),N(he,this._dimensionInfos[Fe],X,qe,Ke),this._chunkCount=he[Fe].length}for(var Be=new Array(fe),bt=we;bt<Ke;bt++){for(var lt=bt-we,tt=Math.floor(bt/X),St=bt%X,ht=0;ht<fe;ht++){var Fe=te[ht],vt=this._dimValueGetterArrayRows(_[lt]||Be,Fe,lt,ht);he[Fe][tt][St]=vt;var Ge=be[Fe];vt<Ge[0]&&(Ge[0]=vt),vt>Ge[1]&&(Ge[1]=vt)}Q&&(this._nameList[bt]=Q[lt])}this._rawCount=this._count=Ke,this._extent={},D(this)},C._initDataFromProvider=function(_,Q){if(_>=Q)return;for(var X=this._chunkSize,he=this._rawData,te=this._storage,fe=this.dimensions,be=fe.length,we=this._dimensionInfos,Ke=this._nameList,qe=this._idList,xt=this._rawExtent,Fe=this._nameRepeatCount={},Be,bt=this._chunkCount,lt=0;lt<be;lt++){var tt=fe[lt];xt[tt]||(xt[tt]=k());var St=we[tt];St.otherDims.itemName===0&&(Be=this._nameDimIdx=lt),St.otherDims.itemId===0&&(this._idDimIdx=lt),te[tt]||(te[tt]=[]),N(te,St,X,bt,Q),this._chunkCount=te[tt].length}for(var ht=new Array(be),vt=_;vt<Q;vt++){ht=he.getItem(vt,ht);for(var Ge=Math.floor(vt/X),At=vt%X,_e=0;_e<be;_e++){var tt=fe[_e],De=te[tt][Ge],Ie=this._dimValueGetter(ht,tt,vt,_e);De[At]=Ie;var st=xt[tt];Ie<st[0]&&(st[0]=Ie),Ie>st[1]&&(st[1]=Ie)}if(!he.pure){var Et=Ke[vt];if(ht&&Et==null){if(ht.name!=null)Ke[vt]=Et=ht.name;else if(Be!=null){var Mt=fe[Be],Pt=te[Mt][Ge];if(Pt){Et=Pt[At];var ke=we[Mt].ordinalMeta;ke&&ke.categories.length&&(Et=ke.categories[Et])}}}var zt=ht==null?null:ht.id;zt==null&&Et!=null&&(Fe[Et]=Fe[Et]||0,zt=Et,Fe[Et]>0&&(zt+="__ec__"+Fe[Et]),Fe[Et]++),zt!=null&&(qe[vt]=zt)}}!he.persistent&&he.clean&&he.clean(),this._rawCount=this._count=Q,this._extent={},D(this)};function N(_,Q,X,he,te){var fe=o[Q.type],be=he-1,we=Q.name,Ke=_[we][be];if(Ke&&Ke.length<X){for(var qe=new fe(Math.min(te-be*X,X)),xt=0;xt<Ke.length;xt++)qe[xt]=Ke[xt];_[we][be]=qe}for(var Fe=he*X;Fe<te;Fe+=X)_[we].push(new fe(Math.min(te-Fe,X)))}function D(_){var Q=_._invertedIndicesMap;g.each(Q,function(X,he){var te=_._dimensionInfos[he],fe=te.ordinalMeta;if(fe){X=Q[he]=new v(fe.categories.length);for(var be=0;be<X.length;be++)X[be]=t;for(var be=0;be<_._count;be++)X[_.get(he,be)]=be}})}function B(_,Q,X){var he;if(Q!=null){var te=_._chunkSize,fe=Math.floor(X/te),be=X%te,we=_.dimensions[Q],Ke=_._storage[we][fe];if(Ke){he=Ke[be];var qe=_._dimensionInfos[we].ordinalMeta;qe&&qe.categories.length&&(he=qe.categories[he])}}return he}C.count=function(){return this._count},C.getIndices=function(){var _,Q=this._indices;if(Q){var X=Q.constructor,he=this._count;if(X===Array){_=new X(he);for(var te=0;te<he;te++)_[te]=Q[te]}else _=new X(Q.buffer,0,he)}else for(var X=L(this),_=new X(this.count()),te=0;te<_.length;te++)_[te]=te;return _},C.get=function(_,Q){if(!(Q>=0&&Q<this._count))return NaN;var X=this._storage;if(!X[_])return NaN;Q=this.getRawIndex(Q);var he=Math.floor(Q/this._chunkSize),te=Q%this._chunkSize,fe=X[_][he],be=fe[te];return be},C.getByRawIndex=function(_,Q){if(!(Q>=0&&Q<this._rawCount))return NaN;var X=this._storage[_];if(!X)return NaN;var he=Math.floor(Q/this._chunkSize),te=Q%this._chunkSize,fe=X[he];return fe[te]},C._getFast=function(_,Q){var X=Math.floor(Q/this._chunkSize),he=Q%this._chunkSize,te=this._storage[_][X];return te[he]},C.getValues=function(_,Q){var X=[];g.isArray(_)||(Q=_,_=this.dimensions);for(var he=0,te=_.length;he<te;he++)X.push(this.get(_[he],Q));return X},C.hasValue=function(_){for(var Q=this._dimensionsSummary.dataDimsOnCoord,X=0,he=Q.length;X<he;X++)if(isNaN(this.get(Q[X],_)))return!1;return!0},C.getDataExtent=function(_){_=this.getDimension(_);var Q=this._storage[_],X=k();if(!Q)return X;var he=this.count(),te=!this._indices,fe;if(te)return this._rawExtent[_].slice();if(fe=this._extent[_],fe)return fe.slice();fe=X;for(var be=fe[0],we=fe[1],Ke=0;Ke<he;Ke++){var qe=this._getFast(_,this.getRawIndex(Ke));qe<be&&(be=qe),qe>we&&(we=qe)}return fe=[be,we],this._extent[_]=fe,fe},C.getApproximateExtent=function(_){return _=this.getDimension(_),this._approximateExtent[_]||this.getDataExtent(_)},C.setApproximateExtent=function(_,Q){Q=this.getDimension(Q),this._approximateExtent[Q]=_.slice()},C.getCalculationInfo=function(_){return this._calculationInfo[_]},C.setCalculationInfo=function(_,Q){n(_)?g.extend(this._calculationInfo,_):this._calculationInfo[_]=Q},C.getSum=function(_){var Q=this._storage[_],X=0;if(Q)for(var he=0,te=this.count();he<te;he++){var fe=this.get(_,he);isNaN(fe)||(X+=fe)}return X},C.getMedian=function(_){var Q=[];this.each(_,function(te,fe){isNaN(te)||Q.push(te)});var X=[].concat(Q).sort(function(te,fe){return te-fe}),he=this.count();return he===0?0:he%2===1?X[(he-1)/2]:(X[he/2]+X[he/2-1])/2},C.rawIndexOf=function(_,Q){var X=_&&this._invertedIndicesMap[_],he=X[Q];return he==null||isNaN(he)?t:he},C.indexOfName=function(_){for(var Q=0,X=this.count();Q<X;Q++)if(this.getName(Q)===_)return Q;return-1},C.indexOfRawIndex=function(_){if(_>=this._rawCount||_<0)return-1;if(!this._indices)return _;var Q=this._indices,X=Q[_];if(X!=null&&X<this._count&&X===_)return _;for(var he=0,te=this._count-1;he<=te;){var fe=(he+te)/2|0;if(Q[fe]<_)he=fe+1;else if(Q[fe]>_)te=fe-1;else return fe}return-1},C.indicesOfNearest=function(_,Q,X){var he=this._storage,te=he[_],fe=[];if(!te)return fe;X==null&&(X=Infinity);for(var be=Infinity,we=-1,Ke=0,qe=0,xt=this.count();qe<xt;qe++){var Fe=Q-this.get(_,qe),Be=Math.abs(Fe);Be<=X&&((Be<be||Be===be&&Fe>=0&&we<0)&&(be=Be,we=Fe,Ke=0),Fe===we&&(fe[Ke++]=qe))}return fe.length=Ke,fe},C.getRawIndex=R;function R(_){return _}function U(_){return _<this._count&&_>=0?this._indices[_]:-1}C.getRawDataItem=function(_){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(_));for(var Q=[],X=0;X<this.dimensions.length;X++){var he=this.dimensions[X];Q.push(this.get(he,_))}return Q},C.getName=function(_){var Q=this.getRawIndex(_);return this._nameList[Q]||B(this,this._nameDimIdx,Q)||""},C.getId=function(_){return M(this,this.getRawIndex(_))};function M(_,Q){var X=_._idList[Q];return X==null&&(X=B(_,_._idDimIdx,Q)),X==null&&(X=c+Q),X}function j(_){return g.isArray(_)||(_=[_]),_}function P(_,Q){for(var X=0;X<Q.length;X++)_._dimensionInfos[Q[X]]||console.error("Unkown dimension "+Q[X])}C.each=function(_,Q,X,he){"use strict";if(!this._count)return;typeof _=="function"&&(he=X,X=Q,Q=_,_=[]),X=X||he||this,_=g.map(j(_),this.getDimension,this);for(var te=_.length,fe=0;fe<this.count();fe++)switch(te){case 0:Q.call(X,fe);break;case 1:Q.call(X,this.get(_[0],fe),fe);break;case 2:Q.call(X,this.get(_[0],fe),this.get(_[1],fe),fe);break;default:for(var be=0,we=[];be<te;be++)we[be]=this.get(_[be],fe);we[be]=fe,Q.apply(X,we)}},C.filterSelf=function(_,Q,X,he){"use strict";if(!this._count)return;typeof _=="function"&&(he=X,X=Q,Q=_,_=[]),X=X||he||this,_=g.map(j(_),this.getDimension,this);for(var te=this.count(),fe=L(this),be=new fe(te),we=[],Ke=_.length,qe=0,xt=_[0],Fe=0;Fe<te;Fe++){var Be,bt=this.getRawIndex(Fe);if(Ke===0)Be=Q.call(X,Fe);else if(Ke===1){var lt=this._getFast(xt,bt);Be=Q.call(X,lt,Fe)}else{for(var tt=0;tt<Ke;tt++)we[tt]=this._getFast(xt,bt);we[tt]=Fe,Be=Q.apply(X,we)}Be&&(be[qe++]=bt)}return qe<te&&(this._indices=be),this._count=qe,this._extent={},this.getRawIndex=this._indices?U:R,this},C.selectRange=function(_){"use strict";if(!this._count)return;var Q=[];for(var X in _)_.hasOwnProperty(X)&&Q.push(X);var he=Q.length;if(!he)return;var te=this.count(),fe=L(this),be=new fe(te),we=0,Ke=Q[0],qe=_[Ke][0],xt=_[Ke][1],Fe=!1;if(!this._indices){var Be=0;if(he===1){for(var bt=this._storage[Q[0]],lt=0;lt<this._chunkCount;lt++)for(var tt=bt[lt],St=Math.min(this._count-lt*this._chunkSize,this._chunkSize),ht=0;ht<St;ht++){var vt=tt[ht];(vt>=qe&&vt<=xt||isNaN(vt))&&(be[we++]=Be),Be++}Fe=!0}else if(he===2){for(var bt=this._storage[Ke],Ge=this._storage[Q[1]],At=_[Q[1]][0],_e=_[Q[1]][1],lt=0;lt<this._chunkCount;lt++)for(var tt=bt[lt],De=Ge[lt],St=Math.min(this._count-lt*this._chunkSize,this._chunkSize),ht=0;ht<St;ht++){var vt=tt[ht],Ie=De[ht];(vt>=qe&&vt<=xt||isNaN(vt))&&(Ie>=At&&Ie<=_e||isNaN(Ie))&&(be[we++]=Be),Be++}Fe=!0}}if(!Fe)if(he===1)for(var ht=0;ht<te;ht++){var st=this.getRawIndex(ht),vt=this._getFast(Ke,st);(vt>=qe&&vt<=xt||isNaN(vt))&&(be[we++]=st)}else for(var ht=0;ht<te;ht++){for(var Et=!0,st=this.getRawIndex(ht),lt=0;lt<he;lt++){var Mt=Q[lt],vt=this._getFast(X,st);(vt<_[Mt][0]||vt>_[Mt][1])&&(Et=!1)}Et&&(be[we++]=this.getRawIndex(ht))}return we<te&&(this._indices=be),this._count=we,this._extent={},this.getRawIndex=this._indices?U:R,this},C.mapArray=function(_,Q,X,he){"use strict";typeof _=="function"&&(he=X,X=Q,Q=_,_=[]),X=X||he||this;var te=[];return this.each(_,function(){te.push(Q&&Q.apply(this,arguments))},X),te};function K(_,Q){var X=_.dimensions,he=new w(g.map(X,_.getDimensionInfo,_),_.hostModel);T(he,_);for(var te=he._storage={},fe=_._storage,be=0;be<X.length;be++){var we=X[be];fe[we]&&(g.indexOf(Q,we)>=0?(te[we]=H(fe[we]),he._rawExtent[we]=k(),he._extent[we]=null):te[we]=fe[we])}return he}function H(_){for(var Q=new Array(_.length),X=0;X<_.length;X++)Q[X]=S(_[X]);return Q}function k(){return[Infinity,-Infinity]}C.map=function(_,Q,X,he){"use strict";X=X||he||this,_=g.map(j(_),this.getDimension,this);var te=K(this,_);te._indices=this._indices,te.getRawIndex=te._indices?U:R;for(var fe=te._storage,be=[],we=this._chunkSize,Ke=_.length,qe=this.count(),xt=[],Fe=te._rawExtent,Be=0;Be<qe;Be++){for(var bt=0;bt<Ke;bt++)xt[bt]=this.get(_[bt],Be);xt[Ke]=Be;var lt=Q&&Q.apply(X,xt);if(lt!=null){typeof lt!="object"&&(be[0]=lt,lt=be);for(var tt=this.getRawIndex(Be),St=Math.floor(tt/we),ht=tt%we,vt=0;vt<lt.length;vt++){var Ge=_[vt],At=lt[vt],_e=Fe[Ge],De=fe[Ge];De&&(De[St][ht]=At),At<_e[0]&&(_e[0]=At),At>_e[1]&&(_e[1]=At)}}}return te},C.downSample=function(_,Q,X,he){for(var te=K(this,[_]),fe=te._storage,be=[],we=Math.floor(1/Q),Ke=fe[_],qe=this.count(),xt=this._chunkSize,Fe=te._rawExtent[_],Be=new(L(this))(qe),bt=0,lt=0;lt<qe;lt+=we){we>qe-lt&&(we=qe-lt,be.length=we);for(var tt=0;tt<we;tt++){var St=this.getRawIndex(lt+tt),ht=Math.floor(St/xt),vt=St%xt;be[tt]=Ke[ht][vt]}var Ge=X(be),At=this.getRawIndex(Math.min(lt+he(be,Ge)||0,qe-1)),_e=Math.floor(At/xt),De=At%xt;Ke[_e][De]=Ge,Ge<Fe[0]&&(Fe[0]=Ge),Ge>Fe[1]&&(Fe[1]=Ge),Be[bt++]=At}return te._count=bt,te._indices=Be,te.getRawIndex=U,te},C.getItemModel=function(_){var Q=this.hostModel;return new p(this.getRawDataItem(_),Q,Q&&Q.ecModel)},C.diff=function(_){var Q=this;return new A(_?_.getIndices():[],this.getIndices(),function(X){return M(_,X)},function(X){return M(Q,X)})},C.getVisual=function(_){var Q=this._visual;return Q&&Q[_]},C.setVisual=function(_,Q){if(n(_)){for(var X in _)_.hasOwnProperty(X)&&this.setVisual(X,_[X]);return}this._visual=this._visual||{},this._visual[_]=Q},C.setLayout=function(_,Q){if(n(_)){for(var X in _)_.hasOwnProperty(X)&&this.setLayout(X,_[X]);return}this._layout[_]=Q},C.getLayout=function(_){return this._layout[_]},C.getItemLayout=function(_){return this._itemLayouts[_]},C.setItemLayout=function(_,Q,X){this._itemLayouts[_]=X?g.extend(this._itemLayouts[_]||{},Q):Q},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(_,Q,X){var he=this._itemVisuals[_],te=he&&he[Q];return te==null&&!X?this.getVisual(Q):te},C.setItemVisual=function(_,Q,X){var he=this._itemVisuals[_]||{},te=this.hasItemVisual;if(this._itemVisuals[_]=he,n(Q)){for(var fe in Q)Q.hasOwnProperty(fe)&&(he[fe]=Q[fe],te[fe]=!0);return}he[Q]=X,te[Q]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var Z=function(_){_.seriesIndex=this.seriesIndex,_.dataIndex=this.dataIndex,_.dataType=this.dataType};C.setItemGraphicEl=function(_,Q){var X=this.hostModel;Q&&(Q.dataIndex=_,Q.dataType=this.dataType,Q.seriesIndex=X&&X.seriesIndex,Q.type==="group"&&Q.traverse(Z,Q)),this._graphicEls[_]=Q},C.getItemGraphicEl=function(_){return this._graphicEls[_]},C.eachItemGraphicEl=function(_,Q){g.each(this._graphicEls,function(X,he){X&&(_&&_.call(Q,X,he))})},C.cloneShallow=function(_){if(!_){var Q=g.map(this.dimensions,this.getDimensionInfo,this);_=new w(Q,this.hostModel)}if(_._storage=this._storage,T(_,this),this._indices){var X=this._indices.constructor;_._indices=new X(this._indices)}else _._indices=null;return _.getRawIndex=_._indices?U:R,_},C.wrapMethod=function(_,Q){var X=this[_];if(typeof X!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(_),this[_]=function(){var he=X.apply(this,arguments);return Q.apply(this,[he].concat(g.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var Y=w;J.exports=Y},YgsL:function(J,F,e){var d=e("QBsz"),E=d.distance;function g(A,b,h,i,r,a,s){var l=(h-A)*.5,n=(i-b)*.5;return(2*(b-h)+l+n)*s+(-3*(b-h)-2*l-n)*a+l*r+b}function p(A,b){for(var h=A.length,i=[],r=0,a=1;a<h;a++)r+=E(A[a-1],A[a]);var s=r/2;s=s<h?h:s;for(var a=0;a<s;a++){var l=a/(s-1)*(b?h:h-1),n=Math.floor(l),u=l-n,t,c=A[n%h],o,f;b?(t=A[(n-1+h)%h],o=A[(n+1)%h],f=A[(n+2)%h]):(t=A[n===0?n:n-1],o=A[n>h-2?h-1:n+1],f=A[n>h-3?h-1:n+2]);var v=u*u,y=u*v;i.push([g(t[0],c[0],o[0],f[0],u,v,y),g(t[1],c[1],o[1],f[1],u,v,y)])}return i}J.exports=p},Yl7c:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=".",A="___EC__COMPONENT__CONTAINER___";function b(t){var c={main:"",sub:""};return t&&(t=t.split(p),c.main=t[0]||"",c.sub=t[1]||""),c}function h(t){g.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function i(t,c){t.$constructor=t,t.extend=function(o){var f=this,v=function(){o.$constructor?o.$constructor.apply(this,arguments):f.apply(this,arguments)};return g.extend(v.prototype,o),v.extend=this.extend,v.superCall=s,v.superApply=l,g.inherits(v,this),v.superClass=f,v}}var r=0;function a(t){var c=["__\0is_clz",r++,Math.random().toFixed(3)].join("_");t.prototype[c]=!0,t.isInstance=function(o){return!!(o&&o[c])}}function s(t,c){var o=g.slice(arguments,2);return this.superClass.prototype[c].apply(t,o)}function l(t,c,o){return this.superClass.prototype[c].apply(t,o)}function n(t,c){c=c||{};var o={};t.registerClass=function(y,L){if(L){if(h(L),L=b(L),!L.sub)o[L.main]=y;else if(L.sub!==A){var S=f(L);S[L.sub]=y}}return y},t.getClass=function(y,L,S){var x=o[y];if(x&&x[A]&&(x=L?x[L]:null),S&&!x)throw new Error(L?"Component "+y+"."+(L||"")+" not exists. Load it first.":y+".type should be specified.");return x},t.getClassesByMainType=function(y){y=b(y);var L=[],S=o[y.main];return S&&S[A]?g.each(S,function(x,O){O!==A&&L.push(x)}):L.push(S),L},t.hasClass=function(y){return y=b(y),!!o[y.main]},t.getAllClassMainTypes=function(){var y=[];return g.each(o,function(L,S){y.push(S)}),y},t.hasSubTypes=function(y){y=b(y);var L=o[y.main];return L&&L[A]},t.parseClassType=b;function f(y){var L=o[y.main];return(!L||!L[A])&&(L=o[y.main]={},L[A]=!0),L}if(c.registerWhenExtend){var v=t.extend;v&&(t.extend=function(y){var L=v.call(this,y);return t.registerClass(L,y.type)})}return t}function u(t,c){}F.parseClassType=b,F.enableClassExtend=i,F.enableClassCheck=a,F.enableClassManagement=n,F.setReadOnly=u},Ynxi:function(J,F,e){var d=e("bYtY"),E=e("ProS"),g=e("IwbS"),p=e("+TT/"),A=p.getLayoutRect,b=e("7aKB"),h=b.windowOpen;E.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"}}}),E.extendComponentView({type:"title",render:function(i,r,a){if(this.group.removeAll(),!i.get("show"))return;var s=this.group,l=i.getModel("textStyle"),n=i.getModel("subtextStyle"),u=i.get("textAlign"),t=d.retrieve2(i.get("textBaseline"),i.get("textVerticalAlign")),c=new g.Text({style:g.setTextStyle({},l,{text:i.get("text"),textFill:l.getTextColor()},{disableBox:!0}),z2:10}),o=c.getBoundingRect(),f=i.get("subtext"),v=new g.Text({style:g.setTextStyle({},n,{text:f,textFill:n.getTextColor(),y:o.height+i.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),y=i.get("link"),L=i.get("sublink"),S=i.get("triggerEvent",!0);c.silent=!y&&!S,v.silent=!L&&!S,y&&c.on("click",function(){h(y,"_"+i.get("target"))}),L&&v.on("click",function(){h(y,"_"+i.get("subtarget"))}),c.eventData=v.eventData=S?{componentType:"title",componentIndex:i.componentIndex}:null,s.add(c),f&&s.add(v);var x=s.getBoundingRect(),O=i.getBoxLayoutParams();O.width=x.width,O.height=x.height;var T=A(O,{width:a.getWidth(),height:a.getHeight()},i.get("padding"));u||(u=i.get("left")||i.get("right"),u==="middle"&&(u="center"),u==="right"?T.x+=T.width:u==="center"&&(T.x+=T.width/2)),t||(t=i.get("top")||i.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?T.y+=T.height:t==="middle"&&(T.y+=T.height/2),t=t||"top"),s.attr("position",[T.x,T.y]);var w={textAlign:u,textVerticalAlign:t};c.setStyle(w),v.setStyle(w),x=s.getBoundingRect();var C=T.margin,N=i.getItemStyle(["color","opacity"]);N.fill=i.get("backgroundColor");var D=new g.Rect({shape:{x:x.x-C[3],y:x.y-C[0],width:x.width+C[1]+C[3],height:x.height+C[0]+C[2],r:i.get("borderRadius")},style:N,subPixelOptimize:!0,silent:!0});s.add(D)}})},YrtM:function(J,F,e){"use strict";e.d(F,"a",function(){return g});var d=e("q1tI"),E=e.n(d);function g(p,A,b){var h=d.useRef({});return(!("value"in h.current)||b(h.current.condition,A))&&(h.current.value=p(),h.current.condition=A),h.current.value}},Ywus:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("DO2E")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DeleteOutlined";var h=g.forwardRef(b);F.default=h},Z0Lh:function(J,F,e){"use strict";var d=e("TqRt");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var E=d(e("pVnL")),g=d(e("HjOm")),p=d(e("Z6rY")),A={lang:(0,E.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"]},g.default),timePickerLocale:(0,E.default)({},p.default)};A.lang.ok="\u786E \u5B9A";var b=A;F.default=b},Z0cm:function(J,F){var e=Array.isArray;J.exports=e},Z1HP:function(J,F,e){var d=e("ycre"),E=e("quyA"),g=e("q4HE");function p(A){return E(A)?g(A):d(A)}J.exports=p},Z1r0:function(J,F){function e(d){var E=d.findComponents({mainType:"legend"});if(!E||!E.length)return;d.eachSeriesByType("graph",function(g){var p=g.getCategoriesData(),A=g.getGraph(),b=A.data,h=p.mapArray(p.getName);b.filterSelf(function(i){var r=b.getItemModel(i),a=r.getShallow("category");if(a!=null){typeof a=="number"&&(a=h[a]);for(var s=0;s<E.length;s++)if(!E[s].isSelected(a))return!1}return!0})},this)}J.exports=e},Z1wy:function(J,F,e){var d=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var E=e("zuHt"),g=e("VPsl"),p=e("9u0u"),A=e("lELe"),b=e("d4KN");d.registerLayout(E),d.registerVisual(g),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,p),d.registerPreprocessor(A),b("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(J,F,e){var d=e("MwEJ"),E=e("T4UG"),g=E.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(p,A){return d(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}});J.exports=g},Z6rY:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},E=d;F.default=E},Z8oC:function(J,F,e){var d=e("y1pI");function E(g,p){var A=this.__data__,b=d(A,g);return b<0?(++this.size,A.push([g,p])):A[b][1]=p,this}J.exports=E},Z8zF:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("bYtY"),A=e("IwbS"),b=e("56rv"),h=b.setLabel,i=e("Qxkt"),r=e("tceW"),a=e("y+Vt"),s=e("4fz+"),l=e("iLNv"),n=l.throttle,u=e("sK/D"),t=u.createClipPath,c=e("wr5s"),o=["itemStyle","barBorderWidth"],f=[0,0];p.extend(i.prototype,r);function v(Z,Y){var _=Z.getArea&&Z.getArea();if(Z.type==="cartesian2d"){var Q=Z.getBaseAxis();if(Q.type!=="category"||!Q.onBand){var X=Y.getLayout("bandWidth");Q.isHorizontal()?(_.x-=X,_.width+=X*2):(_.y-=X,_.height+=X*2)}}return _}var y=g.extendChartView({type:"bar",render:function(Z,Y,_){this._updateDrawMode(Z);var Q=Z.get("coordinateSystem");return(Q==="cartesian2d"||Q==="polar")&&(this._isLargeDraw?this._renderLarge(Z,Y,_):this._renderNormal(Z,Y,_)),this.group},incrementalPrepareRender:function(Z,Y,_){this._clear(),this._updateDrawMode(Z)},incrementalRender:function(Z,Y,_,Q){this._incrementalRenderLarge(Z,Y)},_updateDrawMode:function(Z){var Y=Z.pipelineContext.large;(this._isLargeDraw==null||Y^this._isLargeDraw)&&(this._isLargeDraw=Y,this._clear())},_renderNormal:function(Z,Y,_){var Q=this.group,X=Z.getData(),he=this._data,te=Z.coordinateSystem,fe=te.getBaseAxis(),be;te.type==="cartesian2d"?be=fe.isHorizontal():te.type==="polar"&&(be=fe.dim==="angle");var we=Z.isAnimationEnabled()?Z:null,Ke=Z.get("clip",!0),qe=v(te,X);Q.removeClipPath();var xt=Z.get("roundCap",!0),Fe=Z.get("showBackground",!0),Be=Z.getModel("backgroundStyle"),bt=Be.get("barBorderRadius")||0,lt=[],tt=this._backgroundEls||[];X.diff(he).add(function(vt){var Ge=X.getItemModel(vt),At=C[te.type](X,vt,Ge);if(Fe){var _e=C[te.type](X,vt),De=k(te,be,_e);De.useStyle(Be.getBarItemStyle()),te.type==="cartesian2d"&&De.setShape("r",bt),lt[vt]=De}if(!X.hasValue(vt))return;if(Ke){var Ie=x[te.type](qe,At);if(Ie){Q.remove(st);return}}var st=O[te.type](vt,At,be,we,!1,xt);X.setItemGraphicEl(vt,st),Q.add(st),D(st,X,vt,Ge,At,Z,be,te.type==="polar")}).update(function(vt,Ge){var At=X.getItemModel(vt),_e=C[te.type](X,vt,At);if(Fe){var De=tt[Ge];De.useStyle(Be.getBarItemStyle()),te.type==="cartesian2d"&&De.setShape("r",bt),lt[vt]=De;var Ie=C[te.type](X,vt),st=H(be,Ie,te);A.updateProps(De,{shape:st},we,vt)}var Et=he.getItemGraphicEl(Ge);if(!X.hasValue(vt)){Q.remove(Et);return}if(Ke){var Mt=x[te.type](qe,_e);if(Mt){Q.remove(Et);return}}Et?A.updateProps(Et,{shape:_e},we,vt):Et=O[te.type](vt,_e,be,we,!0,xt),X.setItemGraphicEl(vt,Et),Q.add(Et),D(Et,X,vt,At,_e,Z,be,te.type==="polar")}).remove(function(vt){var Ge=he.getItemGraphicEl(vt);te.type==="cartesian2d"?Ge&&T(vt,we,Ge):Ge&&w(vt,we,Ge)}).execute();var St=this._backgroundGroup||(this._backgroundGroup=new s);St.removeAll();for(var ht=0;ht<lt.length;++ht)St.add(lt[ht]);Q.add(St),this._backgroundEls=lt,this._data=X},_renderLarge:function(Z,Y,_){this._clear(),U(Z,this.group);var Q=Z.get("clip",!0)?t(Z.coordinateSystem,!1,Z):null;Q?this.group.setClipPath(Q):this.group.removeClipPath()},_incrementalRenderLarge:function(Z,Y){this._removeBackground(),U(Y,this.group,!0)},dispose:p.noop,remove:function(Z){this._clear(Z)},_clear:function(Z){var Y=this.group,_=this._data;Z&&Z.get("animation")&&_&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],_.eachItemGraphicEl(function(Q){Q.type==="sector"?w(Q.dataIndex,Z,Q):T(Q.dataIndex,Z,Q)})):Y.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),L=Math.max,S=Math.min,x={cartesian2d:function(Z,Y){var _=Y.width<0?-1:1,Q=Y.height<0?-1:1;_<0&&(Y.x+=Y.width,Y.width=-Y.width),Q<0&&(Y.y+=Y.height,Y.height=-Y.height);var X=L(Y.x,Z.x),he=S(Y.x+Y.width,Z.x+Z.width),te=L(Y.y,Z.y),fe=S(Y.y+Y.height,Z.y+Z.height);Y.x=X,Y.y=te,Y.width=he-X,Y.height=fe-te;var be=Y.width<0||Y.height<0;return _<0&&(Y.x+=Y.width,Y.width=-Y.width),Q<0&&(Y.y+=Y.height,Y.height=-Y.height),be},polar:function(Z){return!1}},O={cartesian2d:function(Z,Y,_,Q,X){var he=new A.Rect({shape:p.extend({},Y),z2:1});if(he.name="item",Q){var te=he.shape,fe=_?"height":"width",be={};te[fe]=0,be[fe]=Y[fe],A[X?"updateProps":"initProps"](he,{shape:be},Q,Z)}return he},polar:function(Z,Y,_,Q,X,he){var te=Y.startAngle<Y.endAngle,fe=!_&&he?c:A.Sector,be=new fe({shape:p.defaults({clockwise:te},Y),z2:1});if(be.name="item",Q){var we=be.shape,Ke=_?"r":"endAngle",qe={};we[Ke]=_?0:Y.startAngle,qe[Ke]=Y[Ke],A[X?"updateProps":"initProps"](be,{shape:qe},Q,Z)}return be}};function T(Z,Y,_){_.style.text=null,A.updateProps(_,{shape:{width:0}},Y,Z,function(){_.parent&&_.parent.remove(_)})}function w(Z,Y,_){_.style.text=null,A.updateProps(_,{shape:{r:_.shape.r0}},Y,Z,function(){_.parent&&_.parent.remove(_)})}var C={cartesian2d:function(Z,Y,_){var Q=Z.getItemLayout(Y),X=_?B(_,Q):0,he=Q.width>0?1:-1,te=Q.height>0?1:-1;return{x:Q.x+he*X/2,y:Q.y+te*X/2,width:Q.width-he*X,height:Q.height-te*X}},polar:function(Z,Y,_){var Q=Z.getItemLayout(Y);return{cx:Q.cx,cy:Q.cy,r0:Q.r0,r:Q.r,startAngle:Q.startAngle,endAngle:Q.endAngle}}};function N(Z){return Z.startAngle!=null&&Z.endAngle!=null&&Z.startAngle===Z.endAngle}function D(Z,Y,_,Q,X,he,te,fe){var be=Y.getItemVisual(_,"color"),we=Y.getItemVisual(_,"opacity"),Ke=Y.getVisual("borderColor"),qe=Q.getModel("itemStyle"),xt=Q.getModel("emphasis.itemStyle").getBarItemStyle();fe||Z.setShape("r",qe.get("barBorderRadius")||0),Z.useStyle(p.defaults({stroke:N(X)?"none":Ke,fill:N(X)?"none":be,opacity:we},qe.getBarItemStyle()));var Fe=Q.getShallow("cursor");Fe&&Z.attr("cursor",Fe);var Be=te?X.height>0?"bottom":"top":X.width>0?"left":"right";fe||h(Z.style,xt,Q,be,he,_,Be),N(X)&&(xt.fill=xt.stroke="none"),A.setHoverStyle(Z,xt)}function B(Z,Y){var _=Z.get(o)||0,Q=isNaN(Y.width)?Number.MAX_VALUE:Math.abs(Y.width),X=isNaN(Y.height)?Number.MAX_VALUE:Math.abs(Y.height);return Math.min(_,Q,X)}var R=a.extend({type:"largeBar",shape:{points:[]},buildPath:function(Z,Y){for(var _=Y.points,Q=this.__startPoint,X=this.__baseDimIdx,he=0;he<_.length;he+=2)Q[X]=_[he+X],Z.moveTo(Q[0],Q[1]),Z.lineTo(_[he],_[he+1])}});function U(Z,Y,_){var Q=Z.getData(),X=[],he=Q.getLayout("valueAxisHorizontal")?1:0;X[1-he]=Q.getLayout("valueAxisStart");var te=Q.getLayout("largeDataIndices"),fe=Q.getLayout("barWidth"),be=Z.getModel("backgroundStyle"),we=Z.get("showBackground",!0);if(we){var Ke=Q.getLayout("largeBackgroundPoints"),qe=[];qe[1-he]=Q.getLayout("backgroundStart");var xt=new R({shape:{points:Ke},incremental:!!_,__startPoint:qe,__baseDimIdx:he,__largeDataIndices:te,__barWidth:fe,silent:!0,z2:0});K(xt,be,Q),Y.add(xt)}var Fe=new R({shape:{points:Q.getLayout("largePoints")},incremental:!!_,__startPoint:X,__baseDimIdx:he,__largeDataIndices:te,__barWidth:fe});Y.add(Fe),P(Fe,Z,Q),Fe.seriesIndex=Z.seriesIndex,Z.get("silent")||(Fe.on("mousedown",M),Fe.on("mousemove",M))}var M=n(function(Z){var Y=this,_=j(Y,Z.offsetX,Z.offsetY);Y.dataIndex=_>=0?_:null},30,!1);function j(Z,Y,_){var Q=Z.__baseDimIdx,X=1-Q,he=Z.shape.points,te=Z.__largeDataIndices,fe=Math.abs(Z.__barWidth/2),be=Z.__startPoint[X];f[0]=Y,f[1]=_;for(var we=f[Q],Ke=f[1-Q],qe=we-fe,xt=we+fe,Fe=0,Be=he.length/2;Fe<Be;Fe++){var bt=Fe*2,lt=he[bt+Q],tt=he[bt+X];if(lt>=qe&<<=xt&&(be<=tt?Ke>=be&&Ke<=tt:Ke>=tt&&Ke<=be))return te[Fe]}return-1}function P(Z,Y,_){var Q=_.getVisual("borderColor")||_.getVisual("color"),X=Y.getModel("itemStyle").getItemStyle(["color","borderColor"]);Z.useStyle(X),Z.style.fill=null,Z.style.stroke=Q,Z.style.lineWidth=_.getLayout("barWidth")}function K(Z,Y,_){var Q=Y.get("borderColor")||Y.get("color"),X=Y.getItemStyle(["color","borderColor"]);Z.useStyle(X),Z.style.fill=null,Z.style.stroke=Q,Z.style.lineWidth=_.getLayout("barWidth")}function H(Z,Y,_){var Q,X=_.type==="polar";return X?Q=_.getArea():Q=_.grid.getRect(),X?{cx:Q.cx,cy:Q.cy,r0:Z?Q.r0:Y.r0,r:Z?Q.r:Y.r,startAngle:Z?Y.startAngle:0,endAngle:Z?Y.endAngle:Math.PI*2}:{x:Z?Y.x:Q.x,y:Z?Q.y:Y.y,width:Z?Y.width:Q.width,height:Z?Q.height:Y.height}}function k(Z,Y,_){var Q=Z.type==="polar"?A.Sector:A.Rect;return new Q({shape:H(Y,_,Z),silent:!0,z2:0})}J.exports=y},ZCgT:function(J,F,e){var d=e("tLB3"),E=1/0,g=17976931348623157e292;function p(A){if(!A)return A===0?A:0;if(A=d(A),A===E||A===-E){var b=A<0?-1:1;return b*g}return A===A?A:0}J.exports=p},ZLWo:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},ZMnZ:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("2oIt")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="UpOutlined";var h=g.forwardRef(b);F.default=h},ZTPi:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("q1tI"),b=e("ODXe"),h=e("Ff2n"),i=e("rePB"),r=e("TSYQ"),a=e.n(r),s=e("Zm9Q"),l=e("6cGi"),n=e("KQm4"),u=e("xEkU"),t=e.n(u),c=e("t23M");function o(Ot){var _t=Object(A.useRef)(),Ve=Object(A.useRef)(!1);function Qe(){for(var et=arguments.length,dt=new Array(et),Ze=0;Ze<et;Ze++)dt[Ze]=arguments[Ze];Ve.current||(t.a.cancel(_t.current),_t.current=t()(function(){Ot.apply(void 0,dt)}))}return Object(A.useEffect)(function(){return function(){Ve.current=!0,t.a.cancel(_t.current)}},[]),Qe}function f(Ot){var _t=Object(A.useRef)([]),Ve=Object(A.useState)({}),Qe=Object(b.a)(Ve,2),et=Qe[1],dt=Object(A.useRef)(typeof Ot=="function"?Ot():Ot),Ze=o(function(){var me=dt.current;_t.current.forEach(function(ot){me=ot(me)}),_t.current=[],dt.current=me,et({})});function oe(me){_t.current.push(me),Ze()}return[dt.current,oe]}var v=e("4IlW");function y(Ot,_t){var Ve,Qe=Ot.prefixCls,et=Ot.id,dt=Ot.active,Ze=Ot.rtl,oe=Ot.tab,me=oe.key,ot=oe.tab,Pe=oe.disabled,pt=oe.closeIcon,Rr=Ot.tabBarGutter,It=Ot.tabPosition,nr=Ot.closable,Gt=Ot.renderWrapper,Jt=Ot.removeAriaLabel,hr=Ot.editable,Xt=Ot.onClick,de=Ot.onRemove,ue=Ot.onFocus,se="".concat(Qe,"-tab");A.useEffect(function(){return de},[]);var ae={};It==="top"||It==="bottom"?ae[Ze?"marginLeft":"marginRight"]=Rr:ae.marginBottom=Rr;var ye=hr&&nr!==!1&&!Pe;function Ce(xe){if(Pe)return;Xt(xe)}function Oe(xe){xe.preventDefault(),xe.stopPropagation(),hr.onEdit("remove",{key:me,event:xe})}var Te=A.createElement("div",{key:me,ref:_t,className:a()(se,(Ve={},Object(i.a)(Ve,"".concat(se,"-with-remove"),ye),Object(i.a)(Ve,"".concat(se,"-active"),dt),Object(i.a)(Ve,"".concat(se,"-disabled"),Pe),Ve)),style:ae,onClick:Ce},A.createElement("div",{role:"tab","aria-selected":dt,id:et&&"".concat(et,"-tab-").concat(me),className:"".concat(se,"-btn"),"aria-controls":et&&"".concat(et,"-panel-").concat(me),"aria-disabled":Pe,tabIndex:Pe?null:0,onClick:function(je){je.stopPropagation(),Ce(je)},onKeyDown:function(je){[v.a.SPACE,v.a.ENTER].includes(je.which)&&(je.preventDefault(),Ce(je))},onFocus:ue},ot),ye&&A.createElement("button",{type:"button","aria-label":Jt||"remove",tabIndex:0,className:"".concat(se,"-remove"),onClick:function(je){je.stopPropagation(),Oe(je)}},pt||hr.removeIcon||"\xD7"));return Gt&&(Te=Gt(Te)),Te}var L=A.forwardRef(y);function S(Ot,_t){var Ve=Object.keys(Ot);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(Ot);_t&&(Qe=Qe.filter(function(et){return Object.getOwnPropertyDescriptor(Ot,et).enumerable})),Ve.push.apply(Ve,Qe)}return Ve}function x(Ot){for(var _t=1;_t<arguments.length;_t++){var Ve=arguments[_t]!=null?arguments[_t]:{};_t%2?S(Object(Ve),!0).forEach(function(Qe){Object(i.a)(Ot,Qe,Ve[Qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ot,Object.getOwnPropertyDescriptors(Ve)):S(Object(Ve)).forEach(function(Qe){Object.defineProperty(Ot,Qe,Object.getOwnPropertyDescriptor(Ve,Qe))})}return Ot}var O={width:0,height:0,left:0,top:0};function T(Ot,_t,Ve){return Object(A.useMemo)(function(){for(var Qe,et=new Map,dt=_t.get((Qe=Ot[0])===null||Qe===void 0?void 0:Qe.key)||O,Ze=dt.left+dt.width,oe=0;oe<Ot.length;oe+=1){var me=Ot[oe].key,ot=_t.get(me);if(!ot){var Pe;ot=_t.get((Pe=Ot[oe-1])===null||Pe===void 0?void 0:Pe.key)||O}var pt=et.get(me)||x({},ot);pt.right=Ze-pt.left-pt.width,et.set(me,pt)}return et},[Ot.map(function(Qe){return Qe.key}).join("_"),_t,Ve])}var w={width:0,height:0,left:0,top:0,right:0};function C(Ot,_t,Ve,Qe,et){var dt=et.tabs,Ze=et.tabPosition,oe=et.rtl,me,ot,Pe;["top","bottom"].includes(Ze)?(me="width",ot=oe?"right":"left",Pe=Math.abs(_t.left)):(me="height",ot="top",Pe=-_t.top);var pt=_t[me],Rr=Ve[me],It=Qe[me],nr=pt;return Rr+It>pt&&(nr=pt-It),Object(A.useMemo)(function(){if(!dt.length)return[0,0];for(var Gt=dt.length,Jt=Gt,hr=0;hr<Gt;hr+=1){var Xt=Ot.get(dt[hr].key)||w;if(Xt[ot]+Xt[me]>Pe+nr){Jt=hr-1;break}}for(var de=0,ue=Gt-1;ue>=0;ue-=1){var se=Ot.get(dt[ue].key)||w;if(se[ot]<Pe){de=ue+1;break}}return[de,Jt]},[Ot,Pe,nr,Ze,dt.map(function(Gt){return Gt.key}).join("_"),oe])}var N=e("1j5w"),D=e("eDIo");function B(Ot,_t){var Ve=Ot.prefixCls,Qe=Ot.editable,et=Ot.locale,dt=Ot.style;return!Qe||Qe.showAdd===!1?null:A.createElement("button",{ref:_t,type:"button",className:"".concat(Ve,"-nav-add"),style:dt,"aria-label":(et==null?void 0:et.addAriaLabel)||"Add tab",onClick:function(oe){Qe.onEdit("add",{event:oe})}},Qe.addIcon||"+")}var R=A.forwardRef(B);function U(Ot,_t){var Ve=Ot.prefixCls,Qe=Ot.id,et=Ot.tabs,dt=Ot.locale,Ze=Ot.mobile,oe=Ot.moreIcon,me=oe===void 0?"More":oe,ot=Ot.moreTransitionName,Pe=Ot.style,pt=Ot.className,Rr=Ot.editable,It=Ot.tabBarGutter,nr=Ot.rtl,Gt=Ot.onTabClick,Jt=Object(A.useState)(!1),hr=Object(b.a)(Jt,2),Xt=hr[0],de=hr[1],ue=Object(A.useState)(null),se=Object(b.a)(ue,2),ae=se[0],ye=se[1],Ce="".concat(Qe,"-more-popup"),Oe="".concat(Ve,"-dropdown"),Te=ae!==null?"".concat(Ce,"-").concat(ae):null,xe=dt==null?void 0:dt.dropdownAriaLabel,je=A.createElement(N.f,{onClick:function(le){var ge=le.key,Ae=le.domEvent;Gt(ge,Ae),de(!1)},id:Ce,tabIndex:-1,role:"listbox","aria-activedescendant":Te,selectedKeys:[ae],"aria-label":xe!==void 0?xe:"expanded dropdown"},et.map(function($){return A.createElement(N.d,{key:$.key,id:"".concat(Ce,"-").concat($.key),role:"option","aria-controls":Qe&&"".concat(Qe,"-panel-").concat($.key),disabled:$.disabled},$.tab)}));function ut($){for(var le=et.filter(function(kt){return!kt.disabled}),ge=le.findIndex(function(kt){return kt.key===ae})||0,Ae=le.length,Me=0;Me<Ae;Me+=1){ge=(ge+$+Ae)%Ae;var $e=le[ge];if(!$e.disabled){ye($e.key);return}}}function wt($){var le=$.which;if(!Xt){[v.a.DOWN,v.a.SPACE,v.a.ENTER].includes(le)&&(de(!0),$.preventDefault());return}switch(le){case v.a.UP:ut(-1),$.preventDefault();break;case v.a.DOWN:ut(1),$.preventDefault();break;case v.a.ESC:de(!1);break;case v.a.SPACE:case v.a.ENTER:ae!==null&&Gt(ae,$);break}}Object(A.useEffect)(function(){var $=document.getElementById(Te);$&&$.scrollIntoView&&$.scrollIntoView(!1)},[ae]),Object(A.useEffect)(function(){Xt||ye(null)},[Xt]);var ee=Object(i.a)({},nr?"marginLeft":"marginRight",It);et.length||(ee.visibility="hidden",ee.order=1);var ie=a()(Object(i.a)({},"".concat(Oe,"-rtl"),nr)),z=Ze?null:A.createElement(D.a,{prefixCls:Oe,overlay:je,trigger:["hover"],visible:Xt,transitionName:ot,onVisibleChange:de,overlayClassName:ie},A.createElement("button",{type:"button",className:"".concat(Ve,"-nav-more"),style:ee,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Ce,id:"".concat(Qe,"-more"),"aria-expanded":Xt,onKeyDown:wt},me));return A.createElement("div",{className:a()("".concat(Ve,"-nav-operations"),pt),style:Pe,ref:_t},z,A.createElement(R,{prefixCls:Ve,locale:dt,editable:Rr}))}var M=A.forwardRef(U),j=Object(A.createContext)(null),P=.1,K=.01,H=20,k=Math.pow(.995,H);function Z(){var Ot=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Ot)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Ot.substr(0,4)))}function Y(Ot,_t){var Ve=Object(A.useState)(),Qe=Object(b.a)(Ve,2),et=Qe[0],dt=Qe[1],Ze=Object(A.useState)(0),oe=Object(b.a)(Ze,2),me=oe[0],ot=oe[1],Pe=Object(A.useState)(0),pt=Object(b.a)(Pe,2),Rr=pt[0],It=pt[1],nr=Object(A.useState)(),Gt=Object(b.a)(nr,2),Jt=Gt[0],hr=Gt[1],Xt=Object(A.useRef)();function de(xe){var je=xe.touches[0],ut=je.screenX,wt=je.screenY;dt({x:ut,y:wt}),window.clearInterval(Xt.current)}function ue(xe){if(!et)return;xe.preventDefault();var je=xe.touches[0],ut=je.screenX,wt=je.screenY;dt({x:ut,y:wt});var ee=ut-et.x,ie=wt-et.y;_t(ee,ie);var z=Date.now();ot(z),It(z-me),hr({x:ee,y:ie})}function se(){if(!et)return;if(dt(null),hr(null),Jt){var xe=Jt.x/Rr,je=Jt.y/Rr,ut=Math.abs(xe),wt=Math.abs(je);if(Math.max(ut,wt)<P)return;var ee=xe,ie=je;Xt.current=window.setInterval(function(){if(Math.abs(ee)<K&&Math.abs(ie)<K){window.clearInterval(Xt.current);return}ee*=k,ie*=k,_t(ee*H,ie*H)},H)}}var ae=Object(A.useRef)(0),ye=Object(A.useRef)(!1),Ce=Object(A.useRef)();function Oe(xe){var je=xe.deltaX,ut=xe.deltaY,wt=0,ee=Math.abs(je),ie=Math.abs(ut);ee===ie?wt=Ce.current==="x"?je:ut:ee>ie?(wt=je,Ce.current="x"):(wt=ut,Ce.current="y");var z=Date.now();z-ae.current>100&&(ye.current=!1),(_t(-wt,-wt)||ye.current)&&(xe.preventDefault(),ye.current=!0),ae.current=z}var Te=Object(A.useRef)(null);Te.current={onTouchStart:de,onTouchMove:ue,onTouchEnd:se,onWheel:Oe},A.useEffect(function(){function xe(ee){Te.current.onTouchStart(ee)}function je(ee){Te.current.onTouchMove(ee)}function ut(ee){Te.current.onTouchEnd(ee)}function wt(ee){Te.current.onWheel(ee)}return document.addEventListener("touchmove",je,{passive:!1}),document.addEventListener("touchend",ut,{passive:!1}),Ot.current.addEventListener("touchstart",xe,{passive:!1}),Ot.current.addEventListener("wheel",wt),function(){document.removeEventListener("touchmove",je),document.removeEventListener("touchend",ut)}},[])}function _(){var Ot=Object(A.useRef)(new Map);function _t(Qe){return Ot.current.has(Qe)||Ot.current.set(Qe,A.createRef()),Ot.current.get(Qe)}function Ve(Qe){Ot.current.delete(Qe)}return[_t,Ve]}function Q(Ot,_t){var Ve=A.useRef(Ot),Qe=A.useState({}),et=Object(b.a)(Qe,2),dt=et[1];function Ze(oe){var me=typeof oe=="function"?oe(Ve.current):oe;me!==Ve.current&&_t(me,Ve.current),Ve.current=me,dt({})}return[Ve.current,Ze]}function X(Ot,_t){var Ve=Object.keys(Ot);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(Ot);_t&&(Qe=Qe.filter(function(et){return Object.getOwnPropertyDescriptor(Ot,et).enumerable})),Ve.push.apply(Ve,Qe)}return Ve}function he(Ot){for(var _t=1;_t<arguments.length;_t++){var Ve=arguments[_t]!=null?arguments[_t]:{};_t%2?X(Object(Ve),!0).forEach(function(Qe){Object(i.a)(Ot,Qe,Ve[Qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ot,Object.getOwnPropertyDescriptors(Ve)):X(Object(Ve)).forEach(function(Qe){Object.defineProperty(Ot,Qe,Object.getOwnPropertyDescriptor(Ve,Qe))})}return Ot}var te=function(_t){var Ve=_t.position,Qe=_t.prefixCls,et=_t.extra;if(!et)return null;var dt,Ze=et;return Ve==="right"&&(dt=Ze.right||!Ze.left&&Ze||null),Ve==="left"&&(dt=Ze.left||null),dt?A.createElement("div",{className:"".concat(Qe,"-extra-content")},dt):null};function fe(Ot,_t){var Ve,Qe=A.useContext(j),et=Qe.prefixCls,dt=Qe.tabs,Ze=Ot.className,oe=Ot.style,me=Ot.id,ot=Ot.animated,Pe=Ot.activeKey,pt=Ot.rtl,Rr=Ot.extra,It=Ot.editable,nr=Ot.locale,Gt=Ot.tabPosition,Jt=Ot.tabBarGutter,hr=Ot.children,Xt=Ot.onTabClick,de=Ot.onTabScroll,ue=Object(A.useRef)(),se=Object(A.useRef)(),ae=Object(A.useRef)(),ye=Object(A.useRef)(),Ce=_(),Oe=Object(b.a)(Ce,2),Te=Oe[0],xe=Oe[1],je=Gt==="top"||Gt==="bottom",ut=Q(0,function(aa,Hi){je&&de&&de({direction:aa>Hi?"left":"right"})}),wt=Object(b.a)(ut,2),ee=wt[0],ie=wt[1],z=Q(0,function(aa,Hi){!je&&de&&de({direction:aa>Hi?"top":"bottom"})}),$=Object(b.a)(z,2),le=$[0],ge=$[1],Ae=Object(A.useState)(0),Me=Object(b.a)(Ae,2),$e=Me[0],kt=Me[1],$t=Object(A.useState)(0),Lt=Object(b.a)($t,2),Ut=Lt[0],Wt=Lt[1],Vt=Object(A.useState)(0),Tt=Object(b.a)(Vt,2),ur=Tt[0],qt=Tt[1],ze=Object(A.useState)(0),nt=Object(b.a)(ze,2),Ye=nt[0],Xe=nt[1],yt=Object(A.useState)(null),mt=Object(b.a)(yt,2),We=mt[0],rt=mt[1],ft=Object(A.useState)(null),Yt=Object(b.a)(ft,2),Ft=Yt[0],fr=Yt[1],mr=Object(A.useState)(0),Er=Object(b.a)(mr,2),Lr=Er[0],en=Er[1],Qr=Object(A.useState)(0),Cr=Object(b.a)(Qr,2),Gr=Cr[0],Nr=Cr[1],lr=f(new Map),pr=Object(b.a)(lr,2),sr=pr[0],dr=pr[1],Sr=T(dt,sr,$e),Xr="".concat(et,"-nav-operations-hidden"),cn=0,Dn=0;je?pt?(cn=0,Dn=Math.max(0,$e-We)):(cn=Math.min(0,We-$e),Dn=0):(cn=Math.min(0,Ft-Ut),Dn=0);function jr(aa){return aa<cn?[cn,!1]:aa>Dn?[Dn,!1]:[aa,!0]}var On=Object(A.useRef)(),gn=Object(A.useState)(),Un=Object(b.a)(gn,2),Wn=Un[0],Jn=Un[1];function Qn(){Jn(Date.now())}function Vn(){window.clearTimeout(On.current)}Y(ue,function(aa,Hi){var ga=!1;function ha(mo,Pn){mo(function(qi){var eo=jr(qi+Pn),Oo=Object(b.a)(eo,2),co=Oo[0],tr=Oo[1];return ga=tr,co})}if(je){if(We>=$e)return ga;ha(ie,aa)}else{if(Ft>=Ut)return ga;ha(ge,Hi)}return Vn(),Qn(),ga}),Object(A.useEffect)(function(){return Vn(),Wn&&(On.current=window.setTimeout(function(){Jn(0)},100)),Vn},[Wn]);function yn(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pe,Hi=Sr.get(aa);if(!Hi)return;if(je){var ga=ee;pt?Hi.right<ee?ga=Hi.right:Hi.right+Hi.width>ee+We&&(ga=Hi.right+Hi.width-We):Hi.left<-ee?ga=-Hi.left:Hi.left+Hi.width>-ee+We&&(ga=-(Hi.left+Hi.width-We)),ge(0),ie(jr(ga)[0])}else{var ha=le;Hi.top<-le?ha=-Hi.top:Hi.top+Hi.height>-le+Ft&&(ha=-(Hi.top+Hi.height-Ft)),ie(0),ge(jr(ha)[0])}}var on=C(Sr,{width:We,height:Ft,left:ee,top:le},{width:ur,height:Ye},{width:Lr,height:Gr},he(he({},Ot),{},{tabs:dt})),ia=Object(b.a)(on,2),xa=ia[0],ta=ia[1],Ni=dt.map(function(aa){var Hi=aa.key;return A.createElement(L,{id:me,prefixCls:et,key:Hi,rtl:pt,tab:aa,closable:aa.closable,editable:It,active:Hi===Pe,tabPosition:Gt,tabBarGutter:Jt,renderWrapper:hr,removeAriaLabel:nr==null?void 0:nr.removeAriaLabel,ref:Te(Hi),onClick:function(ha){Xt(Hi,ha)},onRemove:function(){xe(Hi)},onFocus:function(){yn(Hi),Qn(),pt||(ue.current.scrollLeft=0),ue.current.scrollTop=0}})}),Ci=o(function(){var aa,Hi,ga,ha,mo,Pn,qi,eo,Oo,co=((aa=ue.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,tr=((Hi=ue.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Ir=((ga=ye.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Ur=((ha=ye.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Kr=((mo=ae.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((Pn=ae.current)===null||Pn===void 0?void 0:Pn.offsetHeight)||0;rt(co),fr(tr),en(Ir),Nr(Ur);var Ue=(((qi=se.current)===null||qi===void 0?void 0:qi.offsetWidth)||0)-Ir,Bt=(((eo=se.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Ur;kt(Ue),Wt(Bt);var Zt=(Oo=ae.current)===null||Oo===void 0?void 0:Oo.className.includes(Xr);qt(Ue-(Zt?0:Kr)),Xe(Bt-(Zt?0:hn)),dr(function(){var rr=new Map;return dt.forEach(function(Tr){var br=Tr.key,xr=Te(br).current;xr&&rr.set(br,{width:xr.offsetWidth,height:xr.offsetHeight,left:xr.offsetLeft,top:xr.offsetTop})}),rr})}),Gn=dt.slice(0,xa),Ia=dt.slice(ta+1),mn=[].concat(Object(n.a)(Gn),Object(n.a)(Ia)),In=Object(A.useState)(),Ln=Object(b.a)(In,2),Nn=Ln[0],jn=Ln[1],ni=Sr.get(Pe),di=Object(A.useRef)();function Da(){t.a.cancel(di.current)}Object(A.useEffect)(function(){var aa={};return ni&&(je?(pt?aa.right=ni.right:aa.left=ni.left,aa.width=ni.width):(aa.top=ni.top,aa.height=ni.height)),Da(),di.current=t()(function(){jn(aa)}),Da},[ni,je,pt]),Object(A.useEffect)(function(){yn()},[Pe,ni,Sr,je]),Object(A.useEffect)(function(){Ci()},[pt,Jt,Pe,dt.map(function(aa){return aa.key}).join("_")]);var Xi=!!mn.length,ma="".concat(et,"-nav-wrap"),_a,Xa,Ki,Co;return je?pt?(Xa=ee>0,_a=ee+We<$e):(_a=ee<0,Xa=-ee+We<$e):(Ki=le<0,Co=-le+Ft<Ut),A.createElement("div",{ref:_t,role:"tablist",className:a()("".concat(et,"-nav"),Ze),style:oe,onKeyDown:function(){Qn()}},A.createElement(te,{position:"left",extra:Rr,prefixCls:et}),A.createElement(c.a,{onResize:Ci},A.createElement("div",{className:a()(ma,(Ve={},Object(i.a)(Ve,"".concat(ma,"-ping-left"),_a),Object(i.a)(Ve,"".concat(ma,"-ping-right"),Xa),Object(i.a)(Ve,"".concat(ma,"-ping-top"),Ki),Object(i.a)(Ve,"".concat(ma,"-ping-bottom"),Co),Ve)),ref:ue},A.createElement(c.a,{onResize:Ci},A.createElement("div",{ref:se,className:"".concat(et,"-nav-list"),style:{transform:"translate(".concat(ee,"px, ").concat(le,"px)"),transition:Wn?"none":void 0}},Ni,A.createElement(R,{ref:ye,prefixCls:et,locale:nr,editable:It,style:{visibility:Xi?"hidden":null}}),A.createElement("div",{className:a()("".concat(et,"-ink-bar"),Object(i.a)({},"".concat(et,"-ink-bar-animated"),ot.inkBar)),style:Nn}))))),A.createElement(M,Object.assign({},Ot,{ref:ae,prefixCls:et,tabs:mn,className:!Xi&&Xr})),A.createElement(te,{position:"right",extra:Rr,prefixCls:et}))}var be=A.forwardRef(fe);function we(Ot){var _t=Ot.id,Ve=Ot.activeKey,Qe=Ot.animated,et=Ot.tabPosition,dt=Ot.rtl,Ze=Ot.destroyInactiveTabPane,oe=A.useContext(j),me=oe.prefixCls,ot=oe.tabs,Pe=Qe.tabPane,pt=ot.findIndex(function(Rr){return Rr.key===Ve});return A.createElement("div",{className:a()("".concat(me,"-content-holder"))},A.createElement("div",{className:a()("".concat(me,"-content"),"".concat(me,"-content-").concat(et),Object(i.a)({},"".concat(me,"-content-animated"),Pe)),style:pt&&Pe?Object(i.a)({},dt?"marginRight":"marginLeft","-".concat(pt,"00%")):null},ot.map(function(Rr){return A.cloneElement(Rr.node,{key:Rr.key,prefixCls:me,tabKey:Rr.key,id:_t,animated:Pe,active:Rr.key===Ve,destroyInactiveTabPane:Ze})})))}function Ke(Ot,_t){var Ve=Object.keys(Ot);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(Ot);_t&&(Qe=Qe.filter(function(et){return Object.getOwnPropertyDescriptor(Ot,et).enumerable})),Ve.push.apply(Ve,Qe)}return Ve}function qe(Ot){for(var _t=1;_t<arguments.length;_t++){var Ve=arguments[_t]!=null?arguments[_t]:{};_t%2?Ke(Object(Ve),!0).forEach(function(Qe){Object(i.a)(Ot,Qe,Ve[Qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ot,Object.getOwnPropertyDescriptors(Ve)):Ke(Object(Ve)).forEach(function(Qe){Object.defineProperty(Ot,Qe,Object.getOwnPropertyDescriptor(Ve,Qe))})}return Ot}function xt(Ot){var _t=Ot.prefixCls,Ve=Ot.forceRender,Qe=Ot.className,et=Ot.style,dt=Ot.id,Ze=Ot.active,oe=Ot.animated,me=Ot.destroyInactiveTabPane,ot=Ot.tabKey,Pe=Ot.children,pt=A.useState(Ve),Rr=Object(b.a)(pt,2),It=Rr[0],nr=Rr[1];A.useEffect(function(){Ze?nr(!0):me&&nr(!1)},[Ze,me]);var Gt={};return Ze||(oe?(Gt.visibility="hidden",Gt.height=0,Gt.overflowY="hidden"):Gt.display="none"),A.createElement("div",{id:dt&&"".concat(dt,"-panel-").concat(ot),role:"tabpanel",tabIndex:Ze?0:-1,"aria-labelledby":dt&&"".concat(dt,"-tab-").concat(ot),"aria-hidden":!Ze,style:qe(qe({},Gt),et),className:a()("".concat(_t,"-tabpane"),Ze&&"".concat(_t,"-tabpane-active"),Qe)},(Ze||It||Ve)&&Pe)}function Fe(Ot,_t){var Ve=Object.keys(Ot);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(Ot);_t&&(Qe=Qe.filter(function(et){return Object.getOwnPropertyDescriptor(Ot,et).enumerable})),Ve.push.apply(Ve,Qe)}return Ve}function Be(Ot){for(var _t=1;_t<arguments.length;_t++){var Ve=arguments[_t]!=null?arguments[_t]:{};_t%2?Fe(Object(Ve),!0).forEach(function(Qe){Object(i.a)(Ot,Qe,Ve[Qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ot,Object.getOwnPropertyDescriptors(Ve)):Fe(Object(Ve)).forEach(function(Qe){Object.defineProperty(Ot,Qe,Object.getOwnPropertyDescriptor(Ve,Qe))})}return Ot}var bt=0;function lt(Ot){return Object(s.a)(Ot).map(function(_t){if(A.isValidElement(_t)){var Ve=_t.key!==void 0?String(_t.key):void 0;return Be(Be({key:Ve},_t.props),{},{node:_t})}return null}).filter(function(_t){return _t})}function tt(Ot,_t){var Ve,Qe=Ot.id,et=Ot.prefixCls,dt=et===void 0?"rc-tabs":et,Ze=Ot.className,oe=Ot.children,me=Ot.direction,ot=Ot.activeKey,Pe=Ot.defaultActiveKey,pt=Ot.editable,Rr=Ot.animated,It=Ot.tabPosition,nr=It===void 0?"top":It,Gt=Ot.tabBarGutter,Jt=Ot.tabBarStyle,hr=Ot.tabBarExtraContent,Xt=Ot.locale,de=Ot.moreIcon,ue=Ot.moreTransitionName,se=Ot.destroyInactiveTabPane,ae=Ot.renderTabBar,ye=Ot.onChange,Ce=Ot.onTabClick,Oe=Ot.onTabScroll,Te=Object(h.a)(Ot,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),xe=lt(oe),je=me==="rtl",ut;Rr===!1?ut={inkBar:!1,tabPane:!1}:ut=Be({inkBar:!0,tabPane:!1},Rr!==!0?Rr:null);var wt=Object(A.useState)(!1),ee=Object(b.a)(wt,2),ie=ee[0],z=ee[1];Object(A.useEffect)(function(){z(Z())},[]);var $=Object(l.a)(function(){var Ye;return(Ye=xe[0])===null||Ye===void 0?void 0:Ye.key},{value:ot,defaultValue:Pe}),le=Object(b.a)($,2),ge=le[0],Ae=le[1],Me=Object(A.useState)(function(){return xe.findIndex(function(Ye){return Ye.key===ge})}),$e=Object(b.a)(Me,2),kt=$e[0],$t=$e[1];Object(A.useEffect)(function(){var Ye=xe.findIndex(function(yt){return yt.key===ge});if(Ye===-1){var Xe;Ye=Math.max(0,Math.min(kt,xe.length-1)),Ae((Xe=xe[Ye])===null||Xe===void 0?void 0:Xe.key)}$t(Ye)},[xe.map(function(Ye){return Ye.key}).join("_"),ge,kt]);var Lt=Object(l.a)(null,{value:Qe}),Ut=Object(b.a)(Lt,2),Wt=Ut[0],Vt=Ut[1],Tt=nr;ie&&!["left","right"].includes(nr)&&(Tt="top"),Object(A.useEffect)(function(){Qe||(Vt("rc-tabs-".concat(bt)),bt+=1)},[]);function ur(Ye,Xe){Ce==null||Ce(Ye,Xe),Ae(Ye),ye==null||ye(Ye)}var qt={id:Wt,activeKey:ge,animated:ut,tabPosition:Tt,rtl:je,mobile:ie},ze,nt=Be(Be({},qt),{},{editable:pt,locale:Xt,moreIcon:de,moreTransitionName:ue,tabBarGutter:Gt,onTabClick:ur,onTabScroll:Oe,extra:hr,style:Jt,panes:oe});return ae?ze=ae(nt,be):ze=A.createElement(be,Object.assign({},nt)),A.createElement(j.Provider,{value:{tabs:xe,prefixCls:dt}},A.createElement("div",Object.assign({ref:_t,id:Qe,className:a()(dt,"".concat(dt,"-").concat(Tt),(Ve={},Object(i.a)(Ve,"".concat(dt,"-mobile"),ie),Object(i.a)(Ve,"".concat(dt,"-editable"),pt),Object(i.a)(Ve,"".concat(dt,"-rtl"),je),Ve),Ze)},Te),ze,A.createElement(we,Object.assign({destroyInactiveTabPane:se},qt,{animated:ut}))))}var St=A.forwardRef(tt);St.TabPane=xt;var ht=St,vt=ht,Ge=e("cCPh"),At=e.n(Ge),_e=e("fNCr"),De=e.n(_e),Ie=e("V/uB"),st=e.n(Ie),Et=e("uaoM"),Mt=e("H84U"),Pt=function(Ot,_t){var Ve={};for(var Qe in Ot)Object.prototype.hasOwnProperty.call(Ot,Qe)&&_t.indexOf(Qe)<0&&(Ve[Qe]=Ot[Qe]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Qe=Object.getOwnPropertySymbols(Ot);et<Qe.length;et++)_t.indexOf(Qe[et])<0&&Object.prototype.propertyIsEnumerable.call(Ot,Qe[et])&&(Ve[Qe[et]]=Ot[Qe[et]]);return Ve};function ke(Ot){var _t,Ve=Ot.type,Qe=Ot.className,et=Ot.size,dt=Ot.onEdit,Ze=Ot.hideAdd,oe=Ot.centered,me=Ot.addIcon,ot=Pt(Ot,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Pe=ot.prefixCls,pt=A.useContext(Mt.b),Rr=pt.getPrefixCls,It=pt.direction,nr=Rr("tabs",Pe),Gt;return Ve==="editable-card"&&(Gt={onEdit:function(hr,Xt){var de=Xt.key,ue=Xt.event;dt==null||dt(hr==="add"?ue:de,hr)},removeIcon:A.createElement(st.a,null),addIcon:me||A.createElement(De.a,null),showAdd:Ze!==!0}),Object(Et.a)(!("onPrevClick"in ot)&&!("onNextClick"in ot),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),A.createElement(vt,E()({direction:It},ot,{moreTransitionName:"slide-up",className:a()(Qe,(_t={},p()(_t,"".concat(nr,"-").concat(et),et),p()(_t,"".concat(nr,"-card"),["card","editable-card"].includes(Ve)),p()(_t,"".concat(nr,"-editable-card"),Ve==="editable-card"),p()(_t,"".concat(nr,"-centered"),oe),_t)),editable:Gt,moreIcon:A.createElement(At.a,null),prefixCls:nr}))}ke.TabPane=xt;var zt=F.a=ke},ZTW2:function(J,F,e){},ZWlE:function(J,F,e){var d=e("bYtY"),E=e("4NO4");function g(b){p(b),A(b)}function p(b){if(b.parallel)return;var h=!1;d.each(b.series,function(i){i&&i.type==="parallel"&&(h=!0)}),h&&(b.parallel=[{}])}function A(b){var h=E.normalizeToArray(b.parallelAxis);d.each(h,function(i){if(!d.isObject(i))return;var r=i.parallelIndex||0,a=E.normalizeToArray(b.parallel)[r];a&&a.parallelAxisDefault&&d.merge(i,a.parallelAxisDefault,!1)})}J.exports=g},ZX9x:function(J,F,e){"use strict";e.d(F,"a",function(){return D}),e.d(F,"b",function(){return U});var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("7W2i"),a=e.n(r),s=e("LQ03"),l=e.n(s),n=e("q1tI"),u=e("TSYQ"),t=e.n(u),c=e("BGR+"),o=e("T1rO"),f=e.n(o),v=e("fEPi"),y=e.n(v),L=e("DFhj"),S=e.n(L),x=e("PKem"),O=e("H84U"),T=function(j){return!isNaN(parseFloat(j))&&isFinite(j)},w=T,C=function(M,j){var P={};for(var K in M)Object.prototype.hasOwnProperty.call(M,K)&&j.indexOf(K)<0&&(P[K]=M[K]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(M);H<K.length;H++)j.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(M,K[H])&&(P[K[H]]=M[K[H]]);return P},N={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},D=n.createContext({}),B=function(){var M=0;return function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return M+=1,"".concat(j).concat(M)}}(),R=function(M){a()(P,M);var j=l()(P);function P(K){var H;b()(this,P),H=j.call(this,K),H.responsiveHandler=function(Y){H.setState({below:Y.matches});var _=H.props.onBreakpoint,Q=H.state.collapsed;_&&_(Y.matches),Q!==Y.matches&&H.setCollapsed(Y.matches,"responsive")},H.setCollapsed=function(Y,_){"collapsed"in H.props||H.setState({collapsed:Y});var Q=H.props.onCollapse;Q&&Q(Y,_)},H.toggle=function(){var Y=!H.state.collapsed;H.setCollapsed(Y,"clickTrigger")},H.renderSider=function(Y){var _,Q=Y.getPrefixCls,X=H.props,he=X.prefixCls,te=X.className,fe=X.theme,be=X.collapsible,we=X.reverseArrow,Ke=X.trigger,qe=X.style,xt=X.width,Fe=X.collapsedWidth,Be=X.zeroWidthTriggerStyle,bt=X.children,lt=C(X,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),tt=H.state,St=tt.collapsed,ht=tt.below,vt=Q("layout-sider",he),Ge=Object(c.default)(lt,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),At=St?Fe:xt,_e=w(At)?"".concat(At,"px"):String(At),De=parseFloat(String(Fe||0))===0?n.createElement("span",{onClick:H.toggle,className:t()("".concat(vt,"-zero-width-trigger"),"".concat(vt,"-zero-width-trigger-").concat(we?"right":"left")),style:Be},Ke||n.createElement(f.a,null)):null,Ie={expanded:we?n.createElement(y.a,null):n.createElement(S.a,null),collapsed:we?n.createElement(S.a,null):n.createElement(y.a,null)},st=St?"collapsed":"expanded",Et=Ie[st],Mt=Ke!==null?De||n.createElement("div",{className:"".concat(vt,"-trigger"),onClick:H.toggle,style:{width:_e}},Ke||Et):null,Pt=p()(p()({},qe),{flex:"0 0 ".concat(_e),maxWidth:_e,minWidth:_e,width:_e}),ke=t()(te,vt,"".concat(vt,"-").concat(fe),(_={},E()(_,"".concat(vt,"-collapsed"),!!St),E()(_,"".concat(vt,"-has-trigger"),be&&Ke!==null&&!De),E()(_,"".concat(vt,"-below"),!!ht),E()(_,"".concat(vt,"-zero-width"),parseFloat(_e)===0),_));return n.createElement("aside",p()({className:ke},Ge,{style:Pt}),n.createElement("div",{className:"".concat(vt,"-children")},bt),be||ht&&De?Mt:null)},H.uniqueId=B("ant-sider-");var k;typeof window!="undefined"&&(k=window.matchMedia),k&&K.breakpoint&&K.breakpoint in N&&(H.mql=k("(max-width: ".concat(N[K.breakpoint],")")));var Z;return"collapsed"in K?Z=K.collapsed:Z=K.defaultCollapsed,H.state={collapsed:Z,below:!1},H}return i()(P,[{key:"componentDidMount",value:function(){var H;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(H=this.props)===null||H===void 0||H.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var H,k;(H=this===null||this===void 0?void 0:this.mql)===null||H===void 0||H.removeListener(this.responsiveHandler),(k=this.props)===null||k===void 0||k.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var H=this.state.collapsed,k=this.props.collapsedWidth;return n.createElement(D.Provider,{value:{siderCollapsed:H,collapsedWidth:k}},n.createElement(O.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(H){return"collapsed"in H?{collapsed:H.collapsed}:null}}]),P}(n.Component);R.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var U=function(M){a()(P,M);var j=l()(P);function P(){return b()(this,P),j.apply(this,arguments)}return i()(P,[{key:"render",value:function(){var H=this;return n.createElement(x.a.Consumer,null,function(k){return n.createElement(R,p()({},k,H.props))})}}]),P}(n.Component)},ZYIC:function(J,F,e){var d=e("zM3Q"),E={seriesType:"lines",plan:d(),reset:function(g){var p=g.coordinateSystem,A=g.get("polyline"),b=g.pipelineContext.large;function h(i,r){var a=[];if(b){var s,l=i.end-i.start;if(A){for(var n=0,u=i.start;u<i.end;u++)n+=g.getLineCoordsCount(u);s=new Float32Array(l+n*2)}else s=new Float32Array(l*4);for(var t=0,c=[],u=i.start;u<i.end;u++){var o=g.getLineCoords(u,a);A&&(s[t++]=o);for(var f=0;f<o;f++)c=p.dataToPoint(a[f],!1,c),s[t++]=c[0],s[t++]=c[1]}r.setLayout("linesPoints",s)}else for(var u=i.start;u<i.end;u++){var v=r.getItemModel(u),o=g.getLineCoords(u,a),y=[];if(A)for(var L=0;L<o;L++)y.push(p.dataToPoint(a[L]));else{y[0]=p.dataToPoint(a[0]),y[1]=p.dataToPoint(a[1]);var S=v.get("lineStyle.curveness");+S&&(y[2]=[(y[0][0]+y[1][0])/2-(y[0][1]-y[1][1])*S,(y[0][1]+y[1][1])/2-(y[1][0]-y[0][0])*S])}r.setItemLayout(u,y)}}return{progress:h}}};J.exports=E},Ze12:function(J,F,e){var d=e("ItGF"),E=e("hOwI"),g=E.buildTransformer,p="___zrEVENTSAVED",A=[];function b(s,l,n,u,t){return h(A,l,u,t,!0)&&h(s,n,A[0],A[1])}function h(s,l,n,u,t){if(l.getBoundingClientRect&&d.domSupported&&!a(l)){var c=l[p]||(l[p]={}),o=i(l,c),f=r(o,c,t);if(f)return f(s,n,u),!0}return!1}function i(s,l){var n=l.markers;if(n)return n;n=l.markers=[];for(var u=["left","right"],t=["top","bottom"],c=0;c<4;c++){var o=document.createElement("div"),f=o.style,v=c%2,y=(c>>1)%2;f.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",u[v]+":0",t[y]+":0",u[1-v]+":auto",t[1-y]+":auto",""].join("!important;"),s.appendChild(o),n.push(o)}return n}function r(s,l,n){for(var u=n?"invTrans":"trans",t=l[u],c=l.srcCoords,o=!0,f=[],v=[],y=0;y<4;y++){var L=s[y].getBoundingClientRect(),S=2*y,x=L.left,O=L.top;f.push(x,O),o=o&&c&&x===c[S]&&O===c[S+1],v.push(s[y].offsetLeft,s[y].offsetTop)}return o&&t?t:(l.srcCoords=f,l[u]=n?g(v,f):g(f,v))}function a(s){return s.nodeName.toUpperCase()==="CANVAS"}F.transformLocalCoord=b,F.transformCoordWithViewport=h,F.isCanvasEl=a},Znkb:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("zTMp"),A=g.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(a,s,l,n){this.axisPointerClass&&p.fixValue(a),A.superApply(this,"render",arguments),b(this,a,s,l,n,!0)},updateAxisPointer:function(a,s,l,n,u){b(this,a,s,l,n,!1)},remove:function(a,s){var l=this._axisPointer;l&&l.remove(s),A.superApply(this,"remove",arguments)},dispose:function(a,s){h(this,s),A.superApply(this,"dispose",arguments)}});function b(a,s,l,n,u,t){var c=A.getAxisPointerClass(a.axisPointerClass);if(!c)return;var o=p.getAxisPointerModel(s);o?(a._axisPointer||(a._axisPointer=new c)).render(s,o,n,t):h(a,n)}function h(a,s,l){var n=a._axisPointer;n&&n.dispose(s,l),a._axisPointer=null}var i=[];A.registerAxisPointerClass=function(a,s){i[a]=s},A.getAxisPointerClass=function(a){return a&&i[a]};var r=A;J.exports=r},"Znn+":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("9ama"),p=e.n(g)},ZqQs:function(J,F,e){var d=e("bYtY");function E(b){var h=b&&b.timeline;d.isArray(h)||(h=h?[h]:[]),d.each(h,function(i){if(!i)return;g(i)})}function g(b){var h=b.type,i={number:"value",time:"time"};if(i[h]&&(b.axisType=i[h],delete b.type),p(b),A(b,"controlPosition")){var r=b.controlStyle||(b.controlStyle={});A(r,"position")||(r.position=b.controlPosition),r.position==="none"&&!A(r,"show")&&(r.show=!1,delete r.position),delete b.controlPosition}d.each(b.data||[],function(a){d.isObject(a)&&!d.isArray(a)&&(!A(a,"value")&&A(a,"name")&&(a.value=a.name),p(a))})}function p(b){var h=b.itemStyle||(b.itemStyle={}),i=h.emphasis||(h.emphasis={}),r=b.label||b.label||{},a=r.normal||(r.normal={}),s={normal:1,emphasis:1};d.each(r,function(l,n){!s[n]&&!A(a,n)&&(a[n]=l)}),i.label&&!A(r,"emphasis")&&(r.emphasis=i.label,delete i.label)}function A(b,h){return b.hasOwnProperty(h)}J.exports=E},Zvw2:function(J,F,e){var d=e("bYtY"),E=e("hM6l"),g=function(A,b,h,i,r){E.call(this,A,b,h),this.type=i||"value",this.position=r||"bottom",this.orient=null};g.prototype={constructor:g,model:null,isHorizontal:function(){var A=this.position;return A==="top"||A==="bottom"},pointToData:function(A,b){return this.coordinateSystem.pointToData(A,b)[0]},toGlobalCoord:null,toLocalCoord:null},d.inherits(g,E);var p=g;J.exports=p},a7Wl:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},a9QJ:function(J,F){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function d(E,g){if(E==="world"){var p=e[g.name];if(p){var A=g.center;A[0]=p[0],A[1]=p[1]}}}J.exports=d},aCH8:function(J,F,e){(function(){var d=e("ANhw"),E=e("mmNF").utf8,g=e("BEtg"),p=e("mmNF").bin,A=function b(h,i){h.constructor==String?i&&i.encoding==="binary"?h=p.stringToBytes(h):h=E.stringToBytes(h):g(h)?h=Array.prototype.slice.call(h,0):!Array.isArray(h)&&h.constructor!==Uint8Array&&(h=h.toString());for(var r=d.bytesToWords(h),a=h.length*8,s=1732584193,l=-271733879,n=-1732584194,u=271733878,t=0;t<r.length;t++)r[t]=(r[t]<<8|r[t]>>>24)&16711935|(r[t]<<24|r[t]>>>8)&4278255360;r[a>>>5]|=128<<a%32,r[(a+64>>>9<<4)+14]=a;for(var c=b._ff,o=b._gg,f=b._hh,v=b._ii,t=0;t<r.length;t+=16){var y=s,L=l,S=n,x=u;s=c(s,l,n,u,r[t+0],7,-680876936),u=c(u,s,l,n,r[t+1],12,-389564586),n=c(n,u,s,l,r[t+2],17,606105819),l=c(l,n,u,s,r[t+3],22,-1044525330),s=c(s,l,n,u,r[t+4],7,-176418897),u=c(u,s,l,n,r[t+5],12,1200080426),n=c(n,u,s,l,r[t+6],17,-1473231341),l=c(l,n,u,s,r[t+7],22,-45705983),s=c(s,l,n,u,r[t+8],7,1770035416),u=c(u,s,l,n,r[t+9],12,-1958414417),n=c(n,u,s,l,r[t+10],17,-42063),l=c(l,n,u,s,r[t+11],22,-1990404162),s=c(s,l,n,u,r[t+12],7,1804603682),u=c(u,s,l,n,r[t+13],12,-40341101),n=c(n,u,s,l,r[t+14],17,-1502002290),l=c(l,n,u,s,r[t+15],22,1236535329),s=o(s,l,n,u,r[t+1],5,-165796510),u=o(u,s,l,n,r[t+6],9,-1069501632),n=o(n,u,s,l,r[t+11],14,643717713),l=o(l,n,u,s,r[t+0],20,-373897302),s=o(s,l,n,u,r[t+5],5,-701558691),u=o(u,s,l,n,r[t+10],9,38016083),n=o(n,u,s,l,r[t+15],14,-660478335),l=o(l,n,u,s,r[t+4],20,-405537848),s=o(s,l,n,u,r[t+9],5,568446438),u=o(u,s,l,n,r[t+14],9,-1019803690),n=o(n,u,s,l,r[t+3],14,-187363961),l=o(l,n,u,s,r[t+8],20,1163531501),s=o(s,l,n,u,r[t+13],5,-1444681467),u=o(u,s,l,n,r[t+2],9,-51403784),n=o(n,u,s,l,r[t+7],14,1735328473),l=o(l,n,u,s,r[t+12],20,-1926607734),s=f(s,l,n,u,r[t+5],4,-378558),u=f(u,s,l,n,r[t+8],11,-2022574463),n=f(n,u,s,l,r[t+11],16,1839030562),l=f(l,n,u,s,r[t+14],23,-35309556),s=f(s,l,n,u,r[t+1],4,-1530992060),u=f(u,s,l,n,r[t+4],11,1272893353),n=f(n,u,s,l,r[t+7],16,-155497632),l=f(l,n,u,s,r[t+10],23,-1094730640),s=f(s,l,n,u,r[t+13],4,681279174),u=f(u,s,l,n,r[t+0],11,-358537222),n=f(n,u,s,l,r[t+3],16,-722521979),l=f(l,n,u,s,r[t+6],23,76029189),s=f(s,l,n,u,r[t+9],4,-640364487),u=f(u,s,l,n,r[t+12],11,-421815835),n=f(n,u,s,l,r[t+15],16,530742520),l=f(l,n,u,s,r[t+2],23,-995338651),s=v(s,l,n,u,r[t+0],6,-198630844),u=v(u,s,l,n,r[t+7],10,1126891415),n=v(n,u,s,l,r[t+14],15,-1416354905),l=v(l,n,u,s,r[t+5],21,-57434055),s=v(s,l,n,u,r[t+12],6,1700485571),u=v(u,s,l,n,r[t+3],10,-1894986606),n=v(n,u,s,l,r[t+10],15,-1051523),l=v(l,n,u,s,r[t+1],21,-2054922799),s=v(s,l,n,u,r[t+8],6,1873313359),u=v(u,s,l,n,r[t+15],10,-30611744),n=v(n,u,s,l,r[t+6],15,-1560198380),l=v(l,n,u,s,r[t+13],21,1309151649),s=v(s,l,n,u,r[t+4],6,-145523070),u=v(u,s,l,n,r[t+11],10,-1120210379),n=v(n,u,s,l,r[t+2],15,718787259),l=v(l,n,u,s,r[t+9],21,-343485551),s=s+y>>>0,l=l+L>>>0,n=n+S>>>0,u=u+x>>>0}return d.endian([s,l,n,u])};A._ff=function(b,h,i,r,a,s,l){var n=b+(h&i|~h&r)+(a>>>0)+l;return(n<<s|n>>>32-s)+h},A._gg=function(b,h,i,r,a,s,l){var n=b+(h&r|i&~r)+(a>>>0)+l;return(n<<s|n>>>32-s)+h},A._hh=function(b,h,i,r,a,s,l){var n=b+(h^i^r)+(a>>>0)+l;return(n<<s|n>>>32-s)+h},A._ii=function(b,h,i,r,a,s,l){var n=b+(i^(h|~r))+(a>>>0)+l;return(n<<s|n>>>32-s)+h},A._blocksize=16,A._digestsize=16,J.exports=function(b,h){if(b==null)throw new Error("Illegal argument "+b);var i=d.wordsToBytes(A(b,h));return h&&h.asBytes?i:h&&h.asString?p.bytesToString(i):d.bytesToHex(i)}})()},aHsQ:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("6D9b"),p=e.n(g)},aKvl:function(J,F,e){var d=e("Sj9i"),E=d.quadraticProjectPoint;function g(p,A,b,h,i,r,a,s,l){if(a===0)return!1;var n=a;if(l>A+n&&l>h+n&&l>r+n||l<A-n&&l<h-n&&l<r-n||s>p+n&&s>b+n&&s>i+n||s<p-n&&s<b-n&&s<i-n)return!1;var u=E(p,A,b,h,i,r,s,l,null);return u<=n/2}F.containStroke=g},aTJb:function(J,F,e){var d=e("bLfw");d.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aUsF:function(J,F,e){"use strict";var d=Array.isArray,E=Object.keys,g=Object.prototype.hasOwnProperty;J.exports=function p(A,b){if(A===b)return!0;if(A&&b&&typeof A=="object"&&typeof b=="object"){var h=d(A),i=d(b),r,a,s;if(h&&i){if(a=A.length,a!=b.length)return!1;for(r=a;r--!==0;)if(!p(A[r],b[r]))return!1;return!0}if(h!=i)return!1;var l=A instanceof Date,n=b instanceof Date;if(l!=n)return!1;if(l&&n)return A.getTime()==b.getTime();var u=A instanceof RegExp,t=b instanceof RegExp;if(u!=t)return!1;if(u&&t)return A.toString()==b.toString();var c=E(A);if(a=c.length,a!==E(b).length)return!1;for(r=a;r--!==0;)if(!g.call(b,c[r]))return!1;for(r=a;r--!==0;)if(s=c[r],!p(A[s],b[s]))return!1;return!0}return A!==A&&b!==b}},aX58:function(J,F,e){var d=e("3gBT"),E=e("ItGF"),g=e("bYtY"),p=e("0s+r"),A=e("r6Bn"),b=e("7SHv"),h=e("MKOG"),i=e("zarK");/*!
|
|
|
* ZRender, a high performance 2d drawing library.
|
|
|
*
|
|
|
* Copyright (c) 2013, Baidu Inc.
|
|
|
* All rights reserved.
|
|
|
*
|
|
|
* LICENSE
|
|
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
|
*/var r=!E.canvasSupported,a={canvas:b},s={},l="4.3.1";function n(v,y){var L=new f(d(),v,y);return s[L.id]=L,L}function u(v){if(v)v.dispose();else{for(var y in s)s.hasOwnProperty(y)&&s[y].dispose();s={}}return this}function t(v){return s[v]}function c(v,y){a[v]=y}function o(v){delete s[v]}var f=function(y,L,S){S=S||{},this.dom=L,this.id=y;var x=this,O=new A,T=S.renderer;if(r){if(!a.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!a[T])&&(T="canvas");var w=new a[T](L,O,S,y);this.storage=O,this.painter=w;var C=!E.node&&!E.worker?new i(w.getViewportRoot(),w.root):null;this.handler=new p(O,w,C,w.root),this.animation=new h({stage:{update:g.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var N=O.delFromStorage,D=O.addToStorage;O.delFromStorage=function(B){N.call(O,B),B&&B.removeSelfFromZr(x)},O.addToStorage=function(B){D.call(O,B),B.addSelfToZr(x)}};f.prototype={constructor:f,getId:function(){return this.id},add:function(y){this.storage.addRoot(y),this._needsRefresh=!0},remove:function(y){this.storage.delRoot(y),this._needsRefresh=!0},configLayer:function(y,L){this.painter.configLayer&&this.painter.configLayer(y,L),this._needsRefresh=!0},setBackgroundColor:function(y){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(y),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var y;this._needsRefresh&&(y=!0,this.refreshImmediately()),this._needsRefreshHover&&(y=!0,this.refreshHoverImmediately()),y&&this.trigger("rendered")},addHover:function(y,L){if(this.painter.addHover){var S=this.painter.addHover(y,L);return this.refreshHover(),S}},removeHover:function(y){this.painter.removeHover&&(this.painter.removeHover(y),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(y){y=y||{},this.painter.resize(y.width,y.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(y,L){return this.painter.pathToImage(y,L)},setCursorStyle:function(y){this.handler.setCursorStyle(y)},findHover:function(y,L){return this.handler.findHover(y,L)},on:function(y,L,S){this.handler.on(y,L,S)},off:function(y,L){this.handler.off(y,L)},trigger:function(y,L){this.handler.trigger(y,L)},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,o(this.id)}},F.version=l,F.init=n,F.dispose=u,F.getInstance=t,F.registerPainter=c},aX7z:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("GMDS"),A=e("ieMj"),b=e("4NgU"),h=e("OELB"),i=e("nVfU"),r=i.prepareLayoutBarSeries,a=i.makeColumnLayout,s=i.retrieveColumnLayout,l=e("mFDi");e("IWp7"),e("jCoz");function n(O,T){var w=O.type,C=T.getMin(),N=T.getMax(),D=O.getExtent(),B,R,U;w==="ordinal"?B=T.getCategories().length:(R=T.get("boundaryGap"),g.isArray(R)||(R=[R||0,R||0]),typeof R[0]=="boolean"&&(R=[0,0]),R[0]=h.parsePercent(R[0],1),R[1]=h.parsePercent(R[1],1),U=D[1]-D[0]||Math.abs(D[0])),C==="dataMin"?C=D[0]:typeof C=="function"&&(C=C({min:D[0],max:D[1]})),N==="dataMax"?N=D[1]:typeof N=="function"&&(N=N({min:D[0],max:D[1]}));var M=C!=null,j=N!=null;C==null&&(C=w==="ordinal"?B?0:NaN:D[0]-R[0]*U),N==null&&(N=w==="ordinal"?B?B-1:NaN:D[1]+R[1]*U),(C==null||!isFinite(C))&&(C=NaN),(N==null||!isFinite(N))&&(N=NaN),O.setBlank(g.eqNaN(C)||g.eqNaN(N)||w==="ordinal"&&!O.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(C>0&&N>0&&!M&&(C=0),C<0&&N<0&&!j&&(N=0));var P=T.ecModel;if(P&&w==="time"){var K=r("bar",P),H;if(g.each(K,function(Y){H|=Y.getBaseAxis()===T.axis}),H){var k=a(K),Z=u(C,N,T,k);C=Z.min,N=Z.max}}return{extent:[C,N],fixMin:M,fixMax:j}}function u(O,T,w,C){var N=w.axis.getExtent(),D=N[1]-N[0],B=s(C,w.axis);if(B===void 0)return{min:O,max:T};var R=Infinity;g.each(B,function(H){R=Math.min(H.offset,R)});var U=-Infinity;g.each(B,function(H){U=Math.max(H.offset+H.width,U)}),R=Math.abs(R),U=Math.abs(U);var M=R+U,j=T-O,P=1-(R+U)/D,K=j/P-j;return T+=K*(U/M),O-=K*(R/M),{min:O,max:T}}function t(O,T){var w=n(O,T),C=w.extent,N=T.get("splitNumber");O.type==="log"&&(O.base=T.get("logBase"));var D=O.type;O.setExtent(C[0],C[1]),O.niceExtent({splitNumber:N,fixMin:w.fixMin,fixMax:w.fixMax,minInterval:D==="interval"||D==="time"?T.get("minInterval"):null,maxInterval:D==="interval"||D==="time"?T.get("maxInterval"):null});var B=T.get("interval");B!=null&&(O.setInterval&&O.setInterval(B))}function c(O,T){if(T=T||O.get("type"),T)switch(T){case"category":return new p(O.getOrdinalMeta?O.getOrdinalMeta():O.getCategories(),[Infinity,-Infinity]);case"value":return new A;default:return(b.getClass(T)||A).create(O)}}function o(O){var T=O.scale.getExtent(),w=T[0],C=T[1];return!(w>0&&C>0||w<0&&C<0)}function f(O){var T=O.getLabelModel().get("formatter"),w=O.type==="category"?O.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(C){return function(N){return N=O.scale.getLabel(N),C.replace("{value}",N!=null?N:"")}}(T),T):typeof T=="function"?function(C,N){return w!=null&&(N=C-w),T(v(O,C),N)}:function(C){return O.scale.getLabel(C)}}function v(O,T){return O.type==="category"?O.scale.getLabel(T):T}function y(O){var T=O.model,w=O.scale;if(!T.get("axisLabel.show")||w.isBlank())return;var C=O.type==="category",N,D,B=w.getExtent();C?D=w.count():(N=w.getTicks(),D=N.length);var R=O.getLabelModel(),U=f(O),M,j=1;D>40&&(j=Math.ceil(D/40));for(var P=0;P<D;P+=j){var K=N?N[P]:B[0]+P,H=U(K),k=R.getTextRect(H),Z=L(k,R.get("rotate")||0);M?M.union(Z):M=Z}return M}function L(O,T){var w=T*Math.PI/180,C=O.plain(),N=C.width,D=C.height,B=N*Math.cos(w)+D*Math.sin(w),R=N*Math.sin(w)+D*Math.cos(w),U=new l(C.x,C.y,B,R);return U}function S(O){var T=O.get("interval");return T==null?"auto":T}function x(O){return O.type==="category"&&S(O.getLabelModel())===0}F.getScaleExtent=n,F.niceScaleExtent=t,F.createScaleByModel=c,F.ifAxisCrossZero=o,F.makeLabelFormatter=f,F.getAxisRawValue=v,F.estimateLabelUnionRect=y,F.getOptionCategoryInterval=S,F.shouldShowAllLabels=x},adU4:function(J,F,e){var d=e("y1pI"),E=Array.prototype,g=E.splice;function p(A){var b=this.__data__,h=d(b,A);if(h<0)return!1;var i=b.length-1;return h==i?b.pop():g.call(b,h,1),--this.size,!0}J.exports=p},"af/B":function(J,F,e){var d=e("bYtY"),E=d.each,g=d.map,p=d.isFunction,A=d.createHashMap,b=d.noop,h=e("9H2F"),i=h.createTask,r=e("iRjW"),a=r.getUID,s=e("fmMI"),l=e("hD7B"),n=e("4NO4"),u=n.normalizeToArray;function t(H,k,Z,Y){this.ecInstance=H,this.api=k,this.unfinished;var Z=this._dataProcessorHandlers=Z.slice(),Y=this._visualHandlers=Y.slice();this._allHandlers=Z.concat(Y),this._stageTaskMap=A()}var c=t.prototype;c.restoreData=function(H,k){H.restoreData(k),this._stageTaskMap.each(function(Z){var Y=Z.overallTask;Y&&Y.dirty()})},c.getPerformArgs=function(H,k){if(!H.__pipeline)return;var Z=this._pipelineMap.get(H.__pipeline.id),Y=Z.context,_=!k&&Z.progressiveEnabled&&(!Y||Y.progressiveRender)&&H.__idxInPipeline>Z.blockIndex,Q=_?Z.step:null,X=Y&&Y.modDataCount,he=X!=null?Math.ceil(X/Q):null;return{step:Q,modBy:he,modDataCount:X}},c.getPipeline=function(H){return this._pipelineMap.get(H)},c.updateStreamModes=function(H,k){var Z=this._pipelineMap.get(H.uid),Y=H.getData(),_=Y.count(),Q=Z.progressiveEnabled&&k.incrementalPrepareRender&&_>=Z.threshold,X=H.get("large")&&_>=H.get("largeThreshold"),he=H.get("progressiveChunkMode")==="mod"?_:null;H.pipelineContext=Z.context={progressiveRender:Q,modDataCount:he,large:X}},c.restorePipelines=function(H){var k=this,Z=k._pipelineMap=A();H.eachSeries(function(Y){var _=Y.getProgressive(),Q=Y.uid;Z.set(Q,{id:Q,head:null,tail:null,threshold:Y.getProgressiveThreshold(),progressiveEnabled:_&&!(Y.preventIncremental&&Y.preventIncremental()),blockIndex:-1,step:Math.round(_||700),count:0}),B(k,Y,Y.dataTask)})},c.prepareStageTasks=function(){var H=this._stageTaskMap,k=this.ecInstance.getModel(),Z=this.api;E(this._allHandlers,function(Y){var _=H.get(Y.uid)||H.set(Y.uid,[]);Y.reset&&v(this,Y,_,k,Z),Y.overallReset&&y(this,Y,_,k,Z)},this)},c.prepareView=function(H,k,Z,Y){var _=H.renderTask,Q=_.context;Q.model=k,Q.ecModel=Z,Q.api=Y,_.__block=!H.incrementalPrepareRender,B(this,k,_)},c.performDataProcessorTasks=function(H,k){o(this,this._dataProcessorHandlers,H,k,{block:!0})},c.performVisualTasks=function(H,k,Z){o(this,this._visualHandlers,H,k,Z)};function o(H,k,Z,Y,_){_=_||{};var Q;E(k,function(he,te){if(_.visualType&&_.visualType!==he.visualType)return;var fe=H._stageTaskMap.get(he.uid),be=fe.seriesTaskMap,we=fe.overallTask;if(we){var Ke,qe=we.agentStubMap;qe.each(function(Fe){X(_,Fe)&&(Fe.dirty(),Ke=!0)}),Ke&&we.dirty(),f(we,Y);var xt=H.getPerformArgs(we,_.block);qe.each(function(Fe){Fe.perform(xt)}),Q|=we.perform(xt)}else be&&be.each(function(Fe,Be){X(_,Fe)&&Fe.dirty();var bt=H.getPerformArgs(Fe,_.block);bt.skip=!he.performRawSeries&&Z.isSeriesFiltered(Fe.context.model),f(Fe,Y),Q|=Fe.perform(bt)})});function X(he,te){return he.setDirty&&(!he.dirtyMap||he.dirtyMap.get(te.__pipeline.id))}H.unfinished|=Q}c.performSeriesTasks=function(H){var k;H.eachSeries(function(Z){k|=Z.dataTask.perform()}),this.unfinished|=k},c.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 f=c.updatePayload=function(H,k){k!=="remain"&&(H.context.payload=k)};function v(H,k,Z,Y,_){var Q=Z.seriesTaskMap||(Z.seriesTaskMap=A()),X=k.seriesType,he=k.getTargetSeries;k.createOnAllSeries?Y.eachRawSeries(te):X?Y.eachRawSeriesByType(X,te):he&&he(Y,_).each(te);function te(be){var we=be.uid,Ke=Q.get(we)||Q.set(we,i({plan:T,reset:w,count:D}));Ke.context={model:be,ecModel:Y,api:_,useClearVisual:k.isVisual&&!k.isLayout,plan:k.plan,reset:k.reset,scheduler:H},B(H,be,Ke)}var fe=H._pipelineMap;Q.each(function(be,we){fe.get(we)||(be.dispose(),Q.removeKey(we))})}function y(H,k,Z,Y,_){var Q=Z.overallTask=Z.overallTask||i({reset:L});Q.context={ecModel:Y,api:_,overallReset:k.overallReset,scheduler:H};var X=Q.agentStubMap=Q.agentStubMap||A(),he=k.seriesType,te=k.getTargetSeries,fe=!0,be=k.modifyOutputEnd;he?Y.eachRawSeriesByType(he,we):te?te(Y,_).each(we):(fe=!1,E(Y.getSeries(),we));function we(qe){var xt=qe.uid,Fe=X.get(xt);Fe||(Fe=X.set(xt,i({reset:S,onDirty:O})),Q.dirty()),Fe.context={model:qe,overallProgress:fe,modifyOutputEnd:be},Fe.agent=Q,Fe.__block=fe,B(H,qe,Fe)}var Ke=H._pipelineMap;X.each(function(qe,xt){Ke.get(xt)||(qe.dispose(),Q.dirty(),X.removeKey(xt))})}function L(H){H.overallReset(H.ecModel,H.api,H.payload)}function S(H,k){return H.overallProgress&&x}function x(){this.agent.dirty(),this.getDownstream().dirty()}function O(){this.agent&&this.agent.dirty()}function T(H){return H.plan&&H.plan(H.model,H.ecModel,H.api,H.payload)}function w(H){H.useClearVisual&&H.data.clearAllVisual();var k=H.resetDefines=u(H.reset(H.model,H.ecModel,H.api,H.payload));return k.length>1?g(k,function(Z,Y){return N(Y)}):C}var C=N(0);function N(H){return function(k,Z){var Y=Z.data,_=Z.resetDefines[H];if(_&&_.dataEach)for(var Q=k.start;Q<k.end;Q++)_.dataEach(Y,Q);else _&&_.progress&&_.progress(k,Y)}}function D(H){return H.data.count()}function B(H,k,Z){var Y=k.uid,_=H._pipelineMap.get(Y);!_.head&&(_.head=Z),_.tail&&_.tail.pipe(Z),_.tail=Z,Z.__idxInPipeline=_.count++,Z.__pipeline=_}t.wrapStageHandler=function(H,k){return p(H)&&(H={overallReset:H,seriesType:R(H)}),H.uid=a("stageHandler"),k&&(H.visualType=k),H};function R(H){j=null;try{H(U,M)}catch(k){}return j}var U={},M={},j;P(U,s),P(M,l),U.eachSeriesByType=U.eachRawSeriesByType=function(H){j=H},U.eachComponent=function(H){H.mainType==="series"&&H.subType&&(j=H.subType)};function P(H,k){for(var Z in k.prototype)H[Z]=b}var K=t;J.exports=K},akwb:function(J,F,e){var d=e("RSch"),E=e("bYtY"),g=e("D9ME"),p=e("QBsz");function A(i,r,a){g.call(this,i,r,a),this._lastFrame=0,this._lastFramePercent=0}var b=A.prototype;b.createLine=function(i,r,a){return new d(i,r,a)},b.updateAnimationPoints=function(i,r){this._points=r;for(var a=[0],s=0,l=1;l<r.length;l++){var n=r[l-1],u=r[l];s+=p.dist(n,u),a.push(s)}if(s===0)return;for(var l=0;l<a.length;l++)a[l]/=s;this._offsets=a,this._length=s},b.getLineLength=function(i){return this._length},b.updateSymbolPosition=function(i){var r=i.__t,a=this._points,s=this._offsets,l=a.length;if(!s)return;var n=this._lastFrame,u;if(r<this._lastFramePercent){var t=Math.min(n+1,l-1);for(u=t;u>=0&&!(s[u]<=r);u--);u=Math.min(u,l-2)}else{for(var u=n;u<l&&!(s[u]>r);u++);u=Math.min(u-1,l-2)}p.lerp(i.position,a[u],a[u+1],(r-s[u])/(s[u+1]-s[u]));var c=a[u+1][0]-a[u][0],o=a[u+1][1]-a[u][1];i.rotation=-Math.atan2(o,c)-Math.PI/2,this._lastFrame=u,this._lastFramePercent=r,i.ignore=!1},E.inherits(A,g);var h=A;J.exports=h},apAg:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("bsht")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="SearchOutlined";var h=g.forwardRef(b);F.default=h},as94:function(J,F,e){var d=e("7aKB"),E=e("3LNs"),g=e("IwbS"),p=e("/y7N"),A=e("Fofx"),b=e("+rIm"),h=e("Znkb"),i=E.extend({makeElOption:function(l,n,u,t,c){var o=u.axis;o.dim==="angle"&&(this.animationThreshold=Math.PI/18);var f=o.polar,v=f.getOtherAxis(o),y=v.getExtent(),L;L=o["dataTo"+d.capitalFirst(o.dim)](n);var S=t.get("type");if(S&&S!=="none"){var x=p.buildElStyle(t),O=a[S](o,f,L,y,x);O.style=x,l.graphicKey=O.type,l.pointer=O}var T=t.get("label.margin"),w=r(n,u,t,f,T);p.buildLabelElOption(l,u,t,c,w)}});function r(l,n,u,t,c){var o=n.axis,f=o.dataToCoord(l),v=t.getAngleAxis().getExtent()[0];v=v/180*Math.PI;var y=t.getRadiusAxis().getExtent(),L,S,x;if(o.dim==="radius"){var O=A.create();A.rotate(O,O,v),A.translate(O,O,[t.cx,t.cy]),L=g.applyTransform([f,-c],O);var T=n.getModel("axisLabel").get("rotate")||0,w=b.innerTextLayout(v,T*Math.PI/180,-1);S=w.textAlign,x=w.textVerticalAlign}else{var C=y[1];L=t.coordToPoint([C+c,f]);var N=t.cx,D=t.cy;S=Math.abs(L[0]-N)/C<.3?"center":L[0]>N?"left":"right",x=Math.abs(L[1]-D)/C<.3?"middle":L[1]>D?"top":"bottom"}return{position:L,align:S,verticalAlign:x}}var a={line:function(l,n,u,t,c){return l.dim==="angle"?{type:"Line",shape:p.makeLineShape(n.coordToPoint([t[0],u]),n.coordToPoint([t[1],u]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:u}}},shadow:function(l,n,u,t,c){var o=Math.max(1,l.getBandWidth()),f=Math.PI/180;return l.dim==="angle"?{type:"Sector",shape:p.makeSectorShape(n.cx,n.cy,t[0],t[1],(-u-o/2)*f,(-u+o/2)*f)}:{type:"Sector",shape:p.makeSectorShape(n.cx,n.cy,u-o/2,u+o/2,0,Math.PI*2)}}};h.registerAxisPointerClass("PolarAxisPointer",i);var s=i;J.exports=s},b56q:function(J,F,e){},b80T:function(J,F,e){var d=e("UNi/"),E=e("03A+"),g=e("Z0cm"),p=e("DSRE"),A=e("wJg7"),b=e("c6wG"),h=Object.prototype,i=h.hasOwnProperty;function r(a,s){var l=g(a),n=!l&&E(a),u=!l&&!n&&p(a),t=!l&&!n&&!u&&b(a),c=l||n||u||t,o=c?d(a.length,String):[],f=o.length;for(var v in a)(s||i.call(a,v))&&!(c&&(v=="length"||u&&(v=="offset"||v=="parent")||t&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||A(v,f)))&&o.push(v);return o}J.exports=r},b80e:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("gKaM")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DoubleLeftOutlined";var h=g.forwardRef(b);F.default=h},b9oc:function(J,F,e){var d=e("bYtY"),E=d.each,g="\0_ec_hist_store";function p(r,a){var s=i(r);E(a,function(l,n){for(var u=s.length-1;u>=0;u--){var t=s[u];if(t[n])break}if(u<0){var c=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(c){var o=c.getPercentRange();s[0][n]={dataZoomId:n,start:o[0],end:o[1]}}}}),s.push(a)}function A(r){var a=i(r),s=a[a.length-1];a.length>1&&a.pop();var l={};return E(s,function(n,u){for(var t=a.length-1;t>=0;t--){var n=a[t][u];if(n){l[u]=n;break}}}),l}function b(r){r[g]=null}function h(r){return i(r).length}function i(r){var a=r[g];return a||(a=r[g]=[{}]),a}F.push=p,F.pop=A,F.clear=b,F.count=h},bBKM:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("bYtY"),A=e("+rIm"),b=e("IwbS"),h=["axisLine","axisTickLabel","axisName"],i=g.extendComponentView({type:"radar",render:function(r,a,s){var l=this.group;l.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},_buildAxes:function(r){var a=r.coordinateSystem,s=a.getIndicatorAxes(),l=p.map(s,function(n){var u=new A(n.model,{position:[a.cx,a.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return u});p.each(l,function(n){p.each(h,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(r){var a=r.coordinateSystem,s=a.getIndicatorAxes();if(!s.length)return;var l=r.get("shape"),n=r.getModel("splitLine"),u=r.getModel("splitArea"),t=n.getModel("lineStyle"),c=u.getModel("areaStyle"),o=n.get("show"),f=u.get("show"),v=t.get("color"),y=c.get("color");v=p.isArray(v)?v:[v],y=p.isArray(y)?y:[y];var L=[],S=[];function x(K,H,k){var Z=k%H.length;return K[Z]=K[Z]||[],Z}if(l==="circle")for(var O=s[0].getTicksCoords(),T=a.cx,w=a.cy,C=0;C<O.length;C++){if(o){var N=x(L,v,C);L[N].push(new b.Circle({shape:{cx:T,cy:w,r:O[C].coord}}))}if(f&&C<O.length-1){var N=x(S,y,C);S[N].push(new b.Ring({shape:{cx:T,cy:w,r0:O[C].coord,r:O[C+1].coord}}))}}else for(var D,B=p.map(s,function(K,H){var k=K.getTicksCoords();return D=D==null?k.length-1:Math.min(k.length-1,D),p.map(k,function(Z){return a.coordToPoint(Z.coord,H)})}),R=[],C=0;C<=D;C++){for(var U=[],M=0;M<s.length;M++)U.push(B[M][C]);if(U[0]&&U.push(U[0].slice()),o){var N=x(L,v,C);L[N].push(new b.Polyline({shape:{points:U}}))}if(f&&R){var N=x(S,y,C-1);S[N].push(new b.Polygon({shape:{points:U.concat(R)}}))}R=U.slice().reverse()}var j=t.getLineStyle(),P=c.getAreaStyle();p.each(S,function(K,H){this.group.add(b.mergePath(K,{style:p.defaults({stroke:"none",fill:y[H%y.length]},P),silent:!0}))},this),p.each(L,function(K,H){this.group.add(b.mergePath(K,{style:p.defaults({fill:"none",stroke:v[H%v.length]},j),silent:!0}))},this)}});J.exports=i},bBL8:function(J,F,e){var d=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var E=e("UnoB"),g=e("cbJ4"),p=e("0/Rx");d.registerLayout(E),d.registerVisual(g),d.registerProcessor(p("themeRiver"))},bE4E:function(J,F,e){},bE4q:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("RIqP"),b=e.n(A),h=e("q1tI"),i=e("TSYQ"),r=e.n(i),a=e("Zm9Q"),s=e("HQEm"),l=e.n(s),n=e("XBQK"),u=e("H84U"),t=function(R,U){var M={};for(var j in R)Object.prototype.hasOwnProperty.call(R,j)&&U.indexOf(j)<0&&(M[j]=R[j]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,j=Object.getOwnPropertySymbols(R);P<j.length;P++)U.indexOf(j[P])<0&&Object.prototype.propertyIsEnumerable.call(R,j[P])&&(M[j[P]]=R[j[P]]);return M},c=function(U){var M=U.prefixCls,j=U.separator,P=j===void 0?"/":j,K=U.children,H=U.overlay,k=U.dropdownProps,Z=t(U,["prefixCls","separator","children","overlay","dropdownProps"]),Y=h.useContext(u.b),_=Y.getPrefixCls,Q=_("breadcrumb",M),X=function(fe){return H?h.createElement(n.a,E()({overlay:H,placement:"bottomCenter"},k),h.createElement("span",{className:"".concat(Q,"-overlay-link")},fe,h.createElement(l.a,null))):fe},he;return"href"in Z?he=h.createElement("a",E()({className:"".concat(Q,"-link")},Z),K):he=h.createElement("span",E()({className:"".concat(Q,"-link")},Z),K),he=X(he),K?h.createElement("span",null,he,P&&P!==""&&h.createElement("span",{className:"".concat(Q,"-separator")},P)):null};c.__ANT_BREADCRUMB_ITEM=!0;var o=c,f=function(U){var M=U.children,j=h.useContext(u.b),P=j.getPrefixCls,K=P("breadcrumb");return h.createElement("span",{className:"".concat(K,"-separator")},M||"/")};f.__ANT_BREADCRUMB_SEPARATOR=!0;var v=f,y=e("BvKs"),L=e("uaoM"),S=e("0n0R"),x=function(R,U){var M={};for(var j in R)Object.prototype.hasOwnProperty.call(R,j)&&U.indexOf(j)<0&&(M[j]=R[j]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,j=Object.getOwnPropertySymbols(R);P<j.length;P++)U.indexOf(j[P])<0&&Object.prototype.propertyIsEnumerable.call(R,j[P])&&(M[j[P]]=R[j[P]]);return M};function O(R,U){if(!R.breadcrumbName)return null;var M=Object.keys(U).join("|"),j=R.breadcrumbName.replace(new RegExp(":(".concat(M,")"),"g"),function(P,K){return U[K]||P});return j}function T(R,U,M,j){var P=M.indexOf(R)===M.length-1,K=O(R,U);return P?h.createElement("span",null,K):h.createElement("a",{href:"#/".concat(j.join("/"))},K)}var w=function(U,M){return U=(U||"").replace(/^\//,""),Object.keys(M).forEach(function(j){U=U.replace(":".concat(j),M[j])}),U},C=function(U){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",j=arguments.length>2?arguments[2]:void 0,P=b()(U),K=w(M,j);return K&&P.push(K),P},N=function(U){var M=U.prefixCls,j=U.separator,P=j===void 0?"/":j,K=U.style,H=U.className,k=U.routes,Z=U.children,Y=U.itemRender,_=Y===void 0?T:Y,Q=U.params,X=Q===void 0?{}:Q,he=x(U,["prefixCls","separator","style","className","routes","children","itemRender","params"]),te=h.useContext(u.b),fe=te.getPrefixCls,be=te.direction,we,Ke=fe("breadcrumb",M);if(k&&k.length>0){var qe=[];we=k.map(function(Fe){var Be=w(Fe.path,X);Be&&qe.push(Be);var bt;return Fe.children&&Fe.children.length&&(bt=h.createElement(y.a,null,Fe.children.map(function(lt){return h.createElement(y.a.Item,{key:lt.path||lt.breadcrumbName},_(lt,X,k,C(qe,lt.path,X)))}))),h.createElement(o,{overlay:bt,separator:P,key:Be||Fe.breadcrumbName},_(Fe,X,k,qe))})}else Z&&(we=Object(a.a)(Z).map(function(Fe,Be){return Fe&&(Object(L.a)(Fe.type&&(Fe.type.__ANT_BREADCRUMB_ITEM===!0||Fe.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(S.a)(Fe,{separator:P,key:Be}))}));var xt=r()(H,Ke,p()({},"".concat(Ke,"-rtl"),be==="rtl"));return h.createElement("div",E()({className:xt,style:K},he),we)};N.Item=o,N.Separator=v;var D=N,B=F.a=D},bKJz:function(J,F,e){},bLfw:function(J,F,e){var d=e("bYtY"),E=e("Qxkt"),g=e("iRjW"),p=e("Yl7c"),A=p.enableClassManagement,b=p.parseClassType,h=e("4NO4"),i=h.makeInner,r=e("+TT/"),a=e("3hzK"),s=i(),l=E.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,c,o,f){E.call(this,t,c,o,f),this.uid=g.getUID("ec_cpt_model")},init:function(t,c,o,f){this.mergeDefaultAndTheme(t,o)},mergeDefaultAndTheme:function(t,c){var o=this.layoutMode,f=o?r.getLayoutParams(t):{},v=c.getTheme();d.merge(t,v.get(this.mainType)),d.merge(t,this.getDefaultOption()),o&&r.mergeLayoutParam(t,f,o)},mergeOption:function(t,c){d.merge(this.option,t,!0);var o=this.layoutMode;o&&r.mergeLayoutParam(this.option,t,o)},optionUpdated:function(t,c){},getDefaultOption:function(){var t=s(this);if(!t.defaultOption){for(var c=[],o=this.constructor;o;){var f=o.prototype.defaultOption;f&&c.push(f),o=o.superClass}for(var v={},y=c.length-1;y>=0;y--)v=d.merge(v,c[y],!0);t.defaultOption=v}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});A(l,{registerWhenExtend:!0}),g.enableSubTypeDefaulter(l),g.enableTopologicalTravel(l,n);function n(t){var c=[];return d.each(l.getClassesByMainType(t),function(o){c=c.concat(o.prototype.dependencies||[])}),c=d.map(c,function(o){return b(o).main}),t!=="dataset"&&d.indexOf(c,"dataset")<=0&&c.unshift("dataset"),c}d.mixin(l,a);var u=l;J.exports=u},bMXI:function(J,F,e){var d=e("bYtY"),E=e("QBsz"),g=e("Fofx"),p=e("mFDi"),A=e("DN4a"),b=E.applyTransform;function h(){A.call(this)}d.mixin(h,A);function i(s){this.name=s,this.zoomLimit,A.call(this),this._roamTransformable=new h,this._rawTransformable=new h,this._center,this._zoom}i.prototype={constructor:i,type:"view",dimensions:["x","y"],setBoundingRect:function(s,l,n,u){return this._rect=new p(s,l,n,u),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,l,n,u){this.transformTo(s,l,n,u),this._viewRect=new p(s,l,n,u)},transformTo:function(s,l,n,u){var t=this.getBoundingRect(),c=this._rawTransformable;c.transform=t.calculateTransform(new p(s,l,n,u)),c.decomposeTransform(),this._updateTransform()},setCenter:function(s){if(!s)return;this._center=s,this._updateCenterAndZoom()},setZoom:function(s){s=s||1;var l=this.zoomLimit;l&&(l.max!=null&&(s=Math.min(l.max,s)),l.min!=null&&(s=Math.max(l.min,s))),this._zoom=s,this._updateCenterAndZoom()},getDefaultCenter:function(){var s=this.getBoundingRect(),l=s.x+s.width/2,n=s.y+s.height/2;return[l,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var s=this._rawTransformable.getLocalTransform(),l=this._roamTransformable,n=this.getDefaultCenter(),u=this.getCenter(),t=this.getZoom();u=E.applyTransform([],u,s),n=E.applyTransform([],n,s),l.origin=u,l.position=[n[0]-u[0],n[1]-u[1]],l.scale=[t,t],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,l=this._rawTransformable;l.parent=s,s.updateTransform(),l.updateTransform(),g.copy(this.transform||(this.transform=[]),l.transform||g.create()),this._rawTransform=l.getLocalTransform(),this.invTransform=this.invTransform||[],g.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,l=this._rawTransformable;return{roamTransform:s?d.slice(s):g.create(),rawScale:d.slice(l.scale),rawPosition:d.slice(l.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var s=this.getBoundingRect().clone();return s.applyTransform(this.transform),s},dataToPoint:function(s,l,n){var u=l?this._rawTransform:this.transform;return n=n||[],u?b(n,s,u):E.copy(n,s)},pointToData:function(s){var l=this.invTransform;return l?b([],s,l):[s[0],s[1]]},convertToPixel:d.curry(r,"dataToPoint"),convertFromPixel:d.curry(r,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},d.mixin(i,A);function r(s,l,n,u){var t=n.seriesModel,c=t?t.coordinateSystem:null;return c===this?c[s](u):null}var a=i;J.exports=a},bNin:function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("FBjb"),p=e("Itpr"),A=p.radialCoordinate,b=e("ProS"),h=e("4mN7"),i=e("bMXI"),r=e("Ae+d"),a=e("SgGq"),s=e("xSat"),l=s.onIrrelevantElement,n=e("Tghj"),u=n.__DEV__,t=e("OELB"),c=t.parsePercent,o=E.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,w){var C=w.childPoints,N=C.length,D=w.parentPoint,B=C[0],R=C[N-1];if(N===1){T.moveTo(D[0],D[1]),T.lineTo(B[0],B[1]);return}var U=w.orient,M=U==="TB"||U==="BT"?0:1,j=1-M,P=c(w.forkPosition,1),K=[];K[M]=D[M],K[j]=D[j]+(R[j]-D[j])*P,T.moveTo(D[0],D[1]),T.lineTo(K[0],K[1]),T.moveTo(B[0],B[1]),K[M]=B[M],T.lineTo(K[0],K[1]),K[M]=R[M],T.lineTo(K[0],K[1]),T.lineTo(R[0],R[1]);for(var H=1;H<N-1;H++){var k=C[H];T.moveTo(k[0],k[1]),K[M]=k[M],T.lineTo(K[0],K[1])}}}),f=b.extendChartView({type:"tree",init:function(T,w){this._oldTree,this._mainGroup=new E.Group,this._controller=new a(w.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,w,C,N){var D=T.getData(),B=T.layoutInfo,R=this._mainGroup,U=T.get("layout");U==="radial"?R.attr("position",[B.x+B.width/2,B.y+B.height/2]):R.attr("position",[B.x,B.y]),this._updateViewCoordSys(T,B,U),this._updateController(T,w,C);var M=this._data,j={expandAndCollapse:T.get("expandAndCollapse"),layout:U,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};D.diff(M).add(function(P){v(D,P)&&L(D,P,null,R,T,j)}).update(function(P,K){var H=M.getItemGraphicEl(K);if(!v(D,P)){H&&x(M,K,H,R,T,j);return}L(D,P,H,R,T,j)}).remove(function(P){var K=M.getItemGraphicEl(P);K&&x(M,P,K,R,T,j)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),j.expandAndCollapse===!0&&D.eachItemGraphicEl(function(P,K){P.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:K})})}),this._data=D},_updateViewCoordSys:function(T){var w=T.getData(),C=[];w.each(function(M){var j=w.getItemLayout(M);j&&!isNaN(j.x)&&!isNaN(j.y)&&C.push([+j.x,+j.y])});var N=[],D=[];h.fromPoints(C,N,D);var B=this._min,R=this._max;D[0]-N[0]===0&&(N[0]=B?B[0]:N[0]-1,D[0]=R?R[0]:D[0]+1),D[1]-N[1]===0&&(N[1]=B?B[1]:N[1]-1,D[1]=R?R[1]:D[1]+1);var U=T.coordinateSystem=new i;U.zoomLimit=T.get("scaleLimit"),U.setBoundingRect(N[0],N[1],D[0]-N[0],D[1]-N[1]),U.setCenter(T.get("center")),U.setZoom(T.get("zoom")),this.group.attr({position:U.position,scale:U.scale}),this._viewCoordSys=U,this._min=N,this._max=D},_updateController:function(T,w,C){var N=this._controller,D=this._controllerHost,B=this.group;N.setPointerChecker(function(R,U,M){var j=B.getBoundingRect();return j.applyTransform(B.transform),j.contain(U,M)&&!l(R,C,T)}),N.enable(T.get("roam")),D.zoomLimit=T.get("scaleLimit"),D.zoom=T.coordinateSystem.getZoom(),N.off("pan").off("zoom").on("pan",function(R){r.updateViewOnPan(D,R.dx,R.dy),C.dispatchAction({seriesId:T.id,type:"treeRoam",dx:R.dx,dy:R.dy})},this).on("zoom",function(R){r.updateViewOnZoom(D,R.scale,R.originX,R.originY),C.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:R.scale,originX:R.originX,originY:R.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var w=T.getData(),C=this._getNodeGlobalScale(T),N=[C,C];w.eachItemGraphicEl(function(D,B){D.attr("scale",N)})},_getNodeGlobalScale:function(T){var w=T.coordinateSystem;if(w.type!=="view")return 1;var C=this._nodeScaleRatio,N=w.scale,D=N&&N[0]||1,B=w.getZoom(),R=(B-1)*C+1;return R/D},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function v(T,w){var C=T.getItemLayout(w);return C&&!isNaN(C.x)&&!isNaN(C.y)&&T.getItemVisual(w,"symbol")!=="none"}function y(T,w,C){return C.itemModel=w,C.itemStyle=w.getModel("itemStyle").getItemStyle(),C.hoverItemStyle=w.getModel("emphasis.itemStyle").getItemStyle(),C.lineStyle=w.getModel("lineStyle").getLineStyle(),C.labelModel=w.getModel("label"),C.hoverLabelModel=w.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function L(T,w,C,N,D,B){var R=!C,U=T.tree.getNodeByDataIndex(w),M=U.getModel(),B=y(U,M,B),j=T.tree.root,P=U.parentNode===j?U:U.parentNode||U,K=T.getItemGraphicEl(P.dataIndex),H=P.getLayout(),k=K?{x:K.position[0],y:K.position[1],rawX:K.__radialOldRawX,rawY:K.__radialOldRawY}:H,Z=U.getLayout();R?(C=new g(T,w,B),C.attr("position",[k.x,k.y])):C.updateData(T,w,B),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=Z.rawX,C.__radialRawY=Z.rawY,N.add(C),T.setItemGraphicEl(w,C),E.updateProps(C,{position:[Z.x,Z.y]},D);var Y=C.getSymbolPath();if(B.layout==="radial"){var _=j.children[0],Q=_.getLayout(),X=_.children.length,he,te;if(Z.x===Q.x&&U.isExpand===!0){var fe={};fe.x=(_.children[0].getLayout().x+_.children[X-1].getLayout().x)/2,fe.y=(_.children[0].getLayout().y+_.children[X-1].getLayout().y)/2,he=Math.atan2(fe.y-Q.y,fe.x-Q.x),he<0&&(he=Math.PI*2+he),te=fe.x<Q.x,te&&(he=he-Math.PI)}else he=Math.atan2(Z.y-Q.y,Z.x-Q.x),he<0&&(he=Math.PI*2+he),U.children.length===0||U.children.length!==0&&U.isExpand===!1?(te=Z.x<Q.x,te&&(he=he-Math.PI)):(te=Z.x>Q.x,te||(he=he-Math.PI));var be=te?"left":"right",we=B.labelModel.get("rotate"),Ke=we*(Math.PI/180);Y.setStyle({textPosition:B.labelModel.get("position")||be,textRotation:we==null?-he:Ke,textOrigin:"center",verticalAlign:"middle"})}S(D,U,j,C,k,H,Z,N,B)}function S(T,w,C,N,D,B,R,U,M){var j=M.edgeShape,P=N.__edge;if(j==="curve")w.parentNode&&w.parentNode!==C&&(P||(P=N.__edge=new E.BezierCurve({shape:O(M,D,D),style:d.defaults({opacity:0,strokeNoScale:!0},M.lineStyle)})),E.updateProps(P,{shape:O(M,B,R),style:{opacity:1}},T));else if(j==="polyline"&&(M.layout==="orthogonal"&&(w!==C&&w.children&&w.children.length!==0&&w.isExpand===!0))){for(var K=w.children,H=[],k=0;k<K.length;k++){var Z=K[k].getLayout();H.push([Z.x,Z.y])}P||(P=N.__edge=new o({shape:{parentPoint:[R.x,R.y],childPoints:[[R.x,R.y]],orient:M.orient,forkPosition:M.edgeForkPosition},style:d.defaults({opacity:0,strokeNoScale:!0},M.lineStyle)})),E.updateProps(P,{shape:{parentPoint:[R.x,R.y],childPoints:H},style:{opacity:1}},T)}U.add(P)}function x(T,w,C,N,D,B){for(var R=T.tree.getNodeByDataIndex(w),U=T.tree.root,M=R.getModel(),B=y(R,M,B),j=R.parentNode===U?R:R.parentNode||R,P=B.edgeShape,K;K=j.getLayout(),K==null;)j=j.parentNode===U?j:j.parentNode||j;E.updateProps(C,{position:[K.x+1,K.y+1]},D,function(){N.remove(C),T.setItemGraphicEl(w,null)}),C.fadeOut(null,{keepLabel:!0});var H=T.getItemGraphicEl(j.dataIndex),k=H.__edge,Z=C.__edge||(j.isExpand===!1||j.children.length===1?k:void 0),P=B.edgeShape;Z&&(P==="curve"?E.updateProps(Z,{shape:O(B,K,K),style:{opacity:0}},D,function(){N.remove(Z)}):P==="polyline"&&B.layout==="orthogonal"&&E.updateProps(Z,{shape:{parentPoint:[K.x,K.y],childPoints:[[K.x,K.y]]},style:{opacity:0}},D,function(){N.remove(Z)}))}function O(T,w,C){var N,D,B,R,U=T.orient,M,j,P,K;if(T.layout==="radial"){M=w.rawX,P=w.rawY,j=C.rawX,K=C.rawY;var H=A(M,P),k=A(M,P+(K-P)*T.curvature),Z=A(j,K+(P-K)*T.curvature),Y=A(j,K);return{x1:H.x,y1:H.y,x2:Y.x,y2:Y.y,cpx1:k.x,cpy1:k.y,cpx2:Z.x,cpy2:Z.y}}else M=w.x,P=w.y,j=C.x,K=C.y,(U==="LR"||U==="RL")&&(N=M+(j-M)*T.curvature,D=P,B=j+(M-j)*T.curvature,R=K),(U==="TB"||U==="BT")&&(N=M,D=P+(K-P)*T.curvature,B=j,R=K+(P-K)*T.curvature);return{x1:M,y1:P,x2:j,y2:K,cpx1:N,cpy1:D,cpx2:B,cpy2:R}}J.exports=f},bRQS:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="CheckOutlined";var b=F.a=d.forwardRef(A)},bX4T:function(J,F,e){"use strict";e.d(F,"a",function(){return h});var d=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,g="".concat(d," ").concat(E).split(/[\s\n]+/),p="aria-",A="data-";function b(i,r){return i.indexOf(r)===0}function h(i){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={};return Object.keys(i).forEach(function(s){(b(s,p)||!r&&(g.includes(s)||b(s,A)))&&(a[s]=i[s])}),a}},bYtY:function(J,F){var e={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},d={"[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},E=Object.prototype.toString,g=Array.prototype,p=g.forEach,A=g.filter,b=g.slice,h=g.map,i=g.reduce,r={};function a(Fe,Be){Fe==="createCanvas"&&(o=null),r[Fe]=Be}function s(Fe){if(Fe==null||typeof Fe!="object")return Fe;var Be=Fe,bt=E.call(Fe);if(bt==="[object Array]"){if(!be(Fe)){Be=[];for(var lt=0,tt=Fe.length;lt<tt;lt++)Be[lt]=s(Fe[lt])}}else if(d[bt]){if(!be(Fe)){var St=Fe.constructor;if(Fe.constructor.from)Be=St.from(Fe);else{Be=new St(Fe.length);for(var lt=0,tt=Fe.length;lt<tt;lt++)Be[lt]=s(Fe[lt])}}}else if(!e[bt]&&!be(Fe)&&!K(Fe)){Be={};for(var ht in Fe)Fe.hasOwnProperty(ht)&&(Be[ht]=s(Fe[ht]))}return Be}function l(Fe,Be,bt){if(!M(Be)||!M(Fe))return bt?s(Be):Fe;for(var lt in Be)if(Be.hasOwnProperty(lt)){var tt=Fe[lt],St=Be[lt];M(St)&&M(tt)&&!B(St)&&!B(tt)&&!K(St)&&!K(tt)&&!j(St)&&!j(tt)&&!be(St)&&!be(tt)?l(tt,St,bt):(bt||!(lt in Fe))&&(Fe[lt]=s(Be[lt],!0))}return Fe}function n(Fe,Be){for(var bt=Fe[0],lt=1,tt=Fe.length;lt<tt;lt++)bt=l(bt,Fe[lt],Be);return bt}function u(Fe,Be){for(var bt in Be)Be.hasOwnProperty(bt)&&(Fe[bt]=Be[bt]);return Fe}function t(Fe,Be,bt){for(var lt in Be)Be.hasOwnProperty(lt)&&(bt?Be[lt]!=null:Fe[lt]==null)&&(Fe[lt]=Be[lt]);return Fe}var c=function(){return r.createCanvas()};r.createCanvas=function(){return document.createElement("canvas")};var o;function f(){return o||(o=c().getContext("2d")),o}function v(Fe,Be){if(Fe){if(Fe.indexOf)return Fe.indexOf(Be);for(var bt=0,lt=Fe.length;bt<lt;bt++)if(Fe[bt]===Be)return bt}return-1}function y(Fe,Be){var bt=Fe.prototype;function lt(){}lt.prototype=Be.prototype,Fe.prototype=new lt;for(var tt in bt)bt.hasOwnProperty(tt)&&(Fe.prototype[tt]=bt[tt]);Fe.prototype.constructor=Fe,Fe.superClass=Be}function L(Fe,Be,bt){Fe="prototype"in Fe?Fe.prototype:Fe,Be="prototype"in Be?Be.prototype:Be,t(Fe,Be,bt)}function S(Fe){return Fe?typeof Fe=="string"?!1:typeof Fe.length=="number":void 0}function x(Fe,Be,bt){if(!(Fe&&Be))return;if(Fe.forEach&&Fe.forEach===p)Fe.forEach(Be,bt);else if(Fe.length===+Fe.length)for(var lt=0,tt=Fe.length;lt<tt;lt++)Be.call(bt,Fe[lt],lt,Fe);else for(var St in Fe)Fe.hasOwnProperty(St)&&Be.call(bt,Fe[St],St,Fe)}function O(Fe,Be,bt){if(!(Fe&&Be))return;if(Fe.map&&Fe.map===h)return Fe.map(Be,bt);for(var lt=[],tt=0,St=Fe.length;tt<St;tt++)lt.push(Be.call(bt,Fe[tt],tt,Fe));return lt}function T(Fe,Be,bt,lt){if(!(Fe&&Be))return;if(Fe.reduce&&Fe.reduce===i)return Fe.reduce(Be,bt,lt);for(var tt=0,St=Fe.length;tt<St;tt++)bt=Be.call(lt,bt,Fe[tt],tt,Fe);return bt}function w(Fe,Be,bt){if(!(Fe&&Be))return;if(Fe.filter&&Fe.filter===A)return Fe.filter(Be,bt);for(var lt=[],tt=0,St=Fe.length;tt<St;tt++)Be.call(bt,Fe[tt],tt,Fe)&<.push(Fe[tt]);return lt}function C(Fe,Be,bt){if(!(Fe&&Be))return;for(var lt=0,tt=Fe.length;lt<tt;lt++)if(Be.call(bt,Fe[lt],lt,Fe))return Fe[lt]}function N(Fe,Be){var bt=b.call(arguments,2);return function(){return Fe.apply(Be,bt.concat(b.call(arguments)))}}function D(Fe){var Be=b.call(arguments,1);return function(){return Fe.apply(this,Be.concat(b.call(arguments)))}}function B(Fe){return E.call(Fe)==="[object Array]"}function R(Fe){return typeof Fe=="function"}function U(Fe){return E.call(Fe)==="[object String]"}function M(Fe){var Be=typeof Fe;return Be==="function"||!!Fe&&Be==="object"}function j(Fe){return!!e[E.call(Fe)]}function P(Fe){return!!d[E.call(Fe)]}function K(Fe){return typeof Fe=="object"&&typeof Fe.nodeType=="number"&&typeof Fe.ownerDocument=="object"}function H(Fe){return Fe!==Fe}function k(Fe){for(var Be=0,bt=arguments.length;Be<bt;Be++)if(arguments[Be]!=null)return arguments[Be]}function Z(Fe,Be){return Fe!=null?Fe:Be}function Y(Fe,Be,bt){return Fe!=null?Fe:Be!=null?Be:bt}function _(){return Function.call.apply(b,arguments)}function Q(Fe){if(typeof Fe=="number")return[Fe,Fe,Fe,Fe];var Be=Fe.length;return Be===2?[Fe[0],Fe[1],Fe[0],Fe[1]]:Be===3?[Fe[0],Fe[1],Fe[2],Fe[1]]:Fe}function X(Fe,Be){if(!Fe)throw new Error(Be)}function he(Fe){return Fe==null?null:typeof Fe.trim=="function"?Fe.trim():Fe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var te="__ec_primitive__";function fe(Fe){Fe[te]=!0}function be(Fe){return Fe[te]}function we(Fe){var Be=B(Fe);this.data={};var bt=this;Fe instanceof we?Fe.each(lt):Fe&&x(Fe,lt);function lt(tt,St){Be?bt.set(tt,St):bt.set(St,tt)}}we.prototype={constructor:we,get:function(Be){return this.data.hasOwnProperty(Be)?this.data[Be]:null},set:function(Be,bt){return this.data[Be]=bt},each:function(Be,bt){bt!==void 0&&(Be=N(Be,bt));for(var lt in this.data)this.data.hasOwnProperty(lt)&&Be(this.data[lt],lt)},removeKey:function(Be){delete this.data[Be]}};function Ke(Fe){return new we(Fe)}function qe(Fe,Be){for(var bt=new Fe.constructor(Fe.length+Be.length),lt=0;lt<Fe.length;lt++)bt[lt]=Fe[lt];var tt=Fe.length;for(lt=0;lt<Be.length;lt++)bt[lt+tt]=Be[lt];return bt}function xt(){}F.$override=a,F.clone=s,F.merge=l,F.mergeAll=n,F.extend=u,F.defaults=t,F.createCanvas=c,F.getContext=f,F.indexOf=v,F.inherits=y,F.mixin=L,F.isArrayLike=S,F.each=x,F.map=O,F.reduce=T,F.filter=w,F.find=C,F.bind=N,F.curry=D,F.isArray=B,F.isFunction=R,F.isString=U,F.isObject=M,F.isBuiltInObject=j,F.isTypedArray=P,F.isDom=K,F.eqNaN=H,F.retrieve=k,F.retrieve2=Z,F.retrieve3=Y,F.slice=_,F.normalizeCssArray=Q,F.assert=X,F.trim=he,F.setAsPrimitive=fe,F.isPrimitive=be,F.createHashMap=Ke,F.concatArray=qe,F.noop=xt},bZqE:function(J,F){function e(E,g,p){for(var A=[E],b=[],h;h=A.pop();)if(b.push(h),h.isExpand){var i=h.children;if(i.length)for(var r=0;r<i.length;r++)A.push(i[r])}for(;h=b.pop();)g(h,p)}function d(E,g){for(var p=[E],A;A=p.pop();)if(g(A),A.isExpand){var b=A.children;if(b.length)for(var h=b.length-1;h>=0;h--)p.push(b[h])}}F.eachAfter=e,F.eachBefore=d},bahg:function(J,F){function e(d){return d.split("")}J.exports=e},bbsP:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("CWI+"),p=e.n(g)},bogI:function(J,F,e){"use strict";e.d(F,"a",function(){return d});var d=function(g){if(!g)return null;var p=typeof g=="function";return p?g():g}},bsht:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},bx4M:function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("q1tI"),b=e("TSYQ"),h=e.n(b),i=e("BGR+"),r=e("H84U"),a=function(O,T){var w={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(w[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,C=Object.getOwnPropertySymbols(O);N<C.length;N++)T.indexOf(C[N])<0&&Object.prototype.propertyIsEnumerable.call(O,C[N])&&(w[C[N]]=O[C[N]]);return w},s=function(T){return A.createElement(r.a,null,function(w){var C=w.getPrefixCls,N=T.prefixCls,D=T.className,B=T.hoverable,R=B===void 0?!0:B,U=a(T,["prefixCls","className","hoverable"]),M=C("card",N),j=h()("".concat(M,"-grid"),D,E()({},"".concat(M,"-grid-hoverable"),R));return A.createElement("div",p()({},U,{className:j}))})},l=s,n=function(O,T){var w={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(w[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,C=Object.getOwnPropertySymbols(O);N<C.length;N++)T.indexOf(C[N])<0&&Object.prototype.propertyIsEnumerable.call(O,C[N])&&(w[C[N]]=O[C[N]]);return w},u=function(T){return A.createElement(r.a,null,function(w){var C=w.getPrefixCls,N=T.prefixCls,D=T.className,B=T.avatar,R=T.title,U=T.description,M=n(T,["prefixCls","className","avatar","title","description"]),j=C("card",N),P=h()("".concat(j,"-meta"),D),K=B?A.createElement("div",{className:"".concat(j,"-meta-avatar")},B):null,H=R?A.createElement("div",{className:"".concat(j,"-meta-title")},R):null,k=U?A.createElement("div",{className:"".concat(j,"-meta-description")},U):null,Z=H||k?A.createElement("div",{className:"".concat(j,"-meta-detail")},H,k):null;return A.createElement("div",p()({},M,{className:P}),K,Z)})},t=u,c=e("ZTPi"),o=e("BMrR"),f=e("kPKH"),v=e("3Nzz"),y=function(O,T){var w={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(w[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,C=Object.getOwnPropertySymbols(O);N<C.length;N++)T.indexOf(C[N])<0&&Object.prototype.propertyIsEnumerable.call(O,C[N])&&(w[C[N]]=O[C[N]]);return w};function L(O){var T=O.map(function(w,C){return A.createElement("li",{style:{width:"".concat(100/O.length,"%")},key:"action-".concat(C)},A.createElement("span",null,w))});return T}var S=function(T){var w,C,N=A.useContext(r.b),D=N.getPrefixCls,B=N.direction,R=A.useContext(v.b),U=function(Ve){T.onTabChange&&T.onTabChange(Ve)},M=function(){var Ve;return A.Children.forEach(T.children,function(Qe){Qe&&Qe.type&&Qe.type===l&&(Ve=!0)}),Ve},j=T.prefixCls,P=T.className,K=T.extra,H=T.headStyle,k=H===void 0?{}:H,Z=T.bodyStyle,Y=Z===void 0?{}:Z,_=T.title,Q=T.loading,X=T.bordered,he=X===void 0?!0:X,te=T.size,fe=T.type,be=T.cover,we=T.actions,Ke=T.tabList,qe=T.children,xt=T.activeTabKey,Fe=T.defaultActiveTabKey,Be=T.tabBarExtraContent,bt=T.hoverable,lt=T.tabProps,tt=lt===void 0?{}:lt,St=y(T,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),ht=D("card",j),vt=Y.padding===0||Y.padding==="0px"?{padding:24}:void 0,Ge=A.createElement("div",{className:"".concat(ht,"-loading-block")}),At=A.createElement("div",{className:"".concat(ht,"-loading-content"),style:vt},A.createElement(o.a,{gutter:8},A.createElement(f.a,{span:22},Ge)),A.createElement(o.a,{gutter:8},A.createElement(f.a,{span:8},Ge),A.createElement(f.a,{span:15},Ge)),A.createElement(o.a,{gutter:8},A.createElement(f.a,{span:6},Ge),A.createElement(f.a,{span:18},Ge)),A.createElement(o.a,{gutter:8},A.createElement(f.a,{span:13},Ge),A.createElement(f.a,{span:9},Ge)),A.createElement(o.a,{gutter:8},A.createElement(f.a,{span:4},Ge),A.createElement(f.a,{span:3},Ge),A.createElement(f.a,{span:16},Ge))),_e=xt!==void 0,De=p()(p()({},tt),(w={},E()(w,_e?"activeKey":"defaultActiveKey",_e?xt:Fe),E()(w,"tabBarExtraContent",Be),w)),Ie,st=Ke&&Ke.length?A.createElement(c.a,p()({size:"large"},De,{className:"".concat(ht,"-head-tabs"),onChange:U}),Ke.map(function(_t){return A.createElement(c.a.TabPane,{tab:_t.tab,disabled:_t.disabled,key:_t.key})})):null;(_||K||st)&&(Ie=A.createElement("div",{className:"".concat(ht,"-head"),style:k},A.createElement("div",{className:"".concat(ht,"-head-wrapper")},_&&A.createElement("div",{className:"".concat(ht,"-head-title")},_),K&&A.createElement("div",{className:"".concat(ht,"-extra")},K)),st));var Et=be?A.createElement("div",{className:"".concat(ht,"-cover")},be):null,Mt=A.createElement("div",{className:"".concat(ht,"-body"),style:Y},Q?At:qe),Pt=we&&we.length?A.createElement("ul",{className:"".concat(ht,"-actions")},L(we)):null,ke=Object(i.default)(St,["onTabChange"]),zt=te||R,Ot=h()(ht,P,(C={},E()(C,"".concat(ht,"-loading"),Q),E()(C,"".concat(ht,"-bordered"),he),E()(C,"".concat(ht,"-hoverable"),bt),E()(C,"".concat(ht,"-contain-grid"),M()),E()(C,"".concat(ht,"-contain-tabs"),Ke&&Ke.length),E()(C,"".concat(ht,"-").concat(zt),zt),E()(C,"".concat(ht,"-type-").concat(fe),!!fe),E()(C,"".concat(ht,"-rtl"),B==="rtl"),C));return A.createElement("div",p()({},ke,{className:Ot}),Ie,Et,Mt,Pt)};S.Grid=l,S.Meta=t;var x=F.a=S},c2i1:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("Yl7c"),A=p.enableClassCheck;function b(n){return"_EC_"+n}var h=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},i=h.prototype;i.type="graph",i.isDirected=function(){return this._directed},i.addNode=function(n,u){n=n==null?""+u:""+n;var t=this._nodesMap;if(t[b(n)])return;var c=new r(n,u);return c.hostGraph=this,this.nodes.push(c),t[b(n)]=c,c},i.getNodeByIndex=function(n){var u=this.data.getRawIndex(n);return this.nodes[u]},i.getNodeById=function(n){return this._nodesMap[b(n)]},i.addEdge=function(n,u,t){var c=this._nodesMap,o=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof u=="number"&&(u=this.nodes[u]),r.isInstance(n)||(n=c[b(n)]),r.isInstance(u)||(u=c[b(u)]),!n||!u)return;var f=n.id+"-"+u.id;if(o[f])return;var v=new a(n,u,t);return v.hostGraph=this,this._directed&&(n.outEdges.push(v),u.inEdges.push(v)),n.edges.push(v),n!==u&&u.edges.push(v),this.edges.push(v),o[f]=v,v},i.getEdgeByIndex=function(n){var u=this.edgeData.getRawIndex(n);return this.edges[u]},i.getEdge=function(n,u){r.isInstance(n)&&(n=n.id),r.isInstance(u)&&(u=u.id);var t=this._edgesMap;return this._directed?t[n+"-"+u]:t[n+"-"+u]||t[u+"-"+n]},i.eachNode=function(n,u){for(var t=this.nodes,c=t.length,o=0;o<c;o++)t[o].dataIndex>=0&&n.call(u,t[o],o)},i.eachEdge=function(n,u){for(var t=this.edges,c=t.length,o=0;o<c;o++)t[o].dataIndex>=0&&t[o].node1.dataIndex>=0&&t[o].node2.dataIndex>=0&&n.call(u,t[o],o)},i.breadthFirstTraverse=function(n,u,t,c){if(r.isInstance(u)||(u=this._nodesMap[b(u)]),!u)return;for(var o=t==="out"?"outEdges":t==="in"?"inEdges":"edges",f=0;f<this.nodes.length;f++)this.nodes[f].__visited=!1;if(n.call(c,u,null))return;for(var v=[u];v.length;)for(var y=v.shift(),L=y[o],f=0;f<L.length;f++){var S=L[f],x=S.node1===y?S.node2:S.node1;if(!x.__visited){if(n.call(c,x,y))return;v.push(x),x.__visited=!0}}},i.update=function(){for(var n=this.data,u=this.edgeData,t=this.nodes,c=this.edges,o=0,f=t.length;o<f;o++)t[o].dataIndex=-1;for(var o=0,f=n.count();o<f;o++)t[n.getRawIndex(o)].dataIndex=o;u.filterSelf(function(v){var y=c[u.getRawIndex(v)];return y.node1.dataIndex>=0&&y.node2.dataIndex>=0});for(var o=0,f=c.length;o<f;o++)c[o].dataIndex=-1;for(var o=0,f=u.count();o<f;o++)c[u.getRawIndex(o)].dataIndex=o},i.clone=function(){for(var n=new h(this._directed),u=this.nodes,t=this.edges,c=0;c<u.length;c++)n.addNode(u[c].id,u[c].dataIndex);for(var c=0;c<t.length;c++){var o=t[c];n.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return n};function r(n,u){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=u==null?-1:u}r.prototype={constructor:r,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 u=this.hostGraph,t=u.data.getItemModel(this.dataIndex);return t.getModel(n)}};function a(n,u,t){this.node1=n,this.node2=u,this.dataIndex=t==null?-1:t}a.prototype.getModel=function(n){if(this.dataIndex<0)return;var u=this.hostGraph,t=u.edgeData.getItemModel(this.dataIndex);return t.getModel(n)};var s=function(n,u){return{getValue:function(t){var c=this[n][u];return c.get(c.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,c){this.dataIndex>=0&&this[n][u].setItemVisual(this.dataIndex,t,c)},getVisual:function(t,c){return this[n][u].getItemVisual(this.dataIndex,t,c)},setLayout:function(t,c){this.dataIndex>=0&&this[n][u].setItemLayout(this.dataIndex,t,c)},getLayout:function(){return this[n][u].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][u].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][u].getRawIndex(this.dataIndex)}}};g.mixin(r,s("hostGraph","data")),g.mixin(a,s("hostGraph","edgeData")),h.Node=r,h.Edge=a,A(r),A(a);var l=h;J.exports=l},c6wG:function(J,F,e){var d=e("dD9F"),E=e("sEf8"),g=e("mdPL"),p=g&&g.isTypedArray,A=p?E(p):d;J.exports=A},c8qY:function(J,F,e){var d=e("IwbS"),E=e("fls0");function g(l){this._ctor=l||E,this.group=new d.Group}var p=g.prototype;p.isPersistent=function(){return!0},p.updateData=function(l){var n=this,u=n.group,t=n._lineData;n._lineData=l,t||u.removeAll();var c=i(l);l.diff(t).add(function(o){A(n,l,o,c)}).update(function(o,f){b(n,t,l,f,o,c)}).remove(function(o){u.remove(t.getItemGraphicEl(o))}).execute()};function A(l,n,u,t){var c=n.getItemLayout(u);if(!a(c))return;var o=new l._ctor(n,u,t);n.setItemGraphicEl(u,o),l.group.add(o)}function b(l,n,u,t,c,o){var f=n.getItemGraphicEl(t);if(!a(u.getItemLayout(c))){l.group.remove(f);return}f?f.updateData(u,c,o):f=new l._ctor(u,c,o),u.setItemGraphicEl(c,f),l.group.add(f)}p.updateLayout=function(){var l=this._lineData;if(!l)return;l.eachItemGraphicEl(function(n,u){n.updateLayout(l,u)},this)},p.incrementalPrepareUpdate=function(l){this._seriesScope=i(l),this._lineData=null,this.group.removeAll()};function h(l){return l.animators&&l.animators.length>0}p.incrementalUpdate=function(l,n){function u(f){!f.isGroup&&!h(f)&&(f.incremental=f.useHoverLayer=!0)}for(var t=l.start;t<l.end;t++){var c=n.getItemLayout(t);if(a(c)){var o=new this._ctor(n,t,this._seriesScope);o.traverse(u),this.group.add(o),n.setItemGraphicEl(t,o)}}};function i(l){var n=l.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label")}}p.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},p._clearIncremental=function(){var l=this._incremental;l&&l.clearDisplaybles()};function r(l){return isNaN(l[0])||isNaN(l[1])}function a(l){return!r(l[0])&&!r(l[1])}var s=g;J.exports=s},cCMj:function(J,F,e){var d=e("bYtY"),E={updateSelectedMap:function(g){this._targetList=d.isArray(g)?g.slice():[],this._selectTargetMap=d.reduce(g||[],function(p,A){return p.set(A.name,A),p},d.createHashMap())},select:function(g,p){var A=p!=null?this._targetList[p]:this._selectTargetMap.get(g),b=this.get("selectedMode");b==="single"&&this._selectTargetMap.each(function(h){h.selected=!1}),A&&(A.selected=!0)},unSelect:function(g,p){var A=p!=null?this._targetList[p]:this._selectTargetMap.get(g);A&&(A.selected=!1)},toggleSelected:function(g,p){var A=p!=null?this._targetList[p]:this._selectTargetMap.get(g);if(A!=null)return this[A.selected?"unSelect":"select"](g,p),A.selected},isSelected:function(g,p){var A=p!=null?this._targetList[p]:this._selectTargetMap.get(g);return A&&A.selected}};J.exports=E},cVA7:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=e("MT78"),E=A(d),g=e("t3Fx"),p=A(g);function A(a){return a&&a.__esModule?a:{default:a}}function b(a,s){if(!(a instanceof s))throw new TypeError("Cannot call a class as a function")}function h(a,s){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:a}function i(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);a.prototype=Object.create(s&&s.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(a,s):a.__proto__=s)}var r=function(a){i(s,a);function s(l){b(this,s);var n=h(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,l));return n.echartsLib=E.default,n}return s}(p.default);F.default=r},cWXX:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("oIFs"),p=e.n(g)},ca2m:function(J,F,e){var d=e("bYtY"),E={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)"]}}},g={};g.categoryAxis=d.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},E),g.valueAxis=d.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},E),g.timeAxis=d.defaults({scale:!0,min:"dataMin",max:"dataMax"},g.valueAxis),g.logAxis=d.defaults({scale:!0,logBase:10},g.valueAxis);var p=g;J.exports=p},cbJ4:function(J,F,e){var d=e("bYtY"),E=d.createHashMap;function g(p){p.eachSeriesByType("themeRiver",function(A){var b=A.getData(),h=A.getRawData(),i=A.get("color"),r=E();b.each(function(a){r.set(b.getRawIndex(a),a)}),h.each(function(a){var s=h.getName(a),l=i[(A.nameMap.get(s)-1)%i.length];h.setItemVisual(a,"color",l);var n=r.get(a);n!=null&&b.setItemVisual(n,"color",l)})})}J.exports=g},chpo:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=1,E=function(){return"".concat(d++)};F.default=E},cpOr:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("T4UG"),p=e("YXkt"),A=e("bYtY"),b=A.concatArray,h=A.mergeAll,i=A.map,r=e("7aKB"),a=r.encodeHTML,s=e("IDmD"),l=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function u(o){var f=o.data;f&&f[0]&&f[0][0]&&f[0][0].coord&&(o.data=i(f,function(v){var y=[v[0].coord,v[1].coord],L={coords:y};return v[0].name&&(L.fromName=v[0].name),v[1].name&&(L.toName=v[1].name),h([L,v[0],v[1]])}))}var t=g.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(o){o.data=o.data||[],u(o);var f=this._processFlatCoordsArray(o.data);this._flatCoords=f.flatCoords,this._flatCoordsOffset=f.flatCoordsOffset,f.flatCoords&&(o.data=new Float32Array(f.count)),t.superApply(this,"init",arguments)},mergeOption:function(o){if(o.data=o.data||[],u(o),o.data){var f=this._processFlatCoordsArray(o.data);this._flatCoords=f.flatCoords,this._flatCoordsOffset=f.flatCoordsOffset,f.flatCoords&&(o.data=new Float32Array(f.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(o){var f=this._processFlatCoordsArray(o.data);f.flatCoords&&(this._flatCoords?(this._flatCoords=b(this._flatCoords,f.flatCoords),this._flatCoordsOffset=b(this._flatCoordsOffset,f.flatCoordsOffset)):(this._flatCoords=f.flatCoords,this._flatCoordsOffset=f.flatCoordsOffset),o.data=new Float32Array(f.count)),this.getRawData().appendData(o.data)},_getCoordsFromItemModel:function(o){var f=this.getData().getItemModel(o),v=f.option instanceof Array?f.option:f.getShallow("coords");return v},getLineCoordsCount:function(o){return this._flatCoordsOffset?this._flatCoordsOffset[o*2+1]:this._getCoordsFromItemModel(o).length},getLineCoords:function(o,f){if(this._flatCoordsOffset){for(var v=this._flatCoordsOffset[o*2],y=this._flatCoordsOffset[o*2+1],L=0;L<y;L++)f[L]=f[L]||[],f[L][0]=this._flatCoords[v+L*2],f[L][1]=this._flatCoords[v+L*2+1];return y}else{for(var S=this._getCoordsFromItemModel(o),L=0;L<S.length;L++)f[L]=f[L]||[],f[L][0]=S[L][0],f[L][1]=S[L][1];return S.length}},_processFlatCoordsArray:function(o){var f=0;if(this._flatCoords&&(f=this._flatCoords.length),typeof o[0]=="number"){for(var v=o.length,y=new l(v),L=new n(v),S=0,x=0,O=0,T=0;T<v;){O++;var w=o[T++];y[x++]=S+f,y[x++]=w;for(var C=0;C<w;C++){var N=o[T++],D=o[T++];L[S++]=N,L[S++]=D,T>v}}return{flatCoordsOffset:new Uint32Array(y.buffer,0,x),flatCoords:L,count:O}}return{flatCoordsOffset:null,flatCoords:null,count:o.length}},getInitialData:function(o,f){var v=new p(["value"],this);return v.hasItemOption=!1,v.initData(o.data,[],function(y,L,S,x){if(y instanceof Array)return NaN;v.hasItemOption=!0;var O=y.value;if(O!=null)return O instanceof Array?O[x]:O}),v},formatTooltip:function(o){var f=this.getData(),v=f.getItemModel(o),y=v.get("name");if(y)return y;var L=v.get("fromName"),S=v.get("toName"),x=[];return L!=null&&x.push(L),S!=null&&x.push(S),a(x.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var o=this.option.progressive;return o==null?this.option.large?1e4:this.get("progressive"):o},getProgressiveThreshold:function(){var o=this.option.progressiveThreshold;return o==null?this.option.large?2e4:this.get("progressiveThreshold"):o},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}}}),c=t;J.exports=c},crZl:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("IwbS"),p=e("7aKB"),A=e("+TT/"),b=e("XxSj"),h=d.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(i,r){this.ecModel=i,this.api=r,this.visualMapModel},render:function(i,r,a,s){if(this.visualMapModel=i,i.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(i){var r=this.visualMapModel,a=p.normalizeCssArray(r.get("padding")||0),s=i.getBoundingRect();i.add(new g.Rect({z2:-1,silent:!0,shape:{x:s.x-a[3],y:s.y-a[0],width:s.width+a[3]+a[1],height:s.height+a[0]+a[2]},style:{fill:r.get("backgroundColor"),stroke:r.get("borderColor"),lineWidth:r.get("borderWidth")}}))},getControllerVisual:function(i,r,a){a=a||{};var s=a.forceState,l=this.visualMapModel,n={};if(r==="symbol"&&(n.symbol=l.get("itemSymbol")),r==="color"){var u=l.get("contentColor");n.color=u}function t(v){return n[v]}function c(v,y){n[v]=y}var o=l.controllerVisuals[s||l.getValueState(i)],f=b.prepareVisualTypes(o);return E.each(f,function(v){var y=o[v];a.convertOpacityToAlpha&&v==="opacity"&&(v="colorAlpha",y=o.__alphaForOpacity),b.dependsOn(v,r)&&(y&&y.applyVisual(i,t,c))}),n[r]},positionGroup:function(i){var r=this.visualMapModel,a=this.api;A.positionElement(i,r.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})},doRender:E.noop});J.exports=h},czTT:function(J,F,e){},d4KN:function(J,F,e){var d=e("ProS"),E=e("bYtY");function g(p,A){E.each(A,function(b){b.update="updateView",d.registerAction(b,function(h,i){var r={};return i.eachComponent({mainType:"series",subType:p,query:h},function(a){a[b.method]&&a[b.method](h.name,h.dataIndex);var s=a.getData();s.each(function(l){var n=s.getName(l);r[n]=a.isSelected(n)||!1})}),{name:h.name,selected:r,seriesId:h.seriesId}})})}J.exports=g},dBmv:function(J,F,e){var d=e("ProS"),E=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),d.registerPreprocessor(E)},dD9F:function(J,F,e){var d=e("NykK"),E=e("shjB"),g=e("ExA7"),p="[object Arguments]",A="[object Array]",b="[object Boolean]",h="[object Date]",i="[object Error]",r="[object Function]",a="[object Map]",s="[object Number]",l="[object Object]",n="[object RegExp]",u="[object Set]",t="[object String]",c="[object WeakMap]",o="[object ArrayBuffer]",f="[object DataView]",v="[object Float32Array]",y="[object Float64Array]",L="[object Int8Array]",S="[object Int16Array]",x="[object Int32Array]",O="[object Uint8Array]",T="[object Uint8ClampedArray]",w="[object Uint16Array]",C="[object Uint32Array]",N={};N[v]=N[y]=N[L]=N[S]=N[x]=N[O]=N[T]=N[w]=N[C]=!0,N[p]=N[A]=N[o]=N[b]=N[f]=N[h]=N[i]=N[r]=N[a]=N[s]=N[l]=N[n]=N[u]=N[t]=N[c]=!1;function D(B){return g(B)&&E(B.length)&&!!N[d(B)]}J.exports=D},"dF/Y":function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="DownloadOutlined";var b=F.a=d.forwardRef(A)},dMvE:function(J,F){var e={linear:function(g){return g},quadraticIn:function(g){return g*g},quadraticOut:function(g){return g*(2-g)},quadraticInOut:function(g){return(g*=2)<1?.5*g*g:-.5*(--g*(g-2)-1)},cubicIn:function(g){return g*g*g},cubicOut:function(g){return--g*g*g+1},cubicInOut:function(g){return(g*=2)<1?.5*g*g*g:.5*((g-=2)*g*g+2)},quarticIn:function(g){return g*g*g*g},quarticOut:function(g){return 1- --g*g*g*g},quarticInOut:function(g){return(g*=2)<1?.5*g*g*g*g:-.5*((g-=2)*g*g*g-2)},quinticIn:function(g){return g*g*g*g*g},quinticOut:function(g){return--g*g*g*g*g+1},quinticInOut:function(g){return(g*=2)<1?.5*g*g*g*g*g:.5*((g-=2)*g*g*g*g+2)},sinusoidalIn:function(g){return 1-Math.cos(g*Math.PI/2)},sinusoidalOut:function(g){return Math.sin(g*Math.PI/2)},sinusoidalInOut:function(g){return .5*(1-Math.cos(Math.PI*g))},exponentialIn:function(g){return g===0?0:Math.pow(1024,g-1)},exponentialOut:function(g){return g===1?1:1-Math.pow(2,-10*g)},exponentialInOut:function(g){return g===0?0:g===1?1:(g*=2)<1?.5*Math.pow(1024,g-1):.5*(-Math.pow(2,-10*(g-1))+2)},circularIn:function(g){return 1-Math.sqrt(1-g*g)},circularOut:function(g){return Math.sqrt(1- --g*g)},circularInOut:function(g){return(g*=2)<1?-.5*(Math.sqrt(1-g*g)-1):.5*(Math.sqrt(1-(g-=2)*g)+1)},elasticIn:function(g){var p,A=.1,b=.4;return g===0?0:g===1?1:(!A||A<1?(A=1,p=b/4):p=b*Math.asin(1/A)/(2*Math.PI),-(A*Math.pow(2,10*(g-=1))*Math.sin((g-p)*(2*Math.PI)/b)))},elasticOut:function(g){var p,A=.1,b=.4;return g===0?0:g===1?1:(!A||A<1?(A=1,p=b/4):p=b*Math.asin(1/A)/(2*Math.PI),A*Math.pow(2,-10*g)*Math.sin((g-p)*(2*Math.PI)/b)+1)},elasticInOut:function(g){var p,A=.1,b=.4;return g===0?0:g===1?1:(!A||A<1?(A=1,p=b/4):p=b*Math.asin(1/A)/(2*Math.PI),(g*=2)<1?-.5*(A*Math.pow(2,10*(g-=1))*Math.sin((g-p)*(2*Math.PI)/b)):A*Math.pow(2,-10*(g-=1))*Math.sin((g-p)*(2*Math.PI)/b)*.5+1)},backIn:function(g){var p=1.70158;return g*g*((p+1)*g-p)},backOut:function(g){var p=1.70158;return--g*g*((p+1)*g+p)+1},backInOut:function(g){var p=1.70158*1.525;return(g*=2)<1?.5*(g*g*((p+1)*g-p)):.5*((g-=2)*g*((p+1)*g+p)+2)},bounceIn:function(g){return 1-e.bounceOut(1-g)},bounceOut:function(g){return g<1/2.75?7.5625*g*g:g<2/2.75?7.5625*(g-=1.5/2.75)*g+.75:g<2.5/2.75?7.5625*(g-=2.25/2.75)*g+.9375:7.5625*(g-=2.625/2.75)*g+.984375},bounceInOut:function(g){return g<.5?e.bounceIn(g*2)*.5:e.bounceOut(g*2-1)*.5+.5}},d=e;J.exports=d},diRs:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("q1tI"),p=e.n(g),A=e("3S7+"),b=e("H84U"),h=e("bogI"),i=function(a,s){var l={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&s.indexOf(n)<0&&(l[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,n=Object.getOwnPropertySymbols(a);u<n.length;u++)s.indexOf(n[u])<0&&Object.prototype.propertyIsEnumerable.call(a,n[u])&&(l[n[u]]=a[n[u]]);return l},r=g.forwardRef(function(a,s){var l=a.prefixCls,n=a.title,u=a.content,t=i(a,["prefixCls","title","content"]),c=g.useContext(b.b),o=c.getPrefixCls,f=function(L){return g.createElement(g.Fragment,null,n&&g.createElement("div",{className:"".concat(L,"-title")},Object(h.a)(n)),g.createElement("div",{className:"".concat(L,"-inner-content")},Object(h.a)(u)))},v=o("popover",l);return g.createElement(A.a,E()({},t,{prefixCls:v,ref:s,overlay:f(v)}))});r.displayName="Popover",r.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},F.a=r},digP:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={icon:function(g,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:p}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:g}}]}},name:"file",theme:"twotone"};F.default=d},dmGj:function(J,F,e){var d=e("DEFe"),E=e("ProS"),g=E.extendComponentView({type:"geo",init:function(p,A){var b=new d(A,!0);this._mapDraw=b,this.group.add(b.group)},render:function(p,A,b,h){if(h&&h.type==="geoToggleSelect"&&h.from===this.uid)return;var i=this._mapDraw;p.get("show")?i.draw(p,A,b,this,h):this._mapDraw.group.removeAll(),this.group.silent=p.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});J.exports=g},dnwI:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("YH21"),p=e("Kagy"),A=e("IUWy"),b=p.toolbox.dataView,h=new Array(60).join("-"),i=" ";function r(S){var x={},O=[],T=[];return S.eachRawSeries(function(w){var C=w.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var N=C.getBaseAxis();if(N.type==="category"){var D=N.dim+"_"+N.index;x[D]||(x[D]={categoryAxis:N,valueAxis:C.getOtherAxis(N),series:[]},T.push({axisDim:N.dim,axisIndex:N.index})),x[D].series.push(w)}else O.push(w)}else O.push(w)}),{seriesGroupByCategoryAxis:x,other:O,meta:T}}function a(S){var x=[];return E.each(S,function(O,T){var w=O.categoryAxis,C=O.valueAxis,N=C.dim,D=[" "].concat(E.map(O.series,function(P){return P.name})),B=[w.model.getCategories()];E.each(O.series,function(P){B.push(P.getRawData().mapArray(N,function(K){return K}))});for(var R=[D.join(i)],U=0;U<B[0].length;U++){for(var M=[],j=0;j<B.length;j++)M.push(B[j][U]);R.push(M.join(i))}x.push(R.join(`
|
|
|
`))}),x.join(`
|
|
|
|
|
|
`+h+`
|
|
|
|
|
|
`)}function s(S){return E.map(S,function(x){var O=x.getRawData(),T=[x.name],w=[];return O.each(O.dimensions,function(){for(var C=arguments.length,N=arguments[C-1],D=O.getName(N),B=0;B<C-1;B++)w[B]=arguments[B];T.push((D?D+i:"")+w.join(i))}),T.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+h+`
|
|
|
|
|
|
`)}function l(S){var x=r(S);return{value:E.filter([a(x.seriesGroupByCategoryAxis),s(x.other)],function(O){return O.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+h+`
|
|
|
|
|
|
`),meta:x.meta}}function n(S){return S.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function u(S){var x=S.slice(0,S.indexOf(`
|
|
|
`));if(x.indexOf(i)>=0)return!0}var t=new RegExp("["+i+"]+","g");function c(S){for(var x=S.split(/\n+/g),O=n(x.shift()).split(t),T=[],w=E.map(O,function(B){return{name:B,data:[]}}),C=0;C<x.length;C++){var N=n(x[C]).split(t);T.push(N.shift());for(var D=0;D<N.length;D++)w[D]&&(w[D].data[C]=N[D])}return{series:w,categories:T}}function o(S){for(var x=S.split(/\n+/g),O=n(x.shift()),T=[],w=0;w<x.length;w++){var C=n(x[w]).split(t),N="",D,B=!1;isNaN(C[0])?(B=!0,N=C[0],C=C.slice(1),T[w]={name:N,value:[]},D=T[w].value):D=T[w]=[];for(var R=0;R<C.length;R++)D.push(+C[R]);D.length===1&&(B?T[w].value=D[0]:T[w]=D[0])}return{name:O,data:T}}function f(S,x){var O=S.split(new RegExp(`
|
|
|
*`+h+`
|
|
|
*`,"g")),T={series:[]};return E.each(O,function(w,C){if(u(w)){var N=c(w),D=x[C],B=D.axisDim+"Axis";D&&(T[B]=T[B]||[],T[B][D.axisIndex]={data:N.categories},T.series=T.series.concat(N.series))}else{var N=o(w);T.series.push(N)}}),T}function v(S){this._dom=null,this.model=S}v.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:E.clone(b.title),lang:E.clone(b.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},v.prototype.onclick=function(S,x){var O=x.getDom(),T=this.model;this._dom&&O.removeChild(this._dom);var w=document.createElement("div");w.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",w.style.backgroundColor=T.get("backgroundColor")||"#fff";var C=document.createElement("h4"),N=T.get("lang")||[];C.innerHTML=N[0]||T.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=T.get("textColor");var D=document.createElement("div"),B=document.createElement("textarea");D.style.cssText="display:block;width:100%;overflow:auto;";var R=T.get("optionToContent"),U=T.get("contentToOption"),M=l(S);if(typeof R=="function"){var j=R(x.getOption());typeof j=="string"?D.innerHTML=j:E.isDom(j)&&D.appendChild(j)}else D.appendChild(B),B.readOnly=T.get("readOnly"),B.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",B.style.color=T.get("textColor"),B.style.borderColor=T.get("textareaBorderColor"),B.style.backgroundColor=T.get("textareaColor"),B.value=M.value;var P=M.meta,K=document.createElement("div");K.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"),Z=document.createElement("div");H+=";background-color:"+T.get("buttonColor"),H+=";color:"+T.get("buttonTextColor");var Y=this;function _(){O.removeChild(w),Y._dom=null}g.addEventListener(k,"click",_),g.addEventListener(Z,"click",function(){var Q;try{typeof U=="function"?Q=U(D,x.getOption()):Q=f(B.value,P)}catch(X){throw _(),new Error("Data view format error "+X)}Q&&x.dispatchAction({type:"changeDataView",newOption:Q}),_()}),k.innerHTML=N[1],Z.innerHTML=N[2],Z.style.cssText=H,k.style.cssText=H,!T.get("readOnly")&&K.appendChild(Z),K.appendChild(k),w.appendChild(C),w.appendChild(D),w.appendChild(K),D.style.height=O.clientHeight-80+"px",O.appendChild(w),this._dom=w},v.prototype.remove=function(S,x){this._dom&&x.getDom().removeChild(this._dom)},v.prototype.dispose=function(S,x){this.remove(S,x)};function y(S,x){return E.map(S,function(O,T){var w=x&&x[T];return E.isObject(w)&&!E.isArray(w)?(E.isObject(O)&&!E.isArray(O)&&(O=O.value),E.defaults({value:O},w)):O})}A.register("dataView",v),d.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(S,x){var O=[];E.each(S.newOption.series,function(T){var w=x.getSeriesByName(T.name)[0];if(!w)O.push(E.extend({type:"scatter"},T));else{var C=w.get("data");O.push({name:T.name,data:y(T.data,C)})}}),x.mergeOption(E.defaults({series:O},S.newOption))});var L=v;J.exports=L},dqUG:function(J,F,e){var d=e("Gev7"),E=e("bYtY"),g=e("6GrX"),p=e("pzxd"),A=e("gut8"),b=A.ContextCachedBy,h=function(a){d.call(this,a)};h.prototype={constructor:h,type:"text",brush:function(a,s){var l=this.style;this.__dirty&&p.normalizeTextStyle(l,!0),l.fill=l.stroke=l.shadowBlur=l.shadowColor=l.shadowOffsetX=l.shadowOffsetY=null;var n=l.text;if(n!=null&&(n+=""),!p.needDrawText(n,l)){a.__attrCachedBy=b.NONE;return}this.setTransform(a),p.renderText(this,a,n,l,null,s),this.restoreTransform(a)},getBoundingRect:function(){var a=this.style;if(this.__dirty&&p.normalizeTextStyle(a,!0),!this._rect){var s=a.text;s!=null?s+="":s="";var l=g.getBoundingRect(a.text+"",a.font,a.textAlign,a.textVerticalAlign,a.textPadding,a.textLineHeight,a.rich);if(l.x+=a.x||0,l.y+=a.y||0,p.getStroke(a.textStroke,a.textStrokeWidth)){var n=a.textStrokeWidth;l.x-=n/2,l.y-=n/2,l.width+=n,l.height+=n}this._rect=l}return this._rect}},E.inherits(h,d);var i=h;J.exports=i},dt0z:function(J,F,e){var d=e("zoYe");function E(g){return g==null?"":d(g)}J.exports=E},e4Nc:function(J,F,e){var d=e("fGT3"),E=e("k+1r"),g=e("JHgL"),p=e("pSRY"),A=e("H8j4");function b(h){var i=-1,r=h==null?0:h.length;for(this.clear();++i<r;){var a=h[i];this.set(a[0],a[1])}}b.prototype.clear=d,b.prototype.delete=E,b.prototype.get=g,b.prototype.has=p,b.prototype.set=A,J.exports=b},e5VY:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("YNAk"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},e5cp:function(J,F,e){var d=e("fmRc"),E=e("or5M"),g=e("HDyB"),p=e("seXi"),A=e("QqLw"),b=e("Z0cm"),h=e("DSRE"),i=e("c6wG"),r=1,a="[object Arguments]",s="[object Array]",l="[object Object]",n=Object.prototype,u=n.hasOwnProperty;function t(c,o,f,v,y,L){var S=b(c),x=b(o),O=S?s:A(c),T=x?s:A(o);O=O==a?l:O,T=T==a?l:T;var w=O==l,C=T==l,N=O==T;if(N&&h(c)){if(!h(o))return!1;S=!0,w=!1}if(N&&!w)return L||(L=new d),S||i(c)?E(c,o,f,v,y,L):g(c,o,O,f,v,y,L);if(!(f&r)){var D=w&&u.call(c,"__wrapped__"),B=C&&u.call(o,"__wrapped__");if(D||B){var R=D?c.value():c,U=B?o.value():o;return L||(L=new d),y(R,U,f,v,L)}}return N?(L||(L=new d),p(c,o,f,v,y,L)):!1}J.exports=t},eIcI:function(J,F,e){var d=e("bYtY"),E=e("hM6l");function g(A,b,h){E.call(this,A,b,h),this.type="value",this.angle=0,this.name="",this.model}d.inherits(g,E);var p=g;J.exports=p},eJH7:function(J,F,e){var d=e("bYtY");function E(g){var p=g.polar;if(p){d.isArray(p)||(p=[p]);var A=[];d.each(p,function(b,h){b.indicator?(b.type&&!b.shape&&(b.shape=b.type),g.radar=g.radar||[],d.isArray(g.radar)||(g.radar=[g.radar]),g.radar.push(b)):A.push(b)}),g.polar=A}d.each(g.series,function(b){b&&b.type==="radar"&&b.polarIndex&&(b.radarIndex=b.polarIndex)})}J.exports=E},ePAk:function(J,F,e){var d=e("ProS");e("2fGM");var E=d.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(g){var p,A=this.ecModel;return A.eachComponent(g,function(b){b.getCoordSysModel()===this&&(p=b)},this),p},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});J.exports=E},eRkO:function(J,F,e){var d=e("+TT/"),E=d.getLayoutRect,g=d.box,p=d.positionElement,A=e("7aKB"),b=e("IwbS");function h(r,a,s){var l=a.getBoxLayoutParams(),n=a.get("padding"),u={width:s.getWidth(),height:s.getHeight()},t=E(l,u,n);g(a.get("orient"),r,a.get("itemGap"),t.width,t.height),p(r,l,u,n)}function i(r,a){var s=A.normalizeCssArray(a.get("padding")),l=a.getItemStyle(["color","opacity"]);l.fill=a.get("backgroundColor");var r=new b.Rect({shape:{x:r.x-s[3],y:r.y-s[0],width:r.width+s[1]+s[3],height:r.height+s[0]+s[2],r:a.get("borderRadius")},style:l,silent:!0,z2:-1});return r}F.layout=h,F.makeBackground=i},eS4l:function(J,F,e){e("HM/N"),e("FNN5")},eUgh:function(J,F){function e(d,E){for(var g=-1,p=d==null?0:d.length,A=Array(p);++g<p;)A[g]=E(d[g],g,d);return A}J.exports=e},ebwN:function(J,F,e){var d=e("Cwc5"),E=e("Kz5y"),g=d(E,"Map");J.exports=g},ekgI:function(J,F,e){var d=e("YESw"),E=Object.prototype,g=E.hasOwnProperty;function p(A){var b=this.__data__;return d?b[A]!==void 0:g.call(b,A)}J.exports=p},ewwo:function(J,F,e){var d=e("bMXI"),E=e("+TT/"),g=E.getLayoutRect,p=e("4mN7");function A(h,i,r){var a=h.getBoxLayoutParams();return a.aspect=r,g(a,{width:i.getWidth(),height:i.getHeight()})}function b(h,i){var r=[];return h.eachSeriesByType("graph",function(a){var s=a.get("coordinateSystem");if(!s||s==="view"){var l=a.getData(),n=l.mapArray(function(x){var O=l.getItemModel(x);return[+O.get("x"),+O.get("y")]}),u=[],t=[];p.fromPoints(n,u,t),t[0]-u[0]===0&&(t[0]+=1,u[0]-=1),t[1]-u[1]===0&&(t[1]+=1,u[1]-=1);var c=(t[0]-u[0])/(t[1]-u[1]),o=A(a,i,c);isNaN(c)&&(u=[o.x,o.y],t=[o.x+o.width,o.y+o.height]);var f=t[0]-u[0],v=t[1]-u[1],y=o.width,L=o.height,S=a.coordinateSystem=new d;S.zoomLimit=a.get("scaleLimit"),S.setBoundingRect(u[0],u[1],f,v),S.setViewRect(o.x,o.y,y,L),S.setCenter(a.get("center")),S.setZoom(a.get("zoom")),r.push(S)}}),r}J.exports=b},f1nB:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("bYtY"),A=e("4NO4"),b=e("IwbS"),h=e("+TT/"),i=e("OELB"),r=i.parsePercent,a={path:null,compoundPath:null,group:b.Group,image:b.Image,text:b.Text};g.registerPreprocessor(function(y){var L=y.graphic;p.isArray(L)?!L[0]||!L[0].elements?y.graphic=[{elements:L}]:y.graphic=[y.graphic[0]]:L&&!L.elements&&(y.graphic=[{elements:[L]}])});var s=g.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(y){var L=this.option.elements;this.option.elements=null,s.superApply(this,"mergeOption",arguments),this.option.elements=L},optionUpdated:function(y,L){var S=this.option,x=(L?S:y).elements,O=S.elements=L?[]:S.elements,T=[];this._flatten(x,T);var w=A.mappingToExists(O,T);A.makeIdAndName(w);var C=this._elOptionsToUpdate=[];p.each(w,function(D,B){var R=D.option;if(!R)return;C.push(R),c(D,R),o(O,B,R),f(O[B],R)},this);for(var N=O.length-1;N>=0;N--)O[N]==null?O.splice(N,1):delete O[N].$action},_flatten:function(y,L,S){p.each(y,function(x){if(!x)return;S&&(x.parentOption=S),L.push(x);var O=x.children;x.type==="group"&&O&&this._flatten(O,L,x),delete x.children},this)},useElOptionsToUpdate:function(){var y=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,y}});g.extendComponentView({type:"graphic",init:function(y,L){this._elMap=p.createHashMap(),this._lastGraphicModel},render:function(y,L,S){y!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=y,this._updateElements(y),this._relocate(y,S)},_updateElements:function(y){var L=y.useElOptionsToUpdate();if(!L)return;var S=this._elMap,x=this.group;p.each(L,function(O){var T=O.$action,w=O.id,C=S.get(w),N=O.parentId,D=N!=null?S.get(N):x,B=O.style;O.type==="text"&&B&&(O.hv&&O.hv[1]&&(B.textVerticalAlign=B.textBaseline=null),!B.hasOwnProperty("textFill")&&B.fill&&(B.textFill=B.fill),!B.hasOwnProperty("textStroke")&&B.stroke&&(B.textStroke=B.stroke));var R=u(O);!T||T==="merge"?C?C.attr(R):l(w,D,R,S):T==="replace"?(n(C,S),l(w,D,R,S)):T==="remove"&&n(C,S);var U=S.get(w);U&&(U.__ecGraphicWidthOption=O.width,U.__ecGraphicHeightOption=O.height,v(U,y,O))})},_relocate:function(y,L){for(var S=y.option.elements,x=this.group,O=this._elMap,T=L.getWidth(),w=L.getHeight(),C=0;C<S.length;C++){var N=S[C],D=O.get(N.id);if(!D||!D.isGroup)continue;var B=D.parent,R=B===x;D.__ecGraphicWidth=r(D.__ecGraphicWidthOption,R?T:B.__ecGraphicWidth)||0,D.__ecGraphicHeight=r(D.__ecGraphicHeightOption,R?w:B.__ecGraphicHeight)||0}for(var C=S.length-1;C>=0;C--){var N=S[C],D=O.get(N.id);if(!D)continue;var B=D.parent,U=B===x?{width:T,height:w}:{width:B.__ecGraphicWidth,height:B.__ecGraphicHeight};h.positionElement(D,N,U,null,{hv:N.hv,boundingMode:N.bounding})}},_clear:function(){var y=this._elMap;y.each(function(L){n(L,y)}),this._elMap=p.createHashMap()},dispose:function(){this._clear()}});function l(y,L,S,x){var O=S.type,T=a.hasOwnProperty(O)?a[O]:b.getShapeClass(O),w=new T(S);L.add(w),x.set(y,w),w.__ecGraphicId=y}function n(y,L){var S=y&&y.parent;S&&(y.type==="group"&&y.traverse(function(x){n(x,L)}),L.removeKey(y.__ecGraphicId),S.remove(y))}function u(y){return y=p.extend({},y),p.each(["id","parentId","$action","hv","bounding"].concat(h.LOCATION_PARAMS),function(L){delete y[L]}),y}function t(y,L){var S;return p.each(L,function(x){y[x]!=null&&y[x]!=="auto"&&(S=!0)}),S}function c(y,L){var S=y.exist;if(L.id=y.keyInfo.id,!L.type&&S&&(L.type=S.type),L.parentId==null){var x=L.parentOption;x?L.parentId=x.id:S&&(L.parentId=S.parentId)}L.parentOption=null}function o(y,L,S){var x=p.extend({},S),O=y[L],T=S.$action||"merge";T==="merge"?O?(p.merge(O,x,!0),h.mergeLayoutParam(O,x,{ignoreSize:!0}),h.copyLayoutParams(S,O)):y[L]=x:T==="replace"?y[L]=x:T==="remove"&&(O&&(y[L]=null))}function f(y,L){if(!y)return;y.hv=L.hv=[t(L,["left","right"]),t(L,["top","bottom"])],y.type==="group"&&(y.width==null&&(y.width=L.width=0),y.height==null&&(y.height=L.height=0))}function v(y,L,S){var x=y.eventData;!y.silent&&!y.ignore&&!x&&(x=y.eventData={componentType:"graphic",componentIndex:L.componentIndex,name:y.name}),x&&(x.info=y.info)}},f3JH:function(J,F,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(J,F,e){var d=e("IwbS"),E=e("QBsz"),g=d.Line.prototype,p=d.BezierCurve.prototype;function A(h){return isNaN(+h.cpx1)||isNaN(+h.cpy1)}var b=d.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(h,i){this[A(i)?"_buildPathLine":"_buildPathCurve"](h,i)},_buildPathLine:g.buildPath,_buildPathCurve:p.buildPath,pointAt:function(h){return this[A(this.shape)?"_pointAtLine":"_pointAtCurve"](h)},_pointAtLine:g.pointAt,_pointAtCurve:p.pointAt,tangentAt:function(h){var i=this.shape,r=A(i)?[i.x2-i.x1,i.y2-i.y1]:this._tangentAtCurve(h);return E.normalize(r,r)},_tangentAtCurve:p.tangentAt});J.exports=b},f5Yq:function(J,F,e){var d=e("bYtY"),E=d.isFunction;function g(p,A,b){return{seriesType:p,performRawSeries:!0,reset:function(h,i,r){var a=h.getData(),s=h.get("symbol"),l=h.get("symbolSize"),n=h.get("symbolKeepAspect"),u=h.get("symbolRotate"),t=E(s),c=E(l),o=E(u),f=t||c||o,v=!t&&s?s:A,y=c?null:l,L=o?null:L;if(a.setVisual({legendSymbol:b||v,symbol:v,symbolSize:y,symbolKeepAspect:n,symbolRotate:u}),i.isSeriesFiltered(h))return;function S(x,O){if(f){var T=h.getRawValue(O),w=h.getDataParams(O);t&&x.setItemVisual(O,"symbol",s(T,w)),c&&x.setItemVisual(O,"symbolSize",l(T,w)),o&&x.setItemVisual(O,"symbolRotate",u(T,w))}if(x.hasItemOption){var C=x.getItemModel(O),N=C.getShallow("symbol",!0),D=C.getShallow("symbolSize",!0),B=C.getShallow("symbolRotate",!0),R=C.getShallow("symbolKeepAspect",!0);N!=null&&x.setItemVisual(O,"symbol",N),D!=null&&x.setItemVisual(O,"symbolSize",D),B!=null&&x.setItemVisual(O,"symbolRotate",B),R!=null&&x.setItemVisual(O,"symbolKeepAspect",R)}}return{dataEach:a.hasItemOption||f?S:null}}}}J.exports=g},fAei:function(J,F,e){"use strict";e.d(F,"a",function(){return y.a});var d=e("rePB"),E=e("VTBJ"),g=e("KQm4"),p=e("1OyB"),A=e("vuIU"),b=e("Ji7U"),h=e("LK+K"),i=e("q1tI"),r=e("4IlW"),a=e("Kwbf"),s=e("TSYQ"),l=e.n(s),n=e("sboe"),u=e("OZM5"),t=e("815F"),c=e("ODXe"),o=e("Ff2n"),f=e("+nKL"),v=e("8XRh"),y=e("WaYH"),L=function(X,he){var te=X.className,fe=X.style,be=X.motion,we=X.motionNodes,Ke=X.motionType,qe=X.onMotionEnd,xt=X.active,Fe=X.treeNodeRequiredProps,Be=Object(o.a)(X,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),bt=i.useState(!0),lt=Object(c.a)(bt,2),tt=lt[0],St=lt[1],ht=i.useContext(n.a),vt=ht.prefixCls,Ge=i.useRef(!1),At=function(){Ge.current||qe(),Ge.current=!0};return Object(i.useEffect)(function(){we&&Ke==="hide"&&tt&&St(!1)},[we]),Object(i.useEffect)(function(){return function(){we&&At()}},[]),we?i.createElement(v.default,Object.assign({ref:he,visible:tt},be,{motionAppear:Ke==="show",onAppearEnd:At,onLeaveEnd:At}),function(_e,De){var Ie=_e.className,st=_e.style;return i.createElement("div",{ref:De,className:l()("".concat(vt,"-treenode-motion"),Ie),style:st},we.map(function(Et){var Mt=Et.data,Pt=Mt.key,ke=Object(o.a)(Mt,["key"]),zt=Et.isStart,Ot=Et.isEnd;delete ke.children;var _t=Object(t.f)(Pt,Fe);return i.createElement(y.a,Object.assign({},ke,_t,{active:xt,data:Et.data,key:Pt,isStart:zt,isEnd:Ot}))}))}):i.createElement(y.a,Object.assign({domRef:he,className:te,style:fe},Be,{active:xt}))};L.displayName="MotionTreeNode";var S=i.forwardRef(L),x=S;function O(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],he=Q.length,te=X.length;if(Math.abs(he-te)!==1)return{add:!1,key:null};function fe(be,we){var Ke=new Map;be.forEach(function(xt){Ke.set(xt,!0)});var qe=we.filter(function(xt){return!Ke.has(xt)});return qe.length===1?qe[0]:null}return he<te?{add:!0,key:fe(Q,X)}:{add:!1,key:fe(X,Q)}}function T(Q,X,he){var te=Q.findIndex(function(Ke){var qe=Ke.data;return qe.key===he}),fe=Q[te+1],be=X.findIndex(function(Ke){var qe=Ke.data;return qe.key===he});if(fe){var we=X.findIndex(function(Ke){var qe=Ke.data;return qe.key===fe.data.key});return X.slice(be+1,we)}return X.slice(be+1)}var w={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},C=function(){},N="RC_TREE_MOTION_".concat(Math.random()),D={key:N},B={key:N,level:0,index:0,pos:"0",node:D},R={parent:null,children:[],pos:B.pos,data:D,isStart:[],isEnd:[]};function U(Q,X,he,te){return X===!1||!he?Q:Q.slice(0,Math.ceil(he/te)+1)}function M(Q){var X=Q.data.key,he=Q.pos;return Object(t.e)(X,he)}function j(Q){for(var X=String(Q.data.key),he=Q;he.parent;)he=he.parent,X="".concat(he.data.key," > ").concat(X);return X}var P=function(X,he){var te=X.prefixCls,fe=X.data,be=X.selectable,we=X.checkable,Ke=X.expandedKeys,qe=X.selectedKeys,xt=X.checkedKeys,Fe=X.loadedKeys,Be=X.loadingKeys,bt=X.halfCheckedKeys,lt=X.keyEntities,tt=X.disabled,St=X.dragging,ht=X.dragOverNodeKey,vt=X.dropPosition,Ge=X.motion,At=X.height,_e=X.itemHeight,De=X.virtual,Ie=X.focusable,st=X.activeItem,Et=X.focused,Mt=X.tabIndex,Pt=X.onKeyDown,ke=X.onFocus,zt=X.onBlur,Ot=X.onActiveChange,_t=X.onListChangeStart,Ve=X.onListChangeEnd,Qe=Object(o.a)(X,["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"]),et=i.useRef(null);i.useImperativeHandle(he,function(){return{scrollTo:function(ut){et.current.scrollTo(ut)}}});var dt=i.useState(Ke),Ze=Object(c.a)(dt,2),oe=Ze[0],me=Ze[1],ot=i.useState(fe),Pe=Object(c.a)(ot,2),pt=Pe[0],Rr=Pe[1],It=i.useState(fe),nr=Object(c.a)(It,2),Gt=nr[0],Jt=nr[1],hr=i.useState([]),Xt=Object(c.a)(hr,2),de=Xt[0],ue=Xt[1],se=i.useState(null),ae=Object(c.a)(se,2),ye=ae[0],Ce=ae[1];function Oe(){Rr(fe),Jt(fe),ue([]),Ce(null),Ve()}i.useEffect(function(){me(Ke);var je=O(oe,Ke);if(je.key!==null){if(je.add){var ut=pt.findIndex(function(le){var ge=le.data.key;return ge===je.key}),wt=U(T(pt,fe,je.key),De,At,_e),ee=pt.slice();ee.splice(ut+1,0,R),Jt(ee),ue(wt),Ce("show")}else{var ie=fe.findIndex(function(le){var ge=le.data.key;return ge===je.key}),z=U(T(fe,pt,je.key),De,At,_e),$=fe.slice();$.splice(ie+1,0,R),Jt($),ue(z),Ce("hide")}Ge&&_t()}else pt!==fe&&(Rr(fe),Jt(fe))},[Ke,fe]),i.useEffect(function(){St||Oe()},[St]);var Te=Ge?Gt:fe,xe={expandedKeys:Ke,selectedKeys:qe,loadedKeys:Fe,loadingKeys:Be,checkedKeys:xt,halfCheckedKeys:bt,dragOverNodeKey:ht,dropPosition:vt,keyEntities:lt};return i.createElement(i.Fragment,null,Et&&st&&i.createElement("span",{style:w,"aria-live":"assertive"},j(st)),i.createElement("div",{role:"tree"},i.createElement("input",{style:w,disabled:Ie===!1||tt,tabIndex:Ie!==!1?Mt:null,onKeyDown:Pt,onFocus:ke,onBlur:zt,value:"",onChange:C})),i.createElement(f.a,Object.assign({},Qe,{data:Te,itemKey:M,height:At,fullHeight:!1,virtual:De,itemHeight:_e,prefixCls:"".concat(te,"-list"),ref:et}),function(je){var ut=je.pos,wt=je.data,ee=wt.key,ie=Object(o.a)(wt,["key"]),z=je.isStart,$=je.isEnd,le=Object(t.e)(ee,ut);delete ie.children;var ge=Object(t.f)(le,xe);return i.createElement(x,Object.assign({},ie,ge,{active:st&&ee===st.data.key,pos:ut,data:je.data,isStart:z,isEnd:$,motion:Ge,motionNodes:ee===N?de:null,motionType:ye,onMotionEnd:Oe,treeNodeRequiredProps:xe,onMouseMove:function(){Ot(null)}}))}))},K=i.forwardRef(P);K.displayName="NodeList";var H=K,k=e("NvD2"),Z=function(Q){Object(b.a)(he,Q);var X=Object(h.a)(he);function he(){var te;return Object(p.a)(this,he),te=X.apply(this,arguments),te.destroyed=!1,te.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},te.listRef=i.createRef(),te.onNodeDragStart=function(fe,be){var we=te.state,Ke=we.expandedKeys,qe=we.keyEntities,xt=te.props.onDragStart,Fe=be.props.eventKey;te.dragNode=be;var Be=Object(u.b)(Ke,Fe);te.setState({dragging:!0,dragNodesKeys:Object(u.g)(Fe,qe)}),te.setExpandedKeys(Be),xt&&xt({event:fe,node:Object(t.b)(be.props)})},te.onNodeDragEnter=function(fe,be){var we=te.state,Ke=we.expandedKeys,qe=we.keyEntities,xt=we.dragNodesKeys,Fe=te.props.onDragEnter,Be=be.props,bt=Be.pos,lt=Be.eventKey;if(!te.dragNode||xt.indexOf(lt)!==-1)return;var tt=Object(u.c)(fe,be);if(te.dragNode.props.eventKey===lt&&tt===0){te.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){te.setState({dragOverNodeKey:lt,dropPosition:tt}),te.delayedDragEnterLogic||(te.delayedDragEnterLogic={}),Object.keys(te.delayedDragEnterLogic).forEach(function(St){clearTimeout(te.delayedDragEnterLogic[St])}),te.delayedDragEnterLogic[bt]=window.setTimeout(function(){if(!te.state.dragging)return;var St=Object(g.a)(Ke),ht=qe[lt];ht&&(ht.children||[]).length&&(St=Object(u.a)(Ke,lt)),"expandedKeys"in te.props||te.setExpandedKeys(St),Fe&&Fe({event:fe,node:Object(t.b)(be.props),expandedKeys:St})},400)},0)},te.onNodeDragOver=function(fe,be){var we=te.state.dragNodesKeys,Ke=te.props.onDragOver,qe=be.props.eventKey;if(we.indexOf(qe)!==-1)return;if(te.dragNode&&qe===te.state.dragOverNodeKey){var xt=Object(u.c)(fe,be);if(xt===te.state.dropPosition)return;te.setState({dropPosition:xt})}Ke&&Ke({event:fe,node:Object(t.b)(be.props)})},te.onNodeDragLeave=function(fe,be){var we=te.props.onDragLeave;te.setState({dragOverNodeKey:""}),we&&we({event:fe,node:Object(t.b)(be.props)})},te.onNodeDragEnd=function(fe,be){var we=te.props.onDragEnd;te.setState({dragOverNodeKey:""}),te.cleanDragState(),we&&we({event:fe,node:Object(t.b)(be.props)}),te.dragNode=null},te.onNodeDrop=function(fe,be){var we=te.state,Ke=we.dragNodesKeys,qe=Ke===void 0?[]:Ke,xt=we.dropPosition,Fe=te.props.onDrop,Be=be.props,bt=Be.eventKey,lt=Be.pos;if(te.setState({dragOverNodeKey:""}),te.cleanDragState(),qe.indexOf(bt)!==-1){Object(a.a)(!1,"Can not drop to dragNode(include it's children node)");return}var tt=Object(u.k)(lt),St={event:fe,node:Object(t.b)(be.props),dragNode:te.dragNode?Object(t.b)(te.dragNode.props):null,dragNodesKeys:qe.slice(),dropPosition:xt+Number(tt[tt.length-1]),dropToGap:!1};xt!==0&&(St.dropToGap=!0),Fe&&Fe(St),te.dragNode=null},te.cleanDragState=function(){var fe=te.state.dragging;fe&&te.setState({dragging:!1})},te.onNodeClick=function(fe,be){var we=te.props.onClick;we&&we(fe,be)},te.onNodeDoubleClick=function(fe,be){var we=te.props.onDoubleClick;we&&we(fe,be)},te.onNodeSelect=function(fe,be){var we=te.state.selectedKeys,Ke=te.state.keyEntities,qe=te.props,xt=qe.onSelect,Fe=qe.multiple,Be=be.selected,bt=be.key,lt=!Be;lt?Fe?we=Object(u.a)(we,bt):we=[bt]:we=Object(u.b)(we,bt);var tt=we.map(function(St){var ht=Ke[St];return ht?ht.node:null}).filter(function(St){return St});te.setUncontrolledState({selectedKeys:we}),xt&&xt(we,{event:"select",selected:lt,node:be,selectedNodes:tt,nativeEvent:fe.nativeEvent})},te.onNodeCheck=function(fe,be,we){var Ke=te.state,qe=Ke.keyEntities,xt=Ke.checkedKeys,Fe=Ke.halfCheckedKeys,Be=te.props,bt=Be.checkStrictly,lt=Be.onCheck,tt=be.key,St,ht={event:"check",node:be,checked:we,nativeEvent:fe.nativeEvent};if(bt){var vt=we?Object(u.a)(xt,tt):Object(u.b)(xt,tt),Ge=Object(u.b)(Fe,tt);St={checked:vt,halfChecked:Ge},ht.checkedNodes=vt.map(function(Et){return qe[Et]}).filter(function(Et){return Et}).map(function(Et){return Et.node}),te.setUncontrolledState({checkedKeys:vt})}else{var At=Object(k.a)([].concat(Object(g.a)(xt),[tt]),!0,qe),_e=At.checkedKeys,De=At.halfCheckedKeys;if(!we){var Ie=new Set(_e);Ie.delete(tt);var st=Object(k.a)(Array.from(Ie),{checked:!1,halfCheckedKeys:De},qe);_e=st.checkedKeys,De=st.halfCheckedKeys}St=_e,ht.checkedNodes=[],ht.checkedNodesPositions=[],ht.halfCheckedKeys=De,_e.forEach(function(Et){var Mt=qe[Et];if(!Mt)return;var Pt=Mt.node,ke=Mt.pos;ht.checkedNodes.push(Pt),ht.checkedNodesPositions.push({node:Pt,pos:ke})}),te.setUncontrolledState({checkedKeys:_e},!1,{halfCheckedKeys:De})}lt&<(St,ht)},te.onNodeLoad=function(fe){return new Promise(function(be){te.setState(function(we){var Ke=we.loadedKeys,qe=Ke===void 0?[]:Ke,xt=we.loadingKeys,Fe=xt===void 0?[]:xt,Be=te.props,bt=Be.loadData,lt=Be.onLoad,tt=fe.key;if(!bt||qe.indexOf(tt)!==-1||Fe.indexOf(tt)!==-1)return{};var St=bt(fe);return St.then(function(){var ht=te.state,vt=ht.loadedKeys,Ge=ht.loadingKeys,At=Object(u.a)(vt,tt),_e=Object(u.b)(Ge,tt);lt&<(At,{event:"load",node:fe}),te.setUncontrolledState({loadedKeys:At}),te.setState({loadingKeys:_e}),be()}),{loadingKeys:Object(u.a)(Fe,tt)}})})},te.onNodeMouseEnter=function(fe,be){var we=te.props.onMouseEnter;we&&we({event:fe,node:be})},te.onNodeMouseLeave=function(fe,be){var we=te.props.onMouseLeave;we&&we({event:fe,node:be})},te.onNodeContextMenu=function(fe,be){var we=te.props.onRightClick;we&&(fe.preventDefault(),we({event:fe,node:be}))},te.onFocus=function(){var fe=te.props.onFocus;te.setState({focused:!0}),fe&&fe.apply(void 0,arguments)},te.onBlur=function(){var fe=te.props.onBlur;te.setState({focused:!1}),te.onActiveChange(null),fe&&fe.apply(void 0,arguments)},te.getTreeNodeRequiredProps=function(){var fe=te.state,be=fe.expandedKeys,we=fe.selectedKeys,Ke=fe.loadedKeys,qe=fe.loadingKeys,xt=fe.checkedKeys,Fe=fe.halfCheckedKeys,Be=fe.dragOverNodeKey,bt=fe.dropPosition,lt=fe.keyEntities;return{expandedKeys:be||[],selectedKeys:we||[],loadedKeys:Ke||[],loadingKeys:qe||[],checkedKeys:xt||[],halfCheckedKeys:Fe||[],dragOverNodeKey:Be,dropPosition:bt,keyEntities:lt}},te.setExpandedKeys=function(fe){var be=te.state.treeData,we=Object(t.d)(be,fe);te.setUncontrolledState({expandedKeys:fe,flattenNodes:we},!0)},te.onNodeExpand=function(fe,be){var we=te.state.expandedKeys,Ke=te.state.listChanging,qe=te.props,xt=qe.onExpand,Fe=qe.loadData,Be=be.key,bt=be.expanded;if(Ke)return;var lt=we.indexOf(Be),tt=!bt;if(Object(a.a)(bt&<!==-1||!bt&<===-1,"Expand state not sync with index check"),tt?we=Object(u.a)(we,Be):we=Object(u.b)(we,Be),te.setExpandedKeys(we),xt&&xt(we,{node:be,expanded:tt,nativeEvent:fe.nativeEvent}),tt&&Fe){var St=te.onNodeLoad(be);St&&St.then(function(){var ht=Object(t.d)(te.state.treeData,we);te.setUncontrolledState({flattenNodes:ht})})}},te.onListChangeStart=function(){te.setUncontrolledState({listChanging:!0})},te.onListChangeEnd=function(){setTimeout(function(){te.setUncontrolledState({listChanging:!1})})},te.onActiveChange=function(fe){var be=te.state.activeKey,we=te.props.onActiveChange;if(be===fe)return;te.setState({activeKey:fe}),fe!==null&&te.scrollTo({key:fe}),we&&we(fe)},te.getActiveItem=function(){var fe=te.state,be=fe.activeKey,we=fe.flattenNodes;return be===null?null:we.find(function(Ke){var qe=Ke.data.key;return qe===be})||null},te.offsetActiveKey=function(fe){var be=te.state,we=be.flattenNodes,Ke=be.activeKey,qe=we.findIndex(function(Be){var bt=Be.data.key;return bt===Ke});qe===-1&&fe<0&&(qe=we.length),qe=(qe+fe+we.length)%we.length;var xt=we[qe];if(xt){var Fe=xt.data.key;te.onActiveChange(Fe)}else te.onActiveChange(null)},te.onKeyDown=function(fe){var be=te.state,we=be.activeKey,Ke=be.expandedKeys,qe=be.checkedKeys,xt=te.props,Fe=xt.onKeyDown,Be=xt.checkable,bt=xt.selectable;switch(fe.which){case r.a.UP:{te.offsetActiveKey(-1),fe.preventDefault();break}case r.a.DOWN:{te.offsetActiveKey(1),fe.preventDefault();break}}var lt=te.getActiveItem();if(lt&<.data){var tt=te.getTreeNodeRequiredProps(),St=lt.data.isLeaf===!1||!!(lt.data.children||[]).length,ht=Object(t.b)(Object(E.a)(Object(E.a)({},Object(t.f)(we,tt)),{},{data:lt.data,active:!0}));switch(fe.which){case r.a.LEFT:{St&&Ke.includes(we)?te.onNodeExpand({},ht):lt.parent&&te.onActiveChange(lt.parent.data.key),fe.preventDefault();break}case r.a.RIGHT:{St&&!Ke.includes(we)?te.onNodeExpand({},ht):lt.children&<.children.length&&te.onActiveChange(lt.children[0].data.key),fe.preventDefault();break}case r.a.ENTER:case r.a.SPACE:{Be&&!ht.disabled&&ht.checkable!==!1&&!ht.disableCheckbox?te.onNodeCheck({},ht,!qe.includes(we)):!Be&&bt&&!ht.disabled&&ht.selectable!==!1&&te.onNodeSelect({},ht);break}}}Fe&&Fe(fe)},te.setUncontrolledState=function(fe){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(te.destroyed)return;var Ke=!1,qe=!0,xt={};Object.keys(fe).forEach(function(Fe){if(Fe in te.props){qe=!1;return}Ke=!0,xt[Fe]=fe[Fe]}),Ke&&(!be||qe)&&te.setState(Object(E.a)(Object(E.a)({},xt),we))},te.scrollTo=function(fe){te.listRef.current.scrollTo(fe)},te}return Object(A.a)(he,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var fe,be=this.state,we=be.focused,Ke=be.flattenNodes,qe=be.keyEntities,xt=be.dragging,Fe=be.activeKey,Be=this.props,bt=Be.prefixCls,lt=Be.className,tt=Be.style,St=Be.showLine,ht=Be.focusable,vt=Be.tabIndex,Ge=vt===void 0?0:vt,At=Be.selectable,_e=Be.showIcon,De=Be.icon,Ie=Be.switcherIcon,st=Be.draggable,Et=Be.checkable,Mt=Be.checkStrictly,Pt=Be.disabled,ke=Be.motion,zt=Be.loadData,Ot=Be.filterTreeNode,_t=Be.height,Ve=Be.itemHeight,Qe=Be.virtual,et=Be.titleRender,dt=Object(u.f)(this.props);return i.createElement(n.a.Provider,{value:{prefixCls:bt,selectable:At,showIcon:_e,icon:De,switcherIcon:Ie,draggable:st,checkable:Et,checkStrictly:Mt,disabled:Pt,keyEntities:qe,loadData:zt,filterTreeNode:Ot,titleRender:et,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}},i.createElement("div",{className:l()(bt,lt,(fe={},Object(d.a)(fe,"".concat(bt,"-show-line"),St),Object(d.a)(fe,"".concat(bt,"-focused"),we),Object(d.a)(fe,"".concat(bt,"-active-focused"),Fe!==null),fe))},i.createElement(H,Object.assign({ref:this.listRef,prefixCls:bt,style:tt,data:Ke,disabled:Pt,selectable:At,checkable:!!Et,motion:ke,dragging:xt,height:_t,itemHeight:Ve,virtual:Qe,focusable:ht,focused:we,tabIndex:Ge,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),dt))))}}],[{key:"getDerivedStateFromProps",value:function(fe,be){var we=be.prevProps,Ke={prevProps:fe};function qe(De){return!we&&De in fe||we&&we[De]!==fe[De]}var xt;if(qe("treeData")?xt=fe.treeData:qe("children")&&(Object(a.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),xt=Object(t.c)(fe.children)),xt){Ke.treeData=xt;var Fe=Object(t.a)(xt);Ke.keyEntities=Object(E.a)(Object(d.a)({},N,B),Fe.keyEntities)}var Be=Ke.keyEntities||be.keyEntities;if(qe("expandedKeys")||we&&qe("autoExpandParent"))Ke.expandedKeys=fe.autoExpandParent||!we&&fe.defaultExpandParent?Object(u.e)(fe.expandedKeys,Be):fe.expandedKeys;else if(!we&&fe.defaultExpandAll){var bt=Object(E.a)({},Be);delete bt[N],Ke.expandedKeys=Object.keys(bt).map(function(De){return bt[De].key})}else!we&&fe.defaultExpandedKeys&&(Ke.expandedKeys=fe.autoExpandParent||fe.defaultExpandParent?Object(u.e)(fe.defaultExpandedKeys,Be):fe.defaultExpandedKeys);if(Ke.expandedKeys||delete Ke.expandedKeys,xt||Ke.expandedKeys){var lt=Object(t.d)(xt||be.treeData,Ke.expandedKeys||be.expandedKeys);Ke.flattenNodes=lt}if(fe.selectable&&(qe("selectedKeys")?Ke.selectedKeys=Object(u.d)(fe.selectedKeys,fe):!we&&fe.defaultSelectedKeys&&(Ke.selectedKeys=Object(u.d)(fe.defaultSelectedKeys,fe))),fe.checkable){var tt;if(qe("checkedKeys")?tt=Object(u.j)(fe.checkedKeys)||{}:!we&&fe.defaultCheckedKeys?tt=Object(u.j)(fe.defaultCheckedKeys)||{}:xt&&(tt=Object(u.j)(fe.checkedKeys)||{checkedKeys:be.checkedKeys,halfCheckedKeys:be.halfCheckedKeys}),tt){var St=tt,ht=St.checkedKeys,vt=ht===void 0?[]:ht,Ge=St.halfCheckedKeys,At=Ge===void 0?[]:Ge;if(!fe.checkStrictly){var _e=Object(k.a)(vt,!0,Be);vt=_e.checkedKeys,At=_e.halfCheckedKeys}Ke.checkedKeys=vt,Ke.halfCheckedKeys=At}}return qe("loadedKeys")&&(Ke.loadedKeys=fe.loadedKeys),Ke}}]),he}(i.Component);Z.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:[]},Z.TreeNode=y.a;var Y=Z,_=F.b=Y},fE02:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("/IIm"),p=e("vZ6x"),A=e("b9oc"),b=e("72pK"),h=e("Kagy"),i=e("IUWy");e("3TkU");var r=h.toolbox.dataZoom,a=E.each,s="\0_ec_\0toolbox-dataZoom_";function l(v,y,L){(this._brushController=new g(L.getZr())).on("brush",E.bind(this._onBrush,this)).mount(),this._isZoomActive}l.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:E.clone(r.title)};var n=l.prototype;n.render=function(v,y,L,S){this.model=v,this.ecModel=y,this.api=L,o(v,y,this,S,L),c(v,y)},n.onclick=function(v,y,L){u[L].call(this)},n.remove=function(v,y){this._brushController.unmount()},n.dispose=function(v,y){this._brushController.dispose()};var u={zoom:function(){var v=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:v})},back:function(){this._dispatchZoomAction(A.pop(this.ecModel))}};n._onBrush=function(v,y){if(!y.isEnd||!v.length)return;var L={},S=this.ecModel;this._brushController.updateCovers([]);var x=new p(t(this.model.option),S,{include:["grid"]});x.matchOutputRanges(v,S,function(w,C,N){if(N.type!=="cartesian2d")return;var D=w.brushType;D==="rect"?(O("x",N,C[0]),O("y",N,C[1])):O({lineX:"x",lineY:"y"}[D],N,C)}),A.push(S,L),this._dispatchZoomAction(L);function O(w,C,N){var D=C.getAxis(w),B=D.model,R=T(w,B,S),U=R.findRepresentativeAxisProxy(B).getMinMaxSpan();(U.minValueSpan!=null||U.maxValueSpan!=null)&&(N=b(0,N.slice(),D.scale.getExtent(),0,U.minValueSpan,U.maxValueSpan)),R&&(L[R.id]={dataZoomId:R.id,startValue:N[0],endValue:N[1]})}function T(w,C,N){var D;return N.eachComponent({mainType:"dataZoom",subType:"select"},function(B){var R=B.getAxisModel(w,C.componentIndex);R&&(D=B)}),D}},n._dispatchZoomAction=function(v){var y=[];a(v,function(L,S){y.push(E.clone(L))}),y.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:y})};function t(v){var y={};return E.each(["xAxisIndex","yAxisIndex"],function(L){y[L]=v[L],y[L]==null&&(y[L]="all"),(y[L]===!1||y[L]==="none")&&(y[L]=[])}),y}function c(v,y){v.setIconStatus("back",A.count(y)>1?"emphasis":"normal")}function o(v,y,L,S,x){var O=L._isZoomActive;S&&S.type==="takeGlobalCursor"&&(O=S.key==="dataZoomSelect"?S.dataZoomSelectActive:!1),L._isZoomActive=O,v.setIconStatus("zoom",O?"emphasis":"normal");var T=new p(t(v.option),y,{include:["grid"]});L._brushController.setPanels(T.makePanelOpts(x,function(w){return w.xAxisDeclared&&!w.yAxisDeclared?"lineX":!w.xAxisDeclared&&w.yAxisDeclared?"lineY":"rect"})).enableBrush(O?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}i.register("dataZoom",l),d.registerPreprocessor(function(v){if(!v)return;var y=v.dataZoom||(v.dataZoom=[]);E.isArray(y)||(v.dataZoom=y=[y]);var L=v.toolbox;if(L&&(E.isArray(L)&&(L=L[0]),L&&L.feature)){var S=L.feature.dataZoom;x("xAxis",S),x("yAxis",S)}function x(T,w){if(!w)return;var C=T+"Index",N=w[C];N!=null&&N!=="all"&&!E.isArray(N)&&(N=N===!1||N==="none"?[]:[N]),O(T,function(D,B){if(N!=null&&N!=="all"&&E.indexOf(N,B)===-1)return;var R={type:"select",$fromToolbox:!0,filterMode:w.filterMode||"filter",id:s+T+B};R[C]=B,y.push(R)})}function O(T,w){var C=v[T];E.isArray(C)||(C=C?[C]:[]),a(C,w)}});var f=l;J.exports=f},fGT3:function(J,F,e){var d=e("4kuk"),E=e("Xi7e"),g=e("ebwN");function p(){this.size=0,this.__data__={hash:new d,map:new(g||E),string:new d}}J.exports=p},fNCr:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("tSko"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},"fR/l":function(J,F,e){var d=e("CH3K"),E=e("Z0cm");function g(p,A,b){var h=A(p);return E(p)?h:d(h,b(p))}J.exports=g},fUL4:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("r+aA"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},fW2E:function(J,F){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function d(E,g,p){return e.hasOwnProperty(g)?p*=E.dpr:p}J.exports=d},"fc+c":function(J,F,e){var d=e("sS/r"),E=d.extend({type:"dataZoom",render:function(g,p,A,b){this.dataZoomModel=g,this.ecModel=p,this.api=A},getTargetCoordInfo:function(){var g=this.dataZoomModel,p=this.ecModel,A={};g.eachTargetAxis(function(h,i){var r=p.getComponent(h.axis,i);if(r){var a=r.getCoordSysModel();a&&b(a,r,A[a.mainType]||(A[a.mainType]=[]),a.componentIndex)}},this);function b(h,i,r,a){for(var s,l=0;l<r.length;l++)if(r[l].model===h){s=r[l];break}s||r.push(s={model:h,axisModels:[],coordIndex:a}),s.axisModels.push(i)}return A}});J.exports=E},fjKi:function(J,F,e){var d=e("ProS");e("Q7if"),e("jndi"),d.registerPreprocessor(function(E){E.markArea=E.markArea||{}})},fls0:function(J,F,e){var d=e("bYtY"),E=e("QBsz"),g=e("oVpE"),p=e("f5HG"),A=e("IwbS"),b=e("OELB"),h=b.round,i=["fromSymbol","toSymbol"];function r(o){return"_"+o+"Type"}function a(o,f,v){var y=f.getItemVisual(v,"color"),L=f.getItemVisual(v,o),S=f.getItemVisual(v,o+"Size");if(!L||L==="none")return;d.isArray(S)||(S=[S,S]);var x=g.createSymbol(L,-S[0]/2,-S[1]/2,S[0],S[1],y);return x.name=o,x}function s(o){var f=new p({name:"line",subPixelOptimize:!0});return l(f.shape,o),f}function l(o,f){o.x1=f[0][0],o.y1=f[0][1],o.x2=f[1][0],o.y2=f[1][1],o.percent=1;var v=f[2];v?(o.cpx1=v[0],o.cpy1=v[1]):(o.cpx1=NaN,o.cpy1=NaN)}function n(){var o=this,f=o.childOfName("fromSymbol"),v=o.childOfName("toSymbol"),y=o.childOfName("label");if(!f&&!v&&y.ignore)return;for(var L=1,S=this.parent;S;)S.scale&&(L/=S.scale[0]),S=S.parent;var x=o.childOfName("line");if(!this.__dirty&&!x.__dirty)return;var O=x.shape.percent,T=x.pointAt(0),w=x.pointAt(O),C=E.sub([],w,T);if(E.normalize(C,C),f){f.attr("position",T);var N=x.tangentAt(0);f.attr("rotation",Math.PI/2-Math.atan2(N[1],N[0])),f.attr("scale",[L*O,L*O])}if(v){v.attr("position",w);var N=x.tangentAt(1);v.attr("rotation",-Math.PI/2-Math.atan2(N[1],N[0])),v.attr("scale",[L*O,L*O])}if(!y.ignore){y.attr("position",w);var D,B,R,U,M=y.__labelDistance,j=M[0]*L,P=M[1]*L,K=O/2,N=x.tangentAt(K),H=[N[1],-N[0]],k=x.pointAt(K);H[1]>0&&(H[0]=-H[0],H[1]=-H[1]);var Z=N[0]<0?-1:1;if(y.__position!=="start"&&y.__position!=="end"){var Y=-Math.atan2(N[1],N[0]);w[0]<T[0]&&(Y=Math.PI+Y),y.attr("rotation",Y)}var _;switch(y.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":_=-P,R="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":_=P,R="top";break;default:_=0,R="middle"}switch(y.__position){case"end":D=[C[0]*j+w[0],C[1]*P+w[1]],B=C[0]>.8?"left":C[0]<-.8?"right":"center",R=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":D=[-C[0]*j+T[0],-C[1]*P+T[1]],B=C[0]>.8?"right":C[0]<-.8?"left":"center",R=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":D=[j*Z+T[0],T[1]+_],B=N[0]<0?"right":"left",U=[-j*Z,-_];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":D=[k[0],k[1]+_],B="center",U=[0,-_];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":D=[-j*Z+w[0],w[1]+_],B=N[0]>=0?"right":"left",U=[j*Z,-_];break}y.attr({style:{textVerticalAlign:y.__verticalAlign||R,textAlign:y.__textAlign||B},position:D,scale:[L,L],origin:U})}}function u(o,f,v){A.Group.call(this),this._createLine(o,f,v)}var t=u.prototype;t.beforeUpdate=n,t._createLine=function(o,f,v){var y=o.hostModel,L=o.getItemLayout(f),S=s(L);S.shape.percent=0,A.initProps(S,{shape:{percent:1}},y,f),this.add(S);var x=new A.Text({name:"label",lineLabelOriginalOpacity:1});this.add(x),d.each(i,function(O){var T=a(O,o,f);this.add(T),this[r(O)]=o.getItemVisual(f,O)},this),this._updateCommonStl(o,f,v)},t.updateData=function(o,f,v){var y=o.hostModel,L=this.childOfName("line"),S=o.getItemLayout(f),x={shape:{}};l(x.shape,S),A.updateProps(L,x,y,f),d.each(i,function(O){var T=o.getItemVisual(f,O),w=r(O);if(this[w]!==T){this.remove(this.childOfName(O));var C=a(O,o,f);this.add(C)}this[w]=T},this),this._updateCommonStl(o,f,v)},t._updateCommonStl=function(o,f,v){var y=o.hostModel,L=this.childOfName("line"),S=v&&v.lineStyle,x=v&&v.hoverLineStyle,O=v&&v.labelModel,T=v&&v.hoverLabelModel;if(!v||o.hasItemOption){var w=o.getItemModel(f);S=w.getModel("lineStyle").getLineStyle(),x=w.getModel("emphasis.lineStyle").getLineStyle(),O=w.getModel("label"),T=w.getModel("emphasis.label")}var C=o.getItemVisual(f,"color"),N=d.retrieve3(o.getItemVisual(f,"opacity"),S.opacity,1);L.useStyle(d.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:N},S)),L.hoverStyle=x,d.each(i,function(Z){var Y=this.childOfName(Z);Y&&(Y.setColor(C),Y.setStyle({opacity:N}))},this);var D=O.getShallow("show"),B=T.getShallow("show"),R=this.childOfName("label"),U,M;if((D||B)&&(U=C||"#000",M=y.getFormattedLabel(f,"normal",o.dataType),M==null)){var j=y.getRawValue(f);M=j==null?o.getName(f):isFinite(j)?h(j):j}var P=D?M:null,K=B?d.retrieve2(y.getFormattedLabel(f,"emphasis",o.dataType),M):null,H=R.style;if(P!=null||K!=null){A.setTextStyle(R.style,O,{text:P},{autoColor:U}),R.__textAlign=H.textAlign,R.__verticalAlign=H.textVerticalAlign,R.__position=O.get("position")||"middle";var k=O.get("distance");d.isArray(k)||(k=[k,k]),R.__labelDistance=k}K!=null?R.hoverStyle={text:K,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:R.hoverStyle={text:null},R.ignore=!D&&!B,A.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(o,f){this.setLinePoints(o.getItemLayout(f))},t.setLinePoints=function(o){var f=this.childOfName("line");l(f.shape,o),f.dirty()},d.inherits(u,A.Group);var c=u;J.exports=c},fmMI:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=g.each,A=g.filter,b=g.map,h=g.isArray,i=g.indexOf,r=g.isObject,a=g.isString,s=g.createHashMap,l=g.assert,n=g.clone,u=g.merge,t=g.extend,c=g.mixin,o=e("4NO4"),f=e("Qxkt"),v=e("bLfw"),y=e("iXHM"),L=e("5Hur"),S=e("D5nY"),x=S.resetSourceDefaulter,O="\0_ec_inner",T=f.extend({init:function(P,K,H,k){H=H||{},this.option=null,this._theme=new f(H),this._optionManager=k},setOption:function(P,K){l(!(O in P),"please use chart.getOption()"),this._optionManager.setOption(P,K),this.resetOption(null)},resetOption:function(P){var K=!1,H=this._optionManager;if(!P||P==="recreate"){var k=H.mountOption(P==="recreate");!this.option||P==="recreate"?N.call(this,k):(this.restoreData(),this.mergeOption(k)),K=!0}if((P==="timeline"||P==="media")&&this.restoreData(),!P||P==="recreate"||P==="timeline"){var Z=H.getTimelineOption(this);Z&&(this.mergeOption(Z),K=!0)}if(!P||P==="recreate"||P==="media"){var Y=H.getMediaOption(this,this._api);Y.length&&p(Y,function(_){this.mergeOption(_,K=!0)},this)}return K},mergeOption:function(P){var K=this.option,H=this._componentsMap,k=[];x(this),p(P,function(Y,_){if(Y==null)return;v.hasClass(_)?_&&k.push(_):K[_]=K[_]==null?n(Y):u(K[_],Y,!0)}),v.topologicalTravel(k,v.getAllClassMainTypes(),Z,this);function Z(Y,_){var Q=o.normalizeToArray(P[Y]),X=o.mappingToExists(H.get(Y),Q);o.makeIdAndName(X),p(X,function(te,fe){var be=te.option;r(be)&&(te.keyInfo.mainType=Y,te.keyInfo.subType=B(Y,be,te.exist))});var he=D(H,_);K[Y]=[],H.set(Y,[]),p(X,function(te,fe){var be=te.exist,we=te.option;if(l(r(we)||be,"Empty component definition"),!we)be.mergeOption({},this),be.optionUpdated({},!1);else{var Ke=v.getClass(Y,te.keyInfo.subType,!0);if(be&&be.constructor===Ke)be.name=te.keyInfo.name,be.mergeOption(we,this),be.optionUpdated(we,!1);else{var qe=t({dependentModels:he,componentIndex:fe},te.keyInfo);be=new Ke(we,this,this,qe),t(be,qe),be.init(we,this,this,qe),be.optionUpdated(null,!0)}}H.get(Y)[fe]=be,K[Y][fe]=be.option},this),Y==="series"&&R(this,H.get("series"))}this._seriesIndicesMap=s(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var P=n(this.option);return p(P,function(K,H){if(v.hasClass(H)){for(var K=o.normalizeToArray(K),k=K.length-1;k>=0;k--)o.isIdInner(K[k])&&K.splice(k,1);P[H]=K}}),delete P[O],P},getTheme:function(){return this._theme},getComponent:function(P,K){var H=this._componentsMap.get(P);if(H)return H[K||0]},queryComponents:function(P){var K=P.mainType;if(!K)return[];var H=P.index,k=P.id,Z=P.name,Y=this._componentsMap.get(K);if(!Y||!Y.length)return[];var _;if(H!=null)h(H)||(H=[H]),_=A(b(H,function(he){return Y[he]}),function(he){return!!he});else if(k!=null){var Q=h(k);_=A(Y,function(he){return Q&&i(k,he.id)>=0||!Q&&he.id===k})}else if(Z!=null){var X=h(Z);_=A(Y,function(he){return X&&i(Z,he.name)>=0||!X&&he.name===Z})}else _=Y.slice();return U(_,P)},findComponents:function(P){var K=P.query,H=P.mainType,k=Y(K),Z=k?this.queryComponents(k):this._componentsMap.get(H);return _(U(Z,P));function Y(Q){var X=H+"Index",he=H+"Id",te=H+"Name";return Q&&(Q[X]!=null||Q[he]!=null||Q[te]!=null)?{mainType:H,index:Q[X],id:Q[he],name:Q[te]}:null}function _(Q){return P.filter?A(Q,P.filter):Q}},eachComponent:function(P,K,H){var k=this._componentsMap;if(typeof P=="function")H=K,K=P,k.each(function(Y,_){p(Y,function(Q,X){K.call(H,_,Q,X)})});else if(a(P))p(k.get(P),K,H);else if(r(P)){var Z=this.findComponents(P);p(Z,K,H)}},getSeriesByName:function(P){var K=this._componentsMap.get("series");return A(K,function(H){return H.name===P})},getSeriesByIndex:function(P){return this._componentsMap.get("series")[P]},getSeriesByType:function(P){var K=this._componentsMap.get("series");return A(K,function(H){return H.subType===P})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(P,K){M(this),p(this._seriesIndices,function(H){var k=this._componentsMap.get("series")[H];P.call(K,k,H)},this)},eachRawSeries:function(P,K){p(this._componentsMap.get("series"),P,K)},eachSeriesByType:function(P,K,H){M(this),p(this._seriesIndices,function(k){var Z=this._componentsMap.get("series")[k];Z.subType===P&&K.call(H,Z,k)},this)},eachRawSeriesByType:function(P,K,H){return p(this.getSeriesByType(P),K,H)},isSeriesFiltered:function(P){return M(this),this._seriesIndicesMap.get(P.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(P,K){M(this);var H=A(this._componentsMap.get("series"),P,K);R(this,H)},restoreData:function(P){var K=this._componentsMap;R(this,K.get("series"));var H=[];K.each(function(k,Z){H.push(Z)}),v.topologicalTravel(H,v.getAllClassMainTypes(),function(k,Z){p(K.get(k),function(Y){(k!=="series"||!w(Y,P))&&Y.restoreData()})})}});function w(P,K){if(K){var H=K.seiresIndex,k=K.seriesId,Z=K.seriesName;return H!=null&&P.componentIndex!==H||k!=null&&P.id!==k||Z!=null&&P.name!==Z}}function C(P,K){var H=P.color&&!P.colorLayer;p(K,function(k,Z){if(Z==="colorLayer"&&H)return;v.hasClass(Z)||(typeof k=="object"?P[Z]=P[Z]?u(P[Z],k,!1):n(k):P[Z]==null&&(P[Z]=k))})}function N(P){P=P,this.option={},this.option[O]=1,this._componentsMap=s({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(P,this._theme.option),u(P,y,!1),this.mergeOption(P)}function D(P,K){h(K)||(K=K?[K]:[]);var H={};return p(K,function(k){H[k]=(P.get(k)||[]).slice()}),H}function B(P,K,H){var k=K.type?K.type:H?H.subType:v.determineSubType(P,K);return k}function R(P,K){P._seriesIndicesMap=s(P._seriesIndices=b(K,function(H){return H.componentIndex})||[])}function U(P,K){return K.hasOwnProperty("subType")?A(P,function(H){return H.subType===K.subType}):P}function M(P){}c(T,L);var j=T;J.exports=j},fmRc:function(J,F,e){var d=e("Xi7e"),E=e("77Zs"),g=e("L8xA"),p=e("gCq4"),A=e("VaNO"),b=e("0Cz8");function h(i){var r=this.__data__=new d(i);this.size=r.size}h.prototype.clear=E,h.prototype.delete=g,h.prototype.get=p,h.prototype.has=A,h.prototype.set=b,J.exports=h},ftKO:function(J,F){var e="__lodash_hash_undefined__";function d(E){return this.__data__.set(E,e),this}J.exports=d},fyUT:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("q1tI"),b=e.n(A),h=e("TSYQ"),i=e.n(h),r=e("Ff2n"),a=e("rePB"),s=e("1OyB"),l=e("vuIU"),n=e("Ji7U"),u=e("md7G"),t=e("foSv"),c=e("4IlW");function o(_,Q){var X=Object.keys(_);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(_);Q&&(he=he.filter(function(te){return Object.getOwnPropertyDescriptor(_,te).enumerable})),X.push.apply(X,he)}return X}function f(_){for(var Q=1;Q<arguments.length;Q++){var X=arguments[Q]!=null?arguments[Q]:{};Q%2?o(Object(X),!0).forEach(function(he){Object(a.a)(_,he,X[he])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(X)):o(Object(X)).forEach(function(he){Object.defineProperty(_,he,Object.getOwnPropertyDescriptor(X,he))})}return _}function v(_){var Q=y();return function(){var he=Object(t.a)(_),te;if(Q){var fe=Object(t.a)(this).constructor;te=Reflect.construct(he,arguments,fe)}else te=he.apply(this,arguments);return Object(u.a)(this,te)}}function y(){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(_){return!1}}function L(){}function S(_){_.preventDefault()}var x=function(Q){return Q.replace(/[^\w.-]+/g,"")},O=200,T=600,w=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function(Q){return Q!=null},N=function(Q,X){return X===Q||typeof X=="number"&&typeof Q=="number"&&isNaN(X)&&isNaN(Q)},D=function(_){Object(n.a)(X,_);var Q=v(X);function X(he){var te;Object(s.a)(this,X),te=Q.call(this,he),te.onKeyDown=function(we){var Ke=te.props,qe=Ke.onKeyDown,xt=Ke.onPressEnter;if(we.keyCode===c.a.UP){var Fe=te.getRatio(we);te.up(we,Fe,null),te.stop()}else if(we.keyCode===c.a.DOWN){var Be=te.getRatio(we);te.down(we,Be,null),te.stop()}else we.keyCode===c.a.ENTER&&xt&&xt(we);if(te.recordCursorPosition(),te.lastKeyCode=we.keyCode,qe){for(var bt=arguments.length,lt=new Array(bt>1?bt-1:0),tt=1;tt<bt;tt++)lt[tt-1]=arguments[tt];qe.apply(void 0,[we].concat(lt))}},te.onKeyUp=function(we){var Ke=te.props.onKeyUp;if(te.stop(),te.recordCursorPosition(),Ke){for(var qe=arguments.length,xt=new Array(qe>1?qe-1:0),Fe=1;Fe<qe;Fe++)xt[Fe-1]=arguments[Fe];Ke.apply(void 0,[we].concat(xt))}},te.onChange=function(we){var Ke=te.props.onChange;te.state.focused&&(te.inputting=!0),te.rawInput=te.props.parser(te.getValueFromEvent(we)),te.setState({inputValue:te.rawInput}),Ke(te.toNumber(te.rawInput))},te.onMouseUp=function(){var we=te.props.onMouseUp;te.recordCursorPosition(),we&&we.apply(void 0,arguments)},te.onFocus=function(){var we;te.setState({focused:!0}),(we=te.props).onFocus.apply(we,arguments)},te.onBlur=function(){var we=te.props.onBlur;te.inputting=!1,te.setState({focused:!1});var Ke=te.getCurrentValidValue(te.state.inputValue),qe=te.setValue(Ke,L);if(we){var xt=te.input.value,Fe=te.getInputDisplayValue({focus:!1,value:qe});te.input.value=Fe&&Number(Fe),we.apply(void 0,arguments),te.input.value=xt}},te.getRatio=function(we){var Ke=1;return we.metaKey||we.ctrlKey?Ke=.1:we.shiftKey&&(Ke=10),Ke},te.getFullNum=function(we){return isNaN(we)?we:/e/i.test(String(we))?Number(we).toFixed(18).replace(/\.?0+$/,""):we},te.getPrecision=function(we){if(C(te.props.precision))return te.props.precision;var Ke=String(we);if(Ke.indexOf("e-")>=0)return parseInt(Ke.slice(Ke.indexOf("e-")+2),10);var qe=0;return Ke.indexOf(".")>=0&&(qe=Ke.length-Ke.indexOf(".")-1),qe},te.getInputDisplayValue=function(we){var Ke=we||te.state,qe=Ke.focused,xt=Ke.inputValue,Fe=Ke.value,Be;qe?Be=xt:Be=te.toPrecisionAsStep(Fe),Be==null&&(Be="");var bt=te.formatWrapper(Be);return C(te.props.decimalSeparator)&&(bt=bt.toString().replace(".",te.props.decimalSeparator)),bt},te.recordCursorPosition=function(){try{te.cursorStart=te.input.selectionStart,te.cursorEnd=te.input.selectionEnd,te.currentValue=te.input.value,te.cursorBefore=te.input.value.substring(0,te.cursorStart),te.cursorAfter=te.input.value.substring(te.cursorEnd)}catch(we){}},te.restoreByAfter=function(we){if(we===void 0)return!1;var Ke=te.input.value,qe=Ke.lastIndexOf(we);if(qe===-1)return!1;var xt=te.cursorBefore.length;return te.lastKeyCode===c.a.DELETE&&te.cursorBefore.charAt(xt-1)===we[0]?(te.fixCaret(xt,xt),!0):qe+we.length===Ke.length?(te.fixCaret(qe,qe),!0):!1},te.partRestoreByAfter=function(we){return we===void 0?!1:Array.prototype.some.call(we,function(Ke,qe){var xt=we.substring(qe);return te.restoreByAfter(xt)})},te.isNotCompleteNumber=function(we){return isNaN(we)||we===""||we===null||we&&we.toString().indexOf(".")===we.toString().length-1},te.stop=function(){te.autoStepTimer&&clearTimeout(te.autoStepTimer)},te.down=function(we,Ke,qe){te.pressingUpOrDown=!0,te.step("down",we,Ke,qe)},te.up=function(we,Ke,qe){te.pressingUpOrDown=!0,te.step("up",we,Ke,qe)},te.saveInput=function(we){te.input=we};var fe=he.value;fe===void 0&&(fe=he.defaultValue),te.state={focused:he.autoFocus};var be=te.getValidValue(te.toNumber(fe));return te.state=f(f({},te.state),{},{inputValue:te.toPrecisionAsStep(be),value:be}),te}return Object(l.a)(X,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(te){var fe=this.props,be=fe.value,we=fe.onChange,Ke=fe.max,qe=fe.min,xt=this.state.focused;if(te){if(!N(te.value,be)||!N(te.max,Ke)||!N(te.min,qe)){var Fe=xt?be:this.getValidValue(be),Be;this.pressingUpOrDown?Be=Fe:this.inputting?Be=this.rawInput:Be=this.toPrecisionAsStep(Fe),this.setState({value:Fe,inputValue:Be})}var bt="value"in this.props?be:this.state.value;"max"in this.props&&te.max!==Ke&&typeof bt=="number"&&bt>Ke&&we&&we(Ke),"min"in this.props&&te.min!==qe&&typeof bt=="number"&&bt<qe&&we&&we(qe)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var lt=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===c.a.BACKSPACE?lt=this.cursorStart-1:this.lastKeyCode===c.a.DELETE&&(lt=this.cursorStart):lt=this.input.value.length,this.fixCaret(lt,lt)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case c.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case c.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(tt){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(te){var fe=te;return fe===""?fe="":this.isNotCompleteNumber(parseFloat(fe))?fe=this.state.value:fe=this.getValidValue(fe),this.toNumber(fe)}},{key:"getValueFromEvent",value:function(te){var fe=te.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(fe=fe.replace(this.props.decimalSeparator,".")),fe}},{key:"getValidValue",value:function(te){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,we=parseFloat(te);return isNaN(we)?te:(we<fe&&(we=fe),we>be&&(we=be),we)}},{key:"setValue",value:function(te,fe){var be=this.props.precision,we=this.isNotCompleteNumber(parseFloat(te))?null:parseFloat(te),Ke=this.state.value,qe=Ke===void 0?null:Ke,xt=this.state.inputValue,Fe=xt===void 0?null:xt,Be=typeof we=="number"?we.toFixed(be):"".concat(we),bt=we!==qe||Be!=="".concat(Fe);return"value"in this.props?(Fe=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:Fe},fe)):this.setState({value:we,inputValue:this.toPrecisionAsStep(te)},fe),bt&&this.props.onChange(we),we}},{key:"getMaxPrecision",value:function(te){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,be=this.props,we=be.precision,Ke=be.step;if(C(we))return we;var qe=this.getPrecision(fe),xt=this.getPrecision(Ke),Fe=this.getPrecision(te);return te?Math.max(Fe,qe+xt):qe+xt}},{key:"getPrecisionFactor",value:function(te){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,be=this.getMaxPrecision(te,fe);return Math.pow(10,be)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(te){return this.props.formatter?this.props.formatter(te):te}},{key:"toPrecisionAsStep",value:function(te){if(this.isNotCompleteNumber(te)||te==="")return te;var fe=Math.abs(this.getMaxPrecision(te));return isNaN(fe)?te.toString():Number(te).toFixed(fe)}},{key:"toNumber",value:function(te){var fe=this.props.precision,be=this.state.focused,we=te&&te.length>16&&be;return this.isNotCompleteNumber(te)||we?te:C(fe)?Math.round(te*Math.pow(10,fe))/Math.pow(10,fe):Number(te)}},{key:"upStep",value:function(te,fe){var be=this.props.step,we=this.getPrecisionFactor(te,fe),Ke=Math.abs(this.getMaxPrecision(te,fe)),qe=((we*te+we*be*fe)/we).toFixed(Ke);return this.toNumber(qe)}},{key:"downStep",value:function(te,fe){var be=this.props.step,we=this.getPrecisionFactor(te,fe),Ke=Math.abs(this.getMaxPrecision(te,fe)),qe=((we*te-we*be*fe)/we).toFixed(Ke);return this.toNumber(qe)}},{key:"step",value:function(te,fe){var be=this,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ke=arguments.length>3?arguments[3]:void 0;this.stop(),fe&&(fe.persist(),fe.preventDefault());var qe=this.props;if(qe.disabled)return;var xt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(xt))return;var Fe=this["".concat(te,"Step")](xt,we),Be=Fe>qe.max||Fe<qe.min;if(Fe>qe.max?Fe=qe.max:Fe<qe.min&&(Fe=qe.min),this.setValue(Fe,null),this.setState({focused:!0},function(){be.pressingUpOrDown=!1}),Be)return;this.autoStepTimer=setTimeout(function(){be[te](fe,we,!0)},Ke?O:T)}},{key:"fixCaret",value:function(te,fe){if(te===void 0||fe===void 0||!this.input||!this.input.value)return;try{var be=this.input.selectionStart,we=this.input.selectionEnd;(te!==be||fe!==we)&&this.input.setSelectionRange(te,fe)}catch(Ke){}}},{key:"render",value:function(){var te,fe=this.props,be=fe.prefixCls,we=fe.disabled,Ke=fe.readOnly,qe=fe.useTouch,xt=fe.autoComplete,Fe=fe.upHandler,Be=fe.downHandler,bt=fe.className,lt=fe.max,tt=fe.min,St=fe.style,ht=fe.title,vt=fe.onMouseEnter,Ge=fe.onMouseLeave,At=fe.onMouseOver,_e=fe.onMouseOut,De=fe.required,Ie=fe.onClick,st=fe.tabIndex,Et=fe.type,Mt=fe.placeholder,Pt=fe.id,ke=fe.inputMode,zt=fe.pattern,Ot=fe.step,_t=fe.maxLength,Ve=fe.autoFocus,Qe=fe.name,et=fe.onPaste,dt=Object(r.a)(fe,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste"]),Ze=this.state,oe=Ze.value,me=Ze.focused,ot=i()(be,(te={},Object(a.a)(te,bt,!!bt),Object(a.a)(te,"".concat(be,"-disabled"),we),Object(a.a)(te,"".concat(be,"-focused"),me),te)),Pe={};Object.keys(dt).forEach(function(se){(se.substr(0,5)==="data-"||se.substr(0,5)==="aria-"||se==="role")&&(Pe[se]=dt[se])});var pt=!Ke&&!we,Rr=this.getInputDisplayValue(null),It=(oe||oe===0)&&(isNaN(oe)||Number(oe)>=lt),nr=(oe||oe===0)&&(isNaN(oe)||Number(oe)<=tt),Gt=It||we||Ke,Jt=nr||we||Ke,hr=i()("".concat(be,"-handler"),"".concat(be,"-handler-up"),Object(a.a)({},"".concat(be,"-handler-up-disabled"),Gt)),Xt=i()("".concat(be,"-handler"),"".concat(be,"-handler-down"),Object(a.a)({},"".concat(be,"-handler-down-disabled"),Jt)),de=qe?{onTouchStart:Gt?L:this.up,onTouchEnd:this.stop}:{onMouseDown:Gt?L:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},ue=qe?{onTouchStart:Jt?L:this.down,onTouchEnd:this.stop}:{onMouseDown:Jt?L:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return b.a.createElement("div",{className:ot,style:St,title:ht,onMouseEnter:vt,onMouseLeave:Ge,onMouseOver:At,onMouseOut:_e,onFocus:function(){return null},onBlur:function(){return null}},b.a.createElement("div",{className:"".concat(be,"-handler-wrap")},b.a.createElement("span",Object.assign({unselectable:"on"},de,{role:"button","aria-label":"Increase Value","aria-disabled":Gt,className:hr}),Fe||b.a.createElement("span",{unselectable:"on",className:"".concat(be,"-handler-up-inner"),onClick:S})),b.a.createElement("span",Object.assign({unselectable:"on"},ue,{role:"button","aria-label":"Decrease Value","aria-disabled":Jt,className:Xt}),Be||b.a.createElement("span",{unselectable:"on",className:"".concat(be,"-handler-down-inner"),onClick:S}))),b.a.createElement("div",{className:"".concat(be,"-input-wrap")},b.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":tt,"aria-valuemax":lt,"aria-valuenow":oe,required:De,type:Et,placeholder:Mt,onPaste:et,onClick:Ie,onMouseUp:this.onMouseUp,className:"".concat(be,"-input"),tabIndex:st,autoComplete:xt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:pt?this.onKeyDown:L,onKeyUp:pt?this.onKeyUp:L,autoFocus:Ve,maxLength:_t,readOnly:Ke,disabled:we,max:lt,min:tt,step:Ot,name:Qe,title:ht,id:Pt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Rr),pattern:zt,inputMode:ke},Pe))))}}]),X}(b.a.Component);D.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:w,min:-w,step:1,style:{},onChange:L,onKeyDown:L,onPressEnter:L,onFocus:L,onBlur:L,parser:x,required:!1,autoComplete:"off"};var B=D,R=B,U=e("FH2Y"),M=e.n(U),j=e("HQEm"),P=e.n(j),K=e("H84U"),H=e("3Nzz"),k=function(_,Q){var X={};for(var he in _)Object.prototype.hasOwnProperty.call(_,he)&&Q.indexOf(he)<0&&(X[he]=_[he]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,he=Object.getOwnPropertySymbols(_);te<he.length;te++)Q.indexOf(he[te])<0&&Object.prototype.propertyIsEnumerable.call(_,he[te])&&(X[he[te]]=_[he[te]]);return X},Z=A.forwardRef(function(_,Q){var X=function(te){var fe=te.getPrefixCls,be=te.direction,we=_.className,Ke=_.size,qe=_.prefixCls,xt=_.readOnly,Fe=k(_,["className","size","prefixCls","readOnly"]),Be=fe("input-number",qe),bt=A.createElement(M.a,{className:"".concat(Be,"-handler-up-inner")}),lt=A.createElement(P.a,{className:"".concat(Be,"-handler-down-inner")});return A.createElement(H.b.Consumer,null,function(tt){var St,ht=Ke||tt,vt=i()((St={},p()(St,"".concat(Be,"-lg"),ht==="large"),p()(St,"".concat(Be,"-sm"),ht==="small"),p()(St,"".concat(Be,"-rtl"),be==="rtl"),p()(St,"".concat(Be,"-readonly"),xt),St),we);return A.createElement(R,E()({ref:Q,className:vt,upHandler:bt,downHandler:lt,prefixCls:Be,readOnly:xt},Fe))})};return A.createElement(K.a,null,X)});Z.defaultProps={step:1};var Y=F.a=Z},g0SD:function(J,F,e){var d=e("bYtY"),E=e("9wZj"),g=e("OELB"),p=e("YXkt"),A=e("kj2x"),b=e("iPDy");function h(a,s,l){var n=s.coordinateSystem;a.each(function(u){var t=a.getItemModel(u),c,o=g.parsePercent(t.get("x"),l.getWidth()),f=g.parsePercent(t.get("y"),l.getHeight());if(!isNaN(o)&&!isNaN(f))c=[o,f];else if(s.getMarkerPosition)c=s.getMarkerPosition(a.getValues(a.dimensions,u));else if(n){var v=a.get(n.dimensions[0],u),y=a.get(n.dimensions[1],u);c=n.dataToPoint([v,y])}isNaN(o)||(c[0]=o),isNaN(f)||(c[1]=f),a.setItemLayout(u,c)})}var i=b.extend({type:"markPoint",updateTransform:function(a,s,l){s.eachSeries(function(n){var u=n.markPointModel;u&&(h(u.getData(),n,l),this.markerGroupMap.get(n.id).updateLayout(u))},this)},renderSeries:function(a,s,l,n){var u=a.coordinateSystem,t=a.id,c=a.getData(),o=this.markerGroupMap,f=o.get(t)||o.set(t,new E),v=r(u,a,s);s.setData(v),h(s.getData(),a,n),v.each(function(y){var L=v.getItemModel(y),S=L.getShallow("symbol"),x=L.getShallow("symbolSize"),O=d.isFunction(S),T=d.isFunction(x);if(O||T){var w=s.getRawValue(y),C=s.getDataParams(y);O&&(S=S(w,C)),T&&(x=x(w,C))}v.setItemVisual(y,{symbol:S,symbolSize:x,color:L.get("itemStyle.color")||c.getVisual("color")})}),f.updateData(v),this.group.add(f.group),v.eachItemGraphicEl(function(y){y.traverse(function(L){L.dataModel=s})}),f.__keep=!0,f.group.silent=s.get("silent")||a.get("silent")}});function r(a,s,l){var n;a?n=d.map(a&&a.dimensions,function(c){var o=s.getData().getDimensionInfo(s.getData().mapDimension(c))||{};return d.defaults({name:c},o)}):n=[{name:"value",type:"float"}];var u=new p(n,l),t=d.map(l.get("data"),d.curry(A.dataTransform,s));return a&&(t=d.filter(t,d.curry(A.dataFilter,a))),u.initData(t,null,a?A.dimValueGetter:function(c){return c.value}),u}J.exports=i},g7p0:function(J,F,e){var d=e("bYtY"),E=e("bLfw"),g=e("+TT/"),p=g.getLayoutParams,A=g.sizeCalculable,b=g.mergeLayoutParam,h=E.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(a,s,l,n){var u=p(a);h.superApply(this,"init",arguments),i(a,u)},mergeOption:function(a,s){h.superApply(this,"mergeOption",arguments),i(this.option,a)}});function i(a,s){var l=a.cellSize;d.isArray(l)?l.length===1&&(l[1]=l[0]):l=a.cellSize=[l,l];var n=d.map([0,1],function(u){return A(s,u)&&(l[u]="auto"),l[u]!=null&&l[u]!=="auto"});b(a,s,{type:"box",ignoreSize:n})}var r=h;J.exports=r},g9YV:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("pED+"),p=e.n(g),A=e("+L6B"),b=e("R9oj"),h=e("7Kak"),i=e("sRBo"),r=e("qVdP"),a=e("T2oS"),s=e("DjyN"),l=e("5Dmo")},gCq4:function(J,F){function e(d){return this.__data__.get(d)}J.exports=e},gKaM:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},gPAo:function(J,F){function e(p){return p}function d(p,A,b,h,i){this._old=p,this._new=A,this._oldKeyGetter=b||e,this._newKeyGetter=h||e,this.context=i}d.prototype={constructor:d,add:function(p){return this._add=p,this},update:function(p){return this._update=p,this},remove:function(p){return this._remove=p,this},execute:function(){var p=this._old,A=this._new,b={},h={},i=[],r=[],a;for(E(p,b,i,"_oldKeyGetter",this),E(A,h,r,"_newKeyGetter",this),a=0;a<p.length;a++){var s=i[a],l=h[s];if(l!=null){var n=l.length;n?(n===1&&(h[s]=null),l=l.shift()):h[s]=null,this._update&&this._update(l,a)}else this._remove&&this._remove(a)}for(var a=0;a<r.length;a++){var s=r[a];if(h.hasOwnProperty(s)){var l=h[s];if(l==null)continue;if(!l.length)this._add&&this._add(l);else for(var u=0,n=l.length;u<n;u++)this._add&&this._add(l[u])}}}};function E(p,A,b,h,i){for(var r=0;r<p.length;r++){var a="_ec_"+i[h](p[r],r),s=A[a];s==null?(b.push(a),A[a]=r):(s.length||(A[a]=s=[s]),s.push(r))}}var g=d;J.exports=g},gRFJ:function(J,F,e){J.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(J){return J<10?"0"+J:J}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(J){return rx_escapable.lastIndex=0,rx_escapable.test(J)?'"'+J.replace(rx_escapable,function(F){var e=meta[F];return typeof e=="string"?e:"\\u"+("0000"+F.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+J+'"'}function str(J,F){var e,d,E,g,p=gap,A,b=F[J];b&&typeof b=="object"&&typeof b.toJSON=="function"&&(b=b.toJSON(J)),typeof rep=="function"&&(b=rep.call(F,J,b));switch(typeof b){case"string":return quote(b);case"number":return isFinite(b)?String(b):"null";case"boolean":case"null":return String(b);case"object":if(!b)return"null";if(gap+=indent,A=[],Object.prototype.toString.apply(b)==="[object Array]"){for(g=b.length,e=0;e<g;e+=1)A[e]=str(e,b)||"null";return E=A.length===0?"[]":gap?`[
|
|
|
`+gap+A.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"]":"["+A.join(",")+"]",gap=p,E}if(rep&&typeof rep=="object")for(g=rep.length,e=0;e<g;e+=1)typeof rep[e]=="string"&&(d=rep[e],E=str(d,b),E&&A.push(quote(d)+(gap?": ":":")+E));else for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(E=str(d,b),E&&A.push(quote(d)+(gap?": ":":")+E));return E=A.length===0?"{}":gap?`{
|
|
|
`+gap+A.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"}":"{"+A.join(",")+"}",gap=p,E}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(J,F,e){var d;if(gap="",indent="",typeof e=="number")for(d=0;d<e;d+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=F,F&&typeof F!="function"&&(typeof F!="object"||typeof F.length!="number"))throw new Error("JSON.stringify");return str("",{"":J})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(J,F){var e,d,E=J[F];if(E&&typeof E=="object")for(e in E)Object.prototype.hasOwnProperty.call(E,e)&&(d=walk(E,e),d!==void 0?E[e]=d:delete E[e]);return reviver.call(J,F,E)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(J){return"\\u"+("0000"+J.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(J,F,e){var d=e("+TT/"),E=e("bYtY"),g=e("4NO4"),p=g.groupData;function A(N,D,B){N.eachSeriesByType("sankey",function(R){var U=R.get("nodeWidth"),M=R.get("nodeGap"),j=b(R,D);R.layoutInfo=j;var P=j.width,K=j.height,H=R.getGraph(),k=H.nodes,Z=H.edges;i(k);var Y=E.filter(k,function(he){return he.getLayout().value===0}),_=Y.length!==0?0:R.get("layoutIterations"),Q=R.get("orient"),X=R.get("nodeAlign");h(k,Z,U,M,P,K,_,Q,X)})}function b(N,D){return d.getLayoutRect(N.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()})}function h(N,D,B,R,U,M,j,P,K){r(N,D,B,U,M,P,K),u(N,D,M,U,R,j,P),C(N,P)}function i(N){E.each(N,function(D){var B=T(D.outEdges,O),R=T(D.inEdges,O),U=D.getValue()||0,M=Math.max(B,R,U);D.setLayout({value:M},!0)})}function r(N,D,B,R,U,M,j){for(var P=[],K=[],H=[],k=[],Z=0,Y=0,_=0;_<D.length;_++)P[_]=1;for(_=0;_<N.length;_++)K[_]=N[_].inEdges.length,K[_]===0&&H.push(N[_]);for(var Q=-1;H.length;){for(var X=0;X<H.length;X++){var he=H[X],te=he.hostGraph.data.getRawDataItem(he.dataIndex),fe=te.depth!=null&&te.depth>=0;fe&&te.depth>Q&&(Q=te.depth),he.setLayout({depth:fe?te.depth:Z},!0),M==="vertical"?he.setLayout({dy:B},!0):he.setLayout({dx:B},!0);for(var be=0;be<he.outEdges.length;be++){var we=he.outEdges[be],Ke=D.indexOf(we);P[Ke]=0;var qe=we.node2,xt=N.indexOf(qe);--K[xt]===0&&k.indexOf(qe)<0&&k.push(qe)}}++Z,H=k,k=[]}for(_=0;_<P.length;_++)if(P[_]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var Fe=Q>Z-1?Q:Z-1;j&&j!=="left"&&s(N,j,M,Fe);var Y=M==="vertical"?(U-B)/Fe:(R-B)/Fe;n(N,Y,M)}function a(N){var D=N.hostGraph.data.getRawDataItem(N.dataIndex);return D.depth!=null&&D.depth>=0}function s(N,D,B,R){if(D==="right"){for(var U=[],M=N,j=0;M.length;){for(var P=0;P<M.length;P++){var K=M[P];K.setLayout({skNodeHeight:j},!0);for(var H=0;H<K.inEdges.length;H++){var k=K.inEdges[H];U.indexOf(k.node1)<0&&U.push(k.node1)}}M=U,U=[],++j}E.each(N,function(Z){a(Z)||Z.setLayout({depth:Math.max(0,R-Z.getLayout().skNodeHeight)},!0)})}else D==="justify"&&l(N,R)}function l(N,D){E.each(N,function(B){!a(B)&&!B.outEdges.length&&B.setLayout({depth:D},!0)})}function n(N,D,B){E.each(N,function(R){var U=R.getLayout().depth*D;B==="vertical"?R.setLayout({y:U},!0):R.setLayout({x:U},!0)})}function u(N,D,B,R,U,M,j){var P=t(N,j);c(P,D,B,R,U,j),o(P,U,B,R,j);for(var K=1;M>0;M--)K*=.99,f(P,K,j),o(P,U,B,R,j),w(P,K,j),o(P,U,B,R,j)}function t(N,D){var B=[],R=D==="vertical"?"y":"x",U=p(N,function(M){return M.getLayout()[R]});return U.keys.sort(function(M,j){return M-j}),E.each(U.keys,function(M){B.push(U.buckets.get(M))}),B}function c(N,D,B,R,U,M){var j=Infinity;E.each(N,function(P){var K=P.length,H=0;E.each(P,function(Z){H+=Z.getLayout().value});var k=M==="vertical"?(R-(K-1)*U)/H:(B-(K-1)*U)/H;k<j&&(j=k)}),E.each(N,function(P){E.each(P,function(K,H){var k=K.getLayout().value*j;M==="vertical"?(K.setLayout({x:H},!0),K.setLayout({dx:k},!0)):(K.setLayout({y:H},!0),K.setLayout({dy:k},!0))})}),E.each(D,function(P){var K=+P.getValue()*j;P.setLayout({dy:K},!0)})}function o(N,D,B,R,U){var M=U==="vertical"?"x":"y";E.each(N,function(j){j.sort(function(X,he){return X.getLayout()[M]-he.getLayout()[M]});for(var P,K,H,k=0,Z=j.length,Y=U==="vertical"?"dx":"dy",_=0;_<Z;_++)K=j[_],H=k-K.getLayout()[M],H>0&&(P=K.getLayout()[M]+H,U==="vertical"?K.setLayout({x:P},!0):K.setLayout({y:P},!0)),k=K.getLayout()[M]+K.getLayout()[Y]+D;var Q=U==="vertical"?R:B;if(H=k-D-Q,H>0)for(P=K.getLayout()[M]-H,U==="vertical"?K.setLayout({x:P},!0):K.setLayout({y:P},!0),k=P,_=Z-2;_>=0;--_)K=j[_],H=K.getLayout()[M]+K.getLayout()[Y]+D-k,H>0&&(P=K.getLayout()[M]-H,U==="vertical"?K.setLayout({x:P},!0):K.setLayout({y:P},!0)),k=K.getLayout()[M]})}function f(N,D,B){E.each(N.slice().reverse(),function(R){E.each(R,function(U){if(U.outEdges.length){var M=T(U.outEdges,v,B)/T(U.outEdges,O,B);if(isNaN(M)){var j=U.outEdges.length;M=j?T(U.outEdges,y,B)/j:0}if(B==="vertical"){var P=U.getLayout().x+(M-x(U,B))*D;U.setLayout({x:P},!0)}else{var K=U.getLayout().y+(M-x(U,B))*D;U.setLayout({y:K},!0)}}})})}function v(N,D){return x(N.node2,D)*N.getValue()}function y(N,D){return x(N.node2,D)}function L(N,D){return x(N.node1,D)*N.getValue()}function S(N,D){return x(N.node1,D)}function x(N,D){return D==="vertical"?N.getLayout().x+N.getLayout().dx/2:N.getLayout().y+N.getLayout().dy/2}function O(N){return N.getValue()}function T(N,D,B){for(var R=0,U=N.length,M=-1;++M<U;){var j=+D.call(N,N[M],B);isNaN(j)||(R+=j)}return R}function w(N,D,B){E.each(N,function(R){E.each(R,function(U){if(U.inEdges.length){var M=T(U.inEdges,L,B)/T(U.inEdges,O,B);if(isNaN(M)){var j=U.inEdges.length;M=j?T(U.inEdges,S,B)/j:0}if(B==="vertical"){var P=U.getLayout().x+(M-x(U,B))*D;U.setLayout({x:P},!0)}else{var K=U.getLayout().y+(M-x(U,B))*D;U.setLayout({y:K},!0)}}})})}function C(N,D){var B=D==="vertical"?"x":"y";E.each(N,function(R){R.outEdges.sort(function(U,M){return U.node2.getLayout()[B]-M.node2.getLayout()[B]}),R.inEdges.sort(function(U,M){return U.node1.getLayout()[B]-M.node1.getLayout()[B]})}),E.each(N,function(R){var U=0,M=0;E.each(R.outEdges,function(j){j.setLayout({sy:U},!0),U+=j.getLayout().dy}),E.each(R.inEdges,function(j){j.setLayout({ty:M},!0),M+=j.getLayout().dy})})}J.exports=A},"giR+":function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("QbM5"),p=e.n(g)},gut8:function(J,F){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},d=9;F.ContextCachedBy=e,F.WILL_BE_RESTORED=d},gvm7:function(J,F,e){var d=e("bYtY"),E=e("dqUG");function g(A){this._zr=A.getZr(),this._show=!1,this._hideTimeout}g.prototype={constructor:g,_enterable:!0,update:function(){},show:function(A){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(A,b,h){this.el&&this._zr.remove(this.el);for(var i={},r=A,a="{marker",s="|}",l=r.indexOf(a);l>=0;){var n=r.indexOf(s),u=r.substr(l+a.length,n-l-a.length);u.indexOf("sub")>-1?i["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:b[u],textOffset:[3,0]}:i["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:b[u]},r=r.substr(n+1),l=r.indexOf("{marker")}this.el=new E({style:{rich:i,text:A,textLineHeight:20,textBackgroundColor:h.get("backgroundColor"),textBorderRadius:h.get("borderRadius"),textFill:h.get("textStyle.color"),textPadding:h.get("padding")},z:h.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(A){this._enterable=A},getSize:function(){var A=this.el.getBoundingRect();return[A.width,A.height]},moveTo:function(A,b){this.el&&this.el.attr("position",[A,b])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(A){this._show&&!(this._inContent&&this._enterable)&&(A?(this._hideDelay=A,this._show=!1,this._hideTimeout=setTimeout(d.bind(this.hide,this),A)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var A=this.getSize();return{width:A[0],height:A[1]}}};var p=g;J.exports=p},gwTy:function(J,F,e){},h54F:function(J,F,e){var d=e("ProS"),E=e("YXkt"),g=e("bYtY"),p=e("4NO4"),A=p.defaultEmphasis,b=e("Qxkt"),h=e("7aKB"),i=h.encodeHTML,r=e("I3/A"),a=e("xKMd"),s=d.extendSeriesModel({type:"series.graph",init:function(n){s.superApply(this,"init",arguments);var u=this;function t(){return u._categoriesData}this.legendVisualProvider=new a(t,t),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeOption:function(n){s.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(n){s.superApply(this,"mergeDefaultAndTheme",arguments),A(n,["edgeLabel"],["show"])},getInitialData:function(n,u){var t=n.edges||n.links||[],c=n.data||n.nodes||[],o=this;if(c&&t)return r(c,t,this,!0,f).data;function f(v,y){v.wrapMethod("getItemModel",function(w){var C=o._categoriesModels,N=w.getShallow("category"),D=C[N];return D&&(D.parentModel=w.parentModel,w.parentModel=D),w});var L=o.getModel("edgeLabel"),S=new b({label:L.option},L.parentModel,u),x=o.getModel("emphasis.edgeLabel"),O=new b({emphasis:{label:x.option}},x.parentModel,u);y.wrapMethod("getItemModel",function(w){return w.customizeGetParent(T),w});function T(w){return w=this.parsePath(w),w&&w[0]==="label"?S:w&&w[0]==="emphasis"&&w[1]==="label"?O:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(n,u,t){if(t==="edge"){var c=this.getData(),o=this.getDataParams(n,t),f=c.graph.getEdgeByIndex(n),v=c.getName(f.node1.dataIndex),y=c.getName(f.node2.dataIndex),L=[];return v!=null&&L.push(v),y!=null&&L.push(y),L=i(L.join(" > ")),o.value&&(L+=" : "+i(o.value)),L}else return s.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=g.map(this.option.categories||[],function(t){return t.value!=null?t:g.extend({value:0},t)}),u=new E(["value"],this);u.initData(n),this._categoriesData=u,this._categoriesModels=u.mapArray(function(t){return u.getItemModel(t,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},isAnimationEnabled:function(){return s.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}}}}),l=s;J.exports=l},h7HQ:function(J,F,e){var d=e("y+Vt"),E=e("T6xi"),g=d.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(A,b){E.buildPath(A,b,!0)}});J.exports=g},h8O9:function(J,F,e){var d=e("bYtY"),E=d.map,g=e("zM3Q"),p=e("7hqr"),A=p.isDimensionStacked;function b(h){return{seriesType:h,plan:g(),reset:function(i){var r=i.getData(),a=i.coordinateSystem,s=i.pipelineContext,l=s.large;if(!a)return;var n=E(a.dimensions,function(o){return r.mapDimension(o)}).slice(0,2),u=n.length,t=r.getCalculationInfo("stackResultDimension");A(r,n[0])&&(n[0]=t),A(r,n[1])&&(n[1]=t);function c(o,f){for(var v=o.end-o.start,y=l&&new Float32Array(v*u),L=o.start,S=0,x=[],O=[];L<o.end;L++){var T;if(u===1){var w=f.get(n[0],L);T=!isNaN(w)&&a.dataToPoint(w,null,O)}else{var w=x[0]=f.get(n[0],L),C=x[1]=f.get(n[1],L);T=!isNaN(w)&&!isNaN(C)&&a.dataToPoint(x,null,O)}l?(y[S++]=T?T[0]:NaN,y[S++]=T?T[1]:NaN):f.setItemLayout(L,T&&T.slice()||[NaN,NaN])}l&&f.setLayout("symbolPoints",y)}return u&&{progress:c}}}}J.exports=b},hD7B:function(J,F,e){var d=e("bYtY"),E=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function g(A){d.each(E,function(b){this[b]=d.bind(A[b],A)},this)}var p=g;J.exports=p},hFmY:function(J,F,e){var d=e("ProS"),E={type:"axisAreaSelect",event:"axisAreaSelected"};d.registerAction(E,function(g,p){p.eachComponent({mainType:"parallelAxis",query:g},function(A){A.axis.model.setActiveIntervals(g.intervals)})}),d.registerAction("parallelAxisExpand",function(g,p){p.eachComponent({mainType:"parallel",query:g},function(A){A.setAxisExpand(g)})})},hJvP:function(J,F,e){var d=e("2dDv"),E=e("IDmD");function g(p,A){var b=[];return p.eachComponent("parallel",function(h,i){var r=new d(h,p,A);r.name="parallel_"+i,r.resize(h,A),h.coordinateSystem=r,r.model=h,b.push(r)}),p.eachSeries(function(h){if(h.get("coordinateSystem")==="parallel"){var i=p.queryComponents({mainType:"parallel",index:h.get("parallelIndex"),id:h.get("parallelId")})[0];h.coordinateSystem=i.coordinateSystem}}),b}E.register("parallel",{create:g})},hM6l:function(J,F,e){var d=e("bYtY"),E=d.each,g=d.map,p=e("OELB"),A=p.linearMap,b=p.getPixelPrecision,h=p.round,i=e("4HMb"),r=i.createAxisTicks,a=i.createAxisLabels,s=i.calculateCategoryInterval,l=[0,1],n=function(o,f,v){this.dim=o,this.scale=f,this._extent=v||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(o){var f=this._extent,v=Math.min(f[0],f[1]),y=Math.max(f[0],f[1]);return o>=v&&o<=y},containData:function(o){return this.scale.contain(o)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(o){return b(o||this.scale.getExtent(),this._extent)},setExtent:function(o,f){var v=this._extent;v[0]=o,v[1]=f},dataToCoord:function(o,f){var v=this._extent,y=this.scale;return o=y.normalize(o),this.onBand&&y.type==="ordinal"&&(v=v.slice(),u(v,y.count())),A(o,l,v,f)},coordToData:function(o,f){var v=this._extent,y=this.scale;this.onBand&&y.type==="ordinal"&&(v=v.slice(),u(v,y.count()));var L=A(o,v,l,f);return this.scale.scale(L)},pointToData:function(o,f){},getTicksCoords:function(o){o=o||{};var f=o.tickModel||this.getTickModel(),v=r(this,f),y=v.ticks,L=g(y,function(x){return{coord:this.dataToCoord(x),tickValue:x}},this),S=f.get("alignWithLabel");return t(this,L,S,o.clamp),L},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var o=this.model.getModel("minorTick"),f=o.get("splitNumber");f>0&&f<100||(f=5);var v=this.scale.getMinorTicks(f),y=g(v,function(L){return g(L,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this)},this);return y},getViewLabels:function(){return a(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var o=this._extent,f=this.scale.getExtent(),v=f[1]-f[0]+(this.onBand?1:0);v===0&&(v=1);var y=Math.abs(o[1]-o[0]);return Math.abs(y)/v},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}};function u(o,f){var v=o[1]-o[0],y=f,L=v/y/2;o[0]+=L,o[1]-=L}function t(o,f,v,y){var L=f.length;if(!o.onBand||v||!L)return;var S=o.getExtent(),x,O;if(L===1)f[0].coord=S[0],x=f[1]={coord:S[0]};else{var T=f[L-1].tickValue-f[0].tickValue,w=(f[L-1].coord-f[0].coord)/T;E(f,function(B){B.coord-=w/2});var C=o.scale.getExtent();O=1+C[1]-f[L-1].tickValue,x={coord:f[L-1].coord+w*O},f.push(x)}var N=S[0]>S[1];D(f[0].coord,S[0])&&(y?f[0].coord=S[0]:f.shift()),y&&D(S[0],f[0].coord)&&f.unshift({coord:S[0]}),D(S[1],x.coord)&&(y?x.coord=S[1]:f.pop()),y&&D(x.coord,S[1])&&f.push({coord:S[1]});function D(B,R){return B=h(B),R=h(R),N?B>R:B<R}}var c=n;J.exports=c},hNWo:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("Qxkt"),p=e("4NO4"),A=p.isNameSpecified,b=e("Kagy"),h=b.legend.selector,i={all:{type:"all",title:E.clone(h.all)},inverse:{type:"inverse",title:E.clone(h.inverse)}},r=d.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(s,l,n){this.mergeDefaultAndTheme(s,n),s.selected=s.selected||{},this._updateSelector(s)},mergeOption:function(s){r.superCall(this,"mergeOption",s),this._updateSelector(s)},_updateSelector:function(s){var l=s.selector;l===!0&&(l=s.selector=["all","inverse"]),E.isArray(l)&&E.each(l,function(n,u){E.isString(n)&&(n={type:n}),l[u]=E.merge(n,i[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var s=this._data;if(s[0]&&this.get("selectedMode")==="single"){for(var l=!1,n=0;n<s.length;n++){var u=s[n].get("name");if(this.isSelected(u)){this.select(u),l=!0;break}}!l&&this.select(s[0].get("name"))}},_updateData:function(s){var l=[],n=[];s.eachRawSeries(function(c){var o=c.name;n.push(o);var f;if(c.legendVisualProvider){var v=c.legendVisualProvider,y=v.getAllNames();s.isSeriesFiltered(c)||(n=n.concat(y)),y.length?l=l.concat(y):f=!0}else f=!0;f&&A(c)&&l.push(c.name)}),this._availableNames=n;var u=this.get("data")||l,t=E.map(u,function(c){return(typeof c=="string"||typeof c=="number")&&(c={name:c}),new g(c,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(s){var l=this.option.selected,n=this.get("selectedMode");if(n==="single"){var u=this._data;E.each(u,function(t){l[t.get("name")]=!1})}l[s]=!0},unSelect:function(s){this.get("selectedMode")!=="single"&&(this.option.selected[s]=!1)},toggleSelected:function(s){var l=this.option.selected;l.hasOwnProperty(s)||(l[s]=!0),this[l[s]?"unSelect":"select"](s)},allSelect:function(){var s=this._data,l=this.option.selected;E.each(s,function(n){l[n.get("name",!0)]=!0})},inverseSelect:function(){var s=this._data,l=this.option.selected;E.each(s,function(n){var u=n.get("name",!0);l.hasOwnProperty(u)||(l[u]=!0),l[u]=!l[u]})},isSelected:function(s){var l=this.option.selected;return!(l.hasOwnProperty(s)&&!l[s])&&E.indexOf(this._availableNames,s)>=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}}}),a=r;J.exports=a},hOwI:function(J,F){var e=Math.log(2);function d(g,p,A,b,h,i){var r=b+"-"+h,a=g.length;if(i.hasOwnProperty(r))return i[r];if(p===1){var s=Math.round(Math.log((1<<a)-1&~h)/e);return g[A][s]}for(var l=b|1<<A,n=A+1;b&1<<n;)n++;for(var u=0,t=0,c=0;t<a;t++){var o=1<<t;o&h||(u+=(c%2?-1:1)*g[A][t]*d(g,p-1,n,l,h|o,i),c++)}return i[r]=u,u}function E(g,p){var A=[[g[0],g[1],1,0,0,0,-p[0]*g[0],-p[0]*g[1]],[0,0,0,g[0],g[1],1,-p[1]*g[0],-p[1]*g[1]],[g[2],g[3],1,0,0,0,-p[2]*g[2],-p[2]*g[3]],[0,0,0,g[2],g[3],1,-p[3]*g[2],-p[3]*g[3]],[g[4],g[5],1,0,0,0,-p[4]*g[4],-p[4]*g[5]],[0,0,0,g[4],g[5],1,-p[5]*g[4],-p[5]*g[5]],[g[6],g[7],1,0,0,0,-p[6]*g[6],-p[6]*g[7]],[0,0,0,g[6],g[7],1,-p[7]*g[6],-p[7]*g[7]]],b={},h=d(A,8,0,0,0,b);if(h===0)return;for(var i=[],r=0;r<8;r++)for(var a=0;a<8;a++)i[a]==null&&(i[a]=0),i[a]+=((r+a)%2?-1:1)*d(A,7,r===0?1:0,1<<r,1<<a,b)/h*p[r];return function(s,l,n){var u=l*i[6]+n*i[7]+1;s[0]=(l*i[0]+n*i[1]+i[2])/u,s[1]=(l*i[3]+n*i[4]+i[5])/u}}F.buildTransformer=E},hX1E:function(J,F){var e=Math.PI*2;function d(E){return E%=e,E<0&&(E+=e),E}F.normalizeRadian=d},hi0g:function(J,F,e){var d=e("bYtY"),E=d.createHashMap,g=d.each,p=d.isString,A=d.defaults,b=d.extend,h=d.isObject,i=d.clone,r=e("4NO4"),a=r.normalizeToArray,s=e("D5nY"),l=s.guessOrdinal,n=s.BE_ORDINAL,u=e("7G+c"),t=e("L0Ub"),c=t.OTHER_DIMENSIONS,o=e("Vi4m");function f(S,x,O){u.isInstance(x)||(x=u.seriesDataToSource(x)),O=O||{},S=(S||[]).slice();for(var T=(O.dimsDef||[]).slice(),w=E(),C=E(),N=[],D=v(x,S,T,O.dimCount),B=0;B<D;B++){var R=T[B]=b({},h(T[B])?T[B]:{name:T[B]}),U=R.name,M=N[B]=new o;U!=null&&w.get(U)==null&&(M.name=M.displayName=U,w.set(U,B)),R.type!=null&&(M.type=R.type),R.displayName!=null&&(M.displayName=R.displayName)}var j=O.encodeDef;!j&&O.encodeDefaulter&&(j=O.encodeDefaulter(x,D)),j=E(j),j.each(function(X,he){if(X=a(X).slice(),X.length===1&&!p(X[0])&&X[0]<0){j.set(he,!1);return}var te=j.set(he,[]);g(X,function(fe,be){p(fe)&&(fe=w.get(fe)),fe!=null&&fe<D&&(te[be]=fe,K(N[fe],he,be))})});var P=0;g(S,function(X,he){var te,X,fe,be;if(p(X))te=X,X={};else{te=X.name;var we=X.ordinalMeta;X.ordinalMeta=null,X=i(X),X.ordinalMeta=we,fe=X.dimsDef,be=X.otherDims,X.name=X.coordDim=X.coordDimIndex=X.dimsDef=X.otherDims=null}var Ke=j.get(te);if(Ke===!1)return;var Ke=a(Ke);if(!Ke.length)for(var qe=0;qe<(fe&&fe.length||1);qe++){for(;P<N.length&&N[P].coordDim!=null;)P++;P<N.length&&Ke.push(P++)}g(Ke,function(xt,Fe){var Be=N[xt];if(K(A(Be,X),te,Fe),Be.name==null&&fe){var bt=fe[Fe];!h(bt)&&(bt={name:bt}),Be.name=Be.displayName=bt.name,Be.defaultTooltip=bt.defaultTooltip}be&&A(Be.otherDims,be)})});function K(X,he,te){c.get(he)!=null?X.otherDims[he]=te:(X.coordDim=he,X.coordDimIndex=te,C.set(he,!0))}var H=O.generateCoord,k=O.generateCoordCount,Z=k!=null;k=H?k||1:0;for(var Y=H||"value",_=0;_<D;_++){var M=N[_]=N[_]||new o,Q=M.coordDim;Q==null&&(M.coordDim=y(Y,C,Z),M.coordDimIndex=0,(!H||k<=0)&&(M.isExtraCoord=!0),k--),M.name==null&&(M.name=y(M.coordDim,w)),M.type==null&&(l(x,_,M.name)===n.Must||M.isExtraCoord&&(M.otherDims.itemName!=null||M.otherDims.seriesName!=null))&&(M.type="ordinal")}return N}function v(S,x,O,T){var w=Math.max(S.dimensionsDetectCount||1,x.length,O.length,T||0);return g(x,function(C){var N=C.dimsDef;N&&(w=Math.max(w,N.length))}),w}function y(S,x,O){if(O||x.get(S)!=null){for(var T=0;x.get(S+T)!=null;)T++;S+=T}return x.set(S,!0),S}var L=f;J.exports=L},hkKa:function(J,F,e){"use strict";e.d(F,"a",function(){return A});var d=e("J4zp"),E=e.n(d),g=e("q1tI"),p=e.n(g);function A(){var b=g.useReducer(function(r){return r+1},0),h=E()(b,2),i=h[1];return i}},hw6D:function(J,F,e){var d=e("bYtY");function E(A){A.eachSeriesByType("radar",function(b){var h=b.getData(),i=[],r=b.coordinateSystem;if(!r)return;var a=r.getIndicatorAxes();d.each(a,function(s,l){h.each(h.mapDimension(a[l].dim),function(n,u){i[u]=i[u]||[];var t=r.dataToPoint(n,l);i[u][l]=g(t)?t:p(r)})}),h.each(function(s){var l=d.find(i[s],function(n){return g(n)})||p(r);i[s].push(l.slice()),h.setItemLayout(s,i[s])})})}function g(A){return!isNaN(A[0])&&!isNaN(A[1])}function p(A){return[A.cx,A.cy]}J.exports=E},hwYd:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("Nu4q")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="PictureTwoTone";var h=g.forwardRef(b);F.default=h},hydK:function(J,F){var e="http://www.w3.org/2000/svg";function d(E){return document.createElementNS(e,E)}F.createElement=d},hyiK:function(J,F){function e(d,E,g,p,A,b){if(b>E&&b>p||b<E&&b<p)return 0;if(p===E)return 0;var h=p<E?1:-1,i=(b-E)/(p-E);(i===1||i===0)&&(h=p<E?.5:-.5);var r=i*(g-d)+d;return r===A?Infinity:r>A?h:0}J.exports=e},i38C:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=g.createHashMap,A=g.retrieve,b=g.each;function h(s){this.coordSysName=s,this.coordSysDims=[],this.axisMap=p(),this.categoryAxisMap=p(),this.firstCategoryDimIndex=null}function i(s){var l=s.get("coordinateSystem"),n=new h(l),u=r[l];if(u)return u(s,n,n.axisMap,n.categoryAxisMap),n}var r={cartesian2d:function(s,l,n,u){var t=s.getReferringComponents("xAxis")[0],c=s.getReferringComponents("yAxis")[0];l.coordSysDims=["x","y"],n.set("x",t),n.set("y",c),a(t)&&(u.set("x",t),l.firstCategoryDimIndex=0),a(c)&&(u.set("y",c),l.firstCategoryDimIndex==null&(l.firstCategoryDimIndex=1))},singleAxis:function(s,l,n,u){var t=s.getReferringComponents("singleAxis")[0];l.coordSysDims=["single"],n.set("single",t),a(t)&&(u.set("single",t),l.firstCategoryDimIndex=0)},polar:function(s,l,n,u){var t=s.getReferringComponents("polar")[0],c=t.findAxisModel("radiusAxis"),o=t.findAxisModel("angleAxis");l.coordSysDims=["radius","angle"],n.set("radius",c),n.set("angle",o),a(c)&&(u.set("radius",c),l.firstCategoryDimIndex=0),a(o)&&(u.set("angle",o),l.firstCategoryDimIndex==null&&(l.firstCategoryDimIndex=1))},geo:function(s,l,n,u){l.coordSysDims=["lng","lat"]},parallel:function(s,l,n,u){var t=s.ecModel,c=t.getComponent("parallel",s.get("parallelIndex")),o=l.coordSysDims=c.dimensions.slice();b(c.parallelAxisIndex,function(f,v){var y=t.getComponent("parallelAxis",f),L=o[v];n.set(L,y),a(y)&&l.firstCategoryDimIndex==null&&(u.set(L,y),l.firstCategoryDimIndex=v)})}};function a(s){return s.get("type")==="category"}F.getCoordSysInfoBySeries=i},i6bk:function(J,F,e){"use strict";e.d(F,"b",function(){return d}),e.d(F,"a",function(){return E});function d(g){return g!=null&&g===g.window}function E(g,p){if(typeof window=="undefined")return 0;var A=p?"scrollTop":"scrollLeft",b=0;return d(g)?b=g[p?"pageYOffset":"pageXOffset"]:g instanceof Document?b=g.documentElement[A]:g&&(b=g[A]),g&&!d(g)&&typeof b!="number"&&(b=(g.ownerDocument||g).documentElement[A]),b}},i8CU:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("Fm1+"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},iLNv:function(J,F){var e="\0__throttleOriginMethod",d="\0__throttleRate",E="\0__throttleType";function g(b,h,i){var r,a=0,s=0,l=null,n,u,t,c;h=h||0;function o(){s=new Date().getTime(),l=null,b.apply(u,t||[])}var f=function(){r=new Date().getTime(),u=this,t=arguments;var v=c||h,y=c||i;c=null,n=r-(y?a:s)-v,clearTimeout(l),y?l=setTimeout(o,v):n>=0?o():l=setTimeout(o,-n),a=r};return f.clear=function(){l&&(clearTimeout(l),l=null)},f.debounceNextCall=function(v){c=v},f}function p(b,h,i,r){var a=b[h];if(!a)return;var s=a[e]||a,l=a[E],n=a[d];if(n!==i||l!==r){if(i==null||!r)return b[h]=s;a=b[h]=g(s,i,r==="debounce"),a[e]=s,a[E]=r,a[d]=i}return a}function A(b,h){var i=b[h];i&&i[e]&&(b[h]=i[e])}F.throttle=g,F.createOrUpdate=p,F.clear=A},iPDy:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=d.extendComponentView({type:"marker",init:function(){this.markerGroupMap=E.createHashMap()},render:function(p,A,b){var h=this.markerGroupMap;h.each(function(r){r.__keep=!1});var i=this.type+"Model";A.eachSeries(function(r){var a=r[i];a&&this.renderSeries(r,a,A,b)},this),h.each(function(r){!r.__keep&&this.group.remove(r.group)},this)},renderSeries:function(){}});J.exports=g},iQDF:function(J,F,e){"use strict";var d=e("ZTW2"),E=e.n(d),g=e("+BJd"),p=e("+L6B")},iRjW:function(J,F,e){var d=e("bYtY"),E=e("Yl7c"),g=E.parseClassType,p=0;function A(i){return[i||"",p++,Math.random().toFixed(5)].join("_")}function b(i){var r={};return i.registerSubTypeDefaulter=function(a,s){a=g(a),r[a.main]=s},i.determineSubType=function(a,s){var l=s.type;if(!l){var n=g(a).main;i.hasSubTypes(a)&&r[n]&&(l=r[n](s))}return l},i}function h(i,r){i.topologicalTravel=function(n,u,t,c){if(!n.length)return;var o=a(u),f=o.graph,v=o.noEntryList,y={};for(d.each(n,function(w){y[w]=!0});v.length;){var L=v.pop(),S=f[L],x=!!y[L];x&&(t.call(c,L,S.originalDeps.slice()),delete y[L]),d.each(S.successor,x?T:O)}d.each(y,function(){throw new Error("Circle dependency may exists")});function O(w){f[w].entryCount--,f[w].entryCount===0&&v.push(w)}function T(w){y[w]=!0,O(w)}};function a(n){var u={},t=[];return d.each(n,function(c){var o=s(u,c),f=o.originalDeps=r(c),v=l(f,n);o.entryCount=v.length,o.entryCount===0&&t.push(c),d.each(v,function(y){d.indexOf(o.predecessor,y)<0&&o.predecessor.push(y);var L=s(u,y);d.indexOf(L.successor,y)<0&&L.successor.push(c)})}),{graph:u,noEntryList:t}}function s(n,u){return n[u]||(n[u]={predecessor:[],successor:[]}),n[u]}function l(n,u){var t=[];return d.each(n,function(c){d.indexOf(u,c)>=0&&t.push(c)}),t}}F.getUID=A,F.enableSubTypeDefaulter=b,F.enableTopologicalTravel=h},iXHM:function(J,F){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var d={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};J.exports=d},iXp4:function(J,F,e){var d=e("ItGF"),E=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function g(p){return d.browser.ie&&d.browser.version>=11?function(){var A=this.__clipPaths,b=this.style,h;if(A)for(var i=0;i<A.length;i++){var r=A[i],a=r&&r.shape,s=r&&r.type;if(a&&(s==="sector"&&a.startAngle===a.endAngle||s==="rect"&&(!a.width||!a.height))){for(var l=0;l<E.length;l++)E[l][2]=b[E[l][0]],b[E[l][0]]=E[l][1];h=!0;break}}if(p.apply(this,arguments),h)for(var l=0;l<E.length;l++)b[E[l][0]]=E[l][2]}:p}J.exports=g},iYpf:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("ZLWo")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FolderOpenOutlined";var h=g.forwardRef(b);F.default=h},ieMj:function(J,F,e){var d=e("OELB"),E=e("7aKB"),g=e("4NgU"),p=e("lE7J"),A=d.round,b=g.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(i,r){var a=this._extent;isNaN(i)||(a[0]=parseFloat(i)),isNaN(r)||(a[1]=parseFloat(r))},unionExtent:function(i){var r=this._extent;i[0]<r[0]&&(r[0]=i[0]),i[1]>r[1]&&(r[1]=i[1]),b.prototype.setExtent.call(this,r[0],r[1])},getInterval:function(){return this._interval},setInterval:function(i){this._interval=i,this._niceExtent=this._extent.slice(),this._intervalPrecision=p.getIntervalPrecision(i)},getTicks:function(i){var r=this._interval,a=this._extent,s=this._niceExtent,l=this._intervalPrecision,n=[];if(!r)return n;var u=1e4;a[0]<s[0]&&(i?n.push(A(s[0]-r,l)):n.push(a[0]));for(var t=s[0];t<=s[1]&&!(n.push(t),t=A(t+r,l),t===n[n.length-1]);)if(n.length>u)return[];var c=n.length?n[n.length-1]:s[1];return a[1]>c&&(i?n.push(A(c+r,l)):n.push(a[1])),n},getMinorTicks:function(i){for(var r=this.getTicks(!0),a=[],s=this.getExtent(),l=1;l<r.length;l++){for(var n=r[l],u=r[l-1],t=0,c=[],o=n-u,f=o/i;t<i-1;){var v=d.round(u+(t+1)*f);v>s[0]&&v<s[1]&&c.push(v),t++}a.push(c)}return a},getLabel:function(i,r){if(i==null)return"";var a=r&&r.precision;return a==null?a=d.getPrecisionSafe(i)||0:a==="auto"&&(a=this._intervalPrecision),i=A(i,a,!0),E.addCommas(i)},niceTicks:function(i,r,a){i=i||5;var s=this._extent,l=s[1]-s[0];if(!isFinite(l))return;l<0&&(l=-l,s.reverse());var n=p.intervalScaleNiceTicks(s,i,r,a);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(i){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var a=r[0];i.fixMax||(r[1]+=a/2),r[0]-=a/2}else r[1]=1;var s=r[1]-r[0];isFinite(s)||(r[0]=0,r[1]=1),this.niceTicks(i.splitNumber,i.minInterval,i.maxInterval);var l=this._interval;i.fixMin||(r[0]=A(Math.floor(r[0]/l)*l)),i.fixMax||(r[1]=A(Math.ceil(r[1]/l)*l))}});b.create=function(){return new b};var h=b;J.exports=h},j5sG:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.createSensor=void 0;var d=E(e("NohK"));function E(p){return p&&p.__esModule?p:{default:p}}var g=function(A){var b=void 0,h=[],i=(0,d.default)(function(){h.forEach(function(n){n(A)})}),r=function(){var u=new ResizeObserver(i);return u.observe(A),i(),u},a=function(u){b||(b=r()),h.indexOf(u)===-1&&h.push(u)},s=function(){b.disconnect(),h=[],b=void 0},l=function(u){var t=h.indexOf(u);t!==-1&&h.splice(t,1),h.length===0&&b&&s()};return{element:A,bind:a,destroy:s,unbind:l}};F.createSensor=g},jCWc:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("1GLa")},jCoz:function(J,F,e){var d=e("bYtY"),E=e("4NgU"),g=e("OELB"),p=e("ieMj"),A=E.prototype,b=p.prototype,h=g.getPrecisionSafe,i=g.round,r=Math.floor,a=Math.ceil,s=Math.pow,l=Math.log,n=E.extend({type:"log",base:10,$constructor:function(){E.apply(this,arguments),this._originalScale=new p},getTicks:function(c){var o=this._originalScale,f=this._extent,v=o.getExtent();return d.map(b.getTicks.call(this,c),function(y){var L=g.round(s(this.base,y));return L=y===f[0]&&o.__fixMin?u(L,v[0]):L,L=y===f[1]&&o.__fixMax?u(L,v[1]):L,L},this)},getMinorTicks:b.getMinorTicks,getLabel:b.getLabel,scale:function(c){return c=A.scale.call(this,c),s(this.base,c)},setExtent:function(c,o){var f=this.base;c=l(c)/l(f),o=l(o)/l(f),b.setExtent.call(this,c,o)},getExtent:function(){var c=this.base,o=A.getExtent.call(this);o[0]=s(c,o[0]),o[1]=s(c,o[1]);var f=this._originalScale,v=f.getExtent();return f.__fixMin&&(o[0]=u(o[0],v[0])),f.__fixMax&&(o[1]=u(o[1],v[1])),o},unionExtent:function(c){this._originalScale.unionExtent(c);var o=this.base;c[0]=l(c[0])/l(o),c[1]=l(c[1])/l(o),A.unionExtent.call(this,c)},unionExtentFromData:function(c,o){this.unionExtent(c.getApproximateExtent(o))},niceTicks:function(c){c=c||10;var o=this._extent,f=o[1]-o[0];if(f===Infinity||f<=0)return;var v=g.quantity(f),y=c/f*v;for(y<=.5&&(v*=10);!isNaN(v)&&Math.abs(v)<1&&Math.abs(v)>0;)v*=10;var L=[g.round(a(o[0]/v)*v),g.round(r(o[1]/v)*v)];this._interval=v,this._niceExtent=L},niceExtent:function(c){b.niceExtent.call(this,c);var o=this._originalScale;o.__fixMin=c.fixMin,o.__fixMax=c.fixMax}});d.each(["contain","normalize"],function(c){n.prototype[c]=function(o){return o=l(o)/l(this.base),A[c].call(this,o)}}),n.create=function(){return new n};function u(c,o){return i(c,h(o))}var t=n;J.exports=t},jN4g:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="CloseCircleFilled";var b=F.a=d.forwardRef(A)},jO45:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="CheckCircleFilled";var b=F.a=d.forwardRef(A)},jTL6:function(J,F,e){var d=e("y+Vt"),E=d.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(p,A){var b=A.cx,h=A.cy,i=Math.max(A.r,0),r=A.startAngle,a=A.endAngle,s=A.clockwise,l=Math.cos(r),n=Math.sin(r);p.moveTo(l*i+b,n*i+h),p.arc(b,h,i,r,a,!s)}});J.exports=E},je13:function(J,F,e){var d=e("5nXd"),E=e("gRFJ"),g=[e("uQRt")];J.exports=d.createStore(E,g)},jett:function(J,F,e){var d=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var E=e("mOdp"),g=e("f5Yq"),p=e("hw6D"),A=e("0/Rx"),b=e("eJH7");d.registerVisual(E("radar")),d.registerVisual(g("radar","circle")),d.registerLayout(p),d.registerProcessor(A("radar")),d.registerPreprocessor(b)},jhfD:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="ArrowLeftOutlined";var b=F.a=d.forwardRef(A)},jkPA:function(J,F,e){var d=e("bYtY"),E=d.createHashMap,g=d.isObject,p=d.map;function A(a){this.categories=a.categories||[],this._needCollect=a.needCollect,this._deduplication=a.deduplication,this._map}A.createByAxisModel=function(a){var s=a.option,l=s.data,n=l&&p(l,i);return new A({categories:n,needCollect:!n,deduplication:s.dedplication!==!1})};var b=A.prototype;b.getOrdinal=function(a){return h(this).get(a)},b.parseAndCollect=function(a){var s,l=this._needCollect;if(typeof a!="string"&&!l)return a;if(l&&!this._deduplication)return s=this.categories.length,this.categories[s]=a,s;var n=h(this);return s=n.get(a),s==null&&(l?(s=this.categories.length,this.categories[s]=a,n.set(a,s)):s=NaN),s};function h(a){return a._map||(a._map=E(a.categories))}function i(a){return g(a)&&a.value!=null?a.value:a+""}var r=A;J.exports=r},jndi:function(J,F,e){var d=e("bYtY"),E=e("Qe9p"),g=e("YXkt"),p=e("OELB"),A=e("IwbS"),b=e("kj2x"),h=e("iPDy"),i=function(t,c,o,f){var v=b.dataTransform(t,f[0]),y=b.dataTransform(t,f[1]),L=d.retrieve,S=v.coord,x=y.coord;S[0]=L(S[0],-Infinity),S[1]=L(S[1],-Infinity),x[0]=L(x[0],Infinity),x[1]=L(x[1],Infinity);var O=d.mergeAll([{},v,y]);return O.coord=[v.coord,y.coord],O.x0=v.x,O.y0=v.y,O.x1=y.x,O.y1=y.y,O};function r(t){return!isNaN(t)&&!isFinite(t)}function a(t,c,o,f){var v=1-t;return r(c[v])&&r(o[v])}function s(t,c){var o=c.coord[0],f=c.coord[1];return t.type==="cartesian2d"&&(o&&f&&(a(1,o,f,t)||a(0,o,f,t)))?!0:b.dataFilter(t,{coord:o,x:c.x0,y:c.y0})||b.dataFilter(t,{coord:f,x:c.x1,y:c.y1})}function l(t,c,o,f,v){var y=f.coordinateSystem,L=t.getItemModel(c),S,x=p.parsePercent(L.get(o[0]),v.getWidth()),O=p.parsePercent(L.get(o[1]),v.getHeight());if(!isNaN(x)&&!isNaN(O))S=[x,O];else{if(f.getMarkerPosition)S=f.getMarkerPosition(t.getValues(o,c));else{var T=t.get(o[0],c),w=t.get(o[1],c),C=[T,w];y.clampData&&y.clampData(C,C),S=y.dataToPoint(C,!0)}if(y.type==="cartesian2d"){var N=y.getAxis("x"),D=y.getAxis("y"),T=t.get(o[0],c),w=t.get(o[1],c);r(T)?S[0]=N.toGlobalCoord(N.getExtent()[o[0]==="x0"?0:1]):r(w)&&(S[1]=D.toGlobalCoord(D.getExtent()[o[1]==="y0"?0:1]))}isNaN(x)||(S[0]=x),isNaN(O)||(S[1]=O)}return S}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];h.extend({type:"markArea",updateTransform:function(t,c,o){c.eachSeries(function(f){var v=f.markAreaModel;if(v){var y=v.getData();y.each(function(L){var S=d.map(n,function(O){return l(y,L,O,f,o)});y.setItemLayout(L,S);var x=y.getItemGraphicEl(L);x.setShape("points",S)})}},this)},renderSeries:function(t,c,o,f){var v=t.coordinateSystem,y=t.id,L=t.getData(),S=this.markerGroupMap,x=S.get(y)||S.set(y,{group:new A.Group});this.group.add(x.group),x.__keep=!0;var O=u(v,t,c);c.setData(O),O.each(function(T){O.setItemLayout(T,d.map(n,function(w){return l(O,T,w,t,f)})),O.setItemVisual(T,{color:L.getVisual("color")})}),O.diff(x.__data).add(function(T){var w=new A.Polygon({shape:{points:O.getItemLayout(T)}});O.setItemGraphicEl(T,w),x.group.add(w)}).update(function(T,w){var C=x.__data.getItemGraphicEl(w);A.updateProps(C,{shape:{points:O.getItemLayout(T)}},c,T),x.group.add(C),O.setItemGraphicEl(T,C)}).remove(function(T){var w=x.__data.getItemGraphicEl(T);x.group.remove(w)}).execute(),O.eachItemGraphicEl(function(T,w){var C=O.getItemModel(w),N=C.getModel("label"),D=C.getModel("emphasis.label"),B=O.getItemVisual(w,"color");T.useStyle(d.defaults(C.getModel("itemStyle").getItemStyle(),{fill:E.modifyAlpha(B,.4),stroke:B})),T.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),A.setLabelStyle(T.style,T.hoverStyle,N,D,{labelFetcher:c,labelDataIndex:w,defaultText:O.getName(w)||"",isRectText:!0,autoColor:B}),A.setHoverStyle(T,{}),T.dataModel=c}),x.__data=O,x.group.silent=c.get("silent")||t.get("silent")}});function u(t,c,o){var f,v,y=["x0","y0","x1","y1"];t?(f=d.map(t&&t.dimensions,function(x){var O=c.getData(),T=O.getDimensionInfo(O.mapDimension(x))||{};return d.defaults({name:x},T)}),v=new g(d.map(y,function(x,O){return{name:x,type:f[O%2].type}}),o)):(f=[{name:"value",type:"float"}],v=new g(f,o));var L=d.map(o.get("data"),d.curry(i,c,t,o));t&&(L=d.filter(L,d.curry(s,t)));var S=t?function(x,O,T,w){return x.coord[Math.floor(w/2)][w%2]}:function(x){return x.value};return v.initData(L,null,S),v.hasItemOption=!0,v}},"jsU+":function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("IUWy"),p=d.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){p.superApply(this,"optionUpdated",arguments),E.each(this.option.feature,function(b,h){var i=g.get(h);i&&E.merge(b,i.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}}}),A=p;J.exports=A},jtI2:function(J,F,e){e("SMc4");var d=e("bLfw"),E=d.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"}});J.exports=E},juDX:function(J,F,e){e("P47w");var d=e("aX58"),E=d.registerPainter,g=e("3CBa");E("svg",g)},"k+1r":function(J,F,e){var d=e("QkVE");function E(g){var p=d(this,g).delete(g);return this.size-=p?1:0,p}J.exports=E},k5C7:function(J,F,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(J,F){var e="original",d="arrayRows",E="objectRows",g="keyedColumns",p="unknown",A="typedArray",b="column",h="row";F.SOURCE_FORMAT_ORIGINAL=e,F.SOURCE_FORMAT_ARRAY_ROWS=d,F.SOURCE_FORMAT_OBJECT_ROWS=E,F.SOURCE_FORMAT_KEYED_COLUMNS=g,F.SOURCE_FORMAT_UNKNOWN=p,F.SOURCE_FORMAT_TYPED_ARRAY=A,F.SERIES_LAYOUT_BY_COLUMN=b,F.SERIES_LAYOUT_BY_ROW=h},kDyi:function(J,F){function e(d){var E=d.findComponents({mainType:"legend"});E&&E.length&&d.filterSeries(function(g){for(var p=0;p<E.length;p++)if(!E[p].isSelected(g.name))return!1;return!0})}J.exports=e},kGiB:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("ABKa"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},kMLO:function(J,F,e){var d=e("XxSj"),E=e("Qe9p"),g=e("bYtY"),p=g.isArray,A="itemStyle",b={seriesType:"treemap",reset:function(t,c,o,f){var v=t.getData().tree,y=v.root,L=t.getModel(A);if(y.isRemoved())return;var S=g.map(v.levelModels,function(x){return x?x.get(A):null});h(y,{},S,L,t.getViewRoot().getAncestors(),t)}};function h(t,c,o,f,v,y){var L=t.getModel(),S=t.getLayout();if(!S||S.invisible||!S.isInView)return;var x=t.getModel(A),O=o[t.depth],T=i(x,c,O,f),w=x.get("borderColor"),C=x.get("borderColorSaturation"),N;C!=null&&(N=r(T,t),w=a(C,N)),t.setVisual("borderColor",w);var D=t.viewChildren;if(!D||!D.length)N=r(T,t),t.setVisual("color",N);else{var B=l(t,L,S,x,T,D);g.each(D,function(R,U){if(R.depth>=v.length||R===v[R.depth]){var M=u(L,T,R,U,B,y);h(R,M,o,f,v,y)}})}}function i(t,c,o,f){var v=g.extend({},c);return g.each(["color","colorAlpha","colorSaturation"],function(y){var L=t.get(y,!0);L==null&&o&&(L=o[y]),L==null&&(L=c[y]),L==null&&(L=f.get(y)),L!=null&&(v[y]=L)}),v}function r(t){var c=s(t,"color");if(c){var o=s(t,"colorAlpha"),f=s(t,"colorSaturation");return f&&(c=E.modifyHSL(c,null,null,f)),o&&(c=E.modifyAlpha(c,o)),c}}function a(t,c){return c!=null?E.modifyHSL(c,null,null,t):null}function s(t,c){var o=t[c];if(o!=null&&o!=="none")return o}function l(t,c,o,f,v,y){if(!y||!y.length)return;var L=n(c,"color")||v.color!=null&&v.color!=="none"&&(n(c,"colorAlpha")||n(c,"colorSaturation"));if(!L)return;var S=c.get("visualMin"),x=c.get("visualMax"),O=o.dataExtent.slice();S!=null&&S<O[0]&&(O[0]=S),x!=null&&x>O[1]&&(O[1]=x);var T=c.get("colorMappingBy"),w={type:L.name,dataExtent:O,visual:L.range};w.type==="color"&&(T==="index"||T==="id")?(w.mappingMethod="category",w.loop=!0):w.mappingMethod="linear";var C=new d(w);return C.__drColorMappingBy=T,C}function n(t,c){var o=t.get(c);return p(o)&&o.length?{name:c,range:o}:null}function u(t,c,o,f,v,y){var L=g.extend({},c);if(v){var S=v.type,x=S==="color"&&v.__drColorMappingBy,O=x==="index"?f:x==="id"?y.mapIdToIndex(o.getId()):o.getValue(t.get("visualDimension"));L[S]=v.mapValueToVisual(O)}return L}J.exports=b},kPKH:function(J,F,e){"use strict";var d=e("/kpp");F.a=d.a},kaz8:function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("lwsE"),b=e.n(A),h=e("W8MJ"),i=e.n(h),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e("TSYQ"),o=e.n(c),f=e("+6Fa"),v=e("RIqP"),y=e.n(v),L=e("BGR+"),S=e("H84U"),x=function(U,M){var j={};for(var P in U)Object.prototype.hasOwnProperty.call(U,P)&&M.indexOf(P)<0&&(j[P]=U[P]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,P=Object.getOwnPropertySymbols(U);K<P.length;K++)M.indexOf(P[K])<0&&Object.prototype.propertyIsEnumerable.call(U,P[K])&&(j[P[K]]=U[P[K]]);return j},O=t.createContext(null),T=function(U){l()(j,U);var M=u()(j);function j(P){var K;return b()(this,j),K=M.call(this,P),K.cancelValue=function(H){K.setState(function(k){var Z=k.registeredValues;return{registeredValues:Z.filter(function(Y){return Y!==H})}})},K.registerValue=function(H){K.setState(function(k){var Z=k.registeredValues;return{registeredValues:[].concat(y()(Z),[H])}})},K.toggleOption=function(H){var k=K.state.registeredValues,Z=K.state.value.indexOf(H.value),Y=y()(K.state.value);Z===-1?Y.push(H.value):Y.splice(Z,1),"value"in K.props||K.setState({value:Y});var _=K.props.onChange;if(_){var Q=K.getOptions();_(Y.filter(function(X){return k.indexOf(X)!==-1}).sort(function(X,he){var te=Q.findIndex(function(be){return be.value===X}),fe=Q.findIndex(function(be){return be.value===he});return te-fe}))}},K.renderGroup=function(H){var k=H.getPrefixCls,Z=H.direction,Y=a()(K),_=Y.props,Q=Y.state,X=_.prefixCls,he=_.className,te=_.style,fe=_.options,be=x(_,["prefixCls","className","style","options"]),we=k("checkbox",X),Ke="".concat(we,"-group"),qe=Object(L.default)(be,["children","defaultValue","value","onChange","disabled"]),xt=_.children;fe&&fe.length>0&&(xt=K.getOptions().map(function(bt){return t.createElement(B,{prefixCls:we,key:bt.value.toString(),disabled:"disabled"in bt?bt.disabled:_.disabled,value:bt.value,checked:Q.value.indexOf(bt.value)!==-1,onChange:bt.onChange,className:"".concat(Ke,"-item"),style:bt.style},bt.label)}));var Fe={toggleOption:K.toggleOption,value:K.state.value,disabled:K.props.disabled,name:K.props.name,registerValue:K.registerValue,cancelValue:K.cancelValue},Be=o()(Ke,he,E()({},"".concat(Ke,"-rtl"),Z==="rtl"));return t.createElement("div",p()({className:Be,style:te},qe),t.createElement(O.Provider,{value:Fe},xt))},K.state={value:P.value||P.defaultValue||[],registeredValues:[]},K}return i()(j,[{key:"getOptions",value:function(){var K=this.props.options;return K.map(function(H){return typeof H=="string"?{label:H,value:H}:H})}},{key:"render",value:function(){return t.createElement(S.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(K){return"value"in K?{value:K.value||[]}:null}}]),j}(t.PureComponent);T.defaultProps={options:[]};var w=T,C=e("uaoM"),N=function(U,M){var j={};for(var P in U)Object.prototype.hasOwnProperty.call(U,P)&&M.indexOf(P)<0&&(j[P]=U[P]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,P=Object.getOwnPropertySymbols(U);K<P.length;K++)M.indexOf(P[K])<0&&Object.prototype.propertyIsEnumerable.call(U,P[K])&&(j[P[K]]=U[P[K]]);return j},D=function(U){l()(j,U);var M=u()(j);function j(){var P;return b()(this,j),P=M.apply(this,arguments),P.saveCheckbox=function(K){P.rcCheckbox=K},P.renderCheckbox=function(K){var H,k=K.getPrefixCls,Z=K.direction,Y=a()(P),_=Y.props,Q=Y.context,X=_.prefixCls,he=_.className,te=_.children,fe=_.indeterminate,be=_.style,we=_.onMouseEnter,Ke=_.onMouseLeave,qe=N(_,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),xt=Q,Fe=k("checkbox",X),Be=p()({},qe);xt&&(Be.onChange=function(){qe.onChange&&qe.onChange.apply(qe,arguments),xt.toggleOption({label:te,value:_.value})},Be.name=xt.name,Be.checked=xt.value.indexOf(_.value)!==-1,Be.disabled=_.disabled||xt.disabled);var bt=o()(he,(H={},E()(H,"".concat(Fe,"-wrapper"),!0),E()(H,"".concat(Fe,"-rtl"),Z==="rtl"),E()(H,"".concat(Fe,"-wrapper-checked"),Be.checked),E()(H,"".concat(Fe,"-wrapper-disabled"),Be.disabled),H)),lt=o()(E()({},"".concat(Fe,"-indeterminate"),fe));return t.createElement("label",{className:bt,style:be,onMouseEnter:we,onMouseLeave:Ke},t.createElement(f.a,p()({},Be,{prefixCls:Fe,className:lt,ref:P.saveCheckbox})),te!==void 0&&t.createElement("span",null,te))},P}return i()(j,[{key:"componentDidMount",value:function(){var K,H=this.props.value;(K=this.context)===null||K===void 0||K.registerValue(H),Object(C.a)("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(K){var H=K.value,k,Z,Y=this.props.value;Y!==H&&((k=this.context)===null||k===void 0||k.cancelValue(H),(Z=this.context)===null||Z===void 0||Z.registerValue(Y))}},{key:"componentWillUnmount",value:function(){var K,H=this.props.value;(K=this.context)===null||K===void 0||K.cancelValue(H)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return t.createElement(S.a,null,this.renderCheckbox)}}]),j}(t.PureComponent);D.__ANT_CHECKBOX=!0,D.defaultProps={indeterminate:!1},D.contextType=O;var B=D;B.Group=w;var R=F.a=B},kekF:function(J,F){function e(d,E){return function(g){return d(E(g))}}J.exports=e},kj2x:function(J,F,e){var d=e("bYtY"),E=e("OELB"),g=e("7hqr"),p=g.isDimensionStacked,A=d.indexOf;function b(o){return!(isNaN(parseFloat(o.x))&&isNaN(parseFloat(o.y)))}function h(o){return!isNaN(parseFloat(o.x))&&!isNaN(parseFloat(o.y))}function i(o,f,v,y,L,S){var x=[],O=p(f,y),T=O?f.getCalculationInfo("stackResultDimension"):y,w=c(f,T,o),C=f.indicesOfNearest(T,w)[0];x[L]=f.get(v,C),x[S]=f.get(T,C);var N=f.get(y,C),D=E.getPrecision(f.get(y,C));return D=Math.min(D,20),D>=0&&(x[S]=+x[S].toFixed(D)),[x,N]}var r=d.curry,a={min:r(i,"min"),max:r(i,"max"),average:r(i,"average")};function s(o,f){var v=o.getData(),y=o.coordinateSystem;if(f&&!h(f)&&!d.isArray(f.coord)&&y){var L=y.dimensions,S=l(f,v,y,o);if(f=d.clone(f),f.type&&a[f.type]&&S.baseAxis&&S.valueAxis){var x=A(L,S.baseAxis.dim),O=A(L,S.valueAxis.dim),T=a[f.type](v,S.baseDataDim,S.valueDataDim,x,O);f.coord=T[0],f.value=T[1]}else{for(var w=[f.xAxis!=null?f.xAxis:f.radiusAxis,f.yAxis!=null?f.yAxis:f.angleAxis],C=0;C<2;C++)a[w[C]]&&(w[C]=c(v,v.mapDimension(L[C]),w[C]));f.coord=w}}return f}function l(o,f,v,y){var L={};return o.valueIndex!=null||o.valueDim!=null?(L.valueDataDim=o.valueIndex!=null?f.getDimension(o.valueIndex):o.valueDim,L.valueAxis=v.getAxis(n(y,L.valueDataDim)),L.baseAxis=v.getOtherAxis(L.valueAxis),L.baseDataDim=f.mapDimension(L.baseAxis.dim)):(L.baseAxis=y.getBaseAxis(),L.valueAxis=v.getOtherAxis(L.baseAxis),L.baseDataDim=f.mapDimension(L.baseAxis.dim),L.valueDataDim=f.mapDimension(L.valueAxis.dim)),L}function n(o,f){var v=o.getData(),y=v.dimensions;f=v.getDimension(f);for(var L=0;L<y.length;L++){var S=v.getDimensionInfo(y[L]);if(S.name===f)return S.coordDim}}function u(o,f){return o&&o.containData&&f.coord&&!b(f)?o.containData(f.coord):!0}function t(o,f,v,y){return y<2?o.coord&&o.coord[y]:o.value}function c(o,f,v){if(v==="average"){var y=0,L=0;return o.each(f,function(S,x){isNaN(S)||(y+=S,L++)}),y/L}else return v==="median"?o.getMedian(f):o.getDataExtent(f,!0)[v==="max"?1:0]}F.dataTransform=s,F.getAxisInfo=l,F.dataFilter=u,F.dimValueGetter=t,F.numCalculate=c},knOB:function(J,F,e){var d=e("bYtY"),E=e("hM6l");function g(A,b){E.call(this,"radius",A,b),this.type="category"}g.prototype={constructor:g,pointToData:function(A,b){return this.polar.pointToData(A,b)[this.dim==="radius"?0:1]},dataToRadius:E.prototype.dataToCoord,radiusToData:E.prototype.coordToData},d.inherits(g,E);var p=g;J.exports=p},ko1b:function(J,F,e){var d=e("bYtY"),E=e("T4UG"),g=e("Bsck"),p=e("Qxkt"),A=e("7aKB"),b=A.encodeHTML,h=A.addCommas,i=e("VaxA"),r=i.wrapTreePathInfo,a=E.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,u){var t={name:n.name,children:n.data};s(t);var c=n.levels||[];c=n.levels=l(c,u);var o=d.map(c||[],function(y){return new p(y,this,u)},this),f=g.createTree(t,this,null,v);function v(y){y.wrapMethod("getItemModel",function(L,S){var x=f.getNodeByDataIndex(S),O=o[x.depth];return O&&(L.parentModel=O),L})}return f.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var u=this.getData(),t=this.getRawValue(n),c=d.isArray(t)?h(t[0]):h(t),o=u.getName(n);return b(o+": "+c)},getDataParams:function(n){var u=E.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(n);return u.treePathInfo=r(t,this),u},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},d.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var u=this._idIndexMap;u||(u=this._idIndexMap=d.createHashMap(),this._idIndexMapCount=0);var t=u.get(n);return t==null&&u.set(n,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var u=this.getRawData().tree.root;(!n||n!==u&&!u.contains(n))&&(this._viewRoot=u)}});function s(n){var u=0;d.each(n.children,function(c){s(c);var o=c.value;d.isArray(o)&&(o=o[0]),u+=o});var t=n.value;d.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=u),t<0&&(t=0),d.isArray(n.value)?n.value[0]=t:n.value=t}function l(n,u){var t=u.get("color");if(!t)return;n=n||[];var c;if(d.each(n,function(f){var v=new p(f),y=v.get("color");(v.get("itemStyle.color")||y&&y!=="none")&&(c=!0)}),!c){var o=n[0]||(n[0]={});o.color=t.slice()}return n}J.exports=a},kzFp:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d=F.pick=function(g,p){var A={};return p.forEach(function(b){A[b]=g[b]}),A}},kzvK:function(J,F,e){var d=e("sS/r"),E=d.extend({type:"timeline"});J.exports=E},"l+S1":function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="SearchOutlined";var b=F.a=d.forwardRef(A)},lE7J:function(J,F,e){var d=e("OELB"),E=d.round;function g(h,i,r,a){var s={},l=h[1]-h[0],n=s.interval=d.nice(l/i,!0);r!=null&&n<r&&(n=s.interval=r),a!=null&&n>a&&(n=s.interval=a);var u=s.intervalPrecision=p(n),t=s.niceTickExtent=[E(Math.ceil(h[0]/n)*n,u),E(Math.floor(h[1]/n)*n,u)];return b(t,h),s}function p(h){return d.getPrecisionSafe(h)+2}function A(h,i,r){h[i]=Math.max(Math.min(h[i],r[1]),r[0])}function b(h,i){!isFinite(h[0])&&(h[0]=i[0]),!isFinite(h[1])&&(h[1]=i[1]),A(h,0,i),A(h,1,i),h[0]>h[1]&&(h[0]=h[1])}F.intervalScaleNiceTicks=g,F.getIntervalPrecision=p,F.fixExtent=b},lELe:function(J,F,e){var d=e("bYtY");function E(g){var p=[];d.each(g.series,function(A){A&&A.type==="map"&&(p.push(A),A.map=A.map||A.mapType,d.defaults(A,A.mapLocation))})}J.exports=E},lLGD:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("nVfU"),p=g.layout,A=g.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),d.registerLayout(d.PRIORITY.VISUAL.LAYOUT,E.curry(p,"bar")),d.registerLayout(d.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,A),d.registerVisual({seriesType:"bar",reset:function(b){b.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(J,F,e){var d=e("QBsz"),E=e("U/Mo"),g=E.getSymbolSize,p=E.getNodeGlobalScale,A=Math.PI,b=[];function h(r,a){var s=r.coordinateSystem;if(s&&s.type!=="view")return;var l=s.getBoundingRect(),n=r.getData(),u=n.graph,t=l.width/2+l.x,c=l.height/2+l.y,o=Math.min(l.width,l.height)/2,f=n.count();if(n.setLayout({cx:t,cy:c}),!f)return;i[a](r,s,u,n,o,t,c,f),u.eachEdge(function(v){var y=v.getModel().get("lineStyle.curveness")||0,L=d.clone(v.node1.getLayout()),S=d.clone(v.node2.getLayout()),x,O=(L[0]+S[0])/2,T=(L[1]+S[1])/2;+y&&(y*=3,x=[t*y+O*(1-y),c*y+T*(1-y)]),v.setLayout([L,S,x])})}var i={value:function(r,a,s,l,n,u,t,c){var o=0,f=l.getSum("value"),v=Math.PI*2/(f||c);s.eachNode(function(y){var L=y.getValue("value"),S=v*(f?L:1)/2;o+=S,y.setLayout([n*Math.cos(o)+u,n*Math.sin(o)+t]),o+=S})},symbolSize:function(r,a,s,l,n,u,t,c){var o=0;b.length=c;var f=p(r);s.eachNode(function(L){var S=g(L);isNaN(S)&&(S=2),S<0&&(S=0),S*=f;var x=Math.asin(S/2/n);isNaN(x)&&(x=A/2),b[L.dataIndex]=x,o+=x*2});var v=(2*A-o)/c/2,y=0;s.eachNode(function(L){var S=v+b[L.dataIndex];y+=S,L.setLayout([n*Math.cos(y)+u,n*Math.sin(y)+t]),y+=S})}};F.circularLayout=h},lSCD:function(J,F,e){var d=e("NykK"),E=e("GoyQ"),g="[object AsyncFunction]",p="[object Function]",A="[object GeneratorFunction]",b="[object Proxy]";function h(i){if(!E(i))return!1;var r=d(i);return r==p||r==A||r==g||r==b}J.exports=h},lUTK:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("x54q"),p=e.n(g),A=e("5Dmo")},lZu9:function(J,F,e){(function(d){d(e("VrN/"),e("1eCo"),e("8EBN"))})(function(d){"use strict";d.defineMode("markdown",function(E,g){var p=d.getMode(E,"text/html"),A=p.name=="null";function b(H){if(d.findModeByName){var k=d.findModeByName(H);k&&(H=k.mime||k.mimes[0])}var Z=d.getMode(E,H);return Z.name=="null"?null:Z}g.highlightFormatting===void 0&&(g.highlightFormatting=!1),g.maxBlockquoteDepth===void 0&&(g.maxBlockquoteDepth=0),g.taskLists===void 0&&(g.taskLists=!1),g.strikethrough===void 0&&(g.strikethrough=!1),g.emoji===void 0&&(g.emoji=!1),g.fencedCodeBlockHighlighting===void 0&&(g.fencedCodeBlockHighlighting=!0),g.fencedCodeBlockDefaultMode===void 0&&(g.fencedCodeBlockDefaultMode="text/plain"),g.xml===void 0&&(g.xml=!0),g.tokenTypeOverrides===void 0&&(g.tokenTypeOverrides={});var h={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 i in h)h.hasOwnProperty(i)&&g.tokenTypeOverrides[i]&&(h[i]=g.tokenTypeOverrides[i]);var r=/^([*\-_])(?:\s*\1){2,}\s*$/,a=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,s=/^\[(x| )\](?=\s)/i,l=g.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,u=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,c=/^\s*\[[^\]]+?\]:.*$/,o=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,f=" ";function v(H,k,Z){return k.f=k.inline=Z,Z(H,k)}function y(H,k,Z){return k.f=k.block=Z,Z(H,k)}function L(H){return!H||!/\S/.test(H.string)}function S(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==O){var k=A;if(!k){var Z=d.innerMode(p,H.htmlState);k=Z.mode.name=="xml"&&Z.state.tagStart===null&&!Z.state.context&&Z.state.tokenize.isInText}k&&(H.f=N,H.block=x,H.htmlState=null)}return H.trailingSpace=0,H.trailingSpaceNewLine=!1,H.prevLine=H.thisLine,H.thisLine={stream:null},null}function x(H,k){var Z=H.column()===k.indentation,Y=L(k.prevLine.stream),_=k.indentedCode,Q=k.prevLine.hr,X=k.list!==!1,he=(k.listStack[k.listStack.length-1]||0)+3;k.indentedCode=!1;var te=k.indentation;if(k.indentationDiff===null&&(k.indentationDiff=k.indentation,X)){for(k.list=null;te<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=te-k.listStack[k.listStack.length-1])}var fe=!Y&&!Q&&!k.prevLine.header&&(!X||!_)&&!k.prevLine.fencedCodeEnd,be=(k.list===!1||Q||Y)&&k.indentation<=he&&H.match(r),we=null;if(k.indentationDiff>=4&&(_||k.prevLine.fencedCodeEnd||k.prevLine.header||Y))return H.skipToEnd(),k.indentedCode=!0,h.code;if(H.eatSpace())return null;if(Z&&k.indentation<=he&&(we=H.match(l))&&we[1].length<=6)return k.quote=0,k.header=we[1].length,k.thisLine.header=!0,g.highlightFormatting&&(k.formatting="header"),k.f=k.inline,w(k);if(k.indentation<=he&&H.eat(">"))return k.quote=Z?1:k.quote+1,g.highlightFormatting&&(k.formatting="quote"),H.eatSpace(),w(k);if(!be&&!k.setext&&Z&&k.indentation<=he&&(we=H.match(a))){var Ke=we[1]?"ol":"ul";return k.indentation=te+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,g.taskLists&&H.match(s,!1)&&(k.taskList=!0),k.f=k.inline,g.highlightFormatting&&(k.formatting=["list","list-"+Ke]),w(k)}else{if(Z&&k.indentation<=he&&(we=H.match(t,!0)))return k.quote=0,k.fencedEndRE=new RegExp(we[1]+"+ *$"),k.localMode=g.fencedCodeBlockHighlighting&&b(we[2]||g.fencedCodeBlockDefaultMode),k.localMode&&(k.localState=d.startState(k.localMode)),k.f=k.block=T,g.highlightFormatting&&(k.formatting="code-block"),k.code=-1,w(k);if(k.setext||(!fe||!X)&&!k.quote&&k.list===!1&&!k.code&&!be&&!c.test(H.string)&&(we=H.lookAhead(1))&&(we=we.match(n)))return k.setext?(k.header=k.setext,k.setext=0,H.skipToEnd(),g.highlightFormatting&&(k.formatting="header")):(k.header=we[0].charAt(0)=="="?1:2,k.setext=k.header),k.thisLine.header=!0,k.f=k.inline,w(k);if(be)return H.skipToEnd(),k.hr=!0,k.thisLine.hr=!0,h.hr;if(H.peek()==="[")return v(H,k,M)}return v(H,k,k.inline)}function O(H,k){var Z=p.token(H,k.htmlState);if(!A){var Y=d.innerMode(p,k.htmlState);(Y.mode.name=="xml"&&Y.state.tagStart===null&&!Y.state.context&&Y.state.tokenize.isInText||k.md_inside&&H.current().indexOf(">")>-1)&&(k.f=N,k.block=x,k.htmlState=null)}return Z}function T(H,k){var Z=k.listStack[k.listStack.length-1]||0,Y=k.indentation<Z,_=Z+3;if(k.fencedEndRE&&k.indentation<=_&&(Y||H.match(k.fencedEndRE))){g.highlightFormatting&&(k.formatting="code-block");var Q;return Y||(Q=w(k)),k.localMode=k.localState=null,k.block=x,k.f=N,k.fencedEndRE=null,k.code=0,k.thisLine.fencedCodeEnd=!0,Y?y(H,k,k.block):Q}else return k.localMode?k.localMode.token(H,k.localState):(H.skipToEnd(),h.code)}function w(H){var k=[];if(H.formatting){k.push(h.formatting),typeof H.formatting=="string"&&(H.formatting=[H.formatting]);for(var Z=0;Z<H.formatting.length;Z++)k.push(h.formatting+"-"+H.formatting[Z]),H.formatting[Z]==="header"&&k.push(h.formatting+"-"+H.formatting[Z]+"-"+H.header),H.formatting[Z]==="quote"&&(!g.maxBlockquoteDepth||g.maxBlockquoteDepth>=H.quote?k.push(h.formatting+"-"+H.formatting[Z]+"-"+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(h.linkHref,"url"):(H.strong&&k.push(h.strong),H.em&&k.push(h.em),H.strikethrough&&k.push(h.strikethrough),H.emoji&&k.push(h.emoji),H.linkText&&k.push(h.linkText),H.code&&k.push(h.code),H.image&&k.push(h.image),H.imageAltText&&k.push(h.imageAltText,"link"),H.imageMarker&&k.push(h.imageMarker)),H.header&&k.push(h.header,h.header+"-"+H.header),H.quote&&(k.push(h.quote),!g.maxBlockquoteDepth||g.maxBlockquoteDepth>=H.quote?k.push(h.quote+"-"+H.quote):k.push(h.quote+"-"+g.maxBlockquoteDepth)),H.list!==!1){var Y=(H.listStack.length-1)%3;Y?Y===1?k.push(h.list2):k.push(h.list3):k.push(h.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 C(H,k){return H.match(u,!0)?w(k):void 0}function N(H,k){var Z=k.text(H,k);if(typeof Z!="undefined")return Z;if(k.list)return k.list=null,w(k);if(k.taskList){var Y=H.match(s,!0)[1]===" ";return Y?k.taskOpen=!0:k.taskClosed=!0,g.highlightFormatting&&(k.formatting="task"),k.taskList=!1,w(k)}if(k.taskOpen=!1,k.taskClosed=!1,k.header&&H.match(/^#+$/,!0))return g.highlightFormatting&&(k.formatting="header"),w(k);var _=H.next();if(k.linkTitle){k.linkTitle=!1;var Q=_;_==="("&&(Q=")"),Q=(Q+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var X="^\\s*(?:[^"+Q+"\\\\]+|\\\\\\\\|\\\\.)"+Q;if(H.match(new RegExp(X),!0))return h.linkHref}if(_==="`"){var he=k.formatting;g.highlightFormatting&&(k.formatting="code"),H.eatWhile("`");var te=H.current().length;if(k.code==0&&(!k.quote||te==1))return k.code=te,w(k);if(te==k.code){var fe=w(k);return k.code=0,fe}else return k.formatting=he,w(k)}else if(k.code)return w(k);if(_==="\\"&&(H.next(),g.highlightFormatting)){var be=w(k),we=h.formatting+"-escape";return be?be+" "+we:we}if(_==="!"&&H.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return k.imageMarker=!0,k.image=!0,g.highlightFormatting&&(k.formatting="image"),w(k);if(_==="["&&k.imageMarker&&H.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return k.imageMarker=!1,k.imageAltText=!0,g.highlightFormatting&&(k.formatting="image"),w(k);if(_==="]"&&k.imageAltText){g.highlightFormatting&&(k.formatting="image");var be=w(k);return k.imageAltText=!1,k.image=!1,k.inline=k.f=B,be}if(_==="["&&!k.image)return k.linkText&&H.match(/^.*?\]/)||(k.linkText=!0,g.highlightFormatting&&(k.formatting="link")),w(k);if(_==="]"&&k.linkText){g.highlightFormatting&&(k.formatting="link");var be=w(k);return k.linkText=!1,k.inline=k.f=H.match(/\(.*?\)| ?\[.*?\]/,!1)?B:N,be}if(_==="<"&&H.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){k.f=k.inline=D,g.highlightFormatting&&(k.formatting="link");var be=w(k);return be?be+=" ":be="",be+h.linkInline}if(_==="<"&&H.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){k.f=k.inline=D,g.highlightFormatting&&(k.formatting="link");var be=w(k);return be?be+=" ":be="",be+h.linkEmail}if(g.xml&&_==="<"&&H.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ke=H.string.indexOf(">",H.pos);if(Ke!=-1){var qe=H.string.substring(H.start,Ke);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(qe)&&(k.md_inside=!0)}return H.backUp(1),k.htmlState=d.startState(p),y(H,k,O)}if(g.xml&&_==="<"&&H.match(/^\/\w*?>/))return k.md_inside=!1,"tag";if(_==="*"||_==="_"){for(var xt=1,Fe=H.pos==1?" ":H.string.charAt(H.pos-2);xt<3&&H.eat(_);)xt++;var Be=H.peek()||" ",bt=!/\s/.test(Be)&&(!o.test(Be)||/\s/.test(Fe)||o.test(Fe)),lt=!/\s/.test(Fe)&&(!o.test(Fe)||/\s/.test(Be)||o.test(Be)),tt=null,St=null;if(xt%2&&(!k.em&&bt&&(_==="*"||!lt||o.test(Fe))?tt=!0:k.em==_&<&&(_==="*"||!bt||o.test(Be))&&(tt=!1)),xt>1&&(!k.strong&&bt&&(_==="*"||!lt||o.test(Fe))?St=!0:k.strong==_&<&&(_==="*"||!bt||o.test(Be))&&(St=!1)),St!=null||tt!=null){g.highlightFormatting&&(k.formatting=tt==null?"strong":St==null?"em":"strong em"),tt===!0&&(k.em=_),St===!0&&(k.strong=_);var fe=w(k);return tt===!1&&(k.em=!1),St===!1&&(k.strong=!1),fe}}else if(_===" "&&(H.eat("*")||H.eat("_"))){if(H.peek()===" ")return w(k);H.backUp(1)}if(g.strikethrough){if(_==="~"&&H.eatWhile(_)){if(k.strikethrough){g.highlightFormatting&&(k.formatting="strikethrough");var fe=w(k);return k.strikethrough=!1,fe}else if(H.match(/^[^\s]/,!1))return k.strikethrough=!0,g.highlightFormatting&&(k.formatting="strikethrough"),w(k)}else if(_===" "&&H.match(/^~~/,!0)){if(H.peek()===" ")return w(k);H.backUp(2)}}if(g.emoji&&_===":"&&H.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){k.emoji=!0,g.highlightFormatting&&(k.formatting="emoji");var ht=w(k);return k.emoji=!1,ht}return _===" "&&(H.match(/^ +$/,!1)?k.trailingSpace++:k.trailingSpace&&(k.trailingSpaceNewLine=!0)),w(k)}function D(H,k){var Z=H.next();if(Z===">"){k.f=k.inline=N,g.highlightFormatting&&(k.formatting="link");var Y=w(k);return Y?Y+=" ":Y="",Y+h.linkInline}return H.match(/^[^>]+/,!0),h.linkInline}function B(H,k){if(H.eatSpace())return null;var Z=H.next();return Z==="("||Z==="["?(k.f=k.inline=U(Z==="("?")":"]"),g.highlightFormatting&&(k.formatting="link-string"),k.linkHref=!0,w(k)):"error"}var R={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function U(H){return function(k,Z){var Y=k.next();if(Y===H){Z.f=Z.inline=N,g.highlightFormatting&&(Z.formatting="link-string");var _=w(Z);return Z.linkHref=!1,_}return k.match(R[H]),Z.linkHref=!0,w(Z)}}function M(H,k){return H.match(/^([^\]\\]|\\.)*\]:/,!1)?(k.f=j,H.next(),g.highlightFormatting&&(k.formatting="link"),k.linkText=!0,w(k)):v(H,k,N)}function j(H,k){if(H.match(/^\]:/,!0)){k.f=k.inline=P,g.highlightFormatting&&(k.formatting="link");var Z=w(k);return k.linkText=!1,Z}return H.match(/^([^\]\\]|\\.)+/,!0),h.linkText}function P(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=N,h.linkHref+" url")}var K={startState:function(){return{f:x,prevLine:{stream:null},thisLine:{stream:null},block:x,htmlState:null,indentation:0,inline:N,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(k){return{f:k.f,prevLine:k.prevLine,thisLine:k.thisLine,block:k.block,htmlState:k.htmlState&&d.copyState(p,k.htmlState),indentation:k.indentation,localMode:k.localMode,localState:k.localMode?d.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,Z){if(Z.formatting=!1,k!=Z.thisLine.stream){if(Z.header=0,Z.hr=!1,k.match(/^\s*$/,!0))return S(Z),null;if(Z.prevLine=Z.thisLine,Z.thisLine={stream:k},Z.taskList=!1,Z.trailingSpace=0,Z.trailingSpaceNewLine=!1,!Z.localState&&(Z.f=Z.block,Z.f!=O)){var Y=k.match(/^\s*/,!0)[0].replace(/\t/g,f).length;if(Z.indentation=Y,Z.indentationDiff=null,Y>0)return null}}return Z.f(k,Z)},innerMode:function(k){return k.block==O?{state:k.htmlState,mode:p}:k.localState?{state:k.localState,mode:k.localMode}:{state:k,mode:K}},indent:function(k,Z,Y){return k.block==O&&p.indent?p.indent(k.htmlState,Z,Y):k.localState&&k.localMode.indent?k.localMode.indent(k.localState,Z,Y):d.Pass},blankLine:S,getType:w,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return K},"xml"),d.defineMIME("text/markdown","markdown"),d.defineMIME("text/x-markdown","markdown")})},laiN:function(J,F,e){var d=e("ProS");e("GVMX"),e("MH26"),d.registerPreprocessor(function(E){E.markLine=E.markLine||{}})},ljhN:function(J,F){function e(d,E){return d===E||d!==d&&E!==E}J.exports=e},lnY3:function(J,F,e){},loD1:function(J,F){function e(d,E,g,p,A,b,h){if(A===0)return!1;var i=A,r=0,a=d;if(h>E+i&&h>p+i||h<E-i&&h<p-i||b>d+i&&b>g+i||b<d-i&&b<g-i)return!1;if(d!==g)r=(E-p)/(d-g),a=(d*p-g*E)/(d-g);else return Math.abs(b-d)<=i/2;var s=r*b-h+a,l=s*s/(r*r+1);return l<=i/2*i/2}F.containStroke=e},lrIw:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("cDf5"),p=e.n(g),A=e("J4zp"),b=e.n(A),h=e("q1tI"),i=e.n(h),r=e("Zm9Q"),a=e("TSYQ"),s=e.n(a),l=e("BGR+"),n=e("2fM7"),u=e("H84U"),t=e("uaoM"),c=e("0n0R"),o=n.a.Option,f=n.a;function v(S){return S&&S.type&&(S.type.isSelectOption||S.type.isSelectOptGroup)}var y=function(x,O){var T=x.prefixCls,w=x.className,C=x.children,N=x.dataSource,D=Object(r.a)(C),B=h.useRef();h.useImperativeHandle(O,function(){return B.current});var R;if(D.length===1&&Object(c.b)(D[0])&&!v(D[0])){var U=b()(D,1);R=U[0]}var M=function(){return R},j;return D.length&&v(D[0])?j=C:j=N?N.map(function(P){if(Object(c.b)(P))return P;switch(p()(P)){case"string":return h.createElement(o,{key:P,value:P},P);case"object":{var K=P.value;return h.createElement(o,{key:K,value:K},P.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],h.useEffect(function(){Object(t.a)(!("dataSource"in x),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!R||!("size"in x),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),h.createElement(u.a,null,function(P){var K=P.getPrefixCls,H=K("select",T);return h.createElement(f,E()({ref:B},Object(l.default)(x,["dataSource"]),{prefixCls:H,className:s()(w,"".concat(H,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:M}),j)})},L=h.forwardRef(y);L.Option=o,F.a=L},lwQL:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("9wZj"),p=e("c8qY"),A=e("SgGq"),b=e("Ae+d"),h=e("xSat"),i=h.onIrrelevantElement,r=e("IwbS"),a=e("SA8n"),s=e("U/Mo"),l=s.getNodeGlobalScale,n="__focusNodeAdjacency",u="__unfocusNodeAdjacency",t=["itemStyle","opacity"],c=["lineStyle","opacity"];function o(L,S){var x=L.getVisual("opacity");return x!=null?x:L.getModel().get(S)}function f(L,S,x){var O=L.getGraphicEl(),T=o(L,S);x!=null&&(T==null&&(T=1),T*=x),O.downplay&&O.downplay(),O.traverse(function(w){if(!w.isGroup){var C=w.lineLabelOriginalOpacity;(C==null||x!=null)&&(C=T),w.setStyle("opacity",C)}})}function v(L,S){var x=o(L,S),O=L.getGraphicEl();O.traverse(function(T){!T.isGroup&&T.setStyle("opacity",x)}),O.highlight&&O.highlight()}var y=d.extendChartView({type:"graph",init:function(L,S){var x=new g,O=new p,T=this.group;this._controller=new A(S.getZr()),this._controllerHost={target:T},T.add(x.group),T.add(O.group),this._symbolDraw=x,this._lineDraw=O,this._firstRender=!0},render:function(L,S,x){var O=this,T=L.coordinateSystem;this._model=L;var w=this._symbolDraw,C=this._lineDraw,N=this.group;if(T.type==="view"){var D={position:T.position,scale:T.scale};this._firstRender?N.attr(D):r.updateProps(N,D,L)}a(L.getGraph(),l(L));var B=L.getData();w.updateData(B);var R=L.getEdgeData();C.updateData(R),this._updateNodeAndLinkScale(),this._updateController(L,S,x),clearTimeout(this._layoutTimeout);var U=L.forceLayout,M=L.get("force.layoutAnimation");U&&this._startForceLayoutIteration(U,M),B.eachItemGraphicEl(function(H,k){var Z=B.getItemModel(k);H.off("drag").off("dragend");var Y=Z.get("draggable");Y&&H.on("drag",function(){U&&(U.warmUp(),!this._layouting&&this._startForceLayoutIteration(U,M),U.setFixed(k),B.setItemLayout(k,H.position))},this).on("dragend",function(){U&&U.setUnfixed(k)},this),H.setDraggable(Y&&U),H[n]&&H.off("mouseover",H[n]),H[u]&&H.off("mouseout",H[u]),Z.get("focusNodeAdjacency")&&(H.on("mouseover",H[n]=function(){O._clearTimer(),x.dispatchAction({type:"focusNodeAdjacency",seriesId:L.id,dataIndex:H.dataIndex})}),H.on("mouseout",H[u]=function(){O._dispatchUnfocus(x)}))},this),B.graph.eachEdge(function(H){var k=H.getGraphicEl();k[n]&&k.off("mouseover",k[n]),k[u]&&k.off("mouseout",k[u]),H.getModel().get("focusNodeAdjacency")&&(k.on("mouseover",k[n]=function(){O._clearTimer(),x.dispatchAction({type:"focusNodeAdjacency",seriesId:L.id,edgeDataIndex:H.dataIndex})}),k.on("mouseout",k[u]=function(){O._dispatchUnfocus(x)}))});var j=L.get("layout")==="circular"&&L.get("circular.rotateLabel"),P=B.getLayout("cx"),K=B.getLayout("cy");B.eachItemGraphicEl(function(H,k){var Z=B.getItemModel(k),Y=Z.get("label.rotate")||0,_=H.getSymbolPath();if(j){var Q=B.getItemLayout(k),X=Math.atan2(Q[1]-K,Q[0]-P);X<0&&(X=Math.PI*2+X);var he=Q[0]<P;he&&(X=X-Math.PI);var te=he?"left":"right";r.modifyLabelStyle(_,{textRotation:-X,textPosition:te,textOrigin:"center"},{textPosition:te})}else r.modifyLabelStyle(_,{textRotation:Y*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(L,S){var x=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){x._unfocusDelayTimer=null,L.dispatchAction({type:"unfocusNodeAdjacency",seriesId:x._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(L,S,x,O){var T=L.getData(),w=T.graph,C=O.dataIndex,N=O.edgeDataIndex,D=w.getNodeByIndex(C),B=w.getEdgeByIndex(N);if(!D&&!B)return;w.eachNode(function(R){f(R,t,.1)}),w.eachEdge(function(R){f(R,c,.1)}),D&&(v(D,t),E.each(D.edges,function(R){if(R.dataIndex<0)return;v(R,c),v(R.node1,t),v(R.node2,t)})),B&&(v(B,c),v(B.node1,t),v(B.node2,t))},unfocusNodeAdjacency:function(L,S,x,O){var T=L.getData().graph;T.eachNode(function(w){f(w,t)}),T.eachEdge(function(w){f(w,c)})},_startForceLayoutIteration:function(L,S){var x=this;(function O(){L.step(function(T){x.updateLayout(x._model),(x._layouting=!T)&&(S?x._layoutTimeout=setTimeout(O,16):O())})})()},_updateController:function(L,S,x){var O=this._controller,T=this._controllerHost,w=this.group;if(O.setPointerChecker(function(C,N,D){var B=w.getBoundingRect();return B.applyTransform(w.transform),B.contain(N,D)&&!i(C,x,L)}),L.coordinateSystem.type!=="view"){O.disable();return}O.enable(L.get("roam")),T.zoomLimit=L.get("scaleLimit"),T.zoom=L.coordinateSystem.getZoom(),O.off("pan").off("zoom").on("pan",function(C){b.updateViewOnPan(T,C.dx,C.dy),x.dispatchAction({seriesId:L.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){b.updateViewOnZoom(T,C.scale,C.originX,C.originY),x.dispatchAction({seriesId:L.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),a(L.getGraph(),l(L)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var L=this._model,S=L.getData(),x=l(L),O=[x,x];S.eachItemGraphicEl(function(T,w){T.attr("scale",O)})},updateLayout:function(L){a(L.getGraph(),l(L)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(L,S){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});J.exports=y},m9t5:function(J,F,e){var d=e("KCsZ"),E=d([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),g={getAreaStyle:function(p,A){return E(this,p,A)}};J.exports=g},mFDi:function(J,F,e){var d=e("QBsz"),E=e("Fofx"),g=d.applyTransform,p=Math.min,A=Math.max;function b(i,r,a,s){a<0&&(i=i+a,a=-a),s<0&&(r=r+s,s=-s),this.x=i,this.y=r,this.width=a,this.height=s}b.prototype={constructor:b,union:function(r){var a=p(r.x,this.x),s=p(r.y,this.y);this.width=A(r.x+r.width,this.x+this.width)-a,this.height=A(r.y+r.height,this.y+this.height)-s,this.x=a,this.y=s},applyTransform:function(){var i=[],r=[],a=[],s=[];return function(l){if(!l)return;i[0]=a[0]=this.x,i[1]=s[1]=this.y,r[0]=s[0]=this.x+this.width,r[1]=a[1]=this.y+this.height,g(i,i,l),g(r,r,l),g(a,a,l),g(s,s,l),this.x=p(i[0],r[0],a[0],s[0]),this.y=p(i[1],r[1],a[1],s[1]);var n=A(i[0],r[0],a[0],s[0]),u=A(i[1],r[1],a[1],s[1]);this.width=n-this.x,this.height=u-this.y}}(),calculateTransform:function(r){var a=this,s=r.width/a.width,l=r.height/a.height,n=E.create();return E.translate(n,n,[-a.x,-a.y]),E.scale(n,n,[s,l]),E.translate(n,n,[r.x,r.y]),n},intersect:function(r){if(!r)return!1;r instanceof b||(r=b.create(r));var a=this,s=a.x,l=a.x+a.width,n=a.y,u=a.y+a.height,t=r.x,c=r.x+r.width,o=r.y,f=r.y+r.height;return!(l<t||c<s||u<o||f<n)},contain:function(r,a){var s=this;return r>=s.x&&r<=s.x+s.width&&a>=s.y&&a<=s.y+s.height},clone:function(){return new b(this.x,this.y,this.width,this.height)},copy:function(r){this.x=r.x,this.y=r.y,this.width=r.width,this.height=r.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},b.create=function(i){return new b(i.x,i.y,i.width,i.height)};var h=b;J.exports=h},mLcG:function(J,F){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(d){setTimeout(d,16)};J.exports=e},"mO/d":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("I9Y+"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},mOdp:function(J,F,e){var d=e("bYtY"),E=d.createHashMap;function g(p){return{getTargetSeries:function(A){var b={},h=E();return A.eachSeriesByType(p,function(i){i.__paletteScope=b,h.set(i.uid,i)}),h},reset:function(A,b){var h=A.getRawData(),i={},r=A.getData();r.each(function(a){var s=r.getRawIndex(a);i[s]=a}),h.each(function(a){var s=i[a],l=s!=null&&r.getItemVisual(s,"color",!0),n=s!=null&&r.getItemVisual(s,"borderColor",!0),u;if((!l||!n)&&(u=h.getItemModel(a)),!l){var t=u.get("itemStyle.color")||A.getColorFromPalette(h.getName(a)||a+"",A.__paletteScope,h.count());s!=null&&r.setItemVisual(s,"color",t)}if(!n){var c=u.get("itemStyle.borderColor");s!=null&&r.setItemVisual(s,"borderColor",c)}})}}}J.exports=g},mYwL:function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("6GrX"),p=Math.PI;function A(b,h){h=h||{},d.defaults(h,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new E.Group,r=new E.Rect({style:{fill:h.maskColor},zlevel:h.zlevel,z:1e4});i.add(r);var a=h.fontSize+" sans-serif",s=new E.Rect({style:{fill:"none",text:h.text,font:a,textPosition:"right",textDistance:10,textFill:h.textColor},zlevel:h.zlevel,z:10001});if(i.add(s),h.showSpinner){var l=new E.Arc({shape:{startAngle:-p/2,endAngle:-p/2+.1,r:h.spinnerRadius},style:{stroke:h.color,lineCap:"round",lineWidth:h.lineWidth},zlevel:h.zlevel,z:10001});l.animateShape(!0).when(1e3,{endAngle:p*3/2}).start("circularInOut"),l.animateShape(!0).when(1e3,{startAngle:p*3/2}).delay(300).start("circularInOut"),i.add(l)}return i.resize=function(){var n=g.getWidth(h.text,a),u=h.showSpinner?h.spinnerRadius:0,t=(b.getWidth()-u*2-(h.showSpinner&&n?10:0)-n)/2-(h.showSpinner?0:n/2),c=b.getHeight()/2;h.showSpinner&&l.setShape({cx:t,cy:c}),s.setShape({x:t-u,y:c-u,width:u*2,height:u*2}),r.setShape({x:0,y:0,width:b.getWidth(),height:b.getHeight()})},i.resize(),i}J.exports=A},mdPL:function(J,F,e){(function(d){var E=e("WFqU"),g=F&&!F.nodeType&&F,p=g&&typeof d=="object"&&d&&!d.nodeType&&d,A=p&&p.exports===g,b=A&&E.process,h=function(){try{var i=p&&p.require&&p.require("util").types;return i||b&&b.binding&&b.binding("util")}catch(r){}}();d.exports=h}).call(this,e("YuTi")(J))},mmNF:function(J,F){var e={utf8:{stringToBytes:function(E){return e.bin.stringToBytes(unescape(encodeURIComponent(E)))},bytesToString:function(E){return decodeURIComponent(escape(e.bin.bytesToString(E)))}},bin:{stringToBytes:function(E){for(var g=[],p=0;p<E.length;p++)g.push(E.charCodeAt(p)&255);return g},bytesToString:function(E){for(var g=[],p=0;p<E.length;p++)g.push(String.fromCharCode(E[p]));return g.join("")}}};J.exports=e},mr32:function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("J4zp"),b=e.n(A),h=e("q1tI"),i=e("TSYQ"),r=e.n(i),a=e("BGR+"),s=e("V/uB"),l=e.n(s),n=e("H84U"),u=function(T,w){var C={};for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&w.indexOf(N)<0&&(C[N]=T[N]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,N=Object.getOwnPropertySymbols(T);D<N.length;D++)w.indexOf(N[D])<0&&Object.prototype.propertyIsEnumerable.call(T,N[D])&&(C[N[D]]=T[N[D]]);return C},t=function(w){var C,N=h.useContext(n.b),D=N.getPrefixCls,B=function(k){var Z=w.checked,Y=w.onChange,_=w.onClick;Y&&Y(!Z),_&&_(k)},R=w.prefixCls,U=w.className,M=w.checked,j=u(w,["prefixCls","className","checked"]),P=D("tag",R),K=r()(P,(C={},E()(C,"".concat(P,"-checkable"),!0),E()(C,"".concat(P,"-checkable-checked"),M),C),U);return delete j.onChange,h.createElement("span",p()({},j,{className:K,onClick:B}))},c=t,o=e("09Wf"),f=e("g0mS"),v=function(T,w){var C={};for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&w.indexOf(N)<0&&(C[N]=T[N]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,N=Object.getOwnPropertySymbols(T);D<N.length;D++)w.indexOf(N[D])<0&&Object.prototype.propertyIsEnumerable.call(T,N[D])&&(C[N[D]]=T[N[D]]);return C},y=new RegExp("^(".concat(o.a.join("|"),")(-inverse)?$")),L=new RegExp("^(".concat(o.b.join("|"),")$")),S=function(w,C){var N,D=w.prefixCls,B=w.className,R=w.style,U=w.children,M=w.icon,j=w.color,P=w.onClose,K=w.closeIcon,H=w.closable,k=H===void 0?!1:H,Z=v(w,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),Y=h.useContext(n.b),_=Y.getPrefixCls,Q=Y.direction,X=h.useState(!0),he=b()(X,2),te=he[0],fe=he[1];h.useEffect(function(){"visible"in Z&&fe(Z.visible)},[Z.visible]);var be=function(){return j?y.test(j)||L.test(j):!1},we=p()({backgroundColor:j&&!be()?j:void 0},R),Ke=be(),qe=_("tag",D),xt=r()(qe,(N={},E()(N,"".concat(qe,"-").concat(j),Ke),E()(N,"".concat(qe,"-has-color"),j&&!Ke),E()(N,"".concat(qe,"-hidden"),!te),E()(N,"".concat(qe,"-rtl"),Q==="rtl"),N),B),Fe=function(Ge){if(Ge.stopPropagation(),P&&P(Ge),Ge.defaultPrevented)return;"visible"in Z||fe(!1)},Be=function(){return k?K?h.createElement("div",{className:"".concat(qe,"-close-icon"),onClick:Fe},K):h.createElement(l.a,{className:"".concat(qe,"-close-icon"),onClick:Fe}):null},bt="onClick"in Z||U&&U.type==="a",lt=Object(a.default)(Z,["visible"]),tt=M||null,St=tt?h.createElement(h.Fragment,null,tt,h.createElement("span",null,U)):U,ht=h.createElement("span",p()({},lt,{ref:C,className:xt,style:we}),St,Be());return bt?h.createElement(f.a,null,ht):ht},x=h.forwardRef(S);x.displayName="Tag",x.CheckableTag=c;var O=F.a=x},n1HI:function(J,F,e){var d=e("hX1E"),E=d.normalizeRadian,g=Math.PI*2;function p(A,b,h,i,r,a,s,l,n){if(s===0)return!1;var u=s;l-=A,n-=b;var t=Math.sqrt(l*l+n*n);if(t-u>h||t+u<h)return!1;if(Math.abs(i-r)%g<1e-4)return!0;if(a){var c=i;i=E(r),r=E(c)}else i=E(i),r=E(r);i>r&&(r+=g);var o=Math.atan2(n,l);return o<0&&(o+=g),o>=i&&o<=r||o+g>=i&&o+g<=r}F.containStroke=p},n4Lv:function(J,F,e){var d=e("7hqr"),E=d.isDimensionStacked,g=e("bYtY"),p=g.map;function A(i,r,a){var s=i.getBaseAxis(),l=i.getOtherAxis(s),n=b(l,a),u=s.dim,t=l.dim,c=r.mapDimension(t),o=r.mapDimension(u),f=t==="x"||t==="radius"?1:0,v=p(i.dimensions,function(S){return r.mapDimension(S)}),y,L=r.getCalculationInfo("stackResultDimension");return(y|=E(r,v[0]))&&(v[0]=L),(y|=E(r,v[1]))&&(v[1]=L),{dataDimsForPoint:v,valueStart:n,valueAxisDim:t,baseAxisDim:u,stacked:!!y,valueDim:c,baseDim:o,baseDataOffset:f,stackedOverDimension:r.getCalculationInfo("stackedOverDimension")}}function b(i,r){var a=0,s=i.scale.getExtent();return r==="start"?a=s[0]:r==="end"?a=s[1]:s[0]>0?a=s[0]:s[1]<0&&(a=s[1]),a}function h(i,r,a,s){var l=NaN;i.stacked&&(l=a.get(a.getCalculationInfo("stackedOverDimension"),s)),isNaN(l)&&(l=i.valueStart);var n=i.baseDataOffset,u=[];return u[n]=a.get(i.baseDim,s),u[1-n]=l,r.dataToPoint(u)}F.prepareDataCoordInfo=A,F.getStackedOnPoint=h},n6Mw:function(J,F,e){var d=e("SrGk"),E=e("bYtY"),g=e("Fofx");function p(b,h){d.call(this,b,h,"clipPath","__clippath_in_use__")}E.inherits(p,d),p.prototype.update=function(b){var h=this.getSvgElement(b);h&&this.updateDom(h,b.__clipPaths,!1);var i=this.getTextSvgElement(b);i&&this.updateDom(i,b.__clipPaths,!0),this.markUsed(b)},p.prototype.updateDom=function(b,h,i){if(h&&h.length>0){var r=this.getDefs(!0),a=h[0],s,l,n=i?"_textDom":"_dom";a[n]?(l=a[n].getAttribute("id"),s=a[n],r.contains(s)||r.appendChild(s)):(l="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,s=this.createElement("clipPath"),s.setAttribute("id",l),r.appendChild(s),a[n]=s);var u=this.getSvgProxy(a);if(a.transform&&a.parent.invTransform&&!i){var t=Array.prototype.slice.call(a.transform);g.mul(a.transform,a.parent.invTransform,a.transform),u.brush(a),a.transform=t}else u.brush(a);var c=this.getSvgElement(a);s.innerHTML="",s.appendChild(c.cloneNode()),b.setAttribute("clip-path","url(#"+l+")"),h.length>1&&this.updateDom(s,h.slice(1),i)}else b&&b.setAttribute("clip-path","none")},p.prototype.markUsed=function(b){var h=this;b.__clipPaths&&E.each(b.__clipPaths,function(i){i._dom&&d.prototype.markUsed.call(h,i._dom),i._textDom&&d.prototype.markUsed.call(h,i._textDom)})};var A=p;J.exports=A},nCxF:function(J,F,e){var d=e("QBsz"),E=d.min,g=d.max,p=d.scale,A=d.distance,b=d.add,h=d.clone,i=d.sub;function r(a,s,l,n){var u=[],t=[],c=[],o=[],f,v,y,L;if(n){y=[Infinity,Infinity],L=[-Infinity,-Infinity];for(var S=0,x=a.length;S<x;S++)E(y,y,a[S]),g(L,L,a[S]);E(y,y,n[0]),g(L,L,n[1])}for(var S=0,x=a.length;S<x;S++){var O=a[S];if(l)f=a[S?S-1:x-1],v=a[(S+1)%x];else if(S===0||S===x-1){u.push(h(a[S]));continue}else f=a[S-1],v=a[S+1];i(t,v,f),p(t,t,s);var T=A(O,f),w=A(O,v),C=T+w;C!==0&&(T/=C,w/=C),p(c,t,-T),p(o,t,w);var N=b([],O,c),D=b([],O,o);n&&(g(N,N,y),E(N,N,L),g(D,D,y),E(D,D,L)),u.push(N),u.push(D)}return l&&u.push(u.shift()),u}J.exports=r},nKiI:function(J,F,e){var d=e("bYtY"),E=e("mFDi"),g=e("OELB"),p=g.parsePercent,A=g.MAX_SAFE_INTEGER,b=e("+TT/"),h=e("VaxA"),i=Math.max,r=Math.min,a=d.retrieve,s=d.each,l=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],u=["upperLabel","show"],t=["upperLabel","height"],c={seriesType:"treemap",reset:function(N,D,B,R){var U=B.getWidth(),M=B.getHeight(),j=N.option,P=b.getLayoutRect(N.getBoxLayoutParams(),{width:B.getWidth(),height:B.getHeight()}),K=j.size||[],H=p(a(P.width,K[0]),U),k=p(a(P.height,K[1]),M),Z=R&&R.type,Y=["treemapZoomToNode","treemapRootToNode"],_=h.retrieveTargetInfo(R,Y,N),Q=Z==="treemapRender"||Z==="treemapMove"?R.rootRect:null,X=N.getViewRoot(),he=h.getPathToRoot(X);if(Z!=="treemapMove"){var te=Z==="treemapZoomToNode"?O(N,_,X,H,k):Q?[Q.width,Q.height]:[H,k],fe=j.sort;fe&&fe!=="asc"&&fe!=="desc"&&(fe="desc");var be={squareRatio:j.squareRatio,sort:fe,leafDepth:j.leafDepth};X.hostTree.clearLayouts();var we={x:0,y:0,width:te[0],height:te[1],area:te[0]*te[1]};X.setLayout(we),o(X,be,!1,0);var we=X.getLayout();s(he,function(qe,xt){var Fe=(he[xt+1]||X).getValue();qe.setLayout(d.extend({dataExtent:[Fe,Fe],borderWidth:0,upperHeight:0},we))})}var Ke=N.getData().tree.root;Ke.setLayout(T(P,Q,_),!0),N.setLayoutInfo(P),w(Ke,new E(-P.x,-P.y,U,M),he,X,0)}};function o(N,D,B,R){var U,M;if(N.isRemoved())return;var j=N.getLayout();U=j.width,M=j.height;var P=N.getModel(),K=P.get(l),H=P.get(n)/2,k=C(P),Z=Math.max(K,k),Y=K-H,_=Z-H,P=N.getModel();N.setLayout({borderWidth:K,upperHeight:Z,upperLabelHeight:k},!0),U=i(U-2*Y,0),M=i(M-Y-_,0);var Q=U*M,X=f(N,P,Q,D,B,R);if(!X.length)return;var he={x:Y,y:_,width:U,height:M},te=r(U,M),fe=Infinity,be=[];be.area=0;for(var we=0,Ke=X.length;we<Ke;){var qe=X[we];be.push(qe),be.area+=qe.getLayout().area;var xt=S(be,te,D.squareRatio);xt<=fe?(we++,fe=xt):(be.area-=be.pop().getLayout().area,x(be,te,he,H,!1),te=r(he.width,he.height),be.length=be.area=0,fe=Infinity)}if(be.length&&x(be,te,he,H,!0),!B){var Fe=P.get("childrenVisibleMin");Fe!=null&&Q<Fe&&(B=!0)}for(var we=0,Ke=X.length;we<Ke;we++)o(X[we],D,B,R+1)}function f(N,D,B,R,U,M){var j=N.children||[],P=R.sort;P!=="asc"&&P!=="desc"&&(P=null);var K=R.leafDepth!=null&&R.leafDepth<=M;if(U&&!K)return N.viewChildren=[];j=d.filter(j,function(_){return!_.isRemoved()}),y(j,P);var H=L(D,j,P);if(H.sum===0)return N.viewChildren=[];if(H.sum=v(D,B,H.sum,P,j),H.sum===0)return N.viewChildren=[];for(var k=0,Z=j.length;k<Z;k++){var Y=j[k].getValue()/H.sum*B;j[k].setLayout({area:Y})}return K&&(j.length&&N.setLayout({isLeafRoot:!0},!0),j.length=0),N.viewChildren=j,N.setLayout({dataExtent:H.dataExtent},!0),j}function v(N,D,B,R,U){if(!R)return B;for(var M=N.get("visibleMin"),j=U.length,P=j,K=j-1;K>=0;K--){var H=U[R==="asc"?j-K-1:K].getValue();H/B*D<M&&(P=K,B-=H)}return R==="asc"?U.splice(0,j-P):U.splice(P,j-P),B}function y(N,D){return D&&N.sort(function(B,R){var U=D==="asc"?B.getValue()-R.getValue():R.getValue()-B.getValue();return U===0?D==="asc"?B.dataIndex-R.dataIndex:R.dataIndex-B.dataIndex:U}),N}function L(N,D,B){for(var R=0,U=0,M=D.length;U<M;U++)R+=D[U].getValue();var j=N.get("visualDimension"),P;if(!D||!D.length)P=[NaN,NaN];else if(j==="value"&&B)P=[D[D.length-1].getValue(),D[0].getValue()],B==="asc"&&P.reverse();else{var P=[Infinity,-Infinity];s(D,function(H){var k=H.getValue(j);k<P[0]&&(P[0]=k),k>P[1]&&(P[1]=k)})}return{sum:R,dataExtent:P}}function S(N,D,B){for(var R=0,U=Infinity,M=0,j,P=N.length;M<P;M++)j=N[M].getLayout().area,j&&(j<U&&(U=j),j>R&&(R=j));var K=N.area*N.area,H=D*D*B;return K?i(H*R/K,K/(H*U)):Infinity}function x(N,D,B,R,U){var M=D===B.width?0:1,j=1-M,P=["x","y"],K=["width","height"],H=B[P[M]],k=D?N.area/D:0;(U||k>B[K[j]])&&(k=B[K[j]]);for(var Z=0,Y=N.length;Z<Y;Z++){var _=N[Z],Q={},X=k?_.getLayout().area/k:0,he=Q[K[j]]=i(k-2*R,0),te=B[P[M]]+B[K[M]]-H,fe=Z===Y-1||te<X?te:X,be=Q[K[M]]=i(fe-2*R,0);Q[P[j]]=B[P[j]]+r(R,he/2),Q[P[M]]=H+r(R,be/2),H+=fe,_.setLayout(Q,!0)}B[P[j]]+=k,B[K[j]]-=k}function O(N,D,B,R,U){var M=(D||{}).node,j=[R,U];if(!M||M===B)return j;for(var P,K=R*U,H=K*N.option.zoomToNodeRatio;P=M.parentNode;){for(var k=0,Z=P.children,Y=0,_=Z.length;Y<_;Y++)k+=Z[Y].getValue();var Q=M.getValue();if(Q===0)return j;H*=k/Q;var X=P.getModel(),he=X.get(l),te=Math.max(he,C(X,he));H+=4*he*he+(3*he+te)*Math.pow(H,.5),H>A&&(H=A),M=P}H<K&&(H=K);var fe=Math.pow(H/K,.5);return[R*fe,U*fe]}function T(N,D,B){if(D)return{x:D.x,y:D.y};var R={x:0,y:0};if(!B)return R;var U=B.node,M=U.getLayout();if(!M)return R;for(var j=[M.width/2,M.height/2],P=U;P;){var K=P.getLayout();j[0]+=K.x,j[1]+=K.y,P=P.parentNode}return{x:N.width/2-j[0],y:N.height/2-j[1]}}function w(N,D,B,R,U){var M=N.getLayout(),j=B[U],P=j&&j===N;if(j&&!P||U===B.length&&N!==R)return;N.setLayout({isInView:!0,invisible:!P&&!D.intersect(M),isAboveViewRoot:P},!0);var K=new E(D.x-M.x,D.y-M.y,D.width,D.height);s(N.viewChildren||[],function(H){w(H,K,B,R,U+1)})}function C(N){return N.get(u)?N.get(t):0}J.exports=c},nPnh:function(J,F){var e=Math.round;function d(p,A,b){if(!A)return;var h=A.x1,i=A.x2,r=A.y1,a=A.y2;p.x1=h,p.x2=i,p.y1=r,p.y2=a;var s=b&&b.lineWidth;if(!s)return;e(h*2)===e(i*2)&&(p.x1=p.x2=g(h,s,!0)),e(r*2)===e(a*2)&&(p.y1=p.y2=g(r,s,!0))}function E(p,A,b){if(!A)return;var h=A.x,i=A.y,r=A.width,a=A.height;p.x=h,p.y=i,p.width=r,p.height=a;var s=b&&b.lineWidth;if(!s)return;p.x=g(h,s,!0),p.y=g(i,s,!0),p.width=Math.max(g(h+r,s,!1)-p.x,r===0?0:1),p.height=Math.max(g(i+a,s,!1)-p.y,a===0?0:1)}function g(p,A,b){if(!A)return p;var h=e(p*2);return(h+e(A))%2===0?h/2:(h+(b?1:-1))/2}F.subPixelOptimizeLine=d,F.subPixelOptimizeRect=E,F.subPixelOptimize=g},nRaC:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("0fbx"),p=e.n(g),A=e("OaEy"),b=e("R9oj")},nVfU:function(J,F,e){var d=e("bYtY"),E=e("OELB"),g=E.parsePercent,p=e("7hqr"),A=p.isDimensionStacked,b=e("zM3Q"),h="__ec_stack_",i=.5,r=typeof Float32Array!="undefined"?Float32Array:Array;function a(x){return x.get("stack")||h+x.seriesIndex}function s(x){return x.dim+x.index}function l(x){var O=[],T=x.axis,w="axis0";if(T.type!=="category")return;for(var C=T.getBandWidth(),N=0;N<x.count||0;N++)O.push(d.defaults({bandWidth:C,axisKey:w,stackId:h+N},x));for(var D=c(O),B=[],N=0;N<x.count;N++){var R=D[w][h+N];R.offsetCenter=R.offset+R.width/2,B.push(R)}return B}function n(x,O){var T=[];return O.eachSeriesByType(x,function(w){y(w)&&!L(w)&&T.push(w)}),T}function u(x){var O={};d.each(x,function(R){var U=R.coordinateSystem,M=U.getBaseAxis();if(M.type!=="time"&&M.type!=="value")return;for(var j=R.getData(),P=M.dim+"_"+M.index,K=j.mapDimension(M.dim),H=0,k=j.count();H<k;++H){var Z=j.get(K,H);O[P]?O[P].push(Z):O[P]=[Z]}});var T=[];for(var w in O)if(O.hasOwnProperty(w)){var C=O[w];if(C){C.sort(function(R,U){return R-U});for(var N=null,D=1;D<C.length;++D){var B=C[D]-C[D-1];B>0&&(N=N===null?B:Math.min(N,B))}T[w]=N}}return T}function t(x){var O=u(x),T=[];return d.each(x,function(w){var C=w.coordinateSystem,N=C.getBaseAxis(),D=N.getExtent(),B;if(N.type==="category")B=N.getBandWidth();else if(N.type==="value"||N.type==="time"){var R=N.dim+"_"+N.index,U=O[R],M=Math.abs(D[1]-D[0]),j=N.scale.getExtent(),P=Math.abs(j[1]-j[0]);B=U?M/P*U:M}else{var K=w.getData();B=Math.abs(D[1]-D[0])/K.count()}var H=g(w.get("barWidth"),B),k=g(w.get("barMaxWidth"),B),Z=g(w.get("barMinWidth")||1,B),Y=w.get("barGap"),_=w.get("barCategoryGap");T.push({bandWidth:B,barWidth:H,barMaxWidth:k,barMinWidth:Z,barGap:Y,barCategoryGap:_,axisKey:s(N),stackId:a(w)})}),c(T)}function c(x){var O={};d.each(x,function(w,C){var N=w.axisKey,D=w.bandWidth,B=O[N]||{bandWidth:D,remainedWidth:D,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},R=B.stacks;O[N]=B;var U=w.stackId;R[U]||B.autoWidthCount++,R[U]=R[U]||{width:0,maxWidth:0};var M=w.barWidth;M&&!R[U].width&&(R[U].width=M,M=Math.min(B.remainedWidth,M),B.remainedWidth-=M);var j=w.barMaxWidth;j&&(R[U].maxWidth=j);var P=w.barMinWidth;P&&(R[U].minWidth=P);var K=w.barGap;K!=null&&(B.gap=K);var H=w.barCategoryGap;H!=null&&(B.categoryGap=H)});var T={};return d.each(O,function(w,C){T[C]={};var N=w.stacks,D=w.bandWidth,B=g(w.categoryGap,D),R=g(w.gap,1),U=w.remainedWidth,M=w.autoWidthCount,j=(U-B)/(M+(M-1)*R);j=Math.max(j,0),d.each(N,function(k){var Z=k.maxWidth,Y=k.minWidth;if(k.width){var _=k.width;Z&&(_=Math.min(_,Z)),Y&&(_=Math.max(_,Y)),k.width=_,U-=_+R*_,M--}else{var _=j;Z&&Z<_&&(_=Math.min(Z,U)),Y&&Y>_&&(_=Y),_!==j&&(k.width=_,U-=_+R*_,M--)}}),j=(U-B)/(M+(M-1)*R),j=Math.max(j,0);var P=0,K;d.each(N,function(k,Z){k.width||(k.width=j),K=k,P+=k.width*(1+R)}),K&&(P-=K.width*R);var H=-P/2;d.each(N,function(k,Z){T[C][Z]=T[C][Z]||{bandWidth:D,offset:H,width:k.width},H+=k.width*(1+R)})}),T}function o(x,O,T){if(x&&O){var w=x[s(O)];return w!=null&&T!=null&&(w=w[a(T)]),w}}function f(x,O){var T=n(x,O),w=t(T),C={},N={};d.each(T,function(D){var B=D.getData(),R=D.coordinateSystem,U=R.getBaseAxis(),M=a(D),j=w[s(U)][M],P=j.offset,K=j.width,H=R.getOtherAxis(U),k=D.get("barMinHeight")||0;C[M]=C[M]||[],N[M]=N[M]||[],B.setLayout({bandWidth:j.bandWidth,offset:P,size:K});for(var Z=B.mapDimension(H.dim),Y=B.mapDimension(U.dim),_=A(B,Z),Q=H.isHorizontal(),X=S(U,H,_),he=0,te=B.count();he<te;he++){var fe=B.get(Z,he),be=B.get(Y,he),we=fe>=0?"p":"n",Ke=X;_&&(C[M][be]||(C[M][be]={p:X,n:X}),Ke=C[M][be][we]);var qe,xt,Fe,Be;if(Q){var bt=R.dataToPoint([fe,be]);qe=Ke,xt=bt[1]+P,Fe=bt[0]-X,Be=K,Math.abs(Fe)<k&&(Fe=(Fe<0?-1:1)*k),isNaN(Fe)||_&&(C[M][be][we]+=Fe)}else{var bt=R.dataToPoint([be,fe]);qe=bt[0]+P,xt=Ke,Fe=K,Be=bt[1]-X,Math.abs(Be)<k&&(Be=(Be<=0?-1:1)*k),isNaN(Be)||_&&(C[M][be][we]+=Be)}B.setItemLayout(he,{x:qe,y:xt,width:Fe,height:Be})}},this)}var v={seriesType:"bar",plan:b(),reset:function(x){if(!y(x)||!L(x))return;var O=x.getData(),T=x.coordinateSystem,w=T.grid.getRect(),C=T.getBaseAxis(),N=T.getOtherAxis(C),D=O.mapDimension(N.dim),B=O.mapDimension(C.dim),R=N.isHorizontal(),U=R?0:1,M=o(t([x]),C,x).width;return M>i||(M=i),{progress:j};function j(P,K){for(var H=P.count,k=new r(H*2),Z=new r(H*2),Y=new r(H),_,Q=[],X=[],he=0,te=0;(_=P.next())!=null;)X[U]=K.get(D,_),X[1-U]=K.get(B,_),Q=T.dataToPoint(X,null,Q),Z[he]=R?w.x+w.width:Q[0],k[he++]=Q[0],Z[he]=R?Q[1]:w.y+w.height,k[he++]=Q[1],Y[te++]=_;K.setLayout({largePoints:k,largeDataIndices:Y,largeBackgroundPoints:Z,barWidth:M,valueAxisStart:S(C,N,!1),backgroundStart:R?w.x:w.y,valueAxisHorizontal:R})}}};function y(x){return x.coordinateSystem&&x.coordinateSystem.type==="cartesian2d"}function L(x){return x.pipelineContext&&x.pipelineContext.large}function S(x,O,T){return O.toGlobalCoord(O.dataToCoord(O.type==="log"?1:0))}F.getLayoutOnAxis=l,F.prepareLayoutBarSeries=n,F.makeColumnLayout=t,F.retrieveColumnLayout=o,F.layout=f,F.largeLayout=v},ngQI:function(J,F,e){"use strict";e.d(F,"a",function(){return Hl}),e.d(F,"b",function(){return ql}),e.d(F,"c",function(){return ol});var d=e("q1tI"),E=e.n(d),g=e("dI71"),p=e("wx14"),A=e("ANjH"),b=e("/MKj");function h(He,ne){if(He.length!==ne.length)return!1;for(var Ee=0;Ee<He.length;Ee++)if(He[Ee]!==ne[Ee])return!1;return!0}function i(He,ne){var Ee=Object(d.useState)(function(){return{inputs:ne,result:He()}})[0],it=Object(d.useRef)(Ee),Nt=Boolean(ne&&it.current.inputs&&h(ne,it.current.inputs)),Qt=Nt?it.current:{inputs:ne,result:He()};return Object(d.useEffect)(function(){it.current=Qt},[Qt]),Qt.result}function r(He,ne){return i(function(){return He},ne)}var a=i,s=r,l=e("9R94"),n=function(ne){var Ee=ne.top,it=ne.right,Nt=ne.bottom,Qt=ne.left,ir=it-Qt,or=Nt-Ee,Ar={top:Ee,right:it,bottom:Nt,left:Qt,width:ir,height:or,x:Qt,y:Ee,center:{x:(it+Qt)/2,y:(Nt+Ee)/2}};return Ar},u=function(ne,Ee){return{top:ne.top-Ee.top,left:ne.left-Ee.left,bottom:ne.bottom+Ee.bottom,right:ne.right+Ee.right}},t=function(ne,Ee){return{top:ne.top+Ee.top,left:ne.left+Ee.left,bottom:ne.bottom-Ee.bottom,right:ne.right-Ee.right}},c=function(ne,Ee){return{top:ne.top+Ee.y,left:ne.left+Ee.x,bottom:ne.bottom+Ee.y,right:ne.right+Ee.x}},o={top:0,right:0,bottom:0,left:0},f=function(ne){var Ee=ne.borderBox,it=ne.margin,Nt=it===void 0?o:it,Qt=ne.border,ir=Qt===void 0?o:Qt,or=ne.padding,Ar=or===void 0?o:or,Vr=n(u(Ee,Nt)),Yr=n(t(Ee,ir)),_r=n(t(Yr,Ar));return{marginBox:Vr,borderBox:n(Ee),paddingBox:Yr,contentBox:_r,margin:Nt,border:ir,padding:Ar}},v=function(ne){var Ee=ne.slice(0,-2),it=ne.slice(-2);if(it!=="px")return 0;var Nt=Number(Ee);return isNaN(Nt)&&Object(l.a)(!1),Nt},y=function(){return{x:window.pageXOffset,y:window.pageYOffset}},L=function(ne,Ee){var it=ne.borderBox,Nt=ne.border,Qt=ne.margin,ir=ne.padding,or=c(it,Ee);return f({borderBox:or,border:Nt,margin:Qt,padding:ir})},S=function(ne,Ee){return Ee===void 0&&(Ee=y()),L(ne,Ee)},x=function(ne,Ee){var it={top:v(Ee.marginTop),right:v(Ee.marginRight),bottom:v(Ee.marginBottom),left:v(Ee.marginLeft)},Nt={top:v(Ee.paddingTop),right:v(Ee.paddingRight),bottom:v(Ee.paddingBottom),left:v(Ee.paddingLeft)},Qt={top:v(Ee.borderTopWidth),right:v(Ee.borderRightWidth),bottom:v(Ee.borderBottomWidth),left:v(Ee.borderLeftWidth)};return f({borderBox:ne,margin:it,padding:Nt,border:Qt})},O=function(ne){var Ee=ne.getBoundingClientRect(),it=window.getComputedStyle(ne);return x(Ee,it)};function T(He,ne){if(He.length!==ne.length)return!1;for(var Ee=0;Ee<He.length;Ee++)if(He[Ee]!==ne[Ee])return!1;return!0}function w(He,ne){ne===void 0&&(ne=T);var Ee,it=[],Nt,Qt=!1;function ir(){for(var or=[],Ar=0;Ar<arguments.length;Ar++)or[Ar]=arguments[Ar];return Qt&&Ee===this&&ne(or,it)||(Nt=He.apply(this,or),Qt=!0,Ee=this,it=or),Nt}return ir}var C=w,N=function(ne){var Ee=[],it=null,Nt=function(){for(var ir=arguments.length,or=new Array(ir),Ar=0;Ar<ir;Ar++)or[Ar]=arguments[Ar];if(Ee=or,it)return;it=requestAnimationFrame(function(){it=null,ne.apply(void 0,Ee)})};return Nt.cancel=function(){if(!it)return;cancelAnimationFrame(it),it=null},Nt},D=N,B=e("i8i4"),R=e.n(B),U=!0,M=/[ \t]{2,}/g,j=/^[ \t]*/gm,P=function(ne){return ne.replace(M," ").replace(j,"").trim()},K=function(ne){return P(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+P(ne)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},H=function(ne){return[K(ne),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},k="__react-beautiful-dnd-disable-dev-warnings";function Z(He,ne){var Ee;if(U)return;if(typeof window!="undefined"&&window[k])return;(Ee=console)[He].apply(Ee,H(ne))}var Y=Z.bind(null,"warn"),_=Z.bind(null,"error");function Q(){}function X(He,ne){return Object(p.a)({},He,{},ne)}function he(He,ne,Ee){var it=ne.map(function(Nt){var Qt=X(Ee,Nt.options);return He.addEventListener(Nt.eventName,Nt.fn,Qt),function(){He.removeEventListener(Nt.eventName,Nt.fn,Qt)}});return function(){it.forEach(function(Qt){Qt()})}}var te=!0,fe="Invariant failed";function be(He){this.message=He}be.prototype.toString=function(){return this.message};function we(He,ne){if(He)return;throw te?new be(fe):new be(fe+": "+(ne||""))}var Ke=function(He){Object(g.a)(ne,He);function ne(){for(var it,Nt=arguments.length,Qt=new Array(Nt),ir=0;ir<Nt;ir++)Qt[ir]=arguments[ir];return it=He.call.apply(He,[this].concat(Qt))||this,it.callbacks=null,it.unbind=Q,it.onWindowError=function(or){var Ar=it.getCallbacks();Ar.isDragging()&&Ar.tryAbort();var Vr=or.error;Vr instanceof be&&or.preventDefault()},it.getCallbacks=function(){if(!it.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return it.callbacks},it.setCallbacks=function(or){it.callbacks=or},it}var Ee=ne.prototype;return Ee.componentDidMount=function(){this.unbind=he(window,[{eventName:"error",fn:this.onWindowError}])},Ee.componentWillUnmount=function(){this.unbind()},Ee.componentDidCatch=function(Nt){if(Nt instanceof be){this.setState({});return}throw Nt},Ee.render=function(){return this.props.children(this.setCallbacks)},ne}(E.a.Component),qe=`
|
|
|
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
|
|
|
`,xt=function(ne){return ne+1},Fe=function(ne){return`
|
|
|
You have lifted an item in position `+xt(ne.source.index)+`
|
|
|
`},Be=function(ne,Ee){var it=ne.droppableId===Ee.droppableId,Nt=xt(ne.index),Qt=xt(Ee.index);return it?`
|
|
|
You have moved the item from position `+Nt+`
|
|
|
to position `+Qt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+Nt+`
|
|
|
in list `+ne.droppableId+`
|
|
|
to list `+Ee.droppableId+`
|
|
|
in position `+Qt+`
|
|
|
`},bt=function(ne,Ee,it){var Nt=Ee.droppableId===it.droppableId;return Nt?`
|
|
|
The item `+ne+`
|
|
|
has been combined with `+it.draggableId:`
|
|
|
The item `+ne+`
|
|
|
in list `+Ee.droppableId+`
|
|
|
has been combined with `+it.draggableId+`
|
|
|
in list `+it.droppableId+`
|
|
|
`},lt=function(ne){var Ee=ne.destination;if(Ee)return Be(ne.source,Ee);var it=ne.combine;return it?bt(ne.draggableId,ne.source,it):"You are over an area that cannot be dropped on"},tt=function(ne){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+xt(ne.index)+`
|
|
|
`},St=function(ne){if(ne.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+tt(ne.source)+`
|
|
|
`;var Ee=ne.destination,it=ne.combine;return Ee?`
|
|
|
You have dropped the item.
|
|
|
`+Be(ne.source,Ee)+`
|
|
|
`:it?`
|
|
|
You have dropped the item.
|
|
|
`+bt(ne.draggableId,ne.source,it)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+tt(ne.source)+`
|
|
|
`},ht={dragHandleUsageInstructions:qe,onDragStart:Fe,onDragUpdate:lt,onDragEnd:St},vt={x:0,y:0},Ge=function(ne,Ee){return{x:ne.x+Ee.x,y:ne.y+Ee.y}},At=function(ne,Ee){return{x:ne.x-Ee.x,y:ne.y-Ee.y}},_e=function(ne,Ee){return ne.x===Ee.x&&ne.y===Ee.y},De=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},Ie=function(ne,Ee,it){var Nt;return it===void 0&&(it=0),Nt={},Nt[ne]=Ee,Nt[ne==="x"?"y":"x"]=it,Nt},st=function(ne,Ee){return Math.sqrt(Math.pow(Ee.x-ne.x,2)+Math.pow(Ee.y-ne.y,2))},Et=function(ne,Ee){return Math.min.apply(Math,Ee.map(function(it){return st(ne,it)}))},Mt=function(ne){return function(Ee){return{x:ne(Ee.x),y:ne(Ee.y)}}},Pt=function(ne,Ee){var it=n({top:Math.max(Ee.top,ne.top),right:Math.min(Ee.right,ne.right),bottom:Math.min(Ee.bottom,ne.bottom),left:Math.max(Ee.left,ne.left)});return it.width<=0||it.height<=0?null:it},ke=function(ne,Ee){return{top:ne.top+Ee.y,left:ne.left+Ee.x,bottom:ne.bottom+Ee.y,right:ne.right+Ee.x}},zt=function(ne){return[{x:ne.left,y:ne.top},{x:ne.right,y:ne.top},{x:ne.left,y:ne.bottom},{x:ne.right,y:ne.bottom}]},Ot={top:0,right:0,bottom:0,left:0},_t=function(ne,Ee){return Ee?ke(ne,Ee.scroll.diff.displacement):ne},Ve=function(ne,Ee,it){if(it&&it.increasedBy){var Nt;return Object(p.a)({},ne,(Nt={},Nt[Ee.end]=ne[Ee.end]+it.increasedBy[Ee.line],Nt))}return ne},Qe=function(ne,Ee){return Ee&&Ee.shouldClipSubject?Pt(Ee.pageMarginBox,ne):n(ne)},et=function(ne){var Ee=ne.page,it=ne.withPlaceholder,Nt=ne.axis,Qt=ne.frame,ir=_t(Ee.marginBox,Qt),or=Ve(ir,Nt,it),Ar=Qe(or,Qt);return{page:Ee,withPlaceholder:it,active:Ar}},dt=function(ne,Ee){ne.frame||we(!1);var it=ne.frame,Nt=At(Ee,it.scroll.initial),Qt=De(Nt),ir=Object(p.a)({},it,{scroll:{initial:it.scroll.initial,current:Ee,diff:{value:Nt,displacement:Qt},max:it.scroll.max}}),or=et({page:ne.subject.page,withPlaceholder:ne.subject.withPlaceholder,axis:ne.axis,frame:ir}),Ar=Object(p.a)({},ne,{frame:ir,subject:or});return Ar};function Ze(He){return Number.isInteger?Number.isInteger(He):typeof He=="number"&&isFinite(He)&&Math.floor(He)===He}function oe(He){return Object.values?Object.values(He):Object.keys(He).map(function(ne){return He[ne]})}function me(He,ne){if(He.findIndex)return He.findIndex(ne);for(var Ee=0;Ee<He.length;Ee++)if(ne(He[Ee]))return Ee;return-1}function ot(He,ne){if(He.find)return He.find(ne);var Ee=me(He,ne);return Ee!==-1?He[Ee]:void 0}function Pe(He){return Array.prototype.slice.call(He)}var pt=C(function(He){return He.reduce(function(ne,Ee){return ne[Ee.descriptor.id]=Ee,ne},{})}),Rr=C(function(He){return He.reduce(function(ne,Ee){return ne[Ee.descriptor.id]=Ee,ne},{})}),It=C(function(He){return oe(He)}),nr=C(function(He){return oe(He)}),Gt=C(function(He,ne){var Ee=nr(ne).filter(function(it){return He===it.descriptor.droppableId}).sort(function(it,Nt){return it.descriptor.index-Nt.descriptor.index});return Ee});function Jt(He){return He.at&&He.at.type==="REORDER"?He.at.destination:null}function hr(He){return He.at&&He.at.type==="COMBINE"?He.at.combine:null}var Xt=C(function(He,ne){return ne.filter(function(Ee){return Ee.descriptor.id!==He.descriptor.id})}),de=function(ne){var Ee=ne.isMovingForward,it=ne.draggable,Nt=ne.destination,Qt=ne.insideDestination,ir=ne.previousImpact;if(!Nt.isCombineEnabled)return null;var or=Jt(ir);if(!or)return null;function Ar(ei){var ui={type:"COMBINE",combine:{draggableId:ei,droppableId:Nt.descriptor.id}};return Object(p.a)({},ir,{at:ui})}var Vr=ir.displaced.all,Yr=Vr.length?Vr[0]:null;if(Ee)return Yr?Ar(Yr):null;var _r=Xt(it,Qt);if(!Yr){if(!_r.length)return null;var Pr=_r[_r.length-1];return Ar(Pr.descriptor.id)}var Jr=me(_r,function(ei){return ei.descriptor.id===Yr});Jr!==-1||we(!1);var dn=Jr-1;if(dn<0)return null;var pn=_r[dn];return Ar(pn.descriptor.id)},ue=function(ne,Ee){return ne.descriptor.droppableId===Ee.descriptor.id},se={point:vt,value:0},ae={invisible:{},visible:{},all:[]},ye={displaced:ae,displacedBy:se,at:null},Ce=function(ne,Ee){return function(it){return ne<=it&&it<=Ee}},Oe=function(ne){var Ee=Ce(ne.top,ne.bottom),it=Ce(ne.left,ne.right);return function(Nt){var Qt=Ee(Nt.top)&&Ee(Nt.bottom)&&it(Nt.left)&&it(Nt.right);if(Qt)return!0;var ir=Ee(Nt.top)||Ee(Nt.bottom),or=it(Nt.left)||it(Nt.right),Ar=ir&∨if(Ar)return!0;var Vr=Nt.top<ne.top&&Nt.bottom>ne.bottom,Yr=Nt.left<ne.left&&Nt.right>ne.right,_r=Vr&&Yr;if(_r)return!0;var Pr=Vr&&or||Yr&&ir;return Pr}},Te=function(ne){var Ee=Ce(ne.top,ne.bottom),it=Ce(ne.left,ne.right);return function(Nt){var Qt=Ee(Nt.top)&&Ee(Nt.bottom)&&it(Nt.left)&&it(Nt.right);return Qt}},xe={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},je={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ut=function(ne){return function(Ee){var it=Ce(Ee.top,Ee.bottom),Nt=Ce(Ee.left,Ee.right);return function(Qt){return ne===xe?it(Qt.top)&&it(Qt.bottom):Nt(Qt.left)&&Nt(Qt.right)}}},wt=function(ne,Ee){var it=Ee.frame?Ee.frame.scroll.diff.displacement:vt;return ke(ne,it)},ee=function(ne,Ee,it){return Ee.subject.active?it(Ee.subject.active)(ne):!1},ie=function(ne,Ee,it){return it(Ee)(ne)},z=function(ne){var Ee=ne.target,it=ne.destination,Nt=ne.viewport,Qt=ne.withDroppableDisplacement,ir=ne.isVisibleThroughFrameFn,or=Qt?wt(Ee,it):Ee;return ee(or,it,ir)&&ie(or,Nt,ir)},$=function(ne){return z(Object(p.a)({},ne,{isVisibleThroughFrameFn:Oe}))},le=function(ne){return z(Object(p.a)({},ne,{isVisibleThroughFrameFn:Te}))},ge=function(ne){return z(Object(p.a)({},ne,{isVisibleThroughFrameFn:ut(ne.destination.axis)}))},Ae=function(ne,Ee,it){if(typeof it=="boolean")return it;if(!Ee)return!0;var Nt=Ee.invisible,Qt=Ee.visible;if(Nt[ne])return!1;var ir=Qt[ne];return ir?ir.shouldAnimate:!0};function Me(He,ne){var Ee=He.page.marginBox,it={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return n(u(Ee,it))}function $e(He){var ne=He.afterDragging,Ee=He.destination,it=He.displacedBy,Nt=He.viewport,Qt=He.forceShouldAnimate,ir=He.last;return ne.reduce(function(Ar,Vr){var Yr=Me(Vr,it),_r=Vr.descriptor.id;Ar.all.push(_r);var Pr=$({target:Yr,destination:Ee,viewport:Nt,withDroppableDisplacement:!0});if(!Pr)return Ar.invisible[Vr.descriptor.id]=!0,Ar;var Jr=Ae(_r,ir,Qt),dn={draggableId:_r,shouldAnimate:Jr};return Ar.visible[_r]=dn,Ar},{all:[],visible:{},invisible:{}})}function kt(He,ne){if(!He.length)return 0;var Ee=He[He.length-1].descriptor.index;return ne.inHomeList?Ee:Ee+1}function $t(He){var ne=He.insideDestination,Ee=He.inHomeList,it=He.displacedBy,Nt=He.destination,Qt=kt(ne,{inHomeList:Ee});return{displaced:ae,displacedBy:it,at:{type:"REORDER",destination:{droppableId:Nt.descriptor.id,index:Qt}}}}function Lt(He){var ne=He.draggable,Ee=He.insideDestination,it=He.destination,Nt=He.viewport,Qt=He.displacedBy,ir=He.last,or=He.index,Ar=He.forceShouldAnimate,Vr=ue(ne,it);if(or==null)return $t({insideDestination:Ee,inHomeList:Vr,displacedBy:Qt,destination:it});var Yr=ot(Ee,function(pn){return pn.descriptor.index===or});if(!Yr)return $t({insideDestination:Ee,inHomeList:Vr,displacedBy:Qt,destination:it});var _r=Xt(ne,Ee),Pr=Ee.indexOf(Yr),Jr=_r.slice(Pr),dn=$e({afterDragging:Jr,destination:it,displacedBy:Qt,last:ir,viewport:Nt.frame,forceShouldAnimate:Ar});return{displaced:dn,displacedBy:Qt,at:{type:"REORDER",destination:{droppableId:it.descriptor.id,index:or}}}}function Ut(He,ne){return Boolean(ne.effected[He])}var Wt=function(ne){var Ee=ne.isMovingForward,it=ne.destination,Nt=ne.draggables,Qt=ne.combine,ir=ne.afterCritical;if(!it.isCombineEnabled)return null;var or=Qt.draggableId,Ar=Nt[or],Vr=Ar.descriptor.index,Yr=Ut(or,ir);return Yr?Ee?Vr:Vr-1:Ee?Vr+1:Vr},Vt=function(ne){var Ee=ne.isMovingForward,it=ne.isInHomeList,Nt=ne.insideDestination,Qt=ne.location;if(!Nt.length)return null;var ir=Qt.index,or=Ee?ir+1:ir-1,Ar=Nt[0].descriptor.index,Vr=Nt[Nt.length-1].descriptor.index,Yr=it?Vr:Vr+1;return or<Ar||or>Yr?null:or},Tt=function(ne){var Ee=ne.isMovingForward,it=ne.isInHomeList,Nt=ne.draggable,Qt=ne.draggables,ir=ne.destination,or=ne.insideDestination,Ar=ne.previousImpact,Vr=ne.viewport,Yr=ne.afterCritical,_r=Ar.at;if(_r||we(!1),_r.type==="REORDER"){var Pr=Vt({isMovingForward:Ee,isInHomeList:it,location:_r.destination,insideDestination:or});return Pr==null?null:Lt({draggable:Nt,insideDestination:or,destination:ir,viewport:Vr,last:Ar.displaced,displacedBy:Ar.displacedBy,index:Pr})}var Jr=Wt({isMovingForward:Ee,destination:ir,displaced:Ar.displaced,draggables:Qt,combine:_r.combine,afterCritical:Yr});return Jr==null?null:Lt({draggable:Nt,insideDestination:or,destination:ir,viewport:Vr,last:Ar.displaced,displacedBy:Ar.displacedBy,index:Jr})},ur=function(ne){var Ee=ne.displaced,it=ne.afterCritical,Nt=ne.combineWith,Qt=ne.displacedBy,ir=Boolean(Ee.visible[Nt]||Ee.invisible[Nt]);return Ut(Nt,it)?ir?vt:De(Qt.point):ir?Qt.point:vt},qt=function(ne){var Ee=ne.afterCritical,it=ne.impact,Nt=ne.draggables,Qt=hr(it);Qt||we(!1);var ir=Qt.draggableId,or=Nt[ir].page.borderBox.center,Ar=ur({displaced:it.displaced,afterCritical:Ee,combineWith:ir,displacedBy:it.displacedBy});return Ge(or,Ar)},ze=function(ne,Ee){return Ee.margin[ne.start]+Ee.borderBox[ne.size]/2},nt=function(ne,Ee){return Ee.margin[ne.end]+Ee.borderBox[ne.size]/2},Ye=function(ne,Ee,it){return Ee[ne.crossAxisStart]+it.margin[ne.crossAxisStart]+it.borderBox[ne.crossAxisSize]/2},Xe=function(ne){var Ee=ne.axis,it=ne.moveRelativeTo,Nt=ne.isMoving;return Ie(Ee.line,it.marginBox[Ee.end]+ze(Ee,Nt),Ye(Ee,it.marginBox,Nt))},yt=function(ne){var Ee=ne.axis,it=ne.moveRelativeTo,Nt=ne.isMoving;return Ie(Ee.line,it.marginBox[Ee.start]-nt(Ee,Nt),Ye(Ee,it.marginBox,Nt))},mt=function(ne){var Ee=ne.axis,it=ne.moveInto,Nt=ne.isMoving;return Ie(Ee.line,it.contentBox[Ee.start]+ze(Ee,Nt),Ye(Ee,it.contentBox,Nt))},We=function(ne){var Ee=ne.impact,it=ne.draggable,Nt=ne.draggables,Qt=ne.droppable,ir=ne.afterCritical,or=Gt(Qt.descriptor.id,Nt),Ar=it.page,Vr=Qt.axis;if(!or.length)return mt({axis:Vr,moveInto:Qt.page,isMoving:Ar});var Yr=Ee.displaced,_r=Ee.displacedBy,Pr=Yr.all[0];if(Pr){var Jr=Nt[Pr];if(Ut(Pr,ir))return yt({axis:Vr,moveRelativeTo:Jr.page,isMoving:Ar});var dn=L(Jr.page,_r.point);return yt({axis:Vr,moveRelativeTo:dn,isMoving:Ar})}var pn=or[or.length-1];if(pn.descriptor.id===it.descriptor.id)return Ar.borderBox.center;if(Ut(pn.descriptor.id,ir)){var ei=L(pn.page,De(ir.displacedBy.point));return Xe({axis:Vr,moveRelativeTo:ei,isMoving:Ar})}return Xe({axis:Vr,moveRelativeTo:pn.page,isMoving:Ar})},rt=function(ne,Ee){var it=ne.frame;return it?Ge(Ee,it.scroll.diff.displacement):Ee},ft=function(ne){var Ee=ne.impact,it=ne.draggable,Nt=ne.droppable,Qt=ne.draggables,ir=ne.afterCritical,or=it.page.borderBox.center,Ar=Ee.at;return Nt&&Ar?Ar.type==="REORDER"?We({impact:Ee,draggable:it,draggables:Qt,droppable:Nt,afterCritical:ir}):qt({impact:Ee,draggables:Qt,afterCritical:ir}):or},Yt=function(ne){var Ee=ft(ne),it=ne.droppable,Nt=it?rt(it,Ee):Ee;return Nt},Ft=function(ne,Ee){var it=At(Ee,ne.scroll.initial),Nt=De(it),Qt=n({top:Ee.y,bottom:Ee.y+ne.frame.height,left:Ee.x,right:Ee.x+ne.frame.width}),ir={frame:Qt,scroll:{initial:ne.scroll.initial,max:ne.scroll.max,current:Ee,diff:{value:it,displacement:Nt}}};return ir};function fr(He,ne){return He.map(function(Ee){return ne[Ee]})}function mr(He,ne){for(var Ee=0;Ee<ne.length;Ee++){var it=ne[Ee].visible[He];if(it)return it}return null}var Er=function(ne){var Ee=ne.impact,it=ne.viewport,Nt=ne.destination,Qt=ne.draggables,ir=ne.maxScrollChange,or=Ft(it,Ge(it.scroll.current,ir)),Ar=Nt.frame?dt(Nt,Ge(Nt.frame.scroll.current,ir)):Nt,Vr=Ee.displaced,Yr=$e({afterDragging:fr(Vr.all,Qt),destination:Nt,displacedBy:Ee.displacedBy,viewport:or.frame,last:Vr,forceShouldAnimate:!1}),_r=$e({afterDragging:fr(Vr.all,Qt),destination:Ar,displacedBy:Ee.displacedBy,viewport:it.frame,last:Vr,forceShouldAnimate:!1}),Pr={},Jr={},dn=[Vr,Yr,_r];Vr.all.forEach(function(ei){var ui=mr(ei,dn);if(ui){Jr[ei]=ui;return}Pr[ei]=!0});var pn=Object(p.a)({},Ee,{displaced:{all:Vr.all,invisible:Pr,visible:Jr}});return pn},Lr=function(ne,Ee){return Ge(ne.scroll.diff.displacement,Ee)},en=function(ne){var Ee=ne.pageBorderBoxCenter,it=ne.draggable,Nt=ne.viewport,Qt=Lr(Nt,Ee),ir=At(Qt,it.page.borderBox.center);return Ge(it.client.borderBox.center,ir)},Qr=function(ne){var Ee=ne.draggable,it=ne.destination,Nt=ne.newPageBorderBoxCenter,Qt=ne.viewport,ir=ne.withDroppableDisplacement,or=ne.onlyOnMainAxis,Ar=or===void 0?!1:or,Vr=At(Nt,Ee.page.borderBox.center),Yr=ke(Ee.page.borderBox,Vr),_r={target:Yr,destination:it,withDroppableDisplacement:ir,viewport:Qt};return Ar?ge(_r):le(_r)},Cr=function(ne){var Ee=ne.isMovingForward,it=ne.draggable,Nt=ne.destination,Qt=ne.draggables,ir=ne.previousImpact,or=ne.viewport,Ar=ne.previousPageBorderBoxCenter,Vr=ne.previousClientSelection,Yr=ne.afterCritical;if(!Nt.isEnabled)return null;var _r=Gt(Nt.descriptor.id,Qt),Pr=ue(it,Nt),Jr=de({isMovingForward:Ee,draggable:it,destination:Nt,insideDestination:_r,previousImpact:ir})||Tt({isMovingForward:Ee,isInHomeList:Pr,draggable:it,draggables:Qt,destination:Nt,insideDestination:_r,previousImpact:ir,viewport:or,afterCritical:Yr});if(!Jr)return null;var dn=Yt({impact:Jr,draggable:it,droppable:Nt,draggables:Qt,afterCritical:Yr}),pn=Qr({draggable:it,destination:Nt,newPageBorderBoxCenter:dn,viewport:or.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(pn){var ei=en({pageBorderBoxCenter:dn,draggable:it,viewport:or});return{clientSelection:ei,impact:Jr,scrollJumpRequest:null}}var ui=At(dn,Ar),ii=Er({impact:Jr,viewport:or,destination:Nt,draggables:Qt,maxScrollChange:ui});return{clientSelection:Vr,impact:ii,scrollJumpRequest:ui}},Gr=function(ne){var Ee=ne.subject.active;return Ee||we(!1),Ee},Nr=function(ne){var Ee=ne.isMovingForward,it=ne.pageBorderBoxCenter,Nt=ne.source,Qt=ne.droppables,ir=ne.viewport,or=Nt.subject.active;if(!or)return null;var Ar=Nt.axis,Vr=Ce(or[Ar.start],or[Ar.end]),Yr=It(Qt).filter(function(Pr){return Pr!==Nt}).filter(function(Pr){return Pr.isEnabled}).filter(function(Pr){return Boolean(Pr.subject.active)}).filter(function(Pr){return Oe(ir.frame)(Gr(Pr))}).filter(function(Pr){var Jr=Gr(Pr);return Ee?or[Ar.crossAxisEnd]<Jr[Ar.crossAxisEnd]:Jr[Ar.crossAxisStart]<or[Ar.crossAxisStart]}).filter(function(Pr){var Jr=Gr(Pr),dn=Ce(Jr[Ar.start],Jr[Ar.end]);return Vr(Jr[Ar.start])||Vr(Jr[Ar.end])||dn(or[Ar.start])||dn(or[Ar.end])}).sort(function(Pr,Jr){var dn=Gr(Pr)[Ar.crossAxisStart],pn=Gr(Jr)[Ar.crossAxisStart];return Ee?dn-pn:pn-dn}).filter(function(Pr,Jr,dn){return Gr(Pr)[Ar.crossAxisStart]===Gr(dn[0])[Ar.crossAxisStart]});if(!Yr.length)return null;if(Yr.length===1)return Yr[0];var _r=Yr.filter(function(Pr){var Jr=Ce(Gr(Pr)[Ar.start],Gr(Pr)[Ar.end]);return Jr(it[Ar.line])});return _r.length===1?_r[0]:_r.length>1?_r.sort(function(Pr,Jr){return Gr(Pr)[Ar.start]-Gr(Jr)[Ar.start]})[0]:Yr.sort(function(Pr,Jr){var dn=Et(it,zt(Gr(Pr))),pn=Et(it,zt(Gr(Jr)));return dn!==pn?dn-pn:Gr(Pr)[Ar.start]-Gr(Jr)[Ar.start]})[0]},lr=function(ne,Ee){var it=ne.page.borderBox.center;return Ut(ne.descriptor.id,Ee)?At(it,Ee.displacedBy.point):it},pr=function(ne,Ee){var it=ne.page.borderBox;return Ut(ne.descriptor.id,Ee)?ke(it,De(Ee.displacedBy.point)):it},sr=function(ne){var Ee=ne.pageBorderBoxCenter,it=ne.viewport,Nt=ne.destination,Qt=ne.insideDestination,ir=ne.afterCritical,or=Qt.filter(function(Ar){return le({target:pr(Ar,ir),destination:Nt,viewport:it.frame,withDroppableDisplacement:!0})}).sort(function(Ar,Vr){var Yr=st(Ee,rt(Nt,lr(Ar,ir))),_r=st(Ee,rt(Nt,lr(Vr,ir)));return Yr<_r?-1:_r<Yr?1:Ar.descriptor.index-Vr.descriptor.index});return or[0]||null},dr=C(function(ne,Ee){var it=Ee[ne.line];return{value:it,point:Ie(ne.line,it)}}),Sr=function(ne,Ee,it){var Nt=ne.axis;if(ne.descriptor.mode==="virtual")return Ie(Nt.line,Ee[Nt.line]);var Qt=ne.subject.page.contentBox[Nt.size],ir=Gt(ne.descriptor.id,it),or=ir.reduce(function(Yr,_r){return Yr+_r.client.marginBox[Nt.size]},0),Ar=or+Ee[Nt.line],Vr=Ar-Qt;return Vr<=0?null:Ie(Nt.line,Vr)},Xr=function(ne,Ee){return Object(p.a)({},ne,{scroll:Object(p.a)({},ne.scroll,{max:Ee})})},cn=function(ne,Ee,it){var Nt=ne.frame;ue(Ee,ne)&&we(!1),ne.subject.withPlaceholder&&we(!1);var Qt=dr(ne.axis,Ee.displaceBy).point,ir=Sr(ne,Qt,it),or={placeholderSize:Qt,increasedBy:ir,oldFrameMaxScroll:ne.frame?ne.frame.scroll.max:null};if(!Nt){var Ar=et({page:ne.subject.page,withPlaceholder:or,axis:ne.axis,frame:ne.frame});return Object(p.a)({},ne,{subject:Ar})}var Vr=ir?Ge(Nt.scroll.max,ir):Nt.scroll.max,Yr=Xr(Nt,Vr),_r=et({page:ne.subject.page,withPlaceholder:or,axis:ne.axis,frame:Yr});return Object(p.a)({},ne,{subject:_r,frame:Yr})},Dn=function(ne){var Ee=ne.subject.withPlaceholder;Ee||we(!1);var it=ne.frame;if(!it){var Nt=et({page:ne.subject.page,axis:ne.axis,frame:null,withPlaceholder:null});return Object(p.a)({},ne,{subject:Nt})}var Qt=Ee.oldFrameMaxScroll;Qt||we(!1);var ir=Xr(it,Qt),or=et({page:ne.subject.page,axis:ne.axis,frame:ir,withPlaceholder:null});return Object(p.a)({},ne,{subject:or,frame:ir})},jr=function(ne){var Ee=ne.previousPageBorderBoxCenter,it=ne.moveRelativeTo,Nt=ne.insideDestination,Qt=ne.draggable,ir=ne.draggables,or=ne.destination,Ar=ne.viewport,Vr=ne.afterCritical;if(!it){if(Nt.length)return null;var Yr={displaced:ae,displacedBy:se,at:{type:"REORDER",destination:{droppableId:or.descriptor.id,index:0}}},_r=Yt({impact:Yr,draggable:Qt,droppable:or,draggables:ir,afterCritical:Vr}),Pr=ue(Qt,or)?or:cn(or,Qt,ir),Jr=Qr({draggable:Qt,destination:Pr,newPageBorderBoxCenter:_r,viewport:Ar.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Jr?Yr:null}var dn=Boolean(Ee[or.axis.line]<=it.page.borderBox.center[or.axis.line]),pn=function(){var ui=it.descriptor.index;return it.descriptor.id===Qt.descriptor.id||dn?ui:ui+1}(),ei=dr(or.axis,Qt.displaceBy);return Lt({draggable:Qt,insideDestination:Nt,destination:or,viewport:Ar,displacedBy:ei,last:ae,index:pn})},On=function(ne){var Ee=ne.isMovingForward,it=ne.previousPageBorderBoxCenter,Nt=ne.draggable,Qt=ne.isOver,ir=ne.draggables,or=ne.droppables,Ar=ne.viewport,Vr=ne.afterCritical,Yr=Nr({isMovingForward:Ee,pageBorderBoxCenter:it,source:Qt,droppables:or,viewport:Ar});if(!Yr)return null;var _r=Gt(Yr.descriptor.id,ir),Pr=sr({pageBorderBoxCenter:it,viewport:Ar,destination:Yr,insideDestination:_r,afterCritical:Vr}),Jr=jr({previousPageBorderBoxCenter:it,destination:Yr,draggable:Nt,draggables:ir,moveRelativeTo:Pr,insideDestination:_r,viewport:Ar,afterCritical:Vr});if(!Jr)return null;var dn=Yt({impact:Jr,draggable:Nt,droppable:Yr,draggables:ir,afterCritical:Vr}),pn=en({pageBorderBoxCenter:dn,draggable:Nt,viewport:Ar});return{clientSelection:pn,impact:Jr,scrollJumpRequest:null}},gn=function(ne){var Ee=ne.at;return Ee?Ee.type==="REORDER"?Ee.destination.droppableId:Ee.combine.droppableId:null},Un=function(ne,Ee){var it=gn(ne);return it?Ee[it]:null},Wn=function(ne){var Ee=ne.state,it=ne.type,Nt=Un(Ee.impact,Ee.dimensions.droppables),Qt=Boolean(Nt),ir=Ee.dimensions.droppables[Ee.critical.droppable.id],or=Nt||ir,Ar=or.axis.direction,Vr=Ar==="vertical"&&(it==="MOVE_UP"||it==="MOVE_DOWN")||Ar==="horizontal"&&(it==="MOVE_LEFT"||it==="MOVE_RIGHT");if(Vr&&!Qt)return null;var Yr=it==="MOVE_DOWN"||it==="MOVE_RIGHT",_r=Ee.dimensions.draggables[Ee.critical.draggable.id],Pr=Ee.current.page.borderBoxCenter,Jr=Ee.dimensions,dn=Jr.draggables,pn=Jr.droppables;return Vr?Cr({isMovingForward:Yr,previousPageBorderBoxCenter:Pr,draggable:_r,destination:or,draggables:dn,viewport:Ee.viewport,previousClientSelection:Ee.current.client.selection,previousImpact:Ee.impact,afterCritical:Ee.afterCritical}):On({isMovingForward:Yr,previousPageBorderBoxCenter:Pr,draggable:_r,isOver:or,draggables:dn,droppables:pn,viewport:Ee.viewport,afterCritical:Ee.afterCritical})};function Jn(He){return He.phase==="DRAGGING"||He.phase==="COLLECTING"}function Qn(He){var ne=Ce(He.top,He.bottom),Ee=Ce(He.left,He.right);return function(Nt){return ne(Nt.y)&&Ee(Nt.x)}}function Vn(He,ne){return He.left<ne.right&&He.right>ne.left&&He.top<ne.bottom&&He.bottom>ne.top}function yn(He){var ne=He.pageBorderBox,Ee=He.draggable,it=He.candidates,Nt=Ee.page.borderBox.center,Qt=it.map(function(ir){var or=ir.axis,Ar=Ie(ir.axis.line,ne.center[or.line],ir.page.borderBox.center[or.crossAxisLine]);return{id:ir.descriptor.id,distance:st(Nt,Ar)}}).sort(function(ir,or){return or.distance-ir.distance});return Qt[0]?Qt[0].id:null}function on(He){var ne=He.pageBorderBox,Ee=He.draggable,it=He.droppables,Nt=It(it).filter(function(Qt){if(!Qt.isEnabled)return!1;var ir=Qt.subject.active;if(!ir)return!1;if(!Vn(ne,ir))return!1;if(Qn(ir)(ne.center))return!0;var or=Qt.axis,Ar=ir.center[or.crossAxisLine],Vr=ne[or.crossAxisStart],Yr=ne[or.crossAxisEnd],_r=Ce(ir[or.crossAxisStart],ir[or.crossAxisEnd]),Pr=_r(Vr),Jr=_r(Yr);return!Pr&&!Jr?!0:Pr?Vr<Ar:Yr>Ar});return Nt.length?Nt.length===1?Nt[0].descriptor.id:yn({pageBorderBox:ne,draggable:Ee,candidates:Nt}):null}var ia=function(ne,Ee){return n(ke(ne,Ee))},xa=function(ne,Ee){var it=ne.frame;return it?ia(Ee,it.scroll.diff.value):Ee};function ta(He){var ne=He.displaced,Ee=He.id;return Boolean(ne.visible[Ee]||ne.invisible[Ee])}function Ni(He){var ne=He.draggable,Ee=He.closest,it=He.inHomeList;return Ee?it&&Ee.descriptor.index>ne.descriptor.index?Ee.descriptor.index-1:Ee.descriptor.index:null}var Ci=function(ne){var Ee=ne.pageBorderBoxWithDroppableScroll,it=ne.draggable,Nt=ne.destination,Qt=ne.insideDestination,ir=ne.last,or=ne.viewport,Ar=ne.afterCritical,Vr=Nt.axis,Yr=dr(Nt.axis,it.displaceBy),_r=Yr.value,Pr=Ee[Vr.start],Jr=Ee[Vr.end],dn=Xt(it,Qt),pn=ot(dn,function(ui){var ii=ui.descriptor.id,$i=ui.page.borderBox.center[Vr.line],Si=Ut(ii,Ar),Va=ta({displaced:ir,id:ii});return Si?Va?Jr<=$i:Pr<$i-_r:Va?Jr<=$i+_r:Pr<$i}),ei=Ni({draggable:it,closest:pn,inHomeList:ue(it,Nt)});return Lt({draggable:it,insideDestination:Qt,destination:Nt,viewport:or,last:ir,displacedBy:Yr,index:ei})},Gn=4,Ia=function(ne){var Ee=ne.draggable,it=ne.pageBorderBoxWithDroppableScroll,Nt=ne.previousImpact,Qt=ne.destination,ir=ne.insideDestination,or=ne.afterCritical;if(!Qt.isCombineEnabled)return null;var Ar=Qt.axis,Vr=dr(Qt.axis,Ee.displaceBy),Yr=Vr.value,_r=it[Ar.start],Pr=it[Ar.end],Jr=Xt(Ee,ir),dn=ot(Jr,function(ei){var ui=ei.descriptor.id,ii=ei.page.borderBox,$i=ii[Ar.size],Si=$i/Gn,Va=Ut(ui,or),Ei=ta({displaced:Nt.displaced,id:ui});return Va?Ei?Pr>ii[Ar.start]+Si&&Pr<ii[Ar.end]-Si:_r>ii[Ar.start]-Yr+Si&&_r<ii[Ar.end]-Yr-Si:Ei?Pr>ii[Ar.start]+Yr+Si&&Pr<ii[Ar.end]+Yr-Si:_r>ii[Ar.start]+Si&&_r<ii[Ar.end]-Si});if(!dn)return null;var pn={displacedBy:Vr,displaced:Nt.displaced,at:{type:"COMBINE",combine:{draggableId:dn.descriptor.id,droppableId:Qt.descriptor.id}}};return pn},mn=function(ne){var Ee=ne.pageOffset,it=ne.draggable,Nt=ne.draggables,Qt=ne.droppables,ir=ne.previousImpact,or=ne.viewport,Ar=ne.afterCritical,Vr=ia(it.page.borderBox,Ee),Yr=on({pageBorderBox:Vr,draggable:it,droppables:Qt});if(!Yr)return ye;var _r=Qt[Yr],Pr=Gt(_r.descriptor.id,Nt),Jr=xa(_r,Vr);return Ia({pageBorderBoxWithDroppableScroll:Jr,draggable:it,previousImpact:ir,destination:_r,insideDestination:Pr,afterCritical:Ar})||Ci({pageBorderBoxWithDroppableScroll:Jr,draggable:it,destination:_r,insideDestination:Pr,last:ir.displaced,viewport:or,afterCritical:Ar})},In=function(ne,Ee){var it;return Object(p.a)({},ne,(it={},it[Ee.descriptor.id]=Ee,it))},Ln=function(ne){var Ee=ne.previousImpact,it=ne.impact,Nt=ne.droppables,Qt=gn(Ee),ir=gn(it);if(!Qt)return Nt;if(Qt===ir)return Nt;var or=Nt[Qt];if(!or.subject.withPlaceholder)return Nt;var Ar=Dn(or);return In(Nt,Ar)},Nn=function(ne){var Ee=ne.draggable,it=ne.draggables,Nt=ne.droppables,Qt=ne.previousImpact,ir=ne.impact,or=Ln({previousImpact:Qt,impact:ir,droppables:Nt}),Ar=gn(ir);if(!Ar)return or;var Vr=Nt[Ar];if(ue(Ee,Vr))return or;if(Vr.subject.withPlaceholder)return or;var Yr=cn(Vr,Ee,it);return In(or,Yr)},jn=function(ne){var Ee=ne.state,it=ne.clientSelection,Nt=ne.dimensions,Qt=ne.viewport,ir=ne.impact,or=ne.scrollJumpRequest,Ar=Qt||Ee.viewport,Vr=Nt||Ee.dimensions,Yr=it||Ee.current.client.selection,_r=At(Yr,Ee.initial.client.selection),Pr={offset:_r,selection:Yr,borderBoxCenter:Ge(Ee.initial.client.borderBoxCenter,_r)},Jr={selection:Ge(Pr.selection,Ar.scroll.current),borderBoxCenter:Ge(Pr.borderBoxCenter,Ar.scroll.current),offset:Ge(Pr.offset,Ar.scroll.diff.value)},dn={client:Pr,page:Jr};if(Ee.phase==="COLLECTING")return Object(p.a)({phase:"COLLECTING"},Ee,{dimensions:Vr,viewport:Ar,current:dn});var pn=Vr.draggables[Ee.critical.draggable.id],ei=ir||mn({pageOffset:Jr.offset,draggable:pn,draggables:Vr.draggables,droppables:Vr.droppables,previousImpact:Ee.impact,viewport:Ar,afterCritical:Ee.afterCritical}),ui=Nn({draggable:pn,impact:ei,previousImpact:Ee.impact,draggables:Vr.draggables,droppables:Vr.droppables}),ii=Object(p.a)({},Ee,{current:dn,dimensions:{draggables:Vr.draggables,droppables:ui},impact:ei,viewport:Ar,scrollJumpRequest:or||null,forceShouldAnimate:or?!1:null});return ii};function ni(He,ne){return He.map(function(Ee){return ne[Ee]})}var di=function(ne){var Ee=ne.impact,it=ne.viewport,Nt=ne.draggables,Qt=ne.destination,ir=ne.forceShouldAnimate,or=Ee.displaced,Ar=ni(or.all,Nt),Vr=$e({afterDragging:Ar,destination:Qt,displacedBy:Ee.displacedBy,viewport:it.frame,forceShouldAnimate:ir,last:or});return Object(p.a)({},Ee,{displaced:Vr})},Da=function(ne){var Ee=ne.impact,it=ne.draggable,Nt=ne.droppable,Qt=ne.draggables,ir=ne.viewport,or=ne.afterCritical,Ar=Yt({impact:Ee,draggable:it,draggables:Qt,droppable:Nt,afterCritical:or});return en({pageBorderBoxCenter:Ar,draggable:it,viewport:ir})},Xi=function(ne){var Ee=ne.state,it=ne.dimensions,Nt=ne.viewport;Ee.movementMode==="SNAP"||we(!1);var Qt=Ee.impact,ir=Nt||Ee.viewport,or=it||Ee.dimensions,Ar=or.draggables,Vr=or.droppables,Yr=Ar[Ee.critical.draggable.id],_r=gn(Qt);_r||we(!1);var Pr=Vr[_r],Jr=di({impact:Qt,viewport:ir,destination:Pr,draggables:Ar}),dn=Da({impact:Jr,draggable:Yr,droppable:Pr,draggables:Ar,viewport:ir,afterCritical:Ee.afterCritical});return jn({impact:Jr,clientSelection:dn,state:Ee,dimensions:or,viewport:ir})},ma=function(ne){return{index:ne.index,droppableId:ne.droppableId}},_a=function(ne){var Ee=ne.draggable,it=ne.home,Nt=ne.draggables,Qt=ne.viewport,ir=dr(it.axis,Ee.displaceBy),or=Gt(it.descriptor.id,Nt),Ar=or.indexOf(Ee);Ar!==-1||we(!1);var Vr=or.slice(Ar+1),Yr=Vr.reduce(function(dn,pn){return dn[pn.descriptor.id]=!0,dn},{}),_r={inVirtualList:it.descriptor.mode==="virtual",displacedBy:ir,effected:Yr},Pr=$e({afterDragging:Vr,destination:it,displacedBy:ir,last:null,viewport:Qt.frame,forceShouldAnimate:!1}),Jr={displaced:Pr,displacedBy:ir,at:{type:"REORDER",destination:ma(Ee.descriptor)}};return{impact:Jr,afterCritical:_r}},Xa=function(ne,Ee){return{draggables:ne.draggables,droppables:In(ne.droppables,Ee)}},Ki=function(ne){},Co=function(ne){},aa=function(ne){var Ee=ne.draggable,it=ne.offset,Nt=ne.initialWindowScroll,Qt=L(Ee.client,it),ir=S(Qt,Nt),or=Object(p.a)({},Ee,{placeholder:Object(p.a)({},Ee.placeholder,{client:Qt}),client:Qt,page:ir});return or},Hi=function(ne){var Ee=ne.frame;return Ee||we(!1),Ee},ga=function(ne){var Ee=ne.additions,it=ne.updatedDroppables,Nt=ne.viewport,Qt=Nt.scroll.diff.value;return Ee.map(function(ir){var or=ir.descriptor.droppableId,Ar=it[or],Vr=Hi(Ar),Yr=Vr.scroll.diff.value,_r=Ge(Qt,Yr),Pr=aa({draggable:ir,offset:_r,initialWindowScroll:Nt.scroll.initial});return Pr})},ha=function(ne){var Ee=ne.state,it=ne.published;Ki();var Nt=it.modified.map(function(Si){var Va=Ee.dimensions.droppables[Si.droppableId],Ei=dt(Va,Si.scroll);return Ei}),Qt=Object(p.a)({},Ee.dimensions.droppables,{},pt(Nt)),ir=Rr(ga({additions:it.additions,updatedDroppables:Qt,viewport:Ee.viewport})),or=Object(p.a)({},Ee.dimensions.draggables,{},ir);it.removals.forEach(function(Si){delete or[Si]});var Ar={droppables:Qt,draggables:or},Vr=gn(Ee.impact),Yr=Vr?Ar.droppables[Vr]:null,_r=Ar.draggables[Ee.critical.draggable.id],Pr=Ar.droppables[Ee.critical.droppable.id],Jr=_a({draggable:_r,home:Pr,draggables:or,viewport:Ee.viewport}),dn=Jr.impact,pn=Jr.afterCritical,ei=Yr&&Yr.isCombineEnabled?Ee.impact:dn,ui=mn({pageOffset:Ee.current.page.offset,draggable:Ar.draggables[Ee.critical.draggable.id],draggables:Ar.draggables,droppables:Ar.droppables,previousImpact:ei,viewport:Ee.viewport,afterCritical:pn});Co();var ii=Object(p.a)({phase:"DRAGGING"},Ee,{phase:"DRAGGING",impact:ui,onLiftImpact:dn,dimensions:Ar,afterCritical:pn,forceShouldAnimate:!1});if(Ee.phase==="COLLECTING")return ii;var $i=Object(p.a)({phase:"DROP_PENDING"},ii,{phase:"DROP_PENDING",reason:Ee.reason,isWaiting:!1});return $i},mo=function(ne){return ne.movementMode==="SNAP"},Pn=function(ne,Ee,it){var Nt=Xa(ne.dimensions,Ee);return!mo(ne)||it?jn({state:ne,dimensions:Nt}):Xi({state:ne,dimensions:Nt})};function qi(He){return He.isDragging&&He.movementMode==="SNAP"?Object(p.a)({phase:"DRAGGING"},He,{scrollJumpRequest:null}):He}var eo={phase:"IDLE",completed:null,shouldFlush:!1},Oo=function(ne,Ee){if(ne===void 0&&(ne=eo),Ee.type==="FLUSH")return Object(p.a)({},eo,{shouldFlush:!0});if(Ee.type==="INITIAL_PUBLISH"){ne.phase==="IDLE"||we(!1);var it=Ee.payload,Nt=it.critical,Qt=it.clientSelection,ir=it.viewport,or=it.dimensions,Ar=it.movementMode,Vr=or.draggables[Nt.draggable.id],Yr=or.droppables[Nt.droppable.id],_r={selection:Qt,borderBoxCenter:Vr.client.borderBox.center,offset:vt},Pr={client:_r,page:{selection:Ge(_r.selection,ir.scroll.initial),borderBoxCenter:Ge(_r.selection,ir.scroll.initial),offset:Ge(_r.selection,ir.scroll.diff.value)}},Jr=It(or.droppables).every(function(G){return!G.isFixedOnPage}),dn=_a({draggable:Vr,home:Yr,draggables:or.draggables,viewport:ir}),pn=dn.impact,ei=dn.afterCritical,ui={phase:"DRAGGING",isDragging:!0,critical:Nt,movementMode:Ar,dimensions:or,initial:Pr,current:Pr,isWindowScrollAllowed:Jr,impact:pn,afterCritical:ei,onLiftImpact:pn,viewport:ir,scrollJumpRequest:null,forceShouldAnimate:null};return ui}if(Ee.type==="COLLECTION_STARTING"){if(ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING")return ne;ne.phase==="DRAGGING"||we(!1);var ii=Object(p.a)({phase:"COLLECTING"},ne,{phase:"COLLECTING"});return ii}if(Ee.type==="PUBLISH_WHILE_DRAGGING")return ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING"||we(!1),ha({state:ne,published:Ee.payload});if(Ee.type==="MOVE"){if(ne.phase==="DROP_PENDING")return ne;Jn(ne)||we(!1);var $i=Ee.payload.client;return _e($i,ne.current.client.selection)?ne:jn({state:ne,clientSelection:$i,impact:mo(ne)?ne.impact:null})}if(Ee.type==="UPDATE_DROPPABLE_SCROLL"){if(ne.phase==="DROP_PENDING")return qi(ne);if(ne.phase==="COLLECTING")return qi(ne);Jn(ne)||we(!1);var Si=Ee.payload,Va=Si.id,Ei=Si.newScroll,uo=ne.dimensions.droppables[Va];if(!uo)return ne;var zo=dt(uo,Ei);return Pn(ne,zo,!1)}if(Ee.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;Jn(ne)||we(!1);var ao=Ee.payload,ko=ao.id,m=ao.isEnabled,I=ne.dimensions.droppables[ko];I||we(!1),I.isEnabled!==m||we(!1);var W=Object(p.a)({},I,{isEnabled:m});return Pn(ne,W,!0)}if(Ee.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;Jn(ne)||we(!1);var V=Ee.payload,q=V.id,ve=V.isCombineEnabled,Je=ne.dimensions.droppables[q];Je||we(!1),Je.isCombineEnabled!==ve||we(!1);var Ct=Object(p.a)({},Je,{isCombineEnabled:ve});return Pn(ne,Ct,!0)}if(Ee.type==="MOVE_BY_WINDOW_SCROLL"){if(ne.phase==="DROP_PENDING"||ne.phase==="DROP_ANIMATING")return ne;Jn(ne)||we(!1),ne.isWindowScrollAllowed||we(!1);var jt=Ee.payload.newScroll;if(_e(ne.viewport.scroll.current,jt))return qi(ne);var Kt=Ft(ne.viewport,jt);return mo(ne)?Xi({state:ne,viewport:Kt}):jn({state:ne,viewport:Kt})}if(Ee.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Jn(ne))return ne;var Or=Ee.payload.maxScroll;if(_e(Or,ne.viewport.scroll.max))return ne;var kr=Object(p.a)({},ne.viewport,{scroll:Object(p.a)({},ne.viewport.scroll,{max:Or})});return Object(p.a)({phase:"DRAGGING"},ne,{viewport:kr})}if(Ee.type==="MOVE_UP"||Ee.type==="MOVE_DOWN"||Ee.type==="MOVE_LEFT"||Ee.type==="MOVE_RIGHT"){if(ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING")return ne;ne.phase==="DRAGGING"||we(!1);var tn=Wn({state:ne,type:Ee.type});return tn?jn({state:ne,impact:tn.impact,clientSelection:tn.clientSelection,scrollJumpRequest:tn.scrollJumpRequest}):ne}if(Ee.type==="DROP_PENDING"){var nn=Ee.payload.reason;ne.phase==="COLLECTING"||we(!1);var xn=Object(p.a)({phase:"DROP_PENDING"},ne,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return xn}if(Ee.type==="DROP_ANIMATE"){var _n=Ee.payload,Zn=_n.completed,$n=_n.dropDuration,oi=_n.newHomeClientOffset;ne.phase==="DRAGGING"||ne.phase==="DROP_PENDING"||we(!1);var li={phase:"DROP_ANIMATING",completed:Zn,dropDuration:$n,newHomeClientOffset:oi,dimensions:ne.dimensions};return li}if(Ee.type==="DROP_COMPLETE"){var Ne=Ee.payload.completed;return{phase:"IDLE",completed:Ne,shouldFlush:!1}}return ne},co=function(ne){return{type:"BEFORE_INITIAL_CAPTURE",payload:ne}},tr=function(ne){return{type:"LIFT",payload:ne}},Ir=function(ne){return{type:"INITIAL_PUBLISH",payload:ne}},Ur=function(ne){return{type:"PUBLISH_WHILE_DRAGGING",payload:ne}},Kr=function(){return{type:"COLLECTION_STARTING",payload:null}},hn=function(ne){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ne}},Ue=function(ne){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ne}},Bt=function(ne){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ne}},Zt=function(ne){return{type:"MOVE",payload:ne}},rr=function(ne){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ne}},Tr=function(ne){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ne}},br=function(){return{type:"MOVE_UP",payload:null}},xr=function(){return{type:"MOVE_DOWN",payload:null}},Wr=function(){return{type:"MOVE_RIGHT",payload:null}},$r=function(){return{type:"MOVE_LEFT",payload:null}},Zr=function(){return{type:"FLUSH",payload:null}},an=function(ne){return{type:"DROP_ANIMATE",payload:ne}},at=function(ne){return{type:"DROP_COMPLETE",payload:ne}},Ht=function(ne){return{type:"DROP",payload:ne}},ar=function(ne){return{type:"DROP_PENDING",payload:ne}},yr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Fr(He){if(He.length<=1)return;for(var ne=He.map(function(or){return or.descriptor.index}),Ee={},it=1;it<ne.length;it++){var Nt=ne[it],Qt=ne[it-1];Nt!==Qt+1&&(Ee[Nt]=!0)}if(!Object.keys(Ee).length)return;var ir=ne.map(function(or){var Ar=Boolean(Ee[or]);return Ar?"[\u{1F525}"+or+"]":""+or}).join(", ")}function Mr(He,ne){if(!1)var Ee}var rn=function(ne){return function(Ee){var it=Ee.getState,Nt=Ee.dispatch;return function(Qt){return function(ir){if(ir.type!=="LIFT"){Qt(ir);return}var or=ir.payload,Ar=or.id,Vr=or.clientSelection,Yr=or.movementMode,_r=it();_r.phase==="DROP_ANIMATING"&&Nt(at({completed:_r.completed})),it().phase==="IDLE"||we(!1),Nt(Zr()),Nt(co({draggableId:Ar,movementMode:Yr}));var Pr={shouldPublishImmediately:Yr==="SNAP"},Jr={draggableId:Ar,scrollOptions:Pr},dn=ne.startPublishing(Jr),pn=dn.critical,ei=dn.dimensions,ui=dn.viewport;Mr(pn,ei),Nt(Ir({critical:pn,dimensions:ei,clientSelection:Vr,movementMode:Yr,viewport:ui}))}}}},fn=function(ne){return function(){return function(Ee){return function(it){it.type==="INITIAL_PUBLISH"&&ne.dragging(),it.type==="DROP_ANIMATE"&&ne.dropping(it.payload.completed.result.reason),(it.type==="FLUSH"||it.type==="DROP_COMPLETE")&&ne.resting(),Ee(it)}}}},wn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Hn={opacity:{drop:0,combining:.7},scale:{drop:.75}},Sn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},bn=Sn.outOfTheWay+"s "+wn.outOfTheWay,Bn={fluid:"opacity "+bn,snap:"transform "+bn+", opacity "+bn,drop:function(ne){var Ee=ne+"s "+wn.drop;return"transform "+Ee+", opacity "+Ee},outOfTheWay:"transform "+bn,placeholder:"height "+bn+", width "+bn+", margin "+bn},vn=function(ne){return _e(ne,vt)?null:"translate("+ne.x+"px, "+ne.y+"px)"},Mn={moveTo:vn,drop:function(ne,Ee){var it=vn(ne);return it?Ee?it+" scale("+Hn.scale.drop+")":it:null}},En=Sn.minDropTime,Tn=Sn.maxDropTime,Yn=Tn-En,ai=1500,ri=.6,Ri=function(ne){var Ee=ne.current,it=ne.destination,Nt=ne.reason,Qt=st(Ee,it);if(Qt<=0)return En;if(Qt>=ai)return Tn;var ir=Qt/ai,or=En+Yn*ir,Ar=Nt==="CANCEL"?or*ri:or;return Number(Ar.toFixed(2))},Ai=function(ne){var Ee=ne.impact,it=ne.draggable,Nt=ne.dimensions,Qt=ne.viewport,ir=ne.afterCritical,or=Nt.draggables,Ar=Nt.droppables,Vr=gn(Ee),Yr=Vr?Ar[Vr]:null,_r=Ar[it.descriptor.droppableId],Pr=Da({impact:Ee,draggable:it,draggables:or,afterCritical:ir,droppable:Yr||_r,viewport:Qt}),Jr=At(Pr,it.client.borderBox.center);return Jr},xi=function(ne){var Ee=ne.draggables,it=ne.reason,Nt=ne.lastImpact,Qt=ne.home,ir=ne.viewport,or=ne.onLiftImpact;if(!Nt.at||it!=="DROP"){var Ar=di({draggables:Ee,impact:or,destination:Qt,viewport:ir,forceShouldAnimate:!0});return{impact:Ar,didDropInsideDroppable:!1}}if(Nt.at.type==="REORDER")return{impact:Nt,didDropInsideDroppable:!0};var Vr=Object(p.a)({},Nt,{displaced:ae});return{impact:Vr,didDropInsideDroppable:!0}},Li=function(ne){var Ee=ne.getState,it=ne.dispatch;return function(Nt){return function(Qt){if(Qt.type!=="DROP"){Nt(Qt);return}var ir=Ee(),or=Qt.payload.reason;if(ir.phase==="COLLECTING"){it(ar({reason:or}));return}if(ir.phase==="IDLE")return;var Ar=ir.phase==="DROP_PENDING"&&ir.isWaiting;Ar&&we(!1),ir.phase==="DRAGGING"||ir.phase==="DROP_PENDING"||we(!1);var Vr=ir.critical,Yr=ir.dimensions,_r=Yr.draggables[ir.critical.draggable.id],Pr=xi({reason:or,lastImpact:ir.impact,afterCritical:ir.afterCritical,onLiftImpact:ir.onLiftImpact,home:ir.dimensions.droppables[ir.critical.droppable.id],viewport:ir.viewport,draggables:ir.dimensions.draggables}),Jr=Pr.impact,dn=Pr.didDropInsideDroppable,pn=dn?Jt(Jr):null,ei=dn?hr(Jr):null,ui={index:Vr.draggable.index,droppableId:Vr.droppable.id},ii={draggableId:_r.descriptor.id,type:_r.descriptor.type,source:ui,reason:or,mode:ir.movementMode,destination:pn,combine:ei},$i=Ai({impact:Jr,draggable:_r,dimensions:Yr,viewport:ir.viewport,afterCritical:ir.afterCritical}),Si={critical:ir.critical,afterCritical:ir.afterCritical,result:ii,impact:Jr},Va=!_e(ir.current.client.offset,$i)||Boolean(ii.combine);if(!Va){it(at({completed:Si}));return}var Ei=Ri({current:ir.current.client.offset,destination:$i,reason:or}),uo={newHomeClientOffset:$i,dropDuration:Ei,completed:Si};it(an(uo))}}},kn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Mi(He){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Ee){if(Ee.target!==window&&Ee.target!==window.document)return;He()}}}function fa(He){var ne=He.onWindowScroll;function Ee(){ne(kn())}var it=D(Ee),Nt=Mi(it),Qt=Q;function ir(){return Qt!==Q}function or(){ir()&&we(!1),Qt=he(window,[Nt])}function Ar(){ir()||we(!1),it.cancel(),Qt(),Qt=Q}return{start:or,stop:Ar,isActive:ir}}var ki=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},Bi=function(ne){var Ee=fa({onWindowScroll:function(Nt){ne.dispatch(rr({newScroll:Nt}))}});return function(it){return function(Nt){!Ee.isActive()&&Nt.type==="INITIAL_PUBLISH"&&Ee.start(),Ee.isActive()&&ki(Nt)&&Ee.stop(),it(Nt)}}},mi=function(ne){var Ee=!1,it=!1,Nt=setTimeout(function(){it=!0}),Qt=function(or){if(Ee)return;if(it)return;Ee=!0,ne(or),clearTimeout(Nt)};return Qt.wasCalled=function(){return Ee},Qt},hi=function(){var ne=[],Ee=function(ir){var or=me(ne,function(Yr){return Yr.timerId===ir});or!==-1||we(!1);var Ar=ne.splice(or,1),Vr=Ar[0];Vr.callback()},it=function(ir){var or=setTimeout(function(){return Ee(or)}),Ar={timerId:or,callback:ir};ne.push(Ar)},Nt=function(){if(!ne.length)return;var ir=[].concat(ne);ne.length=0,ir.forEach(function(or){clearTimeout(or.timerId),or.callback()})};return{add:it,flush:Nt}},Ji=function(ne,Ee){return ne==null&&Ee==null?!0:ne==null||Ee==null?!1:ne.droppableId===Ee.droppableId&&ne.index===Ee.index},va=function(ne,Ee){return ne==null&&Ee==null?!0:ne==null||Ee==null?!1:ne.draggableId===Ee.draggableId&&ne.droppableId===Ee.droppableId},Ea=function(ne,Ee){if(ne===Ee)return!0;var it=ne.draggable.id===Ee.draggable.id&&ne.draggable.droppableId===Ee.draggable.droppableId&&ne.draggable.type===Ee.draggable.type&&ne.draggable.index===Ee.draggable.index,Nt=ne.droppable.id===Ee.droppable.id&&ne.droppable.type===Ee.droppable.type;return it&&Nt},Aa=function(ne,Ee){Ki(),Ee(),Co()},oa=function(ne,Ee){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:Ee}},sa=function(ne,Ee,it,Nt){if(!ne){it(Nt(Ee));return}var Qt=mi(it),ir={announce:Qt};ne(Ee,ir),Qt.wasCalled()||it(Nt(Ee))},Di=function(ne,Ee){var it=hi(),Nt=null,Qt=function(Jr,dn){Nt&&we(!1),Aa("onBeforeCapture",function(){var pn=ne().onBeforeCapture;if(pn){var ei={draggableId:Jr,mode:dn};pn(ei)}})},ir=function(Jr,dn){Nt&&we(!1),Aa("onBeforeDragStart",function(){var pn=ne().onBeforeDragStart;pn&&pn(oa(Jr,dn))})},or=function(Jr,dn){Nt&&we(!1);var pn=oa(Jr,dn);Nt={mode:dn,lastCritical:Jr,lastLocation:pn.source,lastCombine:null},it.add(function(){Aa("onDragStart",function(){return sa(ne().onDragStart,pn,Ee,ht.onDragStart)})})},Ar=function(Jr,dn){var pn=Jt(dn),ei=hr(dn);Nt||we(!1);var ui=!Ea(Jr,Nt.lastCritical);ui&&(Nt.lastCritical=Jr);var ii=!Ji(Nt.lastLocation,pn);ii&&(Nt.lastLocation=pn);var $i=!va(Nt.lastCombine,ei);if($i&&(Nt.lastCombine=ei),!ui&&!ii&&!$i)return;var Si=Object(p.a)({},oa(Jr,Nt.mode),{combine:ei,destination:pn});it.add(function(){Aa("onDragUpdate",function(){return sa(ne().onDragUpdate,Si,Ee,ht.onDragUpdate)})})},Vr=function(){Nt||we(!1),it.flush()},Yr=function(Jr){Nt||we(!1),Nt=null,Aa("onDragEnd",function(){return sa(ne().onDragEnd,Jr,Ee,ht.onDragEnd)})},_r=function(){if(!Nt)return;var Jr=Object(p.a)({},oa(Nt.lastCritical,Nt.mode),{combine:null,destination:null,reason:"CANCEL"});Yr(Jr)};return{beforeCapture:Qt,beforeStart:ir,start:or,update:Ar,flush:Vr,drop:Yr,abort:_r}},qn=function(ne,Ee){var it=Di(ne,Ee);return function(Nt){return function(Qt){return function(ir){if(ir.type==="BEFORE_INITIAL_CAPTURE"){it.beforeCapture(ir.payload.draggableId,ir.payload.movementMode);return}if(ir.type==="INITIAL_PUBLISH"){var or=ir.payload.critical;it.beforeStart(or,ir.payload.movementMode),Qt(ir),it.start(or,ir.payload.movementMode);return}if(ir.type==="DROP_COMPLETE"){var Ar=ir.payload.completed.result;it.flush(),Qt(ir),it.drop(Ar);return}if(Qt(ir),ir.type==="FLUSH"){it.abort();return}var Vr=Nt.getState();Vr.phase==="DRAGGING"&&it.update(Vr.critical,Vr.impact)}}}},yi=function(ne){return function(Ee){return function(it){if(it.type!=="DROP_ANIMATION_FINISHED"){Ee(it);return}var Nt=ne.getState();Nt.phase==="DROP_ANIMATING"||we(!1),ne.dispatch(at({completed:Nt.completed}))}}},Ti=function(ne){var Ee=null,it=null;function Nt(){it&&(cancelAnimationFrame(it),it=null),Ee&&(Ee(),Ee=null)}return function(Qt){return function(ir){if((ir.type==="FLUSH"||ir.type==="DROP_COMPLETE"||ir.type==="DROP_ANIMATION_FINISHED")&&Nt(),Qt(ir),ir.type!=="DROP_ANIMATE")return;var or={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Vr=ne.getState();Vr.phase==="DROP_ANIMATING"&&ne.dispatch(yr())}};it=requestAnimationFrame(function(){it=null,Ee=he(window,[or])})}}},Vi=function(ne){return function(){return function(Ee){return function(it){(it.type==="DROP_COMPLETE"||it.type==="FLUSH"||it.type==="DROP_ANIMATE")&&ne.stopPublishing(),Ee(it)}}}},Yi=function(ne){var Ee=!1;return function(){return function(it){return function(Nt){if(Nt.type==="INITIAL_PUBLISH"){Ee=!0,ne.tryRecordFocus(Nt.payload.critical.draggable.id),it(Nt),ne.tryRestoreFocusRecorded();return}if(it(Nt),!Ee)return;if(Nt.type==="FLUSH"){Ee=!1,ne.tryRestoreFocusRecorded();return}if(Nt.type==="DROP_COMPLETE"){Ee=!1;var Qt=Nt.payload.completed.result;Qt.combine&&ne.tryShiftRecord(Qt.draggableId,Qt.combine.draggableId),ne.tryRestoreFocusRecorded()}}}}},bi=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},ya=function(ne){return function(Ee){return function(it){return function(Nt){if(bi(Nt)){ne.stop(),it(Nt);return}if(Nt.type==="INITIAL_PUBLISH"){it(Nt);var Qt=Ee.getState();Qt.phase==="DRAGGING"||we(!1),ne.start(Qt);return}it(Nt),ne.scroll(Ee.getState())}}}},ua=function(ne){return function(Ee){return function(it){if(Ee(it),it.type!=="PUBLISH_WHILE_DRAGGING")return;var Nt=ne.getState();if(Nt.phase!=="DROP_PENDING")return;if(Nt.isWaiting)return;ne.dispatch(Ht({reason:Nt.reason}))}}},la=A.d,gi=function(ne){var Ee=ne.dimensionMarshal,it=ne.focusMarshal,Nt=ne.styleMarshal,Qt=ne.getResponders,ir=ne.announce,or=ne.autoScroller;return Object(A.e)(Oo,la(Object(A.a)(fn(Nt),Vi(Ee),rn(Ee),Li,yi,Ti,ua,ya(or),Bi,Yi(it),qn(Qt,ir))))},Ua=function(){return{additions:{},removals:{},modified:{}}};function Ba(He){var ne=He.registry,Ee=He.callbacks,it=Ua(),Nt=null,Qt=function(){if(Nt)return;Ee.collectionStarting(),Nt=requestAnimationFrame(function(){Nt=null,Ki();var Yr=it,_r=Yr.additions,Pr=Yr.removals,Jr=Yr.modified,dn=Object.keys(_r).map(function(ui){return ne.draggable.getById(ui).getDimension(vt)}).sort(function(ui,ii){return ui.descriptor.index-ii.descriptor.index}),pn=Object.keys(Jr).map(function(ui){var ii=ne.droppable.getById(ui),$i=ii.callbacks.getScrollWhileDragging();return{droppableId:ui,scroll:$i}}),ei={additions:dn,removals:Object.keys(Pr),modified:pn};it=Ua(),Co(),Ee.publish(ei)})},ir=function(Yr){var _r=Yr.descriptor.id;it.additions[_r]=Yr,it.modified[Yr.descriptor.droppableId]=!0,it.removals[_r]&&delete it.removals[_r],Qt()},or=function(Yr){var _r=Yr.descriptor;it.removals[_r.id]=!0,it.modified[_r.droppableId]=!0,it.additions[_r.id]&&delete it.additions[_r.id],Qt()},Ar=function(){if(!Nt)return;cancelAnimationFrame(Nt),Nt=null,it=Ua()};return{add:ir,remove:or,stop:Ar}}var ra=function(ne){var Ee=ne.scrollHeight,it=ne.scrollWidth,Nt=ne.height,Qt=ne.width,ir=At({x:it,y:Ee},{x:Qt,y:Nt}),or={x:Math.max(0,ir.x),y:Math.max(0,ir.y)};return or},Qi=function(){var ne=document.documentElement;return ne||we(!1),ne},Ya=function(){var ne=Qi(),Ee=ra({scrollHeight:ne.scrollHeight,scrollWidth:ne.scrollWidth,width:ne.clientWidth,height:ne.clientHeight});return Ee},zi=function(){var ne=kn(),Ee=Ya(),it=ne.y,Nt=ne.x,Qt=Qi(),ir=Qt.clientWidth,or=Qt.clientHeight,Ar=Nt+ir,Vr=it+or,Yr=n({top:it,left:Nt,right:Ar,bottom:Vr}),_r={frame:Yr,scroll:{initial:ne,current:ne,max:Ee,diff:{value:vt,displacement:vt}}};return _r},Wi=function(ne){var Ee=ne.critical,it=ne.scrollOptions,Nt=ne.registry;Ki();var Qt=zi(),ir=Qt.scroll.current,or=Ee.droppable,Ar=Nt.droppable.getAllByType(or.type).map(function(Pr){return Pr.callbacks.getDimensionAndWatchScroll(ir,it)}),Vr=Nt.draggable.getAllByType(Ee.draggable.type).map(function(Pr){return Pr.getDimension(ir)}),Yr={draggables:Rr(Vr),droppables:pt(Ar)};Co();var _r={dimensions:Yr,critical:Ee,viewport:Qt};return _r};function ba(He,ne,Ee){if(Ee.descriptor.id===ne.id)return!1;if(Ee.descriptor.type!==ne.type)return!1;var it=He.droppable.getById(Ee.descriptor.droppableId);return!(it.descriptor.mode!=="virtual")}var ka=function(ne,Ee){var it=null,Nt=Ba({callbacks:{publish:Ee.publishWhileDragging,collectionStarting:Ee.collectionStarting},registry:ne}),Qt=function(dn,pn){if(ne.droppable.exists(dn)||we(!1),!it)return;Ee.updateDroppableIsEnabled({id:dn,isEnabled:pn})},ir=function(dn,pn){if(!it)return;ne.droppable.exists(dn)||we(!1),Ee.updateDroppableIsCombineEnabled({id:dn,isCombineEnabled:pn})},or=function(dn,pn){if(!it)return;ne.droppable.exists(dn)||we(!1),Ee.updateDroppableScroll({id:dn,newScroll:pn})},Ar=function(dn,pn){if(!it)return;ne.droppable.getById(dn).callbacks.scroll(pn)},Vr=function(){if(!it)return;Nt.stop();var dn=it.critical.droppable;ne.droppable.getAllByType(dn.type).forEach(function(pn){return pn.callbacks.dragStopped()}),it.unsubscribe(),it=null},Yr=function(dn){it||we(!1);var pn=it.critical.draggable;dn.type==="ADDITION"&&(ba(ne,pn,dn.value)&&Nt.add(dn.value)),dn.type==="REMOVAL"&&(ba(ne,pn,dn.value)&&Nt.remove(dn.value))},_r=function(dn){it&&we(!1);var pn=ne.draggable.getById(dn.draggableId),ei=ne.droppable.getById(pn.descriptor.droppableId),ui={draggable:pn.descriptor,droppable:ei.descriptor},ii=ne.subscribe(Yr);return it={critical:ui,unsubscribe:ii},Wi({critical:ui,registry:ne,scrollOptions:dn.scrollOptions})},Pr={updateDroppableIsEnabled:Qt,updateDroppableIsCombineEnabled:ir,scrollDroppable:Ar,updateDroppableScroll:or,startPublishing:_r,stopPublishing:Vr};return Pr},wa=function(ne,Ee){return ne.phase==="IDLE"?!0:ne.phase!=="DROP_ANIMATING"||ne.completed.result.draggableId===Ee?!1:ne.completed.result.reason==="DROP"},vi=function(ne){window.scrollBy(ne.x,ne.y)},Qa=C(function(He){return It(He).filter(function(ne){return ne.isEnabled?!!ne.frame:!1})}),za=function(ne,Ee){var it=ot(Qa(Ee),function(Nt){return Nt.frame||we(!1),Qn(Nt.frame.pageMarginBox)(ne)});return it},pa=function(ne){var Ee=ne.center,it=ne.destination,Nt=ne.droppables;if(it){var Qt=Nt[it];return Qt.frame?Qt:null}var ir=za(Ee,Nt);return ir},Ii={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},So=function(ne,Ee){var it=ne[Ee.size]*Ii.startFromPercentage,Nt=ne[Ee.size]*Ii.maxScrollAtPercentage,Qt={startScrollingFrom:it,maxScrollValueAt:Nt};return Qt},Wa=function(ne){var Ee=ne.startOfRange,it=ne.endOfRange,Nt=ne.current,Qt=it-Ee;if(Qt===0)return 0;var ir=Nt-Ee,or=ir/Qt;return or},ja=1,Ja=function(ne,Ee){if(ne>Ee.startScrollingFrom)return 0;if(ne<=Ee.maxScrollValueAt)return Ii.maxPixelScroll;if(ne===Ee.startScrollingFrom)return ja;var it=Wa({startOfRange:Ee.maxScrollValueAt,endOfRange:Ee.startScrollingFrom,current:ne}),Nt=1-it,Qt=Ii.maxPixelScroll*Ii.ease(Nt);return Math.ceil(Qt)},ho=Ii.durationDampening.accelerateAt,Ca=Ii.durationDampening.stopDampeningAt,to=function(ne,Ee){var it=Ee,Nt=Ca,Qt=Date.now(),ir=Qt-it;if(ir>=Ca)return ne;if(ir<ho)return ja;var or=Wa({startOfRange:ho,endOfRange:Nt,current:ir}),Ar=ne*Ii.ease(or);return Math.ceil(Ar)},Lo=function(ne){var Ee=ne.distanceToEdge,it=ne.thresholds,Nt=ne.dragStartTime,Qt=ne.shouldUseTimeDampening,ir=Ja(Ee,it);return ir===0?0:Qt?Math.max(to(ir,Nt),ja):ir},Ta=function(ne){var Ee=ne.container,it=ne.distanceToEdges,Nt=ne.dragStartTime,Qt=ne.axis,ir=ne.shouldUseTimeDampening,or=So(Ee,Qt),Ar=it[Qt.end]<it[Qt.start];return Ar?Lo({distanceToEdge:it[Qt.end],thresholds:or,dragStartTime:Nt,shouldUseTimeDampening:ir}):-1*Lo({distanceToEdge:it[Qt.start],thresholds:or,dragStartTime:Nt,shouldUseTimeDampening:ir})},Fi=function(ne){var Ee=ne.container,it=ne.subject,Nt=ne.proposedScroll,Qt=it.height>Ee.height,ir=it.width>Ee.width;return!ir&&!Qt?Nt:ir&&Qt?null:{x:ir?0:Nt.x,y:Qt?0:Nt.y}},$a=Mt(function(He){return He===0?0:He}),Ra=function(ne){var Ee=ne.dragStartTime,it=ne.container,Nt=ne.subject,Qt=ne.center,ir=ne.shouldUseTimeDampening,or={top:Qt.y-it.top,right:it.right-Qt.x,bottom:it.bottom-Qt.y,left:Qt.x-it.left},Ar=Ta({container:it,distanceToEdges:or,dragStartTime:Ee,axis:xe,shouldUseTimeDampening:ir}),Vr=Ta({container:it,distanceToEdges:or,dragStartTime:Ee,axis:je,shouldUseTimeDampening:ir}),Yr=$a({x:Vr,y:Ar});if(_e(Yr,vt))return null;var _r=Fi({container:it,subject:Nt,proposedScroll:Yr});return _r?_e(_r,vt)?null:_r:null},pi=Mt(function(He){return He===0?0:He>0?1:-1}),Gi=function(){var He=function(Ee,it){return Ee<0?Ee:Ee>it?Ee-it:0};return function(ne){var Ee=ne.current,it=ne.max,Nt=ne.change,Qt=Ge(Ee,Nt),ir={x:He(Qt.x,it.x),y:He(Qt.y,it.y)};return _e(ir,vt)?null:ir}}(),oo=function(ne){var Ee=ne.max,it=ne.current,Nt=ne.change,Qt={x:Math.max(it.x,Ee.x),y:Math.max(it.y,Ee.y)},ir=pi(Nt),or=Gi({max:Qt,current:it,change:ir});return or?ir.x!==0&&or.x===0?!0:ir.y!==0&&or.y===0:!0},go=function(ne,Ee){return oo({current:ne.scroll.current,max:ne.scroll.max,change:Ee})},fo=function(ne,Ee){if(!go(ne,Ee))return null;var it=ne.scroll.max,Nt=ne.scroll.current;return Gi({current:Nt,max:it,change:Ee})},Oa=function(ne,Ee){var it=ne.frame;return it?oo({current:it.scroll.current,max:it.scroll.max,change:Ee}):!1},Pi=function(ne,Ee){var it=ne.frame;return it&&Oa(ne,Ee)?Gi({current:it.scroll.current,max:it.scroll.max,change:Ee}):null},Ma=function(ne){var Ee=ne.viewport,it=ne.subject,Nt=ne.center,Qt=ne.dragStartTime,ir=ne.shouldUseTimeDampening,or=Ra({dragStartTime:Qt,container:Ee.frame,subject:it,center:Nt,shouldUseTimeDampening:ir});return or&&go(Ee,or)?or:null},Vo=function(ne){var Ee=ne.droppable,it=ne.subject,Nt=ne.center,Qt=ne.dragStartTime,ir=ne.shouldUseTimeDampening,or=Ee.frame;if(!or)return null;var Ar=Ra({dragStartTime:Qt,container:or.pageMarginBox,subject:it,center:Nt,shouldUseTimeDampening:ir});return Ar&&Oa(Ee,Ar)?Ar:null},ro=function(ne){var Ee=ne.state,it=ne.dragStartTime,Nt=ne.shouldUseTimeDampening,Qt=ne.scrollWindow,ir=ne.scrollDroppable,or=Ee.current.page.borderBoxCenter,Ar=Ee.dimensions.draggables[Ee.critical.draggable.id],Vr=Ar.page.marginBox;if(Ee.isWindowScrollAllowed){var Yr=Ee.viewport,_r=Ma({dragStartTime:it,viewport:Yr,subject:Vr,center:or,shouldUseTimeDampening:Nt});if(_r){Qt(_r);return}}var Pr=pa({center:or,destination:gn(Ee.impact),droppables:Ee.dimensions.droppables});if(!Pr)return;var Jr=Vo({dragStartTime:it,droppable:Pr,subject:Vr,center:or,shouldUseTimeDampening:Nt});Jr&&ir(Pr.descriptor.id,Jr)},vo=function(ne){var Ee=ne.scrollWindow,it=ne.scrollDroppable,Nt=D(Ee),Qt=D(it),ir=null,or=function(_r){ir||we(!1);var Pr=ir,Jr=Pr.shouldUseTimeDampening,dn=Pr.dragStartTime;ro({state:_r,scrollWindow:Nt,scrollDroppable:Qt,dragStartTime:dn,shouldUseTimeDampening:Jr})},Ar=function(_r){Ki(),ir&&we(!1);var Pr=Date.now(),Jr=!1,dn=function(){Jr=!0};ro({state:_r,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dn,scrollDroppable:dn}),ir={dragStartTime:Pr,shouldUseTimeDampening:Jr},Co(),Jr&&or(_r)},Vr=function(){if(!ir)return;Nt.cancel(),Qt.cancel(),ir=null};return{start:Ar,stop:Vr,scroll:or}},po=function(ne){var Ee=ne.move,it=ne.scrollDroppable,Nt=ne.scrollWindow,Qt=function(Yr,_r){var Pr=Ge(Yr.current.client.selection,_r);Ee({client:Pr})},ir=function(Yr,_r){if(!Oa(Yr,_r))return _r;var Pr=Pi(Yr,_r);if(!Pr)return it(Yr.descriptor.id,_r),null;var Jr=At(_r,Pr);it(Yr.descriptor.id,Jr);var dn=At(_r,Jr);return dn},or=function(Yr,_r,Pr){if(!Yr)return Pr;if(!go(_r,Pr))return Pr;var Jr=fo(_r,Pr);if(!Jr)return Nt(Pr),null;var dn=At(Pr,Jr);Nt(dn);var pn=At(Pr,dn);return pn},Ar=function(Yr){var _r=Yr.scrollJumpRequest;if(!_r)return;var Pr=gn(Yr.impact);Pr||we(!1);var Jr=ir(Yr.dimensions.droppables[Pr],_r);if(!Jr)return;var dn=Yr.viewport,pn=or(Yr.isWindowScrollAllowed,dn,Jr);if(!pn)return;Qt(Yr,pn)};return Ar},Zi=function(ne){var Ee=ne.scrollDroppable,it=ne.scrollWindow,Nt=ne.move,Qt=vo({scrollWindow:it,scrollDroppable:Ee}),ir=po({move:Nt,scrollWindow:it,scrollDroppable:Ee}),or=function(Yr){if(Yr.phase!=="DRAGGING")return;if(Yr.movementMode==="FLUID"){Qt.scroll(Yr);return}if(!Yr.scrollJumpRequest)return;ir(Yr)},Ar={scroll:or,start:Qt.start,stop:Qt.stop};return Ar},xo="data-rbd",is=function(){var He=xo+"-drag-handle";return{base:He,draggableId:He+"-draggable-id",contextId:He+"-context-id"}}(),$o=function(){var He=xo+"-draggable";return{base:He,contextId:He+"-context-id",id:He+"-id"}}(),Ns=function(){var He=xo+"-droppable";return{base:He,contextId:He+"-context-id",id:He+"-id"}}(),Cs={contextId:xo+"-scroll-container-context-id"},Os=function(ne){return function(Ee){return"["+Ee+'="'+ne+'"]'}},Go=function(ne,Ee){return ne.map(function(it){var Nt=it.styles[Ee];return Nt?it.selector+" { "+Nt+" }":""}).join(" ")},bo="pointer-events: none;",Za=function(ne){var Ee=Os(ne),it=function(){var Ar=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:Ee(is.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:Ar,dragging:bo,dropAnimating:Ar}}}(),Nt=function(){var Ar=`
|
|
|
transition: `+Bn.outOfTheWay+`;
|
|
|
`;return{selector:Ee($o.contextId),styles:{dragging:Ar,dropAnimating:Ar,userCancel:Ar}}}(),Qt={selector:Ee(Ns.contextId),styles:{always:"overflow-anchor: none;"}},ir={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;
|
|
|
`}},or=[Nt,it,Qt,ir];return{always:Go(or,"always"),resting:Go(or,"resting"),dragging:Go(or,"dragging"),dropAnimating:Go(or,"dropAnimating"),userCancel:Go(or,"userCancel")}},Ga=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?d.useLayoutEffect:d.useEffect,so=function(){var ne=document.querySelector("head");return ne||we(!1),ne},ps=function(ne){var Ee=document.createElement("style");return ne&&Ee.setAttribute("nonce",ne),Ee.type="text/css",Ee};function wr(He,ne){var Ee=a(function(){return Za(He)},[He]),it=Object(d.useRef)(null),Nt=Object(d.useRef)(null),Qt=s(C(function(_r){var Pr=Nt.current;Pr||we(!1),Pr.textContent=_r}),[]),ir=s(function(_r){var Pr=it.current;Pr||we(!1),Pr.textContent=_r},[]);Ga(function(){!it.current&&!Nt.current||we(!1);var _r=ps(ne),Pr=ps(ne);return it.current=_r,Nt.current=Pr,_r.setAttribute(xo+"-always",He),Pr.setAttribute(xo+"-dynamic",He),so().appendChild(_r),so().appendChild(Pr),ir(Ee.always),Qt(Ee.resting),function(){var Jr=function(pn){var ei=pn.current;ei||we(!1),so().removeChild(ei),pn.current=null};Jr(it),Jr(Nt)}},[ne,ir,Qt,Ee.always,Ee.resting,He]);var or=s(function(){return Qt(Ee.dragging)},[Qt,Ee.dragging]),Ar=s(function(_r){if(_r==="DROP"){Qt(Ee.dropAnimating);return}Qt(Ee.userCancel)},[Qt,Ee.dropAnimating,Ee.userCancel]),Vr=s(function(){if(!Nt.current)return;Qt(Ee.resting)},[Qt,Ee.resting]),Yr=a(function(){return{dragging:or,dropping:Ar,resting:Vr}},[or,Ar,Vr]);return Yr}var Yo=function(ne){return ne&&ne.ownerDocument?ne.ownerDocument.defaultView:window};function ss(He){return He instanceof Yo(He).HTMLElement}function Ls(He,ne){var Ee="["+is.contextId+'="'+He+'"]',it=Pe(document.querySelectorAll(Ee));if(!it.length)return null;var Nt=ot(it,function(Qt){return Qt.getAttribute(is.draggableId)===ne});return Nt&&ss(Nt)?Nt:null}function Fa(He){var ne=Object(d.useRef)({}),Ee=Object(d.useRef)(null),it=Object(d.useRef)(null),Nt=Object(d.useRef)(!1),Qt=s(function(Pr,Jr){var dn={id:Pr,focus:Jr};return ne.current[Pr]=dn,function(){var ei=ne.current,ui=ei[Pr];ui!==dn&&delete ei[Pr]}},[]),ir=s(function(Pr){var Jr=Ls(He,Pr);Jr&&Jr!==document.activeElement&&Jr.focus()},[He]),or=s(function(Pr,Jr){Ee.current===Pr&&(Ee.current=Jr)},[]),Ar=s(function(){if(it.current)return;if(!Nt.current)return;it.current=requestAnimationFrame(function(){it.current=null;var Pr=Ee.current;Pr&&ir(Pr)})},[ir]),Vr=s(function(Pr){Ee.current=null;var Jr=document.activeElement;if(!Jr)return;if(Jr.getAttribute(is.draggableId)!==Pr)return;Ee.current=Pr},[]);Ga(function(){return Nt.current=!0,function(){Nt.current=!1;var Pr=it.current;Pr&&cancelAnimationFrame(Pr)}},[]);var Yr=a(function(){return{register:Qt,tryRecordFocus:Vr,tryRestoreFocusRecorded:Ar,tryShiftRecord:or}},[Qt,Vr,Ar,or]);return Yr}function La(){var He={draggables:{},droppables:{}},ne=[];function Ee(_r){return ne.push(_r),function(){var Jr=ne.indexOf(_r);if(Jr===-1)return;ne.splice(Jr,1)}}function it(_r){ne.length&&ne.forEach(function(Pr){return Pr(_r)})}function Nt(_r){return He.draggables[_r]||null}function Qt(_r){var Pr=Nt(_r);return Pr||we(!1),Pr}var ir={register:function(Pr){He.draggables[Pr.descriptor.id]=Pr,it({type:"ADDITION",value:Pr})},update:function(Pr,Jr){var dn=He.draggables[Jr.descriptor.id];if(!dn)return;if(dn.uniqueId!==Pr.uniqueId)return;delete He.draggables[Jr.descriptor.id],He.draggables[Pr.descriptor.id]=Pr},unregister:function(Pr){var Jr=Pr.descriptor.id,dn=Nt(Jr);if(!dn)return;if(Pr.uniqueId!==dn.uniqueId)return;delete He.draggables[Jr],it({type:"REMOVAL",value:Pr})},getById:Qt,findById:Nt,exists:function(Pr){return Boolean(Nt(Pr))},getAllByType:function(Pr){return oe(He.draggables).filter(function(Jr){return Jr.descriptor.type===Pr})}};function or(_r){return He.droppables[_r]||null}function Ar(_r){var Pr=or(_r);return Pr||we(!1),Pr}var Vr={register:function(Pr){He.droppables[Pr.descriptor.id]=Pr},unregister:function(Pr){var Jr=or(Pr.descriptor.id);if(!Jr)return;if(Pr.uniqueId!==Jr.uniqueId)return;delete He.droppables[Pr.descriptor.id]},getById:Ar,findById:or,exists:function(Pr){return Boolean(or(Pr))},getAllByType:function(Pr){return oe(He.droppables).filter(function(Jr){return Jr.descriptor.type===Pr})}};function Yr(){He.draggables={},He.droppables={},ne.length=0}return{draggable:ir,droppable:Vr,subscribe:Ee,clean:Yr}}function Io(){var He=a(La,[]);return Object(d.useEffect)(function(){return function(){requestAnimationFrame(He.clean)}},[He]),He}var To=E.a.createContext(null),ts=function(){var ne=document.body;return ne||we(!1),ne},_o={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rs=function(ne){return"rbd-announcement-"+ne};function ms(He){var ne=a(function(){return rs(He)},[He]),Ee=Object(d.useRef)(null);Object(d.useEffect)(function(){var Qt=document.createElement("div");return Ee.current=Qt,Qt.id=ne,Qt.setAttribute("aria-live","assertive"),Qt.setAttribute("aria-atomic","true"),Object(p.a)(Qt.style,_o),ts().appendChild(Qt),function(){setTimeout(function(){var Ar=ts();Ar.contains(Qt)&&Ar.removeChild(Qt),Qt===Ee.current&&(Ee.current=null)})}},[ne]);var it=s(function(Nt){var Qt=Ee.current;if(Qt){Qt.textContent=Nt;return}},[]);return it}var ls=0,Ds={separator:"::"};function Rs(){ls=0}function as(He,ne){return ne===void 0&&(ne=Ds),a(function(){return""+He+ne.separator+ls++},[ne.separator,He])}function Zs(He){var ne=He.contextId,Ee=He.uniqueId;return"rbd-hidden-text-"+ne+"-"+Ee}function us(He){var ne=He.contextId,Ee=He.text,it=as("hidden-text",{separator:"-"}),Nt=a(function(){return Zs({contextId:ne,uniqueId:it})},[it,ne]);return Object(d.useEffect)(function(){var ir=document.createElement("div");return ir.id=Nt,ir.textContent=Ee,ir.style.display="none",ts().appendChild(ir),function(){var Ar=ts();Ar.contains(ir)&&Ar.removeChild(ir)}},[Nt,Ee]),Nt}var Bo=E.a.createContext(null),Rn={react:"^16.8.5","react-dom":"^16.8.5"},Vs=/(\d+)\.(\d+)\.(\d+)/,Is=function(ne){var Ee=Vs.exec(ne);Ee!=null||we(!1);var it=Number(Ee[1]),Nt=Number(Ee[2]),Qt=Number(Ee[3]);return{major:it,minor:Nt,patch:Qt,raw:ne}},Dt=function(ne,Ee){return Ee.major>ne.major?!0:Ee.major<ne.major?!1:Ee.minor>ne.minor?!0:Ee.minor<ne.minor?!1:Ee.patch>=ne.patch},re=function(ne,Ee){var it=Is(ne),Nt=Is(Ee);if(Dt(it,Nt))return},ce=`
|
|
|
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
|
|
|
`,pe=function(ne){var Ee=ne.doctype;if(!Ee)return;Ee.name.toLowerCase()!=="html",Ee.publicId!==""};function Le(He){}function ct(He,ne){Le(function(){Object(d.useEffect)(function(){try{He()}catch(Ee){_(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+Ee.message+`
|
|
|
`)}},ne)})}function Rt(){ct(function(){re(Rn.react,E.a.version),pe(document)},[])}function cr(He){var ne=Object(d.useRef)(He);return Object(d.useEffect)(function(){ne.current=He}),ne}function gr(){var He=null;function ne(){return Boolean(He)}function Ee(ir){return ir===He}function it(ir){He&&we(!1);var or={abandon:ir};return He=or,or}function Nt(){He||we(!1),He=null}function Qt(){He&&(He.abandon(),Nt())}return{isClaimed:ne,isActive:Ee,claim:it,release:Nt,tryAbandon:Qt}}var Br=9,qr=13,ln=27,An=32,Cn=33,Xn=34,ti=35,wi=36,ea=37,ji=38,Sa=39,lo=40,Ka,Ao=(Ka={},Ka[qr]=!0,Ka[Br]=!0,Ka),yo=function(ne){Ao[ne.keyCode]&&ne.preventDefault()},qa=function(){var He="visibilitychange";if(typeof document=="undefined")return He;var ne=[He,"ms"+He,"webkit"+He,"moz"+He,"o"+He],Ee=ot(ne,function(it){return"on"+it in document});return Ee||He}(),Fo=0,Do=5;function Ha(He,ne){return Math.abs(ne.x-He.x)>=Do||Math.abs(ne.y-He.y)>=Do}var jo={type:"IDLE"};function Po(He){var ne=He.cancel,Ee=He.completed,it=He.getPhase,Nt=He.setPhase;return[{eventName:"mousemove",fn:function(ir){var or=ir.button,Ar=ir.clientX,Vr=ir.clientY;if(or!==Fo)return;var Yr={x:Ar,y:Vr},_r=it();if(_r.type==="DRAGGING"){ir.preventDefault(),_r.actions.move(Yr);return}_r.type==="PENDING"||we(!1);var Pr=_r.point;if(!Ha(Pr,Yr))return;ir.preventDefault();var Jr=_r.actions.fluidLift(Yr);Nt({type:"DRAGGING",actions:Jr})}},{eventName:"mouseup",fn:function(ir){var or=it();if(or.type!=="DRAGGING"){ne();return}ir.preventDefault(),or.actions.drop({shouldBlockNextClick:!0}),Ee()}},{eventName:"mousedown",fn:function(ir){it().type==="DRAGGING"&&ir.preventDefault(),ne()}},{eventName:"keydown",fn:function(ir){var or=it();if(or.type==="PENDING"){ne();return}if(ir.keyCode===ln){ir.preventDefault(),ne();return}yo(ir)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){it().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(ir){var or=it();if(or.type!=="IDLE"||we(!1),or.actions.shouldRespectForcePress()){ne();return}ir.preventDefault()}},{eventName:qa,fn:ne}]}function Xo(He){var ne=Object(d.useRef)(jo),Ee=Object(d.useRef)(Q),it=a(function(){return{eventName:"mousedown",fn:function(_r){if(_r.defaultPrevented)return;if(_r.button!==Fo)return;if(_r.ctrlKey||_r.metaKey||_r.shiftKey||_r.altKey)return;var Pr=He.findClosestDraggableId(_r);if(!Pr)return;var Jr=He.tryGetLock(Pr,ir,{sourceEvent:_r});if(!Jr)return;_r.preventDefault();var dn={x:_r.clientX,y:_r.clientY};Ee.current(),Vr(Jr,dn)}}},[He]),Nt=a(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(_r){if(_r.defaultPrevented)return;var Pr=He.findClosestDraggableId(_r);if(!Pr)return;var Jr=He.findOptionsForDraggable(Pr);if(!Jr)return;if(Jr.shouldRespectForcePress)return;if(!He.canGetLock(Pr))return;_r.preventDefault()}}},[He]),Qt=s(function(){var _r={passive:!1,capture:!0};Ee.current=he(window,[Nt,it],_r)},[Nt,it]),ir=s(function(){var Yr=ne.current;if(Yr.type==="IDLE")return;ne.current=jo,Ee.current(),Qt()},[Qt]),or=s(function(){var Yr=ne.current;ir(),Yr.type==="DRAGGING"&&Yr.actions.cancel({shouldBlockNextClick:!0}),Yr.type==="PENDING"&&Yr.actions.abort()},[ir]),Ar=s(function(){var _r={capture:!0,passive:!1},Pr=Po({cancel:or,completed:ir,getPhase:function(){return ne.current},setPhase:function(dn){ne.current=dn}});Ee.current=he(window,Pr,_r)},[or,ir]),Vr=s(function(_r,Pr){ne.current.type==="IDLE"||we(!1),ne.current={type:"PENDING",point:Pr,actions:_r},Ar()},[Ar]);Ga(function(){return Qt(),function(){Ee.current()}},[Qt])}var wo;function cs(){}var ns=(wo={},wo[Xn]=!0,wo[Cn]=!0,wo[wi]=!0,wo[ti]=!0,wo);function Ys(He,ne){function Ee(){ne(),He.cancel()}function it(){ne(),He.drop()}return[{eventName:"keydown",fn:function(Qt){if(Qt.keyCode===ln){Qt.preventDefault(),Ee();return}if(Qt.keyCode===An){Qt.preventDefault(),it();return}if(Qt.keyCode===lo){Qt.preventDefault(),He.moveDown();return}if(Qt.keyCode===ji){Qt.preventDefault(),He.moveUp();return}if(Qt.keyCode===Sa){Qt.preventDefault(),He.moveRight();return}if(Qt.keyCode===ea){Qt.preventDefault(),He.moveLeft();return}if(ns[Qt.keyCode]){Qt.preventDefault();return}yo(Qt)}},{eventName:"mousedown",fn:Ee},{eventName:"mouseup",fn:Ee},{eventName:"click",fn:Ee},{eventName:"touchstart",fn:Ee},{eventName:"resize",fn:Ee},{eventName:"wheel",fn:Ee,options:{passive:!0}},{eventName:qa,fn:Ee}]}function Qs(He){var ne=Object(d.useRef)(cs),Ee=a(function(){return{eventName:"keydown",fn:function(Qt){if(Qt.defaultPrevented)return;if(Qt.keyCode!==An)return;var ir=He.findClosestDraggableId(Qt);if(!ir)return;var or=He.tryGetLock(ir,Yr,{sourceEvent:Qt});if(!or)return;Qt.preventDefault();var Ar=!0,Vr=or.snapLift();ne.current();function Yr(){Ar||we(!1),Ar=!1,ne.current(),it()}ne.current=he(window,Ys(Vr,Yr),{capture:!0,passive:!1})}}},[He]),it=s(function(){var Qt={passive:!1,capture:!0};ne.current=he(window,[Ee],Qt)},[Ee]);Ga(function(){return it(),function(){ne.current()}},[it])}var Qo={type:"IDLE"},Eo=120,ds=.15;function hs(He){var ne=He.cancel,Ee=He.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(Nt){Nt.preventDefault()}},{eventName:"keydown",fn:function(Nt){if(Ee().type!=="DRAGGING"){ne();return}Nt.keyCode===ln&&Nt.preventDefault(),ne()}},{eventName:qa,fn:ne}]}function Ms(He){var ne=He.cancel,Ee=He.completed,it=He.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Qt){var ir=it();if(ir.type!=="DRAGGING"){ne();return}ir.hasMoved=!0;var or=Qt.touches[0],Ar=or.clientX,Vr=or.clientY,Yr={x:Ar,y:Vr};Qt.preventDefault(),ir.actions.move(Yr)}},{eventName:"touchend",fn:function(Qt){var ir=it();if(ir.type!=="DRAGGING"){ne();return}Qt.preventDefault(),ir.actions.drop({shouldBlockNextClick:!0}),Ee()}},{eventName:"touchcancel",fn:function(Qt){if(it().type!=="DRAGGING"){ne();return}Qt.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(Qt){var ir=it();ir.type!=="IDLE"||we(!1);var or=Qt.touches[0];if(!or)return;var Ar=or.force>=ds;if(!Ar)return;var Vr=ir.actions.shouldRespectForcePress();if(ir.type==="PENDING"){Vr&&ne();return}if(Vr){if(ir.hasMoved){Qt.preventDefault();return}ne();return}Qt.preventDefault()}},{eventName:qa,fn:ne}]}function Ro(He){var ne=Object(d.useRef)(Qo),Ee=Object(d.useRef)(Q),it=s(function(){return ne.current},[]),Nt=s(function(Jr){ne.current=Jr},[]),Qt=a(function(){return{eventName:"touchstart",fn:function(Jr){if(Jr.defaultPrevented)return;var dn=He.findClosestDraggableId(Jr);if(!dn)return;var pn=He.tryGetLock(dn,or,{sourceEvent:Jr});if(!pn)return;var ei=Jr.touches[0],ui=ei.clientX,ii=ei.clientY,$i={x:ui,y:ii};Ee.current(),_r(pn,$i)}}},[He]),ir=s(function(){var Jr={capture:!0,passive:!1};Ee.current=he(window,[Qt],Jr)},[Qt]),or=s(function(){var Pr=ne.current;if(Pr.type==="IDLE")return;Pr.type==="PENDING"&&clearTimeout(Pr.longPressTimerId),Nt(Qo),Ee.current(),ir()},[ir,Nt]),Ar=s(function(){var Pr=ne.current;or(),Pr.type==="DRAGGING"&&Pr.actions.cancel({shouldBlockNextClick:!0}),Pr.type==="PENDING"&&Pr.actions.abort()},[or]),Vr=s(function(){var Jr={capture:!0,passive:!1},dn={cancel:Ar,completed:or,getPhase:it},pn=he(window,Ms(dn),Jr),ei=he(window,hs(dn),Jr);Ee.current=function(){pn(),ei()}},[Ar,it,or]),Yr=s(function(){var Jr=it();Jr.type==="PENDING"||we(!1);var dn=Jr.actions.fluidLift(Jr.point);Nt({type:"DRAGGING",actions:dn,hasMoved:!1})},[it,Nt]),_r=s(function(Jr,dn){it().type==="IDLE"||we(!1);var pn=setTimeout(Yr,Eo);Nt({type:"PENDING",point:dn,actions:Jr,longPressTimerId:pn}),Vr()},[Vr,it,Nt,Yr]);Ga(function(){return ir(),function(){Ee.current();var dn=it();dn.type==="PENDING"&&(clearTimeout(dn.longPressTimerId),Nt(Qo))}},[it,ir,Nt]),Ga(function(){var Jr=he(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Jr},[])}function As(He){Le(function(){var ne=cr(He);ct(function(){ne.current.length===He.length||we(!1)})})}var Bs={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ys(He,ne){if(ne==null)return!1;var Ee=Boolean(Bs[ne.tagName.toLowerCase()]);if(Ee)return!0;var it=ne.getAttribute("contenteditable");return it==="true"||it===""?!0:ne===He?!1:ys(He,ne.parentElement)}function Fs(He,ne){var Ee=ne.target;return ss(Ee)?ys(He,Ee):!1}var Hs=function(ne){return n(ne.getBoundingClientRect()).center};function bs(He){return He instanceof Yo(He).Element}var ca=function(){var He="matches";if(typeof document=="undefined")return He;var ne=[He,"msMatchesSelector","webkitMatchesSelector"],Ee=ot(ne,function(it){return it in Element.prototype});return Ee||He}();function ci(He,ne){return He==null?null:He[ca](ne)?He:ci(He.parentElement,ne)}function _i(He,ne){return He.closest?He.closest(ne):ci(He,ne)}function Kn(He){return"["+is.contextId+'="'+He+'"]'}function io(He,ne){var Ee=ne.target;if(!bs(Ee))return null;var it=Kn(He),Nt=_i(Ee,it);return Nt&&ss(Nt)?Nt:null}function Jo(He,ne){var Ee=io(He,ne);return Ee?Ee.getAttribute(is.draggableId):null}function gs(He,ne){var Ee="["+$o.contextId+'="'+He+'"]',it=Pe(document.querySelectorAll(Ee)),Nt=ot(it,function(Qt){return Qt.getAttribute($o.id)===ne});return Nt&&ss(Nt)?Nt:null}function os(He){He.preventDefault()}function Zo(He){var ne=He.expected,Ee=He.phase,it=He.isLockActive,Nt=He.shouldWarn;return it()?!(ne!==Ee):!1}function qo(He){var ne=He.lockAPI,Ee=He.store,it=He.registry,Nt=He.draggableId;if(ne.isClaimed())return!1;var Qt=it.draggable.findById(Nt);return Qt&&Qt.options.isEnabled?!!wa(Ee.getState(),Nt):!1}function ws(He){var ne=He.lockAPI,Ee=He.contextId,it=He.store,Nt=He.registry,Qt=He.draggableId,ir=He.forceSensorStop,or=He.sourceEvent,Ar=qo({lockAPI:ne,store:it,registry:Nt,draggableId:Qt});if(!Ar)return null;var Vr=Nt.draggable.getById(Qt),Yr=gs(Ee,Vr.descriptor.id);if(!Yr)return null;if(or&&!Vr.options.canDragInteractiveElements&&Fs(Yr,or))return null;var _r=ne.claim(ir||Q),Pr="PRE_DRAG";function Jr(){return Vr.options.shouldRespectForcePress}function dn(){return ne.isActive(_r)}function pn(Ei,uo){Zo({expected:Ei,phase:Pr,isLockActive:dn,shouldWarn:!0})&&it.dispatch(uo())}var ei=pn.bind(null,"DRAGGING");function ui(Ei){function uo(){ne.release(),Pr="COMPLETED"}Pr!=="PRE_DRAG"&&(uo(),Pr==="PRE_DRAG"||we(!1)),it.dispatch(tr(Ei.liftActionArgs)),Pr="DRAGGING";function zo(ao,ko){if(ko===void 0&&(ko={shouldBlockNextClick:!1}),Ei.cleanup(),ko.shouldBlockNextClick){var m=he(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(m)}uo(),it.dispatch(Ht({reason:ao}))}return Object(p.a)({isActive:function(){return Zo({expected:"DRAGGING",phase:Pr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Jr,drop:function(ko){return zo("DROP",ko)},cancel:function(ko){return zo("CANCEL",ko)}},Ei.actions)}function ii(Ei){var uo=D(function(ao){ei(function(){return Zt({client:ao})})}),zo=ui({liftActionArgs:{id:Qt,clientSelection:Ei,movementMode:"FLUID"},cleanup:function(){return uo.cancel()},actions:{move:uo}});return Object(p.a)({},zo,{move:uo})}function $i(){var Ei={moveUp:function(){return ei(br)},moveRight:function(){return ei(Wr)},moveDown:function(){return ei(xr)},moveLeft:function(){return ei($r)}};return ui({liftActionArgs:{id:Qt,clientSelection:Hs(Yr),movementMode:"SNAP"},cleanup:Q,actions:Ei})}function Si(){var Ei=Zo({expected:"PRE_DRAG",phase:Pr,isLockActive:dn,shouldWarn:!0});Ei&&ne.release()}var Va={isActive:function(){return Zo({expected:"PRE_DRAG",phase:Pr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Jr,fluidLift:ii,snapLift:$i,abort:Si};return Va}var Ho=[Xo,Qs,Ro];function sl(He){var ne=He.contextId,Ee=He.store,it=He.registry,Nt=He.customSensors,Qt=He.enableDefaultSensors,ir=[].concat(Qt?Ho:[],Nt||[]),or=Object(d.useState)(function(){return gr()})[0],Ar=s(function(ii,$i){ii.isDragging&&!$i.isDragging&&or.tryAbandon()},[or]);Ga(function(){var ii=Ee.getState(),$i=Ee.subscribe(function(){var Si=Ee.getState();Ar(ii,Si),ii=Si});return $i},[or,Ee,Ar]),Ga(function(){return or.tryAbandon},[or.tryAbandon]);var Vr=s(function(ui){return qo({lockAPI:or,registry:it,store:Ee,draggableId:ui})},[or,it,Ee]),Yr=s(function(ui,ii,$i){return ws({lockAPI:or,registry:it,contextId:ne,store:Ee,draggableId:ui,forceSensorStop:ii,sourceEvent:$i&&$i.sourceEvent?$i.sourceEvent:null})},[ne,or,it,Ee]),_r=s(function(ui){return Jo(ne,ui)},[ne]),Pr=s(function(ui){var ii=it.draggable.findById(ui);return ii?ii.options:null},[it.draggable]),Jr=s(function(){if(!or.isClaimed())return;or.tryAbandon(),Ee.getState().phase!=="IDLE"&&Ee.dispatch(Zr())},[or,Ee]),dn=s(or.isClaimed,[or]),pn=a(function(){return{canGetLock:Vr,tryGetLock:Yr,findClosestDraggableId:_r,findOptionsForDraggable:Pr,tryReleaseLock:Jr,isLockClaimed:dn}},[Vr,Yr,_r,Pr,Jr,dn]);As(ir);for(var ei=0;ei<ir.length;ei++)ir[ei](pn)}var kl=function(ne){return{onBeforeCapture:ne.onBeforeCapture,onBeforeDragStart:ne.onBeforeDragStart,onDragStart:ne.onDragStart,onDragEnd:ne.onDragEnd,onDragUpdate:ne.onDragUpdate}};function ll(He){return He.current||we(!1),He.current}function Nl(He){var ne=He.contextId,Ee=He.setCallbacks,it=He.sensors,Nt=He.nonce,Qt=He.dragHandleUsageInstructions,ir=Object(d.useRef)(null);Rt();var or=cr(He),Ar=s(function(){return kl(or.current)},[or]),Vr=ms(ne),Yr=us({contextId:ne,text:Qt}),_r=wr(ne,Nt),Pr=s(function(ao){ll(ir).dispatch(ao)},[]),Jr=a(function(){return Object(A.b)({publishWhileDragging:Ur,updateDroppableScroll:hn,updateDroppableIsEnabled:Ue,updateDroppableIsCombineEnabled:Bt,collectionStarting:Kr},Pr)},[Pr]),dn=Io(),pn=a(function(){return ka(dn,Jr)},[dn,Jr]),ei=a(function(){return Zi(Object(p.a)({scrollWindow:vi,scrollDroppable:pn.scrollDroppable},Object(A.b)({move:Zt},Pr)))},[pn.scrollDroppable,Pr]),ui=Fa(ne),ii=a(function(){return gi({announce:Vr,autoScroller:ei,dimensionMarshal:pn,focusMarshal:ui,getResponders:Ar,styleMarshal:_r})},[Vr,ei,pn,ui,Ar,_r]);ir.current=ii;var $i=s(function(){var ao=ll(ir),ko=ao.getState();ko.phase!=="IDLE"&&ao.dispatch(Zr())},[]),Si=s(function(){var ao=ll(ir).getState();return ao.isDragging||ao.phase==="DROP_ANIMATING"},[]),Va=a(function(){return{isDragging:Si,tryAbort:$i}},[Si,$i]);Ee(Va);var Ei=s(function(ao){return wa(ll(ir).getState(),ao)},[]),uo=s(function(){return Jn(ll(ir).getState())},[]),zo=a(function(){return{marshal:pn,focus:ui,contextId:ne,canLift:Ei,isMovementAllowed:uo,dragHandleUsageInstructionsId:Yr,registry:dn}},[ne,pn,Yr,ui,Ei,uo,dn]);return sl({contextId:ne,store:ii,registry:dn,customSensors:it,enableDefaultSensors:He.enableDefaultSensors!==!1}),Object(d.useEffect)(function(){return $i},[$i]),E.a.createElement(Bo.Provider,{value:zo},E.a.createElement(b.a,{context:To,store:ii},He.children))}var Ts=0;function Gs(){Ts=0}function qs(){return a(function(){return""+Ts++},[])}function jl(){Gs(),Rs()}function Hl(He){var ne=qs(),Ee=He.dragHandleUsageInstructions||ht.dragHandleUsageInstructions;return E.a.createElement(Ke,null,function(it){return E.a.createElement(Nl,{nonce:He.nonce,contextId:ne,setCallbacks:it,dragHandleUsageInstructions:Ee,enableDefaultSensors:He.enableDefaultSensors,sensors:He.sensors,onBeforeCapture:He.onBeforeCapture,onBeforeDragStart:He.onBeforeDragStart,onDragStart:He.onDragStart,onDragUpdate:He.onDragUpdate,onDragEnd:He.onDragEnd},He.children)})}var Dl=function(ne){return function(Ee){return ne===Ee}},ru=Dl("scroll"),nu=Dl("auto"),es=Dl("visible"),el=function(ne,Ee){return Ee(ne.overflowX)||Ee(ne.overflowY)},iu=function(ne,Ee){return Ee(ne.overflowX)&&Ee(ne.overflowY)},Rl=function(ne){var Ee=window.getComputedStyle(ne),it={overflowX:Ee.overflowX,overflowY:Ee.overflowY};return el(it,ru)||el(it,nu)},Ml=function(){return!1;var ne,Ee;if(!Rl(ne))return!1;var it,Nt;if(iu(Nt,es))return!1},yl=function He(ne){return ne==null?null:ne===document.body?Ml()?ne:null:ne===document.documentElement?null:Rl(ne)?ne:He(ne.parentElement)},zl=function(ne){if(!ne)return;var Ee=yl(ne.parentElement);if(!Ee)return},ul=function(ne){return{x:ne.scrollLeft,y:ne.scrollTop}},Wl=function He(ne){if(!ne)return!1;var Ee=window.getComputedStyle(ne);return Ee.position==="fixed"?!0:He(ne.parentElement)},au=function(ne){var Ee=yl(ne),it=Wl(ne);return{closestScrollable:Ee,isFixedOnPage:it}},ou=function(ne){var Ee=ne.descriptor,it=ne.isEnabled,Nt=ne.isCombineEnabled,Qt=ne.isFixedOnPage,ir=ne.direction,or=ne.client,Ar=ne.page,Vr=ne.closest,Yr=function(){if(!Vr)return null;var dn=Vr.scrollSize,pn=Vr.client,ei=ra({scrollHeight:dn.scrollHeight,scrollWidth:dn.scrollWidth,height:pn.paddingBox.height,width:pn.paddingBox.width});return{pageMarginBox:Vr.page.marginBox,frameClient:pn,scrollSize:dn,shouldClipSubject:Vr.shouldClipSubject,scroll:{initial:Vr.scroll,current:Vr.scroll,max:ei,diff:{value:vt,displacement:vt}}}}(),_r=ir==="vertical"?xe:je,Pr=et({page:Ar,withPlaceholder:null,axis:_r,frame:Yr}),Jr={descriptor:Ee,isCombineEnabled:Nt,isFixedOnPage:Qt,axis:_r,isEnabled:it,client:or,page:Ar,frame:Yr,subject:Pr};return Jr},Ps=function(ne,Ee){var it=O(ne);if(!Ee)return it;if(ne!==Ee)return it;var Nt=it.paddingBox.top-Ee.scrollTop,Qt=it.paddingBox.left-Ee.scrollLeft,ir=Nt+Ee.scrollHeight,or=Qt+Ee.scrollWidth,Ar={top:Nt,right:or,bottom:ir,left:Qt},Vr=u(Ar,it.border),Yr=f({borderBox:Vr,margin:it.margin,border:it.border,padding:it.padding});return Yr},tl=function(ne){var Ee=ne.ref,it=ne.descriptor,Nt=ne.env,Qt=ne.windowScroll,ir=ne.direction,or=ne.isDropDisabled,Ar=ne.isCombineEnabled,Vr=ne.shouldClipSubject,Yr=Nt.closestScrollable,_r=Ps(Ee,Yr),Pr=S(_r,Qt),Jr=function(){if(!Yr)return null;var pn=O(Yr),ei={scrollHeight:Yr.scrollHeight,scrollWidth:Yr.scrollWidth};return{client:pn,page:S(pn,Qt),scroll:ul(Yr),scrollSize:ei,shouldClipSubject:Vr}}(),dn=ou({descriptor:it,isEnabled:!or,isCombineEnabled:Ar,isFixedOnPage:Nt.isFixedOnPage,direction:ir,client:_r,page:Pr,closest:Jr});return dn},bl={passive:!1},cl={passive:!0},Ss=function(ne){return ne.shouldPublishImmediately?bl:cl};function zs(He){var ne=Object(d.useContext)(He);return ne||we(!1),ne}var rl=function(ne){return ne&&ne.env.closestScrollable||null};function Us(He){var ne=Object(d.useRef)(null),Ee=zs(Bo),it=as("droppable"),Nt=Ee.registry,Qt=Ee.marshal,ir=cr(He),or=a(function(){return{id:He.droppableId,type:He.type,mode:He.mode}},[He.droppableId,He.mode,He.type]),Ar=Object(d.useRef)(or),Vr=a(function(){return C(function(Si,Va){ne.current||we(!1);var Ei={x:Si,y:Va};Qt.updateDroppableScroll(or.id,Ei)})},[or.id,Qt]),Yr=s(function(){var Si=ne.current;return!Si||!Si.env.closestScrollable?vt:ul(Si.env.closestScrollable)},[]),_r=s(function(){var Si=Yr();Vr(Si.x,Si.y)},[Yr,Vr]),Pr=a(function(){return D(_r)},[_r]),Jr=s(function(){var Si=ne.current,Va=rl(Si);Si&&Va||we(!1);var Ei=Si.scrollOptions;if(Ei.shouldPublishImmediately){_r();return}Pr()},[Pr,_r]),dn=s(function(Si,Va){ne.current&&we(!1);var Ei=ir.current,uo=Ei.getDroppableRef();uo||we(!1);var zo=au(uo),ao={ref:uo,descriptor:or,env:zo,scrollOptions:Va};ne.current=ao;var ko=tl({ref:uo,descriptor:or,env:zo,windowScroll:Si,direction:Ei.direction,isDropDisabled:Ei.isDropDisabled,isCombineEnabled:Ei.isCombineEnabled,shouldClipSubject:!Ei.ignoreContainerClipping}),m=zo.closestScrollable;return m&&(m.setAttribute(Cs.contextId,Ee.contextId),m.addEventListener("scroll",Jr,Ss(ao.scrollOptions))),ko},[Ee.contextId,or,Jr,ir]),pn=s(function(){var Si=ne.current,Va=rl(Si);return Si&&Va||we(!1),ul(Va)},[]),ei=s(function(){var Si=ne.current;Si||we(!1);var Va=rl(Si);if(ne.current=null,!Va)return;Pr.cancel(),Va.removeAttribute(Cs.contextId),Va.removeEventListener("scroll",Jr,Ss(Si.scrollOptions))},[Jr,Pr]),ui=s(function(Si){var Va=ne.current;Va||we(!1);var Ei=rl(Va);Ei||we(!1),Ei.scrollTop+=Si.y,Ei.scrollLeft+=Si.x},[]),ii=a(function(){return{getDimensionAndWatchScroll:dn,getScrollWhileDragging:pn,dragStopped:ei,scroll:ui}},[ei,dn,pn,ui]),$i=a(function(){return{uniqueId:it,descriptor:or,callbacks:ii}},[ii,or,it]);Ga(function(){return Ar.current=$i.descriptor,Nt.droppable.register($i),function(){ne.current&&ei(),Nt.droppable.unregister($i)}},[ii,or,ei,$i,Qt,Nt.droppable]),Ga(function(){if(!ne.current)return;Qt.updateDroppableIsEnabled(Ar.current.id,!He.isDropDisabled)},[He.isDropDisabled,Qt]),Ga(function(){if(!ne.current)return;Qt.updateDroppableIsCombineEnabled(Ar.current.id,He.isCombineEnabled)},[He.isCombineEnabled,Qt])}function wl(){}var Bl={width:0,height:0,margin:Ot},Kl=function(ne){var Ee=ne.isAnimatingOpenOnMount,it=ne.placeholder,Nt=ne.animate;return Ee||Nt==="close"?Bl:{height:it.client.borderBox.height,width:it.client.borderBox.width,margin:it.client.margin}},Sl=function(ne){var Ee=ne.isAnimatingOpenOnMount,it=ne.placeholder,Nt=ne.animate,Qt=Kl({isAnimatingOpenOnMount:Ee,placeholder:it,animate:Nt});return{display:it.display,boxSizing:"border-box",width:Qt.width,height:Qt.height,marginTop:Qt.margin.top,marginRight:Qt.margin.right,marginBottom:Qt.margin.bottom,marginLeft:Qt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Nt!=="none"?Bn.placeholder:null}};function Xs(He){var ne=Object(d.useRef)(null),Ee=s(function(){if(!ne.current)return;clearTimeout(ne.current),ne.current=null},[]),it=He.animate,Nt=He.onTransitionEnd,Qt=He.onClose,ir=He.contextId,or=Object(d.useState)(He.animate==="open"),Ar=or[0],Vr=or[1];Object(d.useEffect)(function(){return Ar?it!=="open"?(Ee(),Vr(!1),wl):ne.current?wl:(ne.current=setTimeout(function(){ne.current=null,Vr(!1)}),Ee):wl},[it,Ar,Ee]);var Yr=s(function(Pr){if(Pr.propertyName!=="height")return;Nt(),it==="close"&&Qt()},[it,Qt,Nt]),_r=Sl({isAnimatingOpenOnMount:Ar,animate:He.animate,placeholder:He.placeholder});return E.a.createElement(He.placeholder.tagName,{style:_r,"data-rbd-placeholder-context-id":ir,onTransitionEnd:Yr,ref:He.innerRef})}var dl=E.a.memo(Xs),nl=E.a.createContext(null);function hl(He){He&&ss(He)||we(!1)}function xl(He){return typeof He=="boolean"}function Ws(He,ne){ne.forEach(function(Ee){return Ee(He)})}var Vl=[function(ne){var Ee=ne.props;Ee.droppableId||we(!1),typeof Ee.droppableId=="string"||we(!1)},function(ne){var Ee=ne.props;xl(Ee.isDropDisabled)||we(!1),xl(Ee.isCombineEnabled)||we(!1),xl(Ee.ignoreContainerClipping)||we(!1)},function(ne){var Ee=ne.getDroppableRef;hl(Ee())}],El=[function(ne){var Ee=ne.props,it=ne.getPlaceholderRef;if(!Ee.placeholder)return;var Nt=it();if(Nt)return}],fl=[function(ne){var Ee=ne.props;Ee.renderClone||we(!1)},function(ne){var Ee=ne.getPlaceholderRef;Ee()&&we(!1)}];function Cl(He){ct(function(){Ws(He,Vl),He.props.mode==="standard"&&Ws(He,El),He.props.mode==="virtual"&&Ws(He,fl)})}var Yl=function(He){Object(g.a)(ne,He);function ne(){for(var it,Nt=arguments.length,Qt=new Array(Nt),ir=0;ir<Nt;ir++)Qt[ir]=arguments[ir];return it=He.call.apply(He,[this].concat(Qt))||this,it.state={isVisible:Boolean(it.props.on),data:it.props.on,animate:it.props.shouldAnimate&&it.props.on?"open":"none"},it.onClose=function(){if(it.state.animate!=="close")return;it.setState({isVisible:!1})},it}ne.getDerivedStateFromProps=function(Nt,Qt){return Nt.shouldAnimate?Nt.on?{isVisible:!0,data:Nt.on,animate:"open"}:Qt.isVisible?{isVisible:!0,data:Qt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(Nt.on),data:Nt.on,animate:"none"}};var Ee=ne.prototype;return Ee.render=function(){if(!this.state.isVisible)return null;var Nt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Nt)},ne}(E.a.PureComponent),Fl={dragging:5e3,dropAnimating:4500},pl=function(ne,Ee){return Ee?Bn.drop(Ee.duration):ne?Bn.snap:Bn.fluid},Ql=function(ne,Ee){return ne?Ee?Hn.opacity.drop:Hn.opacity.combining:null},Js=function(ne){return ne.forceShouldAnimate!=null?ne.forceShouldAnimate:ne.mode==="SNAP"};function Gl(He){var ne=He.dimension,Ee=ne.client,it=He.offset,Nt=He.combineWith,Qt=He.dropping,ir=Boolean(Nt),or=Js(He),Ar=Boolean(Qt),Vr=Ar?Mn.drop(it,ir):Mn.moveTo(it),Yr={position:"fixed",top:Ee.marginBox.top,left:Ee.marginBox.left,boxSizing:"border-box",width:Ee.borderBox.width,height:Ee.borderBox.height,transition:pl(or,Qt),transform:Vr,opacity:Ql(ir,Ar),zIndex:Ar?Fl.dropAnimating:Fl.dragging,pointerEvents:"none"};return Yr}function Mo(He){return{transform:Mn.moveTo(He.offset),transition:He.shouldAnimateDisplacement?null:"none"}}function Ks(He){return He.type==="DRAGGING"?Gl(He):Mo(He)}function il(He,ne,Ee){Ee===void 0&&(Ee=vt);var it=window.getComputedStyle(ne),Nt=ne.getBoundingClientRect(),Qt=x(Nt,it),ir=S(Qt,Ee),or={client:Qt,tagName:ne.tagName.toLowerCase(),display:it.display},Ar={x:Qt.marginBox.width,y:Qt.marginBox.height},Vr={descriptor:He,placeholder:or,displaceBy:Ar,client:Qt,page:ir};return Vr}function _s(He){var ne=as("draggable"),Ee=He.descriptor,it=He.registry,Nt=He.getDraggableRef,Qt=He.canDragInteractiveElements,ir=He.shouldRespectForcePress,or=He.isEnabled,Ar=a(function(){return{canDragInteractiveElements:Qt,shouldRespectForcePress:ir,isEnabled:or}},[Qt,or,ir]),Vr=s(function(Jr){var dn=Nt();return dn||we(!1),il(Ee,dn,Jr)},[Ee,Nt]),Yr=a(function(){return{uniqueId:ne,descriptor:Ee,options:Ar,getDimension:Vr}},[Ee,Vr,Ar,ne]),_r=Object(d.useRef)(Yr),Pr=Object(d.useRef)(!0);Ga(function(){return it.draggable.register(_r.current),function(){return it.draggable.unregister(_r.current)}},[it.draggable]),Ga(function(){if(Pr.current){Pr.current=!1;return}var Jr=_r.current;_r.current=Yr,it.draggable.update(Yr,Jr)},[Yr,it.draggable])}function ks(He,ne,Ee){ct(function(){function it(Qt){return"Draggable[id: "+Qt+"]: "}var Nt=He.draggableId;if(Nt||we(!1),typeof Nt=="string"||we(!1),Ze(He.index)||we(!1),He.mapped.type==="DRAGGING")return;hl(Ee()),He.isEnabled&&(Ls(ne,Nt)||we(!1))})}function ml(He){Le(function(){var ne=Object(d.useRef)(He);ct(function(){He===ne.current||we(!1)},[He])})}function xs(He){He.preventDefault()}function al(He){var ne=Object(d.useRef)(null),Ee=s(function(ao){ne.current=ao},[]),it=s(function(){return ne.current},[]),Nt=zs(Bo),Qt=Nt.contextId,ir=Nt.dragHandleUsageInstructionsId,or=Nt.registry,Ar=zs(nl),Vr=Ar.type,Yr=Ar.droppableId,_r=a(function(){return{id:He.draggableId,index:He.index,type:Vr,droppableId:Yr}},[He.draggableId,He.index,Vr,Yr]),Pr=He.children,Jr=He.draggableId,dn=He.isEnabled,pn=He.shouldRespectForcePress,ei=He.canDragInteractiveElements,ui=He.isClone,ii=He.mapped,$i=He.dropAnimationFinished;if(ks(He,Qt,it),ml(ui),!ui){var Si=a(function(){return{descriptor:_r,registry:or,getDraggableRef:it,canDragInteractiveElements:ei,shouldRespectForcePress:pn,isEnabled:dn}},[_r,or,it,ei,pn,dn]);_s(Si)}var Va=a(function(){return dn?{tabIndex:0,role:"button","aria-describedby":ir,"data-rbd-drag-handle-draggable-id":Jr,"data-rbd-drag-handle-context-id":Qt,draggable:!1,onDragStart:xs}:null},[Qt,ir,Jr,dn]),Ei=s(function(ao){if(ii.type!=="DRAGGING")return;if(!ii.dropping)return;if(ao.propertyName!=="transform")return;$i()},[$i,ii]),uo=a(function(){var ao=Ks(ii),ko=ii.type==="DRAGGING"&&ii.dropping?Ei:null,m={innerRef:Ee,draggableProps:{"data-rbd-draggable-context-id":Qt,"data-rbd-draggable-id":Jr,style:ao,onTransitionEnd:ko},dragHandleProps:Va};return m},[Qt,Va,Jr,ii,Ei,Ee]),zo=a(function(){return{draggableId:_r.id,type:_r.type,source:{index:_r.index,droppableId:_r.droppableId}}},[_r.droppableId,_r.id,_r.index,_r.type]);return Pr(uo,ii.snapshot,zo)}var $s=function(ne,Ee){return ne===Ee},Pl=function(ne){var Ee=ne.combine,it=ne.destination;return it?it.droppableId:Ee?Ee.droppableId:null},Ol=function(ne){return ne.combine?ne.combine.draggableId:null},gl=function(ne){return ne.at&&ne.at.type==="COMBINE"?ne.at.combine.draggableId:null};function Xl(){var He=C(function(Nt,Qt){return{x:Nt,y:Qt}}),ne=C(function(Nt,Qt,ir,or,Ar){return{isDragging:!0,isClone:Qt,isDropAnimating:Boolean(Ar),dropAnimation:Ar,mode:Nt,draggingOver:ir,combineWith:or,combineTargetFor:null}}),Ee=C(function(Nt,Qt,ir,or,Ar,Vr,Yr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Ar,combineWith:Vr,mode:Qt,offset:Nt,dimension:ir,forceShouldAnimate:Yr,snapshot:ne(Qt,or,Ar,Vr,null)}}}),it=function(Qt,ir){if(Qt.isDragging){if(Qt.critical.draggable.id!==ir.draggableId)return null;var or=Qt.current.client.offset,Ar=Qt.dimensions.draggables[ir.draggableId],Vr=gn(Qt.impact),Yr=gl(Qt.impact),_r=Qt.forceShouldAnimate;return Ee(He(or.x,or.y),Qt.movementMode,Ar,ir.isClone,Vr,Yr,_r)}if(Qt.phase==="DROP_ANIMATING"){var Pr=Qt.completed;if(Pr.result.draggableId!==ir.draggableId)return null;var Jr=ir.isClone,dn=Qt.dimensions.draggables[ir.draggableId],pn=Pr.result,ei=pn.mode,ui=Pl(pn),ii=Ol(pn),$i=Qt.dropDuration,Si={duration:$i,curve:wn.drop,moveTo:Qt.newHomeClientOffset,opacity:ii?Hn.opacity.drop:null,scale:ii?Hn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Qt.newHomeClientOffset,dimension:dn,dropping:Si,draggingOver:ui,combineWith:ii,mode:ei,forceShouldAnimate:null,snapshot:ne(ei,Jr,ui,ii,Si)}}}return null};return it}function Ul(He){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:He,combineWith:null}}var vl={mapped:{type:"SECONDARY",offset:vt,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ul(null)}};function Jl(){var He=C(function(ir,or){return{x:ir,y:or}}),ne=C(Ul),Ee=C(function(ir,or,Ar){return or===void 0&&(or=null),{mapped:{type:"SECONDARY",offset:ir,combineTargetFor:or,shouldAnimateDisplacement:Ar,snapshot:ne(or)}}}),it=function(or){return or?Ee(vt,or,!0):null},Nt=function(or,Ar,Vr,Yr){var _r=Vr.displaced.visible[or],Pr=Boolean(Yr.inVirtualList&&Yr.effected[or]),Jr=hr(Vr),dn=Jr&&Jr.draggableId===or?Ar:null;if(!_r){if(!Pr)return it(dn);if(Vr.displaced.invisible[or])return null;var pn=De(Yr.displacedBy.point),ei=He(pn.x,pn.y);return Ee(ei,dn,!0)}if(Pr)return it(dn);var ui=Vr.displacedBy.point,ii=He(ui.x,ui.y);return Ee(ii,dn,_r.shouldAnimate)},Qt=function(or,Ar){if(or.isDragging)return or.critical.draggable.id===Ar.draggableId?null:Nt(Ar.draggableId,or.critical.draggable.id,or.impact,or.afterCritical);if(or.phase==="DROP_ANIMATING"){var Vr=or.completed;return Vr.result.draggableId===Ar.draggableId?null:Nt(Ar.draggableId,Vr.result.draggableId,Vr.impact,Vr.afterCritical)}return null};return Qt}var su=function(){var ne=Xl(),Ee=Jl(),it=function(Qt,ir){return ne(Qt,ir)||Ee(Qt,ir)||vl};return it},$l={dropAnimationFinished:yr},Zl=Object(b.c)(su,$l,null,{context:To,pure:!0,areStatePropsEqual:$s})(al);function Ll(He){var ne=zs(nl),Ee=ne.isUsingCloneFor;return Ee===He.draggableId&&!He.isClone?null:E.a.createElement(Zl,He)}function ql(He){var ne=typeof He.isDragDisabled=="boolean"?!He.isDragDisabled:!0,Ee=Boolean(He.disableInteractiveElementBlocking),it=Boolean(He.shouldRespectForcePress);return E.a.createElement(Ll,Object(p.a)({},He,{isClone:!1,isEnabled:ne,canDragInteractiveElements:Ee,shouldRespectForcePress:it}))}function lu(He){var ne=Object(d.useContext)(Bo);ne||we(!1);var Ee=ne.contextId,it=ne.isMovementAllowed,Nt=Object(d.useRef)(null),Qt=Object(d.useRef)(null),ir=He.children,or=He.droppableId,Ar=He.type,Vr=He.mode,Yr=He.direction,_r=He.ignoreContainerClipping,Pr=He.isDropDisabled,Jr=He.isCombineEnabled,dn=He.snapshot,pn=He.useClone,ei=He.updateViewportMaxScroll,ui=He.getContainerForClone,ii=s(function(){return Nt.current},[]),$i=s(function(I){Nt.current=I},[]),Si=s(function(){return Qt.current},[]),Va=s(function(I){Qt.current=I},[]);Cl({props:He,getDroppableRef:ii,getPlaceholderRef:Si});var Ei=s(function(){it()&&ei({maxScroll:Ya()})},[it,ei]);Us({droppableId:or,type:Ar,mode:Vr,direction:Yr,isDropDisabled:Pr,isCombineEnabled:Jr,ignoreContainerClipping:_r,getDroppableRef:ii});var uo=E.a.createElement(Yl,{on:He.placeholder,shouldAnimate:He.shouldAnimatePlaceholder},function(I){var W=I.onClose,V=I.data,q=I.animate;return E.a.createElement(dl,{placeholder:V,onClose:W,innerRef:Va,animate:q,contextId:Ee,onTransitionEnd:Ei})}),zo=a(function(){return{innerRef:$i,placeholder:uo,droppableProps:{"data-rbd-droppable-id":or,"data-rbd-droppable-context-id":Ee}}},[Ee,or,uo,$i]),ao=pn?pn.dragging.draggableId:null,ko=a(function(){return{droppableId:or,type:Ar,isUsingCloneFor:ao}},[or,ao,Ar]);function m(){if(!pn)return null;var I=pn.dragging,W=pn.render,V=E.a.createElement(Ll,{draggableId:I.draggableId,index:I.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(q,ve){return W(q,ve,I)});return R.a.createPortal(V,ui())}return E.a.createElement(nl.Provider,{value:ko},ir(zo,dn),m())}var Il=function(ne,Ee){return ne===Ee.droppable.type},js=function(ne,Ee){return Ee.draggables[ne.draggable.id]},Tl=function(){var ne={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Ee=Object(p.a)({},ne,{shouldAnimatePlaceholder:!1}),it=C(function(ir){return{draggableId:ir.id,type:ir.type,source:{index:ir.index,droppableId:ir.droppableId}}}),Nt=C(function(ir,or,Ar,Vr,Yr,_r){var Pr=Yr.descriptor.id,Jr=Yr.descriptor.droppableId===ir;if(Jr){var dn=_r?{render:_r,dragging:it(Yr.descriptor)}:null,pn={isDraggingOver:Ar,draggingOverWith:Ar?Pr:null,draggingFromThisWith:Pr,isUsingPlaceholder:!0};return{placeholder:Yr.placeholder,shouldAnimatePlaceholder:!1,snapshot:pn,useClone:dn}}if(!or)return Ee;if(!Vr)return ne;var ei={isDraggingOver:Ar,draggingOverWith:Pr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Yr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ei,useClone:null}}),Qt=function(or,Ar){var Vr=Ar.droppableId,Yr=Ar.type,_r=!Ar.isDropDisabled,Pr=Ar.renderClone;if(or.isDragging){var Jr=or.critical;if(!Il(Yr,Jr))return Ee;var dn=js(Jr,or.dimensions),pn=gn(or.impact)===Vr;return Nt(Vr,_r,pn,pn,dn,Pr)}if(or.phase==="DROP_ANIMATING"){var ei=or.completed;if(!Il(Yr,ei.critical))return Ee;var ui=js(ei.critical,or.dimensions);return Nt(Vr,_r,Pl(ei.result)===Vr,gn(ei.impact)===Vr,ui,Pr)}if(or.phase==="IDLE"&&or.completed&&!or.shouldFlush){var ii=or.completed;if(!Il(Yr,ii.critical))return Ee;var $i=gn(ii.impact)===Vr,Si=Boolean(ii.impact.at&&ii.impact.at.type==="COMBINE"),Va=ii.critical.droppable.id===Vr;return $i?Si?ne:Ee:Va?ne:Ee}return Ee};return Qt},Al={updateViewportMaxScroll:Tr};function uu(){return document.body||we(!1),document.body}var cu={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:uu},ol=Object(b.c)(Tl,Al,null,{context:To,pure:!0,areStatePropsEqual:$s})(lu);ol.defaultProps=cu},ni6a:function(J,F,e){var d=e("pzxd"),E=e("mFDi"),g=e("gut8"),p=g.WILL_BE_RESTORED,A=new E,b=function(){};b.prototype={constructor:b,drawRectText:function(r,a){var s=this.style;a=s.textRect||a,this.__dirty&&d.normalizeTextStyle(s,!0);var l=s.text;if(l!=null&&(l+=""),!d.needDrawText(l,s))return;r.save();var n=this.transform;s.transformText?this.setTransform(r):n&&(A.copy(a),A.applyTransform(n),a=A),d.renderText(this,r,l,s,a,p),r.restore()}};var h=b;J.exports=h},nkfE:function(J,F,e){var d=e("bYtY"),E=e("ca2m"),g=e("bLfw"),p=e("+TT/"),A=p.getLayoutParams,b=p.mergeLayoutParam,h=e("jkPA"),i=["value","category","time","log"];function r(a,s,l,n){d.each(i,function(u){s.extend({type:a+"Axis."+u,mergeDefaultAndTheme:function(t,c){var o=this.layoutMode,f=o?A(t):{},v=c.getTheme();d.merge(t,v.get(u+"Axis")),d.merge(t,this.getDefaultOption()),t.type=l(a,t),o&&b(t,f,o)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=h.createByAxisModel(this))},getCategories:function(t){var c=this.option;if(c.type==="category")return t?c.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:d.mergeAll([{},E[u+"Axis"],n],!0)})}),g.registerSubTypeDefaulter(a+"Axis",d.curry(l,a))}J.exports=r},noeP:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("UOVi");d.registerAction("dataZoom",function(p,A){var b=g.createLinkedNodesFinder(E.bind(A.eachComponent,A,"dataZoom"),g.eachAxisDim,function(i,r){return i.get(r.axisIndex)}),h=[];A.eachComponent({mainType:"dataZoom",query:p},function(i,r){h.push.apply(h,b(i).nodes)}),E.each(h,function(i,r){i.setRawRange({start:p.start,end:p.end,startValue:p.startValue,endValue:p.endValue})})})},"o/2+":function(J,F,e){"use strict";var d=e("q1tI"),E=e.n(d),g=Object(d.createContext)({});F.a=g},o40c:function(J,F,e){var d=e("IwbS"),E=e("OS9S"),g=e("loD1"),p=e("aKvl"),A=d.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(r,a){var s=a.segs,l=a.curveness;if(a.polyline)for(var n=0;n<s.length;){var u=s[n++];if(u>0){r.moveTo(s[n++],s[n++]);for(var t=1;t<u;t++)r.lineTo(s[n++],s[n++])}}else for(var n=0;n<s.length;){var c=s[n++],o=s[n++],f=s[n++],v=s[n++];if(r.moveTo(c,o),l>0){var y=(c+f)/2-(o-v)*l,L=(o+v)/2-(f-c)*l;r.quadraticCurveTo(y,L,f,v)}else r.lineTo(f,v)}},findDataIndex:function(r,a){var s=this.shape,l=s.segs,n=s.curveness;if(s.polyline)for(var u=0,t=0;t<l.length;){var c=l[t++];if(c>0)for(var o=l[t++],f=l[t++],v=1;v<c;v++){var y=l[t++],L=l[t++];if(g.containStroke(o,f,y,L))return u}u++}else for(var u=0,t=0;t<l.length;){var o=l[t++],f=l[t++],y=l[t++],L=l[t++];if(n>0){var S=(o+y)/2-(f-L)*n,x=(f+L)/2-(y-o)*n;if(p.containStroke(o,f,S,x,y,L))return u}else if(g.containStroke(o,f,y,L))return u;u++}return-1}});function b(){this.group=new d.Group}var h=b.prototype;h.isPersistent=function(){return!this._incremental},h.updateData=function(r){this.group.removeAll();var a=new A({rectHover:!0,cursor:"default"});a.setShape({segs:r.getLayout("linesPoints")}),this._setCommon(a,r),this.group.add(a),this._incremental=null},h.incrementalPrepareUpdate=function(r){this.group.removeAll(),this._clearIncremental(),r.count()>5e5?(this._incremental||(this._incremental=new E({silent:!0})),this.group.add(this._incremental)):this._incremental=null},h.incrementalUpdate=function(r,a){var s=new A;s.setShape({segs:a.getLayout("linesPoints")}),this._setCommon(s,a,!!this._incremental),this._incremental?this._incremental.addDisplayable(s,!0):(s.rectHover=!0,s.cursor="default",s.__startIndex=r.start,this.group.add(s))},h.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},h._setCommon=function(r,a,s){var l=a.hostModel;r.setShape({polyline:l.get("polyline"),curveness:l.get("lineStyle.curveness")}),r.useStyle(l.getModel("lineStyle").getLineStyle()),r.style.strokeNoScale=!0;var n=a.getVisual("color");n&&r.setStyle("stroke",n),r.setStyle("fill"),s||(r.seriesIndex=l.seriesIndex,r.on("mousemove",function(u){r.dataIndex=null;var t=r.findDataIndex(u.offsetX,u.offsetY);t>0&&(r.dataIndex=t+r.__startIndex)}))},h._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var i=b;J.exports=i},oBaM:function(J,F,e){var d=e("T4UG"),E=e("5GtS"),g=e("bYtY"),p=e("7aKB"),A=p.encodeHTML,b=e("xKMd"),h=d.extend({type:"series.radar",dependencies:["radar"],init:function(r){h.superApply(this,"init",arguments),this.legendVisualProvider=new b(g.bind(this.getData,this),g.bind(this.getRawData,this))},getInitialData:function(r,a){return E(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(r){var a=this.getData(),s=this.coordinateSystem,l=s.getIndicatorAxes(),n=this.getData().getName(r);return A(n===""?this.name:n)+"<br/>"+g.map(l,function(u,t){var c=a.get(a.mapDimension(u.dim),r);return A(u.name+" : "+c)}).join("<br />")},getTooltipPosition:function(r){if(r!=null){for(var a=this.getData(),s=this.coordinateSystem,l=a.getValues(g.map(s.dimensions,function(c){return a.mapDimension(c)}),r,!0),n=0,u=l.length;n<u;n++)if(!isNaN(l[n])){var t=s.getIndicatorAxes();return s.coordToPoint(t[n].dataToCoord(l[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}}),i=h;J.exports=i},oE7X:function(J,F,e){var d=e("bLfw");d.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(J,F,e){},oVpE:function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("mFDi"),p=e("6GrX"),A=p.calculateTextPosition,b=E.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(c,o){var f=o.cx,v=o.cy,y=o.width/2,L=o.height/2;c.moveTo(f,v-L),c.lineTo(f+y,v+L),c.lineTo(f-y,v+L),c.closePath()}}),h=E.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(c,o){var f=o.cx,v=o.cy,y=o.width/2,L=o.height/2;c.moveTo(f,v-L),c.lineTo(f+y,v),c.lineTo(f,v+L),c.lineTo(f-y,v),c.closePath()}}),i=E.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(c,o){var f=o.x,v=o.y,y=o.width/5*3,L=Math.max(y,o.height),S=y/2,x=S*S/(L-S),O=v-L+S+x,T=Math.asin(x/S),w=Math.cos(T)*S,C=Math.sin(T),N=Math.cos(T),D=S*.6,B=S*.7;c.moveTo(f-w,O+x),c.arc(f,O,S,Math.PI-T,Math.PI*2+T),c.bezierCurveTo(f+w-C*D,O+x+N*D,f,v-B,f,v),c.bezierCurveTo(f,v-B,f-w+C*D,O+x+N*D,f-w,O+x),c.closePath()}}),r=E.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(c,o){var f=o.height,v=o.width,y=o.x,L=o.y,S=v/3*2;c.moveTo(y,L),c.lineTo(y+S,L+f),c.lineTo(y,L+f/4*3),c.lineTo(y-S,L+f),c.lineTo(y,L),c.closePath()}}),a={line:E.Line,rect:E.Rect,roundRect:E.Rect,square:E.Rect,circle:E.Circle,diamond:h,pin:i,arrow:r,triangle:b},s={line:function(c,o,f,v,y){y.x1=c,y.y1=o+v/2,y.x2=c+f,y.y2=o+v/2},rect:function(c,o,f,v,y){y.x=c,y.y=o,y.width=f,y.height=v},roundRect:function(c,o,f,v,y){y.x=c,y.y=o,y.width=f,y.height=v,y.r=Math.min(f,v)/4},square:function(c,o,f,v,y){var L=Math.min(f,v);y.x=c,y.y=o,y.width=L,y.height=L},circle:function(c,o,f,v,y){y.cx=c+f/2,y.cy=o+v/2,y.r=Math.min(f,v)/2},diamond:function(c,o,f,v,y){y.cx=c+f/2,y.cy=o+v/2,y.width=f,y.height=v},pin:function(c,o,f,v,y){y.x=c+f/2,y.y=o+v/2,y.width=f,y.height=v},arrow:function(c,o,f,v,y){y.x=c+f/2,y.y=o+v/2,y.width=f,y.height=v},triangle:function(c,o,f,v,y){y.cx=c+f/2,y.cy=o+v/2,y.width=f,y.height=v}},l={};d.each(a,function(c,o){l[o]=new c});var n=E.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(c,o,f){var v=A(c,o,f),y=this.shape;return y&&y.symbolType==="pin"&&o.textPosition==="inside"&&(v.y=f.y+f.height*.4),v},buildPath:function(c,o,f){var v=o.symbolType;if(v!=="none"){var y=l[v];y||(v="rect",y=l[v]),s[v](o.x,o.y,o.width,o.height,y.shape),y.buildPath(c,y.shape,f)}}});function u(c,o){if(this.type!=="image"){var f=this.style,v=this.shape;v&&v.symbolType==="line"?f.stroke=c:this.__isEmptyBrush?(f.stroke=c,f.fill=o||"#fff"):(f.fill&&(f.fill=c),f.stroke&&(f.stroke=c)),this.dirty(!1)}}function t(c,o,f,v,y,L,S){var x=c.indexOf("empty")===0;x&&(c=c.substr(5,1).toLowerCase()+c.substr(6));var O;return c.indexOf("image://")===0?O=E.makeImage(c.slice(8),new g(o,f,v,y),S?"center":"cover"):c.indexOf("path://")===0?O=E.makePath(c.slice(7),{},new g(o,f,v,y),S?"center":"cover"):O=new n({shape:{symbolType:c,x:o,y:f,width:v,height:y}}),O.__isEmptyBrush=x,O.setColor=u,O.setColor(L),O}F.createSymbol=t},oY9F:function(J,F,e){var d=e("OlYY"),E=d.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});J.exports=E},or5M:function(J,F,e){var d=e("1hJj"),E=e("QoRX"),g=e("xYSL"),p=1,A=2;function b(h,i,r,a,s,l){var n=r&p,u=h.length,t=i.length;if(u!=t&&!(n&&t>u))return!1;var c=l.get(h),o=l.get(i);if(c&&o)return c==i&&o==h;var f=-1,v=!0,y=r&A?new d:void 0;for(l.set(h,i),l.set(i,h);++f<u;){var L=h[f],S=i[f];if(a)var x=n?a(S,L,f,i,h,l):a(L,S,f,h,i,l);if(x!==void 0){if(x)continue;v=!1;break}if(y){if(!E(i,function(O,T){if(!g(y,T)&&(L===O||s(L,O,r,a,l)))return y.push(T)})){v=!1;break}}else if(!(L===S||s(L,S,r,a,l))){v=!1;break}}return l.delete(h),l.delete(i),v}J.exports=b},osHv:function(J,F,e){(function(d){d(e("VrN/"))})(function(d){"use strict";var E=d.Pos;function g(o,f){return o.line-f.line||o.ch-f.ch}var p="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",A=p+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",b=new RegExp("<(/?)(["+p+"]["+A+"]*)","g");function h(o,f,v,y){this.line=f,this.ch=v,this.cm=o,this.text=o.getLine(f),this.min=y?Math.max(y.from,o.firstLine()):o.firstLine(),this.max=y?Math.min(y.to-1,o.lastLine()):o.lastLine()}function i(o,f){var v=o.cm.getTokenTypeAt(E(o.line,f));return v&&/\btag\b/.test(v)}function r(o){return o.line>=o.max?void 0:(o.ch=0,o.text=o.cm.getLine(++o.line),!0)}function a(o){return o.line<=o.min?void 0:(o.text=o.cm.getLine(--o.line),o.ch=o.text.length,!0)}function s(o){for(;;){var f=o.text.indexOf(">",o.ch);if(f==-1){if(r(o))continue;return}if(!i(o,f+1)){o.ch=f+1;continue}var v=o.text.lastIndexOf("/",f),y=v>-1&&!/\S/.test(o.text.slice(v+1,f));return o.ch=f+1,y?"selfClose":"regular"}}function l(o){for(;;){var f=o.ch?o.text.lastIndexOf("<",o.ch-1):-1;if(f==-1){if(a(o))continue;return}if(!i(o,f+1)){o.ch=f;continue}b.lastIndex=f,o.ch=f;var v=b.exec(o.text);if(v&&v.index==f)return v}}function n(o){for(;;){b.lastIndex=o.ch;var f=b.exec(o.text);if(!f){if(r(o))continue;return}if(!i(o,f.index+1)){o.ch=f.index+1;continue}return o.ch=f.index+f[0].length,f}}function u(o){for(;;){var f=o.ch?o.text.lastIndexOf(">",o.ch-1):-1;if(f==-1){if(a(o))continue;return}if(!i(o,f+1)){o.ch=f;continue}var v=o.text.lastIndexOf("/",f),y=v>-1&&!/\S/.test(o.text.slice(v+1,f));return o.ch=f+1,y?"selfClose":"regular"}}function t(o,f){for(var v=[];;){var y=n(o),L,S=o.line,x=o.ch-(y?y[0].length:0);if(!y||!(L=s(o)))return;if(L=="selfClose")continue;if(y[1]){for(var O=v.length-1;O>=0;--O)if(v[O]==y[2]){v.length=O;break}if(O<0&&(!f||f==y[2]))return{tag:y[2],from:E(S,x),to:E(o.line,o.ch)}}else v.push(y[2])}}function c(o,f){for(var v=[];;){var y=u(o);if(!y)return;if(y=="selfClose"){l(o);continue}var L=o.line,S=o.ch,x=l(o);if(!x)return;if(x[1])v.push(x[2]);else{for(var O=v.length-1;O>=0;--O)if(v[O]==x[2]){v.length=O;break}if(O<0&&(!f||f==x[2]))return{tag:x[2],from:E(o.line,o.ch),to:E(L,S)}}}}d.registerHelper("fold","xml",function(o,f){for(var v=new h(o,f.line,0);;){var y=n(v);if(!y||v.line!=f.line)return;var L=s(v);if(!L)return;if(!y[1]&&L!="selfClose"){var S=E(v.line,v.ch),x=t(v,y[2]);return x&&g(x.from,S)>0?{from:S,to:x.from}:null}}}),d.findMatchingTag=function(o,f,v){var y=new h(o,f.line,f.ch,v);if(y.text.indexOf(">")==-1&&y.text.indexOf("<")==-1)return;var L=s(y),S=L&&E(y.line,y.ch),x=L&&l(y);if(!L||!x||g(y,f)>0)return;var O={from:E(y.line,y.ch),to:S,tag:x[2]};return L=="selfClose"?{open:O,close:null,at:"open"}:x[1]?{open:c(y,x[2]),close:O,at:"close"}:(y=new h(o,S.line,S.ch,v),{open:O,close:t(y,x[2]),at:"open"})},d.findEnclosingTag=function(o,f,v,y){for(var L=new h(o,f.line,f.ch,v);;){var S=c(L,y);if(!S)break;var x=new h(o,f.line,f.ch,v),O=t(x,S.tag);if(O)return{open:S,close:O}}},d.scanForClosingTag=function(o,f,v,y){var L=new h(o,f.line,f.ch,y?{from:0,to:y}:null);return t(L,v)}})},ozfa:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("KxFI"),p=e.n(g)},"p+If":function(J,F,e){var d=e("ProS");e("cpOr"),e("rkZ5");var E=e("ZYIC"),g=e("7ph2");d.registerLayout(E),d.registerVisual(g)},"p/La":function(J,F){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function d(E,g){E==="china"&&g.name==="\u53F0\u6E7E"&&g.geometries.push({type:"polygon",exterior:e[0]})}J.exports=d},p1MT:function(J,F,e){var d=e("Hw7h"),E=e("IwbS"),g=e("6Ic6"),p=e("OELB"),A=p.parsePercent,b=p.round,h=p.linearMap;function i(n,u){var t=n.get("center"),c=u.getWidth(),o=u.getHeight(),f=Math.min(c,o),v=A(t[0],u.getWidth()),y=A(t[1],u.getHeight()),L=A(n.get("radius"),f/2);return{cx:v,cy:y,r:L}}function r(n,u){return u&&(typeof u=="string"?n=u.replace("{value}",n!=null?n:""):typeof u=="function"&&(n=u(n))),n}var a=Math.PI*2,s=g.extend({type:"gauge",render:function(n,u,t){this.group.removeAll();var c=n.get("axisLine.lineStyle.color"),o=i(n,t);this._renderMain(n,u,t,c,o)},dispose:function(){},_renderMain:function(n,u,t,c,o){for(var f=this.group,v=n.getModel("axisLine"),y=v.getModel("lineStyle"),L=n.get("clockwise"),S=-n.get("startAngle")/180*Math.PI,x=-n.get("endAngle")/180*Math.PI,O=(x-S)%a,T=S,w=y.get("width"),C=v.get("show"),N=0;C&&N<c.length;N++){var D=Math.min(Math.max(c[N][0],0),1),x=S+O*D,B=new E.Sector({shape:{startAngle:T,endAngle:x,cx:o.cx,cy:o.cy,clockwise:L,r0:o.r-w,r:o.r},silent:!0});B.setStyle({fill:c[N][1]}),B.setStyle(y.getLineStyle(["color","borderWidth","borderColor"])),f.add(B),T=x}var R=function(M){if(M<=0)return c[0][1];for(var j=0;j<c.length;j++)if(c[j][0]>=M&&(j===0?0:c[j-1][0])<M)return c[j][1];return c[j-1][1]};if(!L){var U=S;S=x,x=U}this._renderTicks(n,u,t,R,o,S,x,L),this._renderPointer(n,u,t,R,o,S,x,L),this._renderTitle(n,u,t,R,o),this._renderDetail(n,u,t,R,o)},_renderTicks:function(n,u,t,c,o,f,v,y){for(var L=this.group,S=o.cx,x=o.cy,O=o.r,T=+n.get("min"),w=+n.get("max"),C=n.getModel("splitLine"),N=n.getModel("axisTick"),D=n.getModel("axisLabel"),B=n.get("splitNumber"),R=N.get("splitNumber"),U=A(C.get("length"),O),M=A(N.get("length"),O),j=f,P=(v-f)/B,K=P/R,H=C.getModel("lineStyle").getLineStyle(),k=N.getModel("lineStyle").getLineStyle(),Z=0;Z<=B;Z++){var Y=Math.cos(j),_=Math.sin(j);if(C.get("show")){var Q=new E.Line({shape:{x1:Y*O+S,y1:_*O+x,x2:Y*(O-U)+S,y2:_*(O-U)+x},style:H,silent:!0});H.stroke==="auto"&&Q.setStyle({stroke:c(Z/B)}),L.add(Q)}if(D.get("show")){var X=r(b(Z/B*(w-T)+T),D.get("formatter")),he=D.get("distance"),te=c(Z/B);L.add(new E.Text({style:E.setTextStyle({},D,{text:X,x:Y*(O-U-he)+S,y:_*(O-U-he)+x,textVerticalAlign:_<-.4?"top":_>.4?"bottom":"middle",textAlign:Y<-.4?"left":Y>.4?"right":"center"},{autoColor:te}),silent:!0}))}if(N.get("show")&&Z!==B){for(var fe=0;fe<=R;fe++){var Y=Math.cos(j),_=Math.sin(j),be=new E.Line({shape:{x1:Y*O+S,y1:_*O+x,x2:Y*(O-M)+S,y2:_*(O-M)+x},silent:!0,style:k});k.stroke==="auto"&&be.setStyle({stroke:c((Z+fe/R)/B)}),L.add(be),j+=K}j-=K}else j+=P}},_renderPointer:function(n,u,t,c,o,f,v,y){var L=this.group,S=this._data;if(!n.get("pointer.show")){S&&S.eachItemGraphicEl(function(C){L.remove(C)});return}var x=[+n.get("min"),+n.get("max")],O=[f,v],T=n.getData(),w=T.mapDimension("value");T.diff(S).add(function(C){var N=new d({shape:{angle:f}});E.initProps(N,{shape:{angle:h(T.get(w,C),x,O,!0)}},n),L.add(N),T.setItemGraphicEl(C,N)}).update(function(C,N){var D=S.getItemGraphicEl(N);E.updateProps(D,{shape:{angle:h(T.get(w,C),x,O,!0)}},n),L.add(D),T.setItemGraphicEl(C,D)}).remove(function(C){var N=S.getItemGraphicEl(C);L.remove(N)}).execute(),T.eachItemGraphicEl(function(C,N){var D=T.getItemModel(N),B=D.getModel("pointer");C.setShape({x:o.cx,y:o.cy,width:A(B.get("width"),o.r),r:A(B.get("length"),o.r)}),C.useStyle(D.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",c(h(T.get(w,N),x,[0,1],!0))),E.setHoverStyle(C,D.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(n,u,t,c,o){var f=n.getData(),v=f.mapDimension("value"),y=n.getModel("title");if(y.get("show")){var L=y.get("offsetCenter"),S=o.cx+A(L[0],o.r),x=o.cy+A(L[1],o.r),O=+n.get("min"),T=+n.get("max"),w=n.getData().get(v,0),C=c(h(w,[O,T],[0,1],!0));this.group.add(new E.Text({silent:!0,style:E.setTextStyle({},y,{x:S,y:x,text:f.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(n,u,t,c,o){var f=n.getModel("detail"),v=+n.get("min"),y=+n.get("max");if(f.get("show")){var L=f.get("offsetCenter"),S=o.cx+A(L[0],o.r),x=o.cy+A(L[1],o.r),O=A(f.get("width"),o.r),T=A(f.get("height"),o.r),w=n.getData(),C=w.get(w.mapDimension("value"),0),N=c(h(C,[v,y],[0,1],!0));this.group.add(new E.Text({silent:!0,style:E.setTextStyle({},f,{x:S,y:x,text:r(C,f.get("formatter")),textWidth:isNaN(O)?null:O,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:N,forceRich:!0})}))}}}),l=s;J.exports=l},"p77/":function(J,F,e){},pC0b:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("xzDV"),p=e.n(g),A=e("5Dmo")},"pED+":function(J,F,e){},pG52:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("WXVj"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},pLH3:function(J,F,e){var d=e("ProS");e("ALo7"),e("TWL2");var E=e("mOdp"),g=e("JLnu"),p=e("0/Rx");d.registerVisual(E("funnel")),d.registerLayout(g),d.registerProcessor(p("funnel"))},pP6R:function(J,F,e){var d=e("ProS"),E="\0_ec_interaction_mutex";function g(h,i,r){var a=b(h);a[i]=r}function p(h,i,r){var a=b(h),s=a[i];s===r&&(a[i]=null)}function A(h,i){return!!b(h)[i]}function b(h){return h[E]||(h[E]={})}d.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),F.take=g,F.release=p,F.isTaken=A},pSRY:function(J,F,e){var d=e("QkVE");function E(g){return d(this,g).has(g)}J.exports=E},pmaE:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("IwbS"),p=e("DEFe"),A="__seriesMapHighDown",b="__seriesMapCallKey",h=d.extendChartView({type:"map",render:function(a,s,l,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var u=this.group;if(u.removeAll(),a.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===a.id){var t=this._mapDraw;t&&u.add(t.group)}else if(a.needsDrawMap){var t=this._mapDraw||new p(l,!0);u.add(t.group),t.draw(a,s,l,this,n),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;a.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(a,s,l)},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(a,s,l){var n=a.originalData,u=this.group;n.each(n.mapDimension("value"),function(t,c){if(isNaN(t))return;var o=n.getItemLayout(c);if(!o||!o.point)return;var f=o.point,v=o.offset,y=new g.Circle({style:{fill:a.getData().getVisual("color")},shape:{cx:f[0]+v*9,cy:f[1],r:3},silent:!0,z2:8+(v?0:g.Z2_EMPHASIS_LIFT+1)});if(!v){var L=a.mainSeries.getData(),S=n.getName(c),x=L.indexOfName(S),O=n.getItemModel(c),T=O.getModel("label"),w=O.getModel("emphasis.label"),C=L.getItemGraphicEl(x),N=E.retrieve2(a.getFormattedLabel(x,"normal"),S),D=E.retrieve2(a.getFormattedLabel(x,"emphasis"),N),B=C[A],R=Math.random();if(!B){B=C[A]={};var U=E.curry(i,!0),M=E.curry(i,!1);C.on("mouseover",U).on("mouseout",M).on("emphasis",U).on("normal",M)}C[b]=R,E.extend(B,{recordVersion:R,circle:y,labelModel:T,hoverLabelModel:w,emphasisText:D,normalText:N}),r(B,!1)}u.add(y)})}});function i(a){var s=this[A];s&&s.recordVersion===this[b]&&r(s,a)}function r(a,s){var l=a.circle,n=a.labelModel,u=a.hoverLabelModel,t=a.emphasisText,c=a.normalText;s?(l.style.extendFrom(g.setTextStyle({},u,{text:u.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),l.__mapOriginalZ2=l.z2,l.z2+=g.Z2_EMPHASIS_LIFT):(g.setTextStyle(l.style,n,{text:n.get("show")?c:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),l.dirty(!1),l.__mapOriginalZ2!=null&&(l.z2=l.__mapOriginalZ2,l.__mapOriginalZ2=null))}J.exports=h},pwpV:function(J,F,e){},pzxd:function(J,F,e){var d=e("bYtY"),E=d.retrieve2,g=d.retrieve3,p=d.each,A=d.normalizeCssArray,b=d.isString,h=d.isObject,i=e("6GrX"),r=e("VpOo"),a=e("Xnb7"),s=e("fW2E"),l=e("gut8"),n=l.ContextCachedBy,u=l.WILL_BE_RESTORED,t=i.DEFAULT_FONT,c={left:1,right:1,center:1},o={top:1,bottom:1,middle:1},f=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],v={},y={};function L(Z){return S(Z),p(Z.rich,S),Z}function S(Z){if(Z){Z.font=i.makeFont(Z);var Y=Z.textAlign;Y==="middle"&&(Y="center"),Z.textAlign=Y==null||c[Y]?Y:"left";var _=Z.textVerticalAlign||Z.textBaseline;_==="center"&&(_="middle"),Z.textVerticalAlign=_==null||o[_]?_:"top";var Q=Z.textPadding;Q&&(Z.textPadding=A(Z.textPadding))}}function x(Z,Y,_,Q,X,he){Q.rich?T(Z,Y,_,Q,X,he):O(Z,Y,_,Q,X,he)}function O(Z,Y,_,Q,X,he){"use strict";var te=D(Q),fe,be=!1,we=Y.__attrCachedBy===n.PLAIN_TEXT;he!==u?(he&&(fe=he.style,be=!te&&we&&fe),Y.__attrCachedBy=te?n.NONE:n.PLAIN_TEXT):we&&(Y.__attrCachedBy=n.NONE);var Ke=Q.font||t;(!be||Ke!==(fe.font||t))&&(Y.font=Ke);var qe=Z.__computedFont;Z.__styleFont!==Ke&&(Z.__styleFont=Ke,qe=Z.__computedFont=Y.font);var xt=Q.textPadding,Fe=Q.textLineHeight,Be=Z.__textCotentBlock;(!Be||Z.__dirtyText)&&(Be=Z.__textCotentBlock=i.parsePlainText(_,qe,xt,Fe,Q.truncate));var bt=Be.outerHeight,lt=Be.lines,tt=Be.lineHeight,St=U(y,Z,Q,X),ht=St.baseX,vt=St.baseY,Ge=St.textAlign||"left",At=St.textVerticalAlign;C(Y,Q,X,ht,vt);var _e=i.adjustTextY(vt,bt,At),De=ht,Ie=_e;if(te||xt){var st=i.getWidth(_,qe),Et=st;xt&&(Et+=xt[1]+xt[3]);var Mt=i.adjustTextX(ht,Et,Ge);te&&B(Z,Y,Q,Mt,_e,Et,bt),xt&&(De=H(ht,Ge,xt),Ie+=xt[0])}Y.textAlign=Ge,Y.textBaseline="middle",Y.globalAlpha=Q.opacity||1;for(var Pt=0;Pt<f.length;Pt++){var ke=f[Pt],zt=ke[0],Ot=ke[1],_t=Q[zt];(!be||_t!==fe[zt])&&(Y[Ot]=s(Y,Ot,_t||ke[2]))}Ie+=tt/2;var Ve=Q.textStrokeWidth,Qe=be?fe.textStrokeWidth:null,et=!be||Ve!==Qe,dt=!be||et||Q.textStroke!==fe.textStroke,Ze=j(Q.textStroke,Ve),oe=P(Q.textFill);if(Ze&&(et&&(Y.lineWidth=Ve),dt&&(Y.strokeStyle=Ze)),oe&&((!be||Q.textFill!==fe.textFill)&&(Y.fillStyle=oe)),lt.length===1)Ze&&Y.strokeText(lt[0],De,Ie),oe&&Y.fillText(lt[0],De,Ie);else for(var Pt=0;Pt<lt.length;Pt++)Ze&&Y.strokeText(lt[Pt],De,Ie),oe&&Y.fillText(lt[Pt],De,Ie),Ie+=tt}function T(Z,Y,_,Q,X,he){he!==u&&(Y.__attrCachedBy=n.NONE);var te=Z.__textCotentBlock;(!te||Z.__dirtyText)&&(te=Z.__textCotentBlock=i.parseRichText(_,Q)),w(Z,Y,te,Q,X)}function w(Z,Y,_,Q,X){var he=_.width,te=_.outerWidth,fe=_.outerHeight,be=Q.textPadding,we=U(y,Z,Q,X),Ke=we.baseX,qe=we.baseY,xt=we.textAlign,Fe=we.textVerticalAlign;C(Y,Q,X,Ke,qe);var Be=i.adjustTextX(Ke,te,xt),bt=i.adjustTextY(qe,fe,Fe),lt=Be,tt=bt;be&&(lt+=be[3],tt+=be[0]);var St=lt+he;D(Q)&&B(Z,Y,Q,Be,bt,te,fe);for(var ht=0;ht<_.lines.length;ht++){for(var vt=_.lines[ht],Ge=vt.tokens,At=Ge.length,_e=vt.lineHeight,De=vt.width,Ie=0,st=lt,Et=St,Mt=At-1,Pt;Ie<At&&(Pt=Ge[Ie],!Pt.textAlign||Pt.textAlign==="left");)N(Z,Y,Pt,Q,_e,tt,st,"left"),De-=Pt.width,st+=Pt.width,Ie++;for(;Mt>=0&&(Pt=Ge[Mt],Pt.textAlign==="right");)N(Z,Y,Pt,Q,_e,tt,Et,"right"),De-=Pt.width,Et-=Pt.width,Mt--;for(st+=(he-(st-lt)-(St-Et)-De)/2;Ie<=Mt;)Pt=Ge[Ie],N(Z,Y,Pt,Q,_e,tt,st+Pt.width/2,"center"),st+=Pt.width,Ie++;tt+=_e}}function C(Z,Y,_,Q,X){if(_&&Y.textRotation){var he=Y.textOrigin;he==="center"?(Q=_.width/2+_.x,X=_.height/2+_.y):he&&(Q=he[0]+_.x,X=he[1]+_.y),Z.translate(Q,X),Z.rotate(-Y.textRotation),Z.translate(-Q,-X)}}function N(Z,Y,_,Q,X,he,te,fe){var be=Q.rich[_.styleName]||{};be.text=_.text;var we=_.textVerticalAlign,Ke=he+X/2;we==="top"?Ke=he+_.height/2:we==="bottom"&&(Ke=he+X-_.height/2),!_.isLineHolder&&D(be)&&B(Z,Y,be,fe==="right"?te-_.width:fe==="center"?te-_.width/2:te,Ke-_.height/2,_.width,_.height);var qe=_.textPadding;qe&&(te=H(te,fe,qe),Ke-=_.height/2-qe[2]-_.textHeight/2),M(Y,"shadowBlur",g(be.textShadowBlur,Q.textShadowBlur,0)),M(Y,"shadowColor",be.textShadowColor||Q.textShadowColor||"transparent"),M(Y,"shadowOffsetX",g(be.textShadowOffsetX,Q.textShadowOffsetX,0)),M(Y,"shadowOffsetY",g(be.textShadowOffsetY,Q.textShadowOffsetY,0)),M(Y,"textAlign",fe),M(Y,"textBaseline","middle"),M(Y,"font",_.font||t);var xt=j(be.textStroke||Q.textStroke,Be),Fe=P(be.textFill||Q.textFill),Be=E(be.textStrokeWidth,Q.textStrokeWidth);xt&&(M(Y,"lineWidth",Be),M(Y,"strokeStyle",xt),Y.strokeText(_.text,te,Ke)),Fe&&(M(Y,"fillStyle",Fe),Y.fillText(_.text,te,Ke))}function D(Z){return!!(Z.textBackgroundColor||Z.textBorderWidth&&Z.textBorderColor)}function B(Z,Y,_,Q,X,he,te){var fe=_.textBackgroundColor,be=_.textBorderWidth,we=_.textBorderColor,Ke=b(fe);if(M(Y,"shadowBlur",_.textBoxShadowBlur||0),M(Y,"shadowColor",_.textBoxShadowColor||"transparent"),M(Y,"shadowOffsetX",_.textBoxShadowOffsetX||0),M(Y,"shadowOffsetY",_.textBoxShadowOffsetY||0),Ke||be&&we){Y.beginPath();var qe=_.textBorderRadius;qe?r.buildPath(Y,{x:Q,y:X,width:he,height:te,r:qe}):Y.rect(Q,X,he,te),Y.closePath()}if(Ke)if(M(Y,"fillStyle",fe),_.fillOpacity!=null){var xt=Y.globalAlpha;Y.globalAlpha=_.fillOpacity*_.opacity,Y.fill(),Y.globalAlpha=xt}else Y.fill();else if(h(fe)){var Fe=fe.image;Fe=a.createOrUpdateImage(Fe,null,Z,R,fe),Fe&&a.isImageReady(Fe)&&Y.drawImage(Fe,Q,X,he,te)}if(be&&we)if(M(Y,"lineWidth",be),M(Y,"strokeStyle",we),_.strokeOpacity!=null){var xt=Y.globalAlpha;Y.globalAlpha=_.strokeOpacity*_.opacity,Y.stroke(),Y.globalAlpha=xt}else Y.stroke()}function R(Z,Y){Y.image=Z}function U(Z,Y,_,Q){var X=_.x||0,he=_.y||0,te=_.textAlign,fe=_.textVerticalAlign;if(Q){var be=_.textPosition;if(be instanceof Array)X=Q.x+K(be[0],Q.width),he=Q.y+K(be[1],Q.height);else{var we=Y&&Y.calculateTextPosition?Y.calculateTextPosition(v,_,Q):i.calculateTextPosition(v,_,Q);X=we.x,he=we.y,te=te||we.textAlign,fe=fe||we.textVerticalAlign}var Ke=_.textOffset;Ke&&(X+=Ke[0],he+=Ke[1])}return Z=Z||{},Z.baseX=X,Z.baseY=he,Z.textAlign=te,Z.textVerticalAlign=fe,Z}function M(Z,Y,_){return Z[Y]=s(Z,Y,_),Z[Y]}function j(Z,Y){return Z==null||Y<=0||Z==="transparent"||Z==="none"?null:Z.image||Z.colorStops?"#000":Z}function P(Z){return Z==null||Z==="none"?null:Z.image||Z.colorStops?"#000":Z}function K(Z,Y){return typeof Z=="string"?Z.lastIndexOf("%")>=0?parseFloat(Z)/100*Y:parseFloat(Z):Z}function H(Z,Y,_){return Y==="right"?Z-_[1]:Y==="center"?Z+_[3]/2-_[1]/2:Z+_[3]}function k(Z,Y){return Z!=null&&(Z||Y.textBackgroundColor||Y.textBorderWidth&&Y.textBorderColor||Y.textPadding)}F.normalizeTextStyle=L,F.renderText=x,F.getBoxPosition=U,F.getStroke=j,F.getFill=P,F.parsePercent=K,F.needDrawText=k},"q/+u":function(J,F,e){var d=e("ProS"),E=e("9wZj"),g=e("yWXo"),p=e("h8O9");d.extendChartView({type:"scatter",render:function(A,b,h){var i=A.getData(),r=this._updateSymbolDraw(i,A);r.updateData(i,{clipShape:this._getClipShape(A)}),this._finished=!0},incrementalPrepareRender:function(A,b,h){var i=A.getData(),r=this._updateSymbolDraw(i,A);r.incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(A,b,h){this._symbolDraw.incrementalUpdate(A,b.getData(),{clipShape:this._getClipShape(b)}),this._finished=A.end===b.getData().count()},updateTransform:function(A,b,h){var i=A.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=p().reset(A);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(A){var b=A.coordinateSystem,h=b&&b.getArea&&b.getArea();return A.get("clip",!0)?h:null},_updateSymbolDraw:function(A,b){var h=this._symbolDraw,i=b.pipelineContext,r=i.large;return(!h||r!==this._isLargeDraw)&&(h&&h.remove(),h=this._symbolDraw=r?new g:new E,this._isLargeDraw=r,this.group.removeAll()),this.group.add(h.group),h},remove:function(A,b){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(J,F){var e=["lineStyle","normal","opacity"],d={seriesType:"parallel",reset:function(E,g,p){var A=E.getModel("itemStyle"),b=E.getModel("lineStyle"),h=g.get("color"),i=b.get("color")||A.get("color")||h[E.seriesIndex%h.length],r=E.get("inactiveOpacity"),a=E.get("activeOpacity"),s=E.getModel("lineStyle").getLineStyle(),l=E.coordinateSystem,n=E.getData(),u={normal:s.opacity,active:a,inactive:r};n.setVisual("color",i);function t(c,o){l.eachActiveState(o,function(f,v){var y=u[f];if(f==="normal"&&o.hasItemOption){var L=o.getItemModel(v).get(e,!0);L!=null&&(y=L)}o.setItemVisual(v,"opacity",y)},c.start,c.end)}return{progress:t}}};J.exports=d},q4HE:function(J,F){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",E="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",p=d+E+g,A="\\ufe0e\\ufe0f",b="["+e+"]",h="["+p+"]",i="\\ud83c[\\udffb-\\udfff]",r="(?:"+h+"|"+i+")",a="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",u=r+"?",t="["+A+"]?",c="(?:"+n+"(?:"+[a,s,l].join("|")+")"+t+u+")*",o=t+u+c,f="(?:"+[a+h+"?",h,s,l,b].join("|")+")",v=RegExp(i+"(?="+i+")|"+f+o,"g");function y(L){for(var S=v.lastIndex=0;v.test(L);)++S;return S}J.exports=y},qH13:function(J,F,e){var d=e("ItGF"),E=e("QBsz"),g=E.applyTransform,p=e("mFDi"),A=e("Qe9p"),b=e("6GrX"),h=e("pzxd"),i=e("ni6a"),r=e("Gev7"),a=e("Dagg"),s=e("dqUG"),l=e("y+Vt"),n=e("IMiH"),u=e("QuXc"),t=e("06Qe"),c=n.CMD,o=Math.round,f=Math.sqrt,v=Math.abs,y=Math.cos,L=Math.sin,S=Math.max;if(!d.canvasSupported){var x=",",O="progid:DXImageTransform.Microsoft",T=21600,w=T/2,C=1e5,N=1e3,D=function(vt){vt.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",vt.coordsize=T+","+T,vt.coordorigin="0,0"},B=function(vt){return String(vt).replace(/&/g,"&").replace(/"/g,""")},R=function(vt,Ge,At){return"rgb("+[vt,Ge,At].join(",")+")"},U=function(vt,Ge){Ge&&vt&&Ge.parentNode!==vt&&vt.appendChild(Ge)},M=function(vt,Ge){Ge&&vt&&Ge.parentNode===vt&&vt.removeChild(Ge)},j=function(vt,Ge,At){return(parseFloat(vt)||0)*C+(parseFloat(Ge)||0)*N+At},P=h.parsePercent,K=function(vt,Ge,At){var _e=A.parse(Ge);At=+At,isNaN(At)&&(At=1),_e&&(vt.color=R(_e[0],_e[1],_e[2]),vt.opacity=At*_e[3])},H=function(vt){var Ge=A.parse(vt);return[R(Ge[0],Ge[1],Ge[2]),Ge[3]]},k=function(vt,Ge,At){var _e=Ge.fill;if(_e!=null)if(_e instanceof u){var De,Ie=0,st=[0,0],Et=0,Mt=1,Pt=At.getBoundingRect(),ke=Pt.width,zt=Pt.height;if(_e.type==="linear"){De="gradient";var Ot=At.transform,_t=[_e.x*ke,_e.y*zt],Ve=[_e.x2*ke,_e.y2*zt];Ot&&(g(_t,_t,Ot),g(Ve,Ve,Ot));var Qe=Ve[0]-_t[0],et=Ve[1]-_t[1];Ie=Math.atan2(Qe,et)*180/Math.PI,Ie<0&&(Ie+=360),Ie<1e-6&&(Ie=0)}else{De="gradientradial";var _t=[_e.x*ke,_e.y*zt],Ot=At.transform,dt=At.scale,Ze=ke,oe=zt;st=[(_t[0]-Pt.x)/Ze,(_t[1]-Pt.y)/oe],Ot&&g(_t,_t,Ot),Ze/=dt[0]*T,oe/=dt[1]*T;var me=S(Ze,oe);Et=2*0/me,Mt=2*_e.r/me-Et}var ot=_e.colorStops.slice();ot.sort(function(ue,se){return ue.offset-se.offset});for(var Pe=ot.length,pt=[],Rr=[],It=0;It<Pe;It++){var nr=ot[It],Gt=H(nr.color);Rr.push(nr.offset*Mt+Et+" "+Gt[0]),(It===0||It===Pe-1)&&pt.push(Gt)}if(Pe>=2){var Jt=pt[0][0],hr=pt[1][0],Xt=pt[0][1]*Ge.opacity,de=pt[1][1]*Ge.opacity;vt.type=De,vt.method="none",vt.focus="100%",vt.angle=Ie,vt.color=Jt,vt.color2=hr,vt.colors=Rr.join(","),vt.opacity=de,vt.opacity2=Xt}De==="radial"&&(vt.focusposition=st.join(","))}else K(vt,_e,Ge.opacity)},Z=function(vt,Ge){Ge.lineDash&&(vt.dashstyle=Ge.lineDash.join(" ")),Ge.stroke!=null&&!(Ge.stroke instanceof u)&&K(vt,Ge.stroke,Ge.opacity)},Y=function(vt,Ge,At,_e){var De=Ge==="fill",Ie=vt.getElementsByTagName(Ge)[0];At[Ge]!=null&&At[Ge]!=="none"&&(De||!De&&At.lineWidth)?(vt[De?"filled":"stroked"]="true",At[Ge]instanceof u&&M(vt,Ie),Ie||(Ie=t.createNode(Ge)),De?k(Ie,At,_e):Z(Ie,At),U(vt,Ie)):(vt[De?"filled":"stroked"]="false",M(vt,Ie))},_=[[],[],[]],Q=function(vt,Ge){var At=c.M,_e=c.C,De=c.L,Ie=c.A,st=c.Q,Et=[],Mt,Pt,ke,zt,Ot,_t,Ve=vt.data,Qe=vt.len();for(zt=0;zt<Qe;){ke=Ve[zt++],Pt="",Mt=0;switch(ke){case At:Pt=" m ",Mt=1,Ot=Ve[zt++],_t=Ve[zt++],_[0][0]=Ot,_[0][1]=_t;break;case De:Pt=" l ",Mt=1,Ot=Ve[zt++],_t=Ve[zt++],_[0][0]=Ot,_[0][1]=_t;break;case st:case _e:Pt=" c ",Mt=3;var et=Ve[zt++],dt=Ve[zt++],Ze=Ve[zt++],oe=Ve[zt++],me,ot;ke===st?(me=Ze,ot=oe,Ze=(Ze+2*et)/3,oe=(oe+2*dt)/3,et=(Ot+2*et)/3,dt=(_t+2*dt)/3):(me=Ve[zt++],ot=Ve[zt++]),_[0][0]=et,_[0][1]=dt,_[1][0]=Ze,_[1][1]=oe,_[2][0]=me,_[2][1]=ot,Ot=me,_t=ot;break;case Ie:var Pe=0,pt=0,Rr=1,It=1,nr=0;Ge&&(Pe=Ge[4],pt=Ge[5],Rr=f(Ge[0]*Ge[0]+Ge[1]*Ge[1]),It=f(Ge[2]*Ge[2]+Ge[3]*Ge[3]),nr=Math.atan2(-Ge[1]/It,Ge[0]/Rr));var Gt=Ve[zt++],Jt=Ve[zt++],hr=Ve[zt++],Xt=Ve[zt++],de=Ve[zt++]+nr,ue=Ve[zt++]+de+nr;zt++;var se=Ve[zt++],ae=Gt+y(de)*hr,ye=Jt+L(de)*Xt,et=Gt+y(ue)*hr,dt=Jt+L(ue)*Xt,Ce=se?" wa ":" at ";Math.abs(ae-et)<1e-4&&(Math.abs(ue-de)>.01?se&&(ae+=270/T):Math.abs(ye-Jt)<1e-4?se&&ae<Gt||!se&&ae>Gt?dt-=270/T:dt+=270/T:se&&ye<Jt||!se&&ye>Jt?et+=270/T:et-=270/T),Et.push(Ce,o(((Gt-hr)*Rr+Pe)*T-w),x,o(((Jt-Xt)*It+pt)*T-w),x,o(((Gt+hr)*Rr+Pe)*T-w),x,o(((Jt+Xt)*It+pt)*T-w),x,o((ae*Rr+Pe)*T-w),x,o((ye*It+pt)*T-w),x,o((et*Rr+Pe)*T-w),x,o((dt*It+pt)*T-w)),Ot=et,_t=dt;break;case c.R:var Oe=_[0],Te=_[1];Oe[0]=Ve[zt++],Oe[1]=Ve[zt++],Te[0]=Oe[0]+Ve[zt++],Te[1]=Oe[1]+Ve[zt++],Ge&&(g(Oe,Oe,Ge),g(Te,Te,Ge)),Oe[0]=o(Oe[0]*T-w),Te[0]=o(Te[0]*T-w),Oe[1]=o(Oe[1]*T-w),Te[1]=o(Te[1]*T-w),Et.push(" m ",Oe[0],x,Oe[1]," l ",Te[0],x,Oe[1]," l ",Te[0],x,Te[1]," l ",Oe[0],x,Te[1]);break;case c.Z:Et.push(" x ")}if(Mt>0){Et.push(Pt);for(var xe=0;xe<Mt;xe++){var je=_[xe];Ge&&g(je,je,Ge),Et.push(o(je[0]*T-w),x,o(je[1]*T-w),xe<Mt-1?x:"")}}}return Et.join("")};l.prototype.brushVML=function(ht){var vt=this.style,Ge=this._vmlEl;Ge||(Ge=t.createNode("shape"),D(Ge),this._vmlEl=Ge),Y(Ge,"fill",vt,this),Y(Ge,"stroke",vt,this);var At=this.transform,_e=At!=null,De=Ge.getElementsByTagName("stroke")[0];if(De){var Ie=vt.lineWidth;if(_e&&!vt.strokeNoScale){var st=At[0]*At[3]-At[1]*At[2];Ie*=f(v(st))}De.weight=Ie+"px"}var Et=this.path||(this.path=new n);this.__dirtyPath&&(Et.beginPath(),Et.subPixelOptimize=!1,this.buildPath(Et,this.shape),Et.toStatic(),this.__dirtyPath=!1),Ge.path=Q(Et,this.transform),Ge.style.zIndex=j(this.zlevel,this.z,this.z2),U(ht,Ge),vt.text!=null?this.drawRectText(ht,this.getBoundingRect()):this.removeRectText(ht)},l.prototype.onRemove=function(ht){M(ht,this._vmlEl),this.removeRectText(ht)},l.prototype.onAdd=function(ht){U(ht,this._vmlEl),this.appendRectText(ht)};var X=function(vt){return typeof vt=="object"&&vt.tagName&&vt.tagName.toUpperCase()==="IMG"};a.prototype.brushVML=function(ht){var vt=this.style,Ge=vt.image,At,_e;if(X(Ge)){var De=Ge.src;if(De===this._imageSrc)At=this._imageWidth,_e=this._imageHeight;else{var Ie=Ge.runtimeStyle,st=Ie.width,Et=Ie.height;Ie.width="auto",Ie.height="auto",At=Ge.width,_e=Ge.height,Ie.width=st,Ie.height=Et,this._imageSrc=De,this._imageWidth=At,this._imageHeight=_e}Ge=De}else Ge===this._imageSrc&&(At=this._imageWidth,_e=this._imageHeight);if(!Ge)return;var Mt=vt.x||0,Pt=vt.y||0,ke=vt.width,zt=vt.height,Ot=vt.sWidth,_t=vt.sHeight,Ve=vt.sx||0,Qe=vt.sy||0,et=Ot&&_t,dt=this._vmlEl;dt||(dt=t.doc.createElement("div"),D(dt),this._vmlEl=dt);var Ze=dt.style,oe=!1,me,ot=1,Pe=1;if(this.transform&&(me=this.transform,ot=f(me[0]*me[0]+me[1]*me[1]),Pe=f(me[2]*me[2]+me[3]*me[3]),oe=me[1]||me[2]),oe){var pt=[Mt,Pt],Rr=[Mt+ke,Pt],It=[Mt,Pt+zt],nr=[Mt+ke,Pt+zt];g(pt,pt,me),g(Rr,Rr,me),g(It,It,me),g(nr,nr,me);var Gt=S(pt[0],Rr[0],It[0],nr[0]),Jt=S(pt[1],Rr[1],It[1],nr[1]),hr=[];hr.push("M11=",me[0]/ot,x,"M12=",me[2]/Pe,x,"M21=",me[1]/ot,x,"M22=",me[3]/Pe,x,"Dx=",o(Mt*ot+me[4]),x,"Dy=",o(Pt*Pe+me[5])),Ze.padding="0 "+o(Gt)+"px "+o(Jt)+"px 0",Ze.filter=O+".Matrix("+hr.join("")+", SizingMethod=clip)"}else me&&(Mt=Mt*ot+me[4],Pt=Pt*Pe+me[5]),Ze.filter="",Ze.left=o(Mt)+"px",Ze.top=o(Pt)+"px";var Xt=this._imageEl,de=this._cropEl;Xt||(Xt=t.doc.createElement("div"),this._imageEl=Xt);var ue=Xt.style;if(et){if(At&&_e)ue.width=o(ot*At*ke/Ot)+"px",ue.height=o(Pe*_e*zt/_t)+"px";else{var se=new Image,ae=this;se.onload=function(){se.onload=null,At=se.width,_e=se.height,ue.width=o(ot*At*ke/Ot)+"px",ue.height=o(Pe*_e*zt/_t)+"px",ae._imageWidth=At,ae._imageHeight=_e,ae._imageSrc=Ge},se.src=Ge}de||(de=t.doc.createElement("div"),de.style.overflow="hidden",this._cropEl=de);var ye=de.style;ye.width=o((ke+Ve*ke/Ot)*ot),ye.height=o((zt+Qe*zt/_t)*Pe),ye.filter=O+".Matrix(Dx="+-Ve*ke/Ot*ot+",Dy="+-Qe*zt/_t*Pe+")",de.parentNode||dt.appendChild(de),Xt.parentNode!==de&&de.appendChild(Xt)}else ue.width=o(ot*ke)+"px",ue.height=o(Pe*zt)+"px",dt.appendChild(Xt),de&&de.parentNode&&(dt.removeChild(de),this._cropEl=null);var Ce="",Oe=vt.opacity;Oe<1&&(Ce+=".Alpha(opacity="+o(Oe*100)+") "),Ce+=O+".AlphaImageLoader(src="+Ge+", SizingMethod=scale)",ue.filter=Ce,dt.style.zIndex=j(this.zlevel,this.z,this.z2),U(ht,dt),vt.text!=null&&this.drawRectText(ht,this.getBoundingRect())},a.prototype.onRemove=function(ht){M(ht,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(ht)},a.prototype.onAdd=function(ht){U(ht,this._vmlEl),this.appendRectText(ht)};var he="normal",te={},fe=0,be=100,we=document.createElement("div"),Ke=function(vt){var Ge=te[vt];if(!Ge){fe>be&&(fe=0,te={});var At=we.style,_e;try{At.font=vt,_e=At.fontFamily.split(",")[0]}catch(De){}Ge={style:At.fontStyle||he,variant:At.fontVariant||he,weight:At.fontWeight||he,size:parseFloat(At.fontSize||12)|0,family:_e||"Microsoft YaHei"},te[vt]=Ge,fe++}return Ge},qe;b.$override("measureText",function(ht,vt){var Ge=t.doc;qe||(qe=Ge.createElement("div"),qe.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(qe));try{qe.style.font=vt}catch(At){}return qe.innerHTML="",qe.appendChild(Ge.createTextNode(ht)),{width:qe.offsetWidth}});for(var xt=new p,Fe=function(vt,Ge,At,_e){var De=this.style;this.__dirty&&h.normalizeTextStyle(De,!0);var Ie=De.text;if(Ie!=null&&(Ie+=""),!Ie)return;if(De.rich){var st=b.parseRichText(Ie,De);Ie=[];for(var Et=0;Et<st.lines.length;Et++){for(var Mt=st.lines[Et].tokens,Pt=[],ke=0;ke<Mt.length;ke++)Pt.push(Mt[ke].text);Ie.push(Pt.join(""))}Ie=Ie.join(`
|
|
|
`)}var zt,Ot,_t=De.textAlign,Ve=De.textVerticalAlign,Qe=Ke(De.font),et=Qe.style+" "+Qe.variant+" "+Qe.weight+" "+Qe.size+'px "'+Qe.family+'"';At=At||b.getBoundingRect(Ie,et,_t,Ve,De.textPadding,De.textLineHeight);var dt=this.transform;if(dt&&!_e&&(xt.copy(Ge),xt.applyTransform(dt),Ge=xt),_e)zt=Ge.x,Ot=Ge.y;else{var Ze=De.textPosition;if(Ze instanceof Array)zt=Ge.x+P(Ze[0],Ge.width),Ot=Ge.y+P(Ze[1],Ge.height),_t=_t||"left";else{var oe=this.calculateTextPosition?this.calculateTextPosition({},De,Ge):b.calculateTextPosition({},De,Ge);zt=oe.x,Ot=oe.y,_t=_t||oe.textAlign,Ve=Ve||oe.textVerticalAlign}}zt=b.adjustTextX(zt,At.width,_t),Ot=b.adjustTextY(Ot,At.height,Ve),Ot+=At.height/2;var me=t.createNode,ot=this._textVmlEl,Pe,pt,Rr;ot?(Rr=ot.firstChild,Pe=Rr.nextSibling,pt=Pe.nextSibling):(ot=me("line"),Pe=me("path"),pt=me("textpath"),Rr=me("skew"),pt.style["v-text-align"]="left",D(ot),Pe.textpathok=!0,pt.on=!0,ot.from="0 0",ot.to="1000 0.05",U(ot,Rr),U(ot,Pe),U(ot,pt),this._textVmlEl=ot);var It=[zt,Ot],nr=ot.style;dt&&_e?(g(It,It,dt),Rr.on=!0,Rr.matrix=dt[0].toFixed(3)+x+dt[2].toFixed(3)+x+dt[1].toFixed(3)+x+dt[3].toFixed(3)+",0,0",Rr.offset=(o(It[0])||0)+","+(o(It[1])||0),Rr.origin="0 0",nr.left="0px",nr.top="0px"):(Rr.on=!1,nr.left=o(zt)+"px",nr.top=o(Ot)+"px"),pt.string=B(Ie);try{pt.style.font=et}catch(Gt){}Y(ot,"fill",{fill:De.textFill,opacity:De.opacity},this),Y(ot,"stroke",{stroke:De.textStroke,opacity:De.opacity,lineDash:De.lineDash||null},this),ot.style.zIndex=j(this.zlevel,this.z,this.z2),U(vt,ot)},Be=function(vt){M(vt,this._textVmlEl),this._textVmlEl=null},bt=function(vt){U(vt,this._textVmlEl)},lt=[i,r,a,l,s],tt=0;tt<lt.length;tt++){var St=lt[tt].prototype;St.drawRectText=Fe,St.removeRectText=Be,St.appendRectText=bt}s.prototype.brushVML=function(ht){var vt=this.style;vt.text!=null?this.drawRectText(ht,{x:vt.x||0,y:vt.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(ht)},s.prototype.onRemove=function(ht){this.removeRectText(ht)},s.prototype.onAdd=function(ht){this.appendRectText(ht)}}},qJCg:function(J,F,e){var d=e("BlVb"),E=e("mFDi"),g=e("IwbS"),p=g.linePolygonIntersect,A={lineX:b(0),lineY:b(1),rect:{point:function(r,a,s){return r&&s.boundingRect.contain(r[0],r[1])},rect:function(r,a,s){return r&&s.boundingRect.intersect(r)}},polygon:{point:function(r,a,s){return r&&s.boundingRect.contain(r[0],r[1])&&d.contain(s.range,r[0],r[1])},rect:function(r,a,s){var l=s.range;if(!r||l.length<=1)return!1;var n=r.x,u=r.y,t=r.width,c=r.height,o=l[0];if(d.contain(l,n,u)||d.contain(l,n+t,u)||d.contain(l,n,u+c)||d.contain(l,n+t,u+c)||E.create(r).contain(o[0],o[1])||p(n,u,n+t,u,l)||p(n,u,n,u+c,l)||p(n+t,u,n+t,u+c,l)||p(n,u+c,n+t,u+c,l))return!0}}};function b(r){var a=["x","y"],s=["width","height"];return{point:function(l,n,u){if(l){var t=u.range,c=l[r];return h(c,t)}},rect:function(l,n,u){if(l){var t=u.range,c=[l[a[r]],l[a[r]]+l[s[r]]];return c[1]<c[0]&&c.reverse(),h(c[0],t)||h(c[1],t)||h(t[0],c)||h(t[1],c)}}}}function h(r,a){return a[0]<=r&&r<=a[1]}var i=A;J.exports=i},qMZE:function(J,F,e){var d=e("JEkh"),E=d.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}}}});J.exports=E},qNPg:function(J,F,e){"use strict";e.d(F,"a",function(){return _});var d=e("rePB"),E=e("VTBJ"),g=e("KQm4"),p=e("ODXe"),A=e("Ff2n"),b=e("q1tI"),h=e("4IlW"),i=e("TSYQ"),r=e.n(i),a=e("6cGi"),s=e("bX4T"),l=e("8XRh"),n=e("8OUc"),u=e("c+Xe"),t=function(X,he){var te=X.prefixCls,fe=X.id,be=X.inputElement,we=X.disabled,Ke=X.tabIndex,qe=X.autoFocus,xt=X.autoComplete,Fe=X.editable,Be=X.accessibilityIndex,bt=X.value,lt=X.onKeyDown,tt=X.onMouseDown,St=X.onChange,ht=X.onPaste,vt=X.onCompositionStart,Ge=X.onCompositionEnd,At=X.open,_e=X.attrs,De=be||b.createElement("input",null),Ie=De,st=Ie.ref,Et=Ie.props,Mt=Et.onKeyDown,Pt=Et.onChange,ke=Et.onMouseDown,zt=Et.onCompositionStart,Ot=Et.onCompositionEnd,_t=Et.style;return De=b.cloneElement(De,Object(E.a)(Object(E.a)({id:fe,ref:Object(u.a)(he,st),disabled:we,tabIndex:Ke,autoComplete:xt||"off",autoFocus:qe,className:"".concat(te,"-selection-search-input"),style:Object(E.a)(Object(E.a)({},_t),{},{opacity:Fe?null:0}),role:"combobox","aria-expanded":At,"aria-haspopup":"listbox","aria-owns":"".concat(fe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(fe,"_list"),"aria-activedescendant":"".concat(fe,"_list_").concat(Be)},_e),{},{value:Fe?bt:"",readOnly:!Fe,unselectable:Fe?null:"on",onKeyDown:function(Qe){lt(Qe),Mt&&Mt(Qe)},onMouseDown:function(Qe){tt(Qe),ke&&ke(Qe)},onChange:function(Qe){St(Qe),Pt&&Pt(Qe)},onCompositionStart:function(Qe){vt(Qe),zt&&zt(Qe)},onCompositionEnd:function(Qe){Ge(Qe),Ot&&Ot(Qe)},onPaste:ht})),De},c=b.forwardRef(t);c.displayName="Input";var o=c,f=e("WKfj");function v(Q,X){f.b?b.useLayoutEffect(Q,X):b.useEffect(Q,X)}var y="__RC_SELECT_MAX_REST_COUNT__",L=function(X){var he=X.id,te=X.prefixCls,fe=X.values,be=X.open,we=X.searchValue,Ke=X.inputRef,qe=X.placeholder,xt=X.disabled,Fe=X.mode,Be=X.showSearch,bt=X.autoFocus,lt=X.autoComplete,tt=X.accessibilityIndex,St=X.tabIndex,ht=X.removeIcon,vt=X.choiceTransitionName,Ge=X.maxTagCount,At=X.maxTagTextLength,_e=X.maxTagPlaceholder,De=_e===void 0?function(Gt){return"+ ".concat(Gt.length," ...")}:_e,Ie=X.tagRender,st=X.onSelect,Et=X.onInputChange,Mt=X.onInputPaste,Pt=X.onInputKeyDown,ke=X.onInputMouseDown,zt=X.onInputCompositionStart,Ot=X.onInputCompositionEnd,_t=b.useState(!1),Ve=Object(p.a)(_t,2),Qe=Ve[0],et=Ve[1],dt=b.useRef(null),Ze=b.useState(0),oe=Object(p.a)(Ze,2),me=oe[0],ot=oe[1];b.useEffect(function(){et(!0)},[]);var Pe=be||Fe==="tags"?we:"",pt=Fe==="tags"||be&&Be;v(function(){ot(dt.current.scrollWidth)},[Pe]);var Rr=fe,It;typeof Ge=="number"&&(It=fe.length-Ge,Rr=fe.slice(0,Ge)),typeof At=="number"&&(Rr=Rr.map(function(Gt){var Jt=Gt.label,hr=Object(A.a)(Gt,["label"]),Xt=Jt;if(typeof Jt=="string"||typeof Jt=="number"){var de=String(Xt);de.length>At&&(Xt="".concat(de.slice(0,At),"..."))}return Object(E.a)(Object(E.a)({},hr),{},{label:Xt})})),It>0&&Rr.push({key:y,label:typeof De=="function"?De(fe.slice(Ge)):De});var nr=b.createElement(l.CSSMotionList,{component:!1,keys:Rr,motionName:vt,motionAppear:Qe},function(Gt){var Jt=Gt.key,hr=Gt.label,Xt=Gt.value,de=Gt.disabled,ue=Gt.className,se=Gt.style,ae=Jt||Xt,ye=Jt!==y&&!de,Ce=function(xe){xe.preventDefault(),xe.stopPropagation()},Oe=function(xe){xe&&xe.stopPropagation(),st(Xt,{selected:!1})};return typeof Ie=="function"?b.createElement("span",{key:ae,onMouseDown:Ce,className:ue,style:se},Ie({label:hr,value:Xt,disabled:de,closable:ye,onClose:Oe})):b.createElement("span",{key:ae,className:r()(ue,"".concat(te,"-selection-item"),Object(d.a)({},"".concat(te,"-selection-item-disabled"),de)),style:se},b.createElement("span",{className:"".concat(te,"-selection-item-content")},hr),ye&&b.createElement(n.a,{className:"".concat(te,"-selection-item-remove"),onMouseDown:Ce,onClick:Oe,customizeIcon:ht},"\xD7"))});return b.createElement(b.Fragment,null,nr,b.createElement("span",{className:"".concat(te,"-selection-search"),style:{width:me}},b.createElement(o,{ref:Ke,open:be,prefixCls:te,id:he,inputElement:null,disabled:xt,autoFocus:bt,autoComplete:lt,editable:pt,accessibilityIndex:tt,value:Pe,onKeyDown:Pt,onMouseDown:ke,onChange:Et,onPaste:Mt,onCompositionStart:zt,onCompositionEnd:Ot,tabIndex:St,attrs:Object(s.a)(X,!0)}),b.createElement("span",{ref:dt,className:"".concat(te,"-selection-search-mirror"),"aria-hidden":!0},Pe,"\xA0")),!fe.length&&!Pe&&b.createElement("span",{className:"".concat(te,"-selection-placeholder")},qe))},S=L,x=function(X){var he=X.inputElement,te=X.prefixCls,fe=X.id,be=X.inputRef,we=X.disabled,Ke=X.autoFocus,qe=X.autoComplete,xt=X.accessibilityIndex,Fe=X.mode,Be=X.open,bt=X.values,lt=X.placeholder,tt=X.tabIndex,St=X.showSearch,ht=X.searchValue,vt=X.activeValue,Ge=X.onInputKeyDown,At=X.onInputMouseDown,_e=X.onInputChange,De=X.onInputPaste,Ie=X.onInputCompositionStart,st=X.onInputCompositionEnd,Et=b.useState(!1),Mt=Object(p.a)(Et,2),Pt=Mt[0],ke=Mt[1],zt=Fe==="combobox",Ot=zt||St&&Be,_t=bt[0],Ve=ht||"";zt&&vt&&!Pt&&(Ve=vt),b.useEffect(function(){zt&&ke(!1)},[zt,vt]);var Qe=Fe!=="combobox"&&!Be?!1:!!Ve,et=_t&&(typeof _t.label=="string"||typeof _t.label=="number")?_t.label.toString():void 0;return b.createElement(b.Fragment,null,b.createElement("span",{className:"".concat(te,"-selection-search")},b.createElement(o,{ref:be,prefixCls:te,id:fe,open:Be,inputElement:he,disabled:we,autoFocus:Ke,autoComplete:qe,editable:Ot,accessibilityIndex:xt,value:Ve,onKeyDown:Ge,onMouseDown:At,onChange:function(Ze){ke(!0),_e(Ze)},onPaste:De,onCompositionStart:Ie,onCompositionEnd:st,tabIndex:tt,attrs:Object(s.a)(X,!0)})),!zt&&_t&&!Qe&&b.createElement("span",{className:"".concat(te,"-selection-item"),title:et},_t.label),!_t&&!Qe&&b.createElement("span",{className:"".concat(te,"-selection-placeholder")},lt))},O=x;function T(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,X=b.useRef(null),he=b.useRef(null);b.useEffect(function(){return function(){window.clearTimeout(he.current)}},[]);function te(fe){(fe||X.current===null)&&(X.current=fe),window.clearTimeout(he.current),he.current=window.setTimeout(function(){X.current=null},Q)}return[function(){return X.current},te]}var w=function(X,he){var te=Object(b.useRef)(null),fe=Object(b.useRef)(!1),be=X.prefixCls,we=X.multiple,Ke=X.open,qe=X.mode,xt=X.showSearch,Fe=X.tokenWithEnter,Be=X.onSearch,bt=X.onSearchSubmit,lt=X.onToggleOpen,tt=X.onInputKeyDown,St=X.domRef;b.useImperativeHandle(he,function(){return{focus:function(){te.current.focus()},blur:function(){te.current.blur()}}});var ht=T(0),vt=Object(p.a)(ht,2),Ge=vt[0],At=vt[1],_e=function(Qe){var et=Qe.which;(et===h.a.UP||et===h.a.DOWN)&&Qe.preventDefault(),tt&&tt(Qe),et===h.a.ENTER&&qe==="tags"&&!fe.current&&!Ke&&bt(Qe.target.value),[h.a.SHIFT,h.a.TAB,h.a.BACKSPACE,h.a.ESC].includes(et)||lt(!0)},De=function(){At(!0)},Ie=Object(b.useRef)(null),st=function(Qe){Be(Qe,!0,fe.current)!==!1&<(!0)},Et=function(){fe.current=!0},Mt=function(){fe.current=!1},Pt=function(Qe){var et=Qe.target.value;if(Fe&&Ie.current&&/[\r\n]/.test(Ie.current)){var dt=Ie.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");et=et.replace(dt,Ie.current)}Ie.current=null,st(et)},ke=function(Qe){var et=Qe.clipboardData,dt=et.getData("text");Ie.current=dt},zt=function(Qe){var et=Ge();if(Qe.target!==te.current){et||Qe.preventDefault();var dt=document.body.style.msTouchAction!==void 0;dt?setTimeout(function(){te.current.focus()}):te.current.focus()}(qe!=="combobox"&&(!xt||!et)||!Ke)&&(Ke&&Be("",!0,!1),lt())},Ot={inputRef:te,onInputKeyDown:_e,onInputMouseDown:De,onInputChange:Pt,onInputPaste:ke,onInputCompositionStart:Et,onInputCompositionEnd:Mt},_t=we?b.createElement(S,Object.assign({},X,Ot)):b.createElement(O,Object.assign({},X,Ot));return b.createElement("div",{ref:St,className:"".concat(be,"-selector"),onMouseDown:zt},_t)},C=b.forwardRef(w);C.displayName="Selector";var N=C,D=e("uciX"),B=function(X){var he=typeof X!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:he,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:he,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:he,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:he,adjustY:1}}}},R=function(X,he){var te=X.prefixCls,fe=X.disabled,be=X.visible,we=X.children,Ke=X.popupElement,qe=X.containerWidth,xt=X.animation,Fe=X.transitionName,Be=X.dropdownStyle,bt=X.dropdownClassName,lt=X.direction,tt=lt===void 0?"ltr":lt,St=X.dropdownMatchSelectWidth,ht=St===void 0?!0:St,vt=X.dropdownRender,Ge=X.dropdownAlign,At=X.getPopupContainer,_e=X.empty,De=X.getTriggerDOMNode,Ie=Object(A.a)(X,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),st="".concat(te,"-dropdown"),Et=Ke;vt&&(Et=vt(Ke));var Mt=b.useMemo(function(){return B(ht)},[ht]),Pt=xt?"".concat(st,"-").concat(xt):Fe,ke=b.useRef(null);b.useImperativeHandle(he,function(){return{getPopupElement:function(){return ke.current}}});var zt=Object(E.a)({minWidth:qe},Be);return typeof ht=="number"?zt.width=ht:ht&&(zt.width=qe),b.createElement(D.a,Object.assign({},Ie,{showAction:[],hideAction:[],popupPlacement:tt==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Mt,prefixCls:st,popupTransitionName:Pt,popup:b.createElement("div",{ref:ke},Et),popupAlign:Ge,popupVisible:be,getPopupContainer:At,popupClassName:r()(bt,Object(d.a)({},"".concat(st,"-empty"),_e)),popupStyle:zt,getTriggerDOMNode:De}),we)},U=b.forwardRef(R);U.displayName="SelectTrigger";var M=U,j=e("wPlo");function P(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,X=b.useState(!1),he=Object(p.a)(X,2),te=he[0],fe=he[1],be=b.useRef(null),we=function(){window.clearTimeout(be.current)};b.useEffect(function(){return we},[]);var Ke=function(xt,Fe){we(),be.current=window.setTimeout(function(){fe(xt),Fe&&Fe()},Q)};return[te,Ke,we]}var K=e("2Qr1");function H(Q,X,he){var te=b.useRef(null);te.current={elements:Q.filter(function(fe){return fe}),open:X,triggerOpen:he},b.useEffect(function(){function fe(be){var we=be.target;te.current.open&&te.current.elements.every(function(Ke){return!Ke.contains(we)&&Ke!==we})&&te.current.triggerOpen(!1)}return window.addEventListener("mousedown",fe),function(){return window.removeEventListener("mousedown",fe)}},[])}function k(Q){var X=b.useRef(Q),he=b.useMemo(function(){var te=new Map;X.current.forEach(function(be){var we=be.value,Ke=be.label;we!==Ke&&te.set(we,Ke)});var fe=Q.map(function(be){var we=te.get(be.value);return be.value===be.label&&we?Object(E.a)(Object(E.a)({},be),{},{label:we}):be});return X.current=fe,fe},[Q]);return he}function Z(Q,X){var he=b.useRef(null),te=b.useMemo(function(){var be=new Map;return X.forEach(function(we){var Ke=we.data.value;be.set(Ke,we)}),be},[Q,X]);he.current=te;var fe=function(we){return we.map(function(Ke){return he.current.get(Ke)}).filter(Boolean)};return fe}var Y=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function _(Q){var X=Q.prefixCls,he=Q.components.optionList,te=Q.convertChildrenToData,fe=Q.flattenOptions,be=Q.getLabeledValue,we=Q.filterOptions,Ke=Q.isValueDisabled,qe=Q.findValueOption,xt=Q.warningProps,Fe=Q.fillOptionsWithMissingValue,Be=Q.omitDOMProps;function bt(tt,St){var ht,vt=tt.prefixCls,Ge=vt===void 0?X:vt,At=tt.className,_e=tt.id,De=tt.open,Ie=tt.defaultOpen,st=tt.options,Et=tt.children,Mt=tt.mode,Pt=tt.value,ke=tt.defaultValue,zt=tt.labelInValue,Ot=tt.showSearch,_t=tt.inputValue,Ve=tt.searchValue,Qe=tt.filterOption,et=tt.optionFilterProp,dt=et===void 0?"value":et,Ze=tt.autoClearSearchValue,oe=Ze===void 0?!0:Ze,me=tt.onSearch,ot=tt.allowClear,Pe=tt.clearIcon,pt=tt.showArrow,Rr=tt.inputIcon,It=tt.menuItemSelectedIcon,nr=tt.disabled,Gt=tt.loading,Jt=tt.defaultActiveFirstOption,hr=tt.notFoundContent,Xt=hr===void 0?"Not Found":hr,de=tt.optionLabelProp,ue=tt.backfill,se=tt.getInputElement,ae=tt.getPopupContainer,ye=tt.listHeight,Ce=ye===void 0?200:ye,Oe=tt.listItemHeight,Te=Oe===void 0?20:Oe,xe=tt.animation,je=tt.transitionName,ut=tt.virtual,wt=tt.dropdownStyle,ee=tt.dropdownClassName,ie=tt.dropdownMatchSelectWidth,z=tt.dropdownRender,$=tt.dropdownAlign,le=tt.showAction,ge=le===void 0?[]:le,Ae=tt.direction,Me=tt.tokenSeparators,$e=tt.tagRender,kt=tt.onPopupScroll,$t=tt.onDropdownVisibleChange,Lt=tt.onFocus,Ut=tt.onBlur,Wt=tt.onKeyUp,Vt=tt.onKeyDown,Tt=tt.onMouseDown,ur=tt.onChange,qt=tt.onSelect,ze=tt.onDeselect,nt=tt.onClear,Ye=tt.internalProps,Xe=Ye===void 0?{}:Ye,yt=Object(A.a)(tt,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),mt=Xe.mark===j.a,We=Be?Be(yt):yt;Y.forEach(function(Mn){delete We[Mn]});var rt=Object(b.useRef)(null),ft=Object(b.useRef)(null),Yt=Object(b.useRef)(null),Ft=Object(b.useRef)(null),fr=Object(b.useMemo)(function(){return(Me||[]).some(function(Mn){return[`
|
|
|
`,`\r
|
|
|
`].includes(Mn)})},[Me]),mr=P(),Er=Object(p.a)(mr,3),Lr=Er[0],en=Er[1],Qr=Er[2],Cr=Object(b.useState)(),Gr=Object(p.a)(Cr,2),Nr=Gr[0],lr=Gr[1];Object(b.useEffect)(function(){lr("rc_select_".concat(Object(f.a)()))},[]);var pr=_e||Nr,sr=de;sr===void 0&&(sr=st?"label":"children");var dr=Mt==="combobox"?!1:zt,Sr=Mt==="tags"||Mt==="multiple",Xr=Ot!==void 0?Ot:Sr||Mt==="combobox",cn=Object(b.useRef)(null);b.useImperativeHandle(St,function(){return{focus:Yt.current.focus,blur:Yt.current.blur}});var Dn=Object(a.a)(ke,{value:Pt}),jr=Object(p.a)(Dn,2),On=jr[0],gn=jr[1],Un=Object(b.useMemo)(function(){return Object(f.e)(On,{labelInValue:dr,combobox:Mt==="combobox"})},[On,dr]),Wn=Object(b.useMemo)(function(){return new Set(Un)},[Un]),Jn=Object(b.useState)(null),Qn=Object(p.a)(Jn,2),Vn=Qn[0],yn=Qn[1],on=Object(b.useState)(""),ia=Object(p.a)(on,2),xa=ia[0],ta=ia[1],Ni=xa;Mt==="combobox"&&On!==void 0?Ni=On:Ve!==void 0?Ni=Ve:_t&&(Ni=_t);var Ci=Object(b.useMemo)(function(){var Mn=st;return Mn===void 0&&(Mn=te(Et)),Mt==="tags"&&Fe&&(Mn=Fe(Mn,On,sr,zt)),Mn||[]},[st,Et,Mt,On]),Gn=Object(b.useMemo)(function(){return fe(Ci,tt)},[Ci]),Ia=Z(Un,Gn),mn=Object(b.useMemo)(function(){if(!Ni||!Xr)return Object(g.a)(Ci);var Mn=we(Ni,Ci,{optionFilterProp:dt,filterOption:Mt==="combobox"&&Qe===void 0?function(){return!0}:Qe});return Mt==="tags"&&Mn.every(function(En){return En[dt]!==Ni})&&Mn.unshift({value:Ni,label:Ni,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Mn},[Ci,Ni,Mt,Xr]),In=Object(b.useMemo)(function(){return fe(mn,tt)},[mn]);Object(b.useEffect)(function(){Ft.current&&Ft.current.scrollTo&&Ft.current.scrollTo(0)},[Ni]);var Ln=Object(b.useMemo)(function(){var Mn=Un.map(function(En){var Tn=Ia([En]),Yn=be(En,{options:Tn,prevValue:On,labelInValue:dr,optionLabelProp:sr});return Object(E.a)(Object(E.a)({},Yn),{},{disabled:Ke(En,Tn)})});return!Mt&&Mn.length===1&&Mn[0].value===null&&Mn[0].label===null?[]:Mn},[On,Ci,Mt]);Ln=k(Ln);var Nn=function(En,Tn,Yn){var ai=Ia([En]),ri=qe([En],ai)[0];if(!Xe.skipTriggerSelect){var Ri=dr?be(En,{options:ai,prevValue:On,labelInValue:dr,optionLabelProp:sr}):En;Tn&&qt?qt(Ri,ri):!Tn&&ze&&ze(Ri,ri)}mt&&(Tn&&Xe.onRawSelect?Xe.onRawSelect(En,ri,Yn):!Tn&&Xe.onRawDeselect&&Xe.onRawDeselect(En,ri,Yn))},jn=Object(b.useState)([]),ni=Object(p.a)(jn,2),di=ni[0],Da=ni[1],Xi=function(En){if(mt&&Xe.skipTriggerChange)return;var Tn=Ia(En),Yn=Object(f.f)(Array.from(En),{labelInValue:dr,options:Tn,getLabeledValue:be,prevValue:On,optionLabelProp:sr}),ai=Sr?Yn:Yn[0];if(ur&&(Un.length!==0||Yn.length!==0)){var ri=qe(En,Tn,{prevValueOptions:di});Da(ri.map(function(Ri,Ai){var xi=Object(E.a)({},Ri);return Object.defineProperty(xi,"_INTERNAL_OPTION_VALUE_",{get:function(){return En[Ai]}}),xi})),ur(ai,Sr?ri:ri[0])}gn(ai)},ma=function(En,Tn){var Yn=Tn.selected,ai=Tn.source;if(nr)return;var ri;Sr?(ri=new Set(Un),Yn?ri.add(En):ri.delete(En)):(ri=new Set,ri.add(En)),(Sr||!Sr&&Array.from(Un)[0]!==En)&&Xi(Array.from(ri)),Nn(En,!Sr||Yn,ai),Mt==="combobox"?(ta(String(En)),yn("")):(!Sr||oe)&&(ta(""),yn(""))},_a=function(En,Tn){ma(En,Object(E.a)(Object(E.a)({},Tn),{},{source:"option"}))},Xa=function(En,Tn){ma(En,Object(E.a)(Object(E.a)({},Tn),{},{source:"selection"}))},Ki=Mt==="combobox"&&se&&se()||null,Co=Object(a.a)(void 0,{defaultValue:Ie,value:De}),aa=Object(p.a)(Co,2),Hi=aa[0],ga=aa[1],ha=Hi,mo=!Xt&&!mn.length;(nr||mo&&ha&&Mt==="combobox")&&(ha=!1);var Pn=mo?!1:ha,qi=function(En){var Tn=En!==void 0?En:!ha;Hi!==Tn&&!nr&&(ga(Tn),$t&&$t(Tn))};H([rt.current,ft.current&&ft.current.getPopupElement()],Pn,qi);var eo=function(En,Tn,Yn){var ai=!0,ri=En;yn(null);var Ri=Yn?null:Object(K.f)(En,Me),Ai=Ri;if(Mt==="combobox")Tn&&Xi([ri]);else if(Ri){ri="",Mt!=="tags"&&(Ai=Ri.map(function(Li){var kn=Gn.find(function(Mi){var fa=Mi.data;return fa[sr]===Li});return kn?kn.data.value:null}).filter(function(Li){return Li!==null}));var xi=Array.from(new Set([].concat(Object(g.a)(Un),Object(g.a)(Ai))));Xi(xi),xi.forEach(function(Li){Nn(Li,!0,"input")}),qi(!1),ai=!1}return ta(ri),me&&Ni!==ri&&me(ri),ai},Oo=function(En){var Tn=Array.from(new Set([].concat(Object(g.a)(Un),[En])));Xi(Tn),Tn.forEach(function(Yn){Nn(Yn,!0,"input")}),ta("")};Object(b.useEffect)(function(){Hi&&!!nr&&ga(!1)},[nr]),Object(b.useEffect)(function(){!ha&&!Sr&&Mt!=="combobox"&&eo("",!1,!1)},[ha]);var co=T(),tr=Object(p.a)(co,2),Ir=tr[0],Ur=tr[1],Kr=function(En){var Tn=Ir(),Yn=En.which;if(!ha&&Yn===h.a.ENTER&&qi(!0),Ur(!!Ni),Yn===h.a.BACKSPACE&&!Tn&&Sr&&!Ni&&Un.length){var ai=Object(f.c)(Ln,Un);ai.removedValue!==null&&(Xi(ai.values),Nn(ai.removedValue,!1,"input"))}for(var ri=arguments.length,Ri=new Array(ri>1?ri-1:0),Ai=1;Ai<ri;Ai++)Ri[Ai-1]=arguments[Ai];if(ha&&Ft.current){var xi;(xi=Ft.current).onKeyDown.apply(xi,[En].concat(Ri))}Vt&&Vt.apply(void 0,[En].concat(Ri))},hn=function(En){for(var Tn=arguments.length,Yn=new Array(Tn>1?Tn-1:0),ai=1;ai<Tn;ai++)Yn[ai-1]=arguments[ai];if(ha&&Ft.current){var ri;(ri=Ft.current).onKeyUp.apply(ri,[En].concat(Yn))}Wt&&Wt.apply(void 0,[En].concat(Yn))},Ue=Object(b.useRef)(!1),Bt=function(){en(!0),nr||(Lt&&!Ue.current&&Lt.apply(void 0,arguments),ge.includes("focus")&&qi(!0)),Ue.current=!0},Zt=function(){if(en(!1,function(){Ue.current=!1,qi(!1)}),nr)return;Ni&&(Mt==="tags"?(eo("",!1,!1),Xi(Array.from(new Set([].concat(Object(g.a)(Un),[Ni]))))):Mt==="multiple"&&ta("")),Ut&&Ut.apply(void 0,arguments)},rr=[];Object(b.useEffect)(function(){return function(){rr.forEach(function(Mn){return clearTimeout(Mn)}),rr.splice(0,rr.length)}},[]);var Tr=function(En){var Tn=En.target,Yn=ft.current&&ft.current.getPopupElement();if(Yn&&Yn.contains(Tn)){var ai=setTimeout(function(){var xi=rr.indexOf(ai);xi!==-1&&rr.splice(xi,1),Qr(),Yn.contains(document.activeElement)||Yt.current.focus()});rr.push(ai)}if(Tt){for(var ri=arguments.length,Ri=new Array(ri>1?ri-1:0),Ai=1;Ai<ri;Ai++)Ri[Ai-1]=arguments[Ai];Tt.apply(void 0,[En].concat(Ri))}},br=Object(b.useState)(0),xr=Object(p.a)(br,2),Wr=xr[0],$r=xr[1],Zr=Jt!==void 0?Jt:Mt!=="combobox",an=function(En,Tn){$r(Tn),ue&&Mt==="combobox"&&En!==null&&yn(String(En))},at=Object(b.useState)(null),Ht=Object(p.a)(at,2),ar=Ht[0],yr=Ht[1],Fr=Object(b.useState)({}),Mr=Object(p.a)(Fr,2),rn=Mr[1];function fn(){rn({})}v(function(){if(Pn){var Mn=Math.ceil(rt.current.offsetWidth);ar!==Mn&&yr(Mn)}},[Pn]);var wn=b.createElement(he,{ref:Ft,prefixCls:Ge,id:pr,open:ha,childrenAsData:!st,options:mn,flattenOptions:In,multiple:Sr,values:Wn,height:Ce,itemHeight:Te,onSelect:_a,onToggleOpen:qi,onActiveValue:an,defaultActiveFirstOption:Zr,notFoundContent:Xt,onScroll:kt,searchValue:Ni,menuItemSelectedIcon:It,virtual:ut!==!1&&ie!==!1,onMouseEnter:fn}),Hn,Sn=function(){mt&&Xe.onClear&&Xe.onClear(),nt&&nt(),Xi([]),eo("",!1,!1)};!nr&&ot&&(Un.length||Ni)&&(Hn=b.createElement(n.a,{className:"".concat(Ge,"-clear"),onMouseDown:Sn,customizeIcon:Pe},"\xD7"));var bn=pt!==void 0?pt:Gt||!Sr&&Mt!=="combobox",Bn;bn&&(Bn=b.createElement(n.a,{className:r()("".concat(Ge,"-arrow"),Object(d.a)({},"".concat(Ge,"-arrow-loading"),Gt)),customizeIcon:Rr,customizeIconProps:{loading:Gt,searchValue:Ni,open:ha,focused:Lr,showSearch:Xr}}));var vn=r()(Ge,At,(ht={},Object(d.a)(ht,"".concat(Ge,"-focused"),Lr),Object(d.a)(ht,"".concat(Ge,"-multiple"),Sr),Object(d.a)(ht,"".concat(Ge,"-single"),!Sr),Object(d.a)(ht,"".concat(Ge,"-allow-clear"),ot),Object(d.a)(ht,"".concat(Ge,"-show-arrow"),bn),Object(d.a)(ht,"".concat(Ge,"-disabled"),nr),Object(d.a)(ht,"".concat(Ge,"-loading"),Gt),Object(d.a)(ht,"".concat(Ge,"-open"),ha),Object(d.a)(ht,"".concat(Ge,"-customize-input"),Ki),Object(d.a)(ht,"".concat(Ge,"-show-search"),Xr),ht));return b.createElement("div",Object.assign({className:vn},We,{ref:rt,onMouseDown:Tr,onKeyDown:Kr,onKeyUp:hn,onFocus:Bt,onBlur:Zt}),Lr&&!ha&&b.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Un.join(", "))),b.createElement(M,{ref:ft,disabled:nr,prefixCls:Ge,visible:Pn,popupElement:wn,containerWidth:ar,animation:xe,transitionName:je,dropdownStyle:wt,dropdownClassName:ee,direction:Ae,dropdownMatchSelectWidth:ie,dropdownRender:z,dropdownAlign:$,getPopupContainer:ae,empty:!Ci.length,getTriggerDOMNode:function(){return cn.current}},b.createElement(N,Object.assign({},tt,{domRef:cn,prefixCls:Ge,inputElement:Ki,ref:Yt,id:pr,showSearch:Xr,mode:Mt,accessibilityIndex:Wr,multiple:Sr,tagRender:$e,values:Ln,open:ha,onToggleOpen:qi,searchValue:Ni,activeValue:Vn,onSearch:eo,onSearchSubmit:Oo,onSelect:Xa,tokenWithEnter:fr}))),Bn,Hn)}var lt=b.forwardRef(bt);return lt}},qPY4:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("u4NN"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},qWUW:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("DL4k")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CaretDownOutlined";var h=g.forwardRef(b);F.default=h},qWt2:function(J,F,e){var d=e("ProS"),E=d.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}}});J.exports=E},qZFw:function(J,F,e){var d=e("bYtY"),E=e("6GrX"),g=e("hM6l"),p=e("4NO4"),A=p.makeInner,b=A();function h(r,a){a=a||[0,360],g.call(this,"angle",r,a),this.type="category"}h.prototype={constructor:h,pointToData:function(r,a){return this.polar.pointToData(r,a)[this.dim==="radius"?0:1]},dataToAngle:g.prototype.dataToCoord,angleToData:g.prototype.coordToData,calculateCategoryInterval:function(){var r=this,a=r.getLabelModel(),s=r.scale,l=s.getExtent(),n=s.count();if(l[1]-l[0]<1)return 0;var u=l[0],t=r.dataToCoord(u+1)-r.dataToCoord(u),c=Math.abs(t),o=E.getBoundingRect(u,a.getFont(),"center","top"),f=Math.max(o.height,7),v=f/c;isNaN(v)&&(v=Infinity);var y=Math.max(0,Math.floor(v)),L=b(r.model),S=L.lastAutoInterval,x=L.lastTickCount;return S!=null&&x!=null&&Math.abs(S-y)<=1&&Math.abs(x-n)<=1&&S>y?y=S:(L.lastTickCount=n,L.lastAutoInterval=y),y}},d.inherits(h,g);var i=h;J.exports=i},qZTm:function(J,F,e){var d=e("fR/l"),E=e("MvSz"),g=e("7GkX");function p(A){return d(A,g,E)}J.exports=p},qgGe:function(J,F,e){var d=e("bYtY"),E=e("T4UG"),g=e("Bsck"),p=e("VaxA"),A=p.wrapTreePathInfo,b=E.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(i,r){var a={name:i.name,children:i.data};h(a);var s=i.levels||[],l={};return l.levels=s,g.createTree(a,this,l).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(i){var r=E.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(i);return r.treePathInfo=A(a,this),r},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(i){i?this._viewRoot=i:i=this._viewRoot;var r=this.getRawData().tree.root;(!i||i!==r&&!r.contains(i))&&(this._viewRoot=r)}});function h(i){var r=0;d.each(i.children,function(s){h(s);var l=s.value;d.isArray(l)&&(l=l[0]),r+=l});var a=i.value;d.isArray(a)&&(a=a[0]),(a==null||isNaN(a))&&(a=r),a<0&&(a=0),d.isArray(i.value)?i.value[0]=a:i.value=a}J.exports=b},qj72:function(J,F,e){var d=e("bYtY");function E(p,A){return A=A||[0,0],d.map(["x","y"],function(b,h){var i=this.getAxis(b),r=A[h],a=p[h]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(r-a)-i.dataToCoord(r+a))},this)}function g(p){var A=p.grid.getRect();return{coordSys:{type:"cartesian2d",x:A.x,y:A.y,width:A.width,height:A.height},api:{coord:function(b){return p.dataToPoint(b)},size:d.bind(E,p)}}}J.exports=g},qrJ5:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("cDf5"),b=e.n(A),h=e("J4zp"),i=e.n(h),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),l=e.n(s),n=e("H84U"),u=e("o/2+"),t=e("CWQg"),c=e("ACnJ"),o=function(L,S){var x={};for(var O in L)Object.prototype.hasOwnProperty.call(L,O)&&S.indexOf(O)<0&&(x[O]=L[O]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,O=Object.getOwnPropertySymbols(L);T<O.length;T++)S.indexOf(O[T])<0&&Object.prototype.propertyIsEnumerable.call(L,O[T])&&(x[O[T]]=L[O[T]]);return x},f=Object(t.a)("top","middle","bottom","stretch"),v=Object(t.a)("start","end","center","space-around","space-between"),y=r.forwardRef(function(L,S){var x=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),O=i()(x,2),T=O[0],w=O[1],C=r.useRef();C.current=L.gutter,r.useEffect(function(){var B=c.a.subscribe(function(R){var U=C.current||0;(!Array.isArray(U)&&b()(U)==="object"||Array.isArray(U)&&(b()(U[0])==="object"||b()(U[1])==="object"))&&w(R)});return function(){c.a.unsubscribe(B)}},[]);var N=function(){var R=[0,0],U=L.gutter,M=U===void 0?0:U,j=Array.isArray(M)?M:[M,0];return j.forEach(function(P,K){if(b()(P)==="object")for(var H=0;H<c.b.length;H++){var k=c.b[H];if(T[k]&&P[k]!==void 0){R[K]=P[k];break}}else R[K]=P||0}),R},D=function(R){var U,M=R.getPrefixCls,j=R.direction,P=L.prefixCls,K=L.justify,H=L.align,k=L.className,Z=L.style,Y=L.children,_=o(L,["prefixCls","justify","align","className","style","children"]),Q=M("row",P),X=N(),he=l()(Q,(U={},p()(U,"".concat(Q,"-").concat(K),K),p()(U,"".concat(Q,"-").concat(H),H),p()(U,"".concat(Q,"-rtl"),j==="rtl"),U),k),te=E()(E()(E()({},X[0]>0?{marginLeft:X[0]/-2,marginRight:X[0]/-2}:{}),X[1]>0?{marginTop:X[1]/-2,marginBottom:X[1]/2}:{}),Z),fe=E()({},_);return delete fe.gutter,r.createElement(u.a.Provider,{value:{gutter:X}},r.createElement("div",E()({},fe,{className:he,style:te,ref:S}),Y))};return r.createElement(n.a,null,D)});y.displayName="Row",F.a=y},"qt/9":function(J,F,e){var d=e("ProS"),E=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var g=e("nVfU"),p=g.layout,A=e("f5Yq");e("Ae16"),d.registerLayout(E.curry(p,"pictorialBar")),d.registerVisual(A("pictorialBar","roundRect"))},quyA:function(J,F){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",E="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",p=d+E+g,A="\\ufe0e\\ufe0f",b="\\u200d",h=RegExp("["+b+e+p+A+"]");function i(r){return h.test(r)}J.exports=i},qwVE:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("K4ya"),p=e("XxSj"),A=d.PRIORITY.VISUAL.COMPONENT;d.registerVisual(A,{createOnAllSeries:!0,reset:function(h,i){var r=[];return i.eachComponent("visualMap",function(a){var s=h.pipelineContext;if(!a.isTargetSeries(h)||s&&s.large)return;r.push(g.incrementalApplyVisual(a.stateList,a.targetVisuals,E.bind(a.getValueState,a),a.getDataDimension(h.getData())))}),r}}),d.registerVisual(A,{createOnAllSeries:!0,reset:function(h,i){var r=h.getData(),a=[];i.eachComponent("visualMap",function(s){if(s.isTargetSeries(h)){var l=s.getVisualMeta(E.bind(b,null,h,s))||{stops:[],outerColors:[]},n=s.getDataDimension(r),u=r.getDimensionInfo(n);u!=null&&(l.dimension=u.index,a.push(l))}}),h.getData().setVisual("visualMeta",a)}});function b(h,i,r,a){for(var s=i.targetVisuals[a],l=p.prepareVisualTypes(s),n={color:h.getData().getVisual("color")},u=0,t=l.length;u<t;u++){var c=l[u],o=s[c==="opacity"?"__alphaForOpacity":c];o&&o.applyVisual(r,f,v)}return n.color;function f(y){return n[y]}function v(y,L){n[y]=L}}},"r+aA":function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("s2MQ")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="EyeInvisibleOutlined";var h=g.forwardRef(b);F.default=h},"r/2G":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("+Zaj"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},r6Bn:function(J,F,e){var d=e("bYtY"),E=e("ItGF"),g=e("4fz+"),p=e("BPZU");function A(i,r){return i.zlevel===r.zlevel?i.z===r.z?i.z2-r.z2:i.z-r.z:i.zlevel-r.zlevel}var b=function(){this._roots=[],this._displayList=[],this._displayListLen=0};b.prototype={constructor:b,traverse:function(r,a){for(var s=0;s<this._roots.length;s++)this._roots[s].traverse(r,a)},getDisplayList:function(r,a){return a=a||!1,r&&this.updateDisplayList(a),this._displayList},updateDisplayList:function(r){this._displayListLen=0;for(var a=this._roots,s=this._displayList,l=0,n=a.length;l<n;l++)this._updateAndAddDisplayable(a[l],null,r);s.length=this._displayListLen,E.canvasSupported&&p(s,A)},_updateAndAddDisplayable:function(r,a,s){if(r.ignore&&!s)return;r.beforeUpdate(),r.__dirty&&r.update(),r.afterUpdate();var l=r.clipPath;if(l){a?a=a.slice():a=[];for(var n=l,u=r;n;)n.parent=u,n.updateTransform(),a.push(n),u=n,n=n.clipPath}if(r.isGroup){for(var t=r._children,c=0;c<t.length;c++){var o=t[c];r.__dirty&&(o.__dirty=!0),this._updateAndAddDisplayable(o,a,s)}r.__dirty=!1}else r.__clipPaths=a,this._displayList[this._displayListLen++]=r},addRoot:function(r){if(r.__storage===this)return;r instanceof g&&r.addChildrenToStorage(this),this.addToStorage(r),this._roots.push(r)},delRoot:function(r){if(r==null){for(var a=0;a<this._roots.length;a++){var s=this._roots[a];s instanceof g&&s.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(r instanceof Array){for(var a=0,l=r.length;a<l;a++)this.delRoot(r[a]);return}var n=d.indexOf(this._roots,r);n>=0&&(this.delFromStorage(r),this._roots.splice(n,1),r instanceof g&&r.delChildrenFromStorage(this))},addToStorage:function(r){return r&&(r.__storage=this,r.dirty(!1)),this},delFromStorage:function(r){return r&&(r.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:A};var h=b;J.exports=h},rA99:function(J,F,e){var d=e("y+Vt"),E=e("QBsz"),g=e("Sj9i"),p=g.quadraticSubdivide,A=g.cubicSubdivide,b=g.quadraticAt,h=g.cubicAt,i=g.quadraticDerivativeAt,r=g.cubicDerivativeAt,a=[];function s(n,u,t){var c=n.cpx2,o=n.cpy2;return c===null||o===null?[(t?r:h)(n.x1,n.cpx1,n.cpx2,n.x2,u),(t?r:h)(n.y1,n.cpy1,n.cpy2,n.y2,u)]:[(t?i:b)(n.x1,n.cpx1,n.x2,u),(t?i:b)(n.y1,n.cpy1,n.y2,u)]}var l=d.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(u,t){var c=t.x1,o=t.y1,f=t.x2,v=t.y2,y=t.cpx1,L=t.cpy1,S=t.cpx2,x=t.cpy2,O=t.percent;if(O===0)return;u.moveTo(c,o),S==null||x==null?(O<1&&(p(c,y,f,O,a),y=a[1],f=a[2],p(o,L,v,O,a),L=a[1],v=a[2]),u.quadraticCurveTo(y,L,f,v)):(O<1&&(A(c,y,S,f,O,a),y=a[1],S=a[2],f=a[3],A(o,L,x,v,O,a),L=a[1],x=a[2],v=a[3]),u.bezierCurveTo(y,L,S,x,f,v))},pointAt:function(u){return s(this.shape,u,!1)},tangentAt:function(u){var t=s(this.shape,u,!0);return E.normalize(t,t)}});J.exports=l},"rAM+":function(J,F,e){"use strict";e.d(F,"a",function(){return E});var d=e("Qw5x");function E(g,p){var A;if(typeof Symbol=="undefined"||g[Symbol.iterator]==null){if(Array.isArray(g)||(A=Object(d.a)(g))||p&&g&&typeof g.length=="number"){A&&(g=A);var b=0,h=function(){};return{s:h,n:function(){return b>=g.length?{done:!0}:{done:!1,value:g[b++]}},e:function(l){throw l},f:h}}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 i=!0,r=!1,a;return{s:function(){A=g[Symbol.iterator]()},n:function(){var l=A.next();return i=l.done,l},e:function(l){r=!0,a=l},f:function(){try{!i&&A.return!=null&&A.return()}finally{if(r)throw a}}}}},rEGp:function(J,F){function e(d){var E=-1,g=Array(d.size);return d.forEach(function(p){g[++E]=p}),g}J.exports=e},rHrb:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.CopyToClipboard=void 0;var d=g(e("q1tI")),E=g(e("+QRC"));function g(v){return v&&v.__esModule?v:{default:v}}function p(v){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(L){return typeof L}:p=function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},p(v)}function A(v,y){var L=Object.keys(v);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(v);y&&(S=S.filter(function(x){return Object.getOwnPropertyDescriptor(v,x).enumerable})),L.push.apply(L,S)}return L}function b(v){for(var y=1;y<arguments.length;y++){var L=arguments[y]!=null?arguments[y]:{};y%2?A(L,!0).forEach(function(S){o(v,S,L[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(L)):A(L).forEach(function(S){Object.defineProperty(v,S,Object.getOwnPropertyDescriptor(L,S))})}return v}function h(v,y){if(v==null)return{};var L=i(v,y),S,x;if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(v);for(x=0;x<O.length;x++){if(S=O[x],y.indexOf(S)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(v,S))continue;L[S]=v[S]}}return L}function i(v,y){if(v==null)return{};var L={},S=Object.keys(v),x,O;for(O=0;O<S.length;O++){if(x=S[O],y.indexOf(x)>=0)continue;L[x]=v[x]}return L}function r(v,y){if(!(v instanceof y))throw new TypeError("Cannot call a class as a function")}function a(v,y){for(var L=0;L<y.length;L++){var S=y[L];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(v,S.key,S)}}function s(v,y,L){return y&&a(v.prototype,y),L&&a(v,L),v}function l(v,y){return y&&(p(y)==="object"||typeof y=="function")?y:u(v)}function n(v){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(L){return L.__proto__||Object.getPrototypeOf(L)},n(v)}function u(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function t(v,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(y&&y.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),y&&c(v,y)}function c(v,y){return c=Object.setPrototypeOf||function(S,x){return S.__proto__=x,S},c(v,y)}function o(v,y,L){return y in v?Object.defineProperty(v,y,{value:L,enumerable:!0,configurable:!0,writable:!0}):v[y]=L,v}var f=function(v){t(y,v);function y(){var L,S;r(this,y);for(var x=arguments.length,O=new Array(x),T=0;T<x;T++)O[T]=arguments[T];return S=l(this,(L=n(y)).call.apply(L,[this].concat(O))),o(u(S),"onClick",function(w){var C=S.props,N=C.text,D=C.onCopy,B=C.children,R=C.options,U=d.default.Children.only(B),M=(0,E.default)(N,R);D&&D(N,M),U&&U.props&&typeof U.props.onClick=="function"&&U.props.onClick(w)}),S}return s(y,[{key:"render",value:function(){var S=this.props,x=S.text,O=S.onCopy,T=S.options,w=S.children,C=h(S,["text","onCopy","options","children"]),N=d.default.Children.only(w);return d.default.cloneElement(N,b({},C,{onClick:this.onClick}))}}]),y}(d.default.PureComponent);F.CopyToClipboard=f,o(f,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="ReloadOutlined";var b=F.a=d.forwardRef(A)},rUJ1:function(J,F){var e=/[&<>"']/,d=/[&<>"']/g,E=/[<>"']|&(?!#?\w+;)/,g=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},A=function(w){return p[w]};function b(T,w){if(w){if(e.test(T))return T.replace(d,A)}else if(E.test(T))return T.replace(g,A);return T}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function i(T){return T.replace(h,function(w,C){return C=C.toLowerCase(),C==="colon"?":":C.charAt(0)==="#"?C.charAt(1)==="x"?String.fromCharCode(parseInt(C.substring(2),16)):String.fromCharCode(+C.substring(1)):""})}var r=/(^|[^\[])\^/g;function a(T,w){T=T.source||T,w=w||"";var C={replace:function(D,B){return B=B.source||B,B=B.replace(r,"$1"),T=T.replace(D,B),C},getRegex:function(){return new RegExp(T,w)}};return C}var s=/[^\w:]/g,l=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(T,w,C){if(T){var N;try{N=decodeURIComponent(i(C)).replace(s,"").toLowerCase()}catch(D){return null}if(N.indexOf("javascript:")===0||N.indexOf("vbscript:")===0||N.indexOf("data:")===0)return null}w&&!l.test(C)&&(C=f(w,C));try{C=encodeURI(C).replace(/%25/g,"%")}catch(D){return null}return C}var u={},t=/^[^:]+:\/*[^/]*$/,c=/^([^:]+:)[\s\S]*$/,o=/^([^:]+:\/*[^/]*)[\s\S]*$/;function f(T,w){u[" "+T]||(t.test(T)?u[" "+T]=T+"/":u[" "+T]=S(T,"/",!0)),T=u[" "+T];var C=T.indexOf(":")===-1;return w.substring(0,2)==="//"?C?w:T.replace(c,"$1")+w:w.charAt(0)==="/"?C?w:T.replace(o,"$1")+w:T+w}var v={exec:function(){}};function y(T){for(var w=1,C,N;w<arguments.length;w++){C=arguments[w];for(N in C)Object.prototype.hasOwnProperty.call(C,N)&&(T[N]=C[N])}return T}function L(T,w){var C=T.replace(/\|/g,function(B,R,U){for(var M=!1,j=R;--j>=0&&U[j]==="\\";)M=!M;return M?"|":" |"}),N=C.split(/ \|/),D=0;if(N.length>w)N.splice(w);else for(;N.length<w;)N.push("");for(;D<N.length;D++)N[D]=N[D].trim().replace(/\\\|/g,"|");return N}function S(T,w,C){var N=T.length;if(N===0)return"";for(var D=0;D<N;){var B=T.charAt(N-D-1);if(B===w&&!C)D++;else if(B!==w&&C)D++;else break}return T.substr(0,N-D)}function x(T,w){if(T.indexOf(w[1])===-1)return-1;for(var C=T.length,N=0,D=0;D<C;D++)if(T[D]==="\\")D++;else if(T[D]===w[0])N++;else if(T[D]===w[1]&&(N--,N<0))return D;return-1}function O(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")}J.exports={escape:b,unescape:i,edit:a,cleanUrl:n,resolveUrl:f,noopTest:v,merge:y,splitCells:L,rtrim:S,findClosingBracket:x,checkSanitizeDeprecation:O}},rdUC:function(J,F,e){var d=e("MFOe"),E=d.Global;J.exports={name:"localStorage",read:p,write:A,each:b,remove:h,clearAll:i};function g(){return E.localStorage}function p(r){return g().getItem(r)}function A(r,a){return g().setItem(r,a)}function b(r){for(var a=g().length-1;a>=0;a--){var s=g().key(a);r(p(s),s)}}function h(r){return g().removeItem(r)}function i(){return g().clear()}},rdor:function(J,F,e){var d=e("lOQZ"),E=d.circularLayout;function g(p){p.eachSeriesByType("graph",function(A){A.get("layout")==="circular"&&E(A,"symbolSize")})}J.exports=g},rfSb:function(J,F,e){var d=e("T4UG"),E=e("sdST"),g=e("L0Ub"),p=g.getDimensionTypeByAxis,A=e("YXkt"),b=e("bYtY"),h=e("4NO4"),i=h.groupData,r=e("7aKB"),a=r.encodeHTML,s=e("xKMd"),l=2,n=d.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new s(b.bind(this.getData,this),b.bind(this.getRawData,this))},fixData:function(t){var c=t.length,o=i(t,function(U){return U[2]}),f=[];o.buckets.each(function(U,M){f.push({name:M,dataList:U})});for(var v=f.length,y=-1,L=-1,S=0;S<v;++S){var x=f[S].dataList.length;x>y&&(y=x,L=S)}for(var O=0;O<v;++O){if(O===L)continue;for(var T=f[O].name,w=0;w<y;++w){for(var C=f[L].dataList[w][0],N=f[O].dataList.length,D=-1,B=0;B<N;++B){var R=f[O].dataList[B][0];if(R===C){D=B;break}}D===-1&&(t[c]=[],t[c][0]=C,t[c][1]=0,t[c][2]=T,c++)}}return t},getInitialData:function(t,c){for(var o=c.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],f=o.get("type"),v=b.filter(t.data,function(C){return C[2]!==void 0}),y=this.fixData(v||[]),L=[],S=this.nameMap=b.createHashMap(),x=0,O=0;O<y.length;++O)L.push(y[O][l]),S.get(y[O][l])||(S.set(y[O][l],x),x++);var T=E(y,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:p(f)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),w=new A(T,this);return w.initData(y),w},getLayerSeries:function(){for(var t=this.getData(),c=t.count(),o=[],f=0;f<c;++f)o[f]=f;var v=t.mapDimension("single"),y=i(o,function(S){return t.get("name",S)}),L=[];return y.buckets.each(function(S,x){S.sort(function(O,T){return t.get(v,O)-t.get(v,T)}),L.push({name:x,indices:S})}),L},getAxisTooltipData:function(t,c,o){b.isArray(t)||(t=t?[t]:[]);for(var f=this.getData(),v=this.getLayerSeries(),y=[],L=v.length,S,x=0;x<L;++x){for(var O=Number.MAX_VALUE,T=-1,w=v[x].indices.length,C=0;C<w;++C){var N=f.get(t[0],v[x].indices[C]),D=Math.abs(N-c);D<=O&&(S=N,O=D,T=v[x].indices[C])}y.push(T)}return{dataIndices:y,nestestValue:S}},formatTooltip:function(t){var c=this.getData(),o=c.getName(t),f=c.get(c.mapDimension("value"),t);return(isNaN(f)||f==null)&&(f="-"),a(o+" : "+f)},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}}}}),u=n;J.exports=u},rkZ5:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("ProS"),p=e("c8qY"),A=e("D9ME"),b=e("fls0"),h=e("RSch"),i=e("akwb"),r=e("o40c"),a=e("ZYIC"),s=e("sK/D"),l=s.createClipPath,n=g.extendChartView({type:"lines",init:function(){},render:function(u,t,c){var o=u.getData(),f=this._updateLineDraw(o,u),v=u.get("zlevel"),y=u.get("effect.trailLength"),L=c.getZr(),S=L.painter.getType()==="svg";S||L.painter.getLayer(v).clear(!0),this._lastZlevel!=null&&!S&&L.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(u)&&y&&(S||L.configLayer(v,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(y/10+.9,1),0)})),f.updateData(o);var x=u.get("clip",!0)&&l(u.coordinateSystem,!1,u);x?this.group.setClipPath(x):this.group.removeClipPath(),this._lastZlevel=v,this._finished=!0},incrementalPrepareRender:function(u,t,c){var o=u.getData(),f=this._updateLineDraw(o,u);f.incrementalPrepareUpdate(o),this._clearLayer(c),this._finished=!1},incrementalRender:function(u,t,c){this._lineDraw.incrementalUpdate(u,t.getData()),this._finished=u.end===t.getData().count()},updateTransform:function(u,t,c){var o=u.getData(),f=u.pipelineContext;if(!this._finished||f.large||f.progressiveRender)return{update:!0};var v=a.reset(u);v.progress&&v.progress({start:0,end:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(c)},_updateLineDraw:function(u,t){var c=this._lineDraw,o=this._showEffect(t),f=!!t.get("polyline"),v=t.pipelineContext,y=v.large;return(!c||o!==this._hasEffet||f!==this._isPolyline||y!==this._isLargeDraw)&&(c&&c.remove(),c=this._lineDraw=y?new r:new p(f?o?i:h:o?A:b),this._hasEffet=o,this._isPolyline=f,this._isLargeDraw=y,this.group.removeAll()),this.group.add(c.group),c},_showEffect:function(u){return!!u.get("effect.show")},_clearLayer:function(u){var t=u.getZr(),c=t.painter.getType()==="svg";!c&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(u,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});J.exports=n},rmlV:function(J,F,e){var d=e("y+Vt"),E=d.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(p,A){var b=.5522848,h=A.cx,i=A.cy,r=A.rx,a=A.ry,s=r*b,l=a*b;p.moveTo(h-r,i),p.bezierCurveTo(h-r,i-l,h-s,i-a,h,i-a),p.bezierCurveTo(h+s,i-a,h+r,i-l,h+r,i),p.bezierCurveTo(h+r,i+l,h+s,i+a,h,i+a),p.bezierCurveTo(h-s,i+a,h-r,i+l,h-r,i),p.closePath()}});J.exports=E},rnVJ:function(J,F,e){var d=e("bYtY"),E=["rect","polygon","keep","clear"];function g(A,b){var h=A&&A.brush;if(d.isArray(h)||(h=h?[h]:[]),!h.length)return;var i=[];d.each(h,function(n){var u=n.hasOwnProperty("toolbox")?n.toolbox:[];u instanceof Array&&(i=i.concat(u))});var r=A&&A.toolbox;d.isArray(r)&&(r=r[0]),r||(r={feature:{}},A.toolbox=[r]);var a=r.feature||(r.feature={}),s=a.brush||(a.brush={}),l=s.type||(s.type=[]);l.push.apply(l,i),p(l),b&&!l.length&&l.push.apply(l,E)}function p(A){var b={};d.each(A,function(h){b[h]=1}),A.length=0,d.each(b,function(h,i){A.push(i)})}J.exports=g},rySg:function(J,F,e){e("SMc4"),e("8nMs")},s2MQ:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},s2lz:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("IwbS"),p=e("gPAo"),A=e("VaxA"),b=e("9hCq"),h=e("SgGq"),i=e("mFDi"),r=e("Fofx"),a=e("5s0K"),s=e("KCsZ"),l=e("7aKB"),n=l.windowOpen,u=E.bind,t=g.Group,c=g.Rect,o=E.each,f=3,v=["label"],y=["emphasis","label"],L=["upperLabel"],S=["emphasis","upperLabel"],x=10,O=1,T=2,w=s([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(U){var M=w(U);return M.stroke=M.fill=M.lineWidth=null,M},N=d.extendChartView({type:"treemap",init:function(U,M){this._containerGroup,this._storage=D(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(U,M,j,P){var K=M.findComponents({mainType:"series",subType:"treemap",query:P});if(E.indexOf(K,U)<0)return;this.seriesModel=U,this.api=j,this.ecModel=M;var H=["treemapZoomToNode","treemapRootToNode"],k=A.retrieveTargetInfo(P,H,U),Z=P&&P.type,Y=U.layoutInfo,_=!this._oldTree,Q=this._storage,X=Z==="treemapRootToNode"&&k&&Q?{rootNodeGroup:Q.nodeGroup[k.node.getRawIndex()],direction:P.direction}:null,he=this._giveContainerGroup(Y),te=this._doRender(he,U,X);!_&&(!Z||Z==="treemapZoomToNode"||Z==="treemapRootToNode")?this._doAnimation(he,te,U,X):te.renderFinally(),this._resetController(j),this._renderBreadcrumb(U,j,k)},_giveContainerGroup:function(U){var M=this._containerGroup;return M||(M=this._containerGroup=new t,this._initEvents(M),this.group.add(M)),M.attr("position",[U.x,U.y]),M},_doRender:function(U,M,j){var P=M.getData().tree,K=this._oldTree,H=D(),k=D(),Z=this._storage,Y=[],_=E.curry(B,M,k,Z,j,H,Y);X(P.root?[P.root]:[],K&&K.root?[K.root]:[],U,P===K||!K,0);var Q=he(Z);return this._oldTree=P,this._storage=k,{lastsForAnimation:H,willDeleteEls:Q,renderFinally:te};function X(fe,be,we,Ke,qe){Ke?(be=fe,o(fe,function(Be,bt){!Be.isRemoved()&&Fe(bt,bt)})):new p(be,fe,xt,xt).add(Fe).update(Fe).remove(E.curry(Fe,null)).execute();function xt(Be){return Be.getId()}function Fe(Be,bt){var lt=Be!=null?fe[Be]:null,tt=bt!=null?be[bt]:null,St=_(lt,tt,we,qe);St&&X(lt&<.viewChildren||[],tt&&tt.viewChildren||[],St,Ke,qe+1)}}function he(fe){var be=D();return fe&&o(fe,function(we,Ke){var qe=be[Ke];o(we,function(xt){xt&&(qe.push(xt),xt.__tmWillDelete=1)})}),be}function te(){o(Q,function(fe){o(fe,function(be){be.parent&&be.parent.remove(be)})}),o(Y,function(fe){fe.invisible=!0,fe.dirty()})}},_doAnimation:function(U,M,j,P){if(!j.get("animation"))return;var K=j.get("animationDurationUpdate"),H=j.get("animationEasing"),k=a.createWrap();o(M.willDeleteEls,function(Z,Y){o(Z,function(_,Q){if(_.invisible)return;var X=_.parent,he;if(P&&P.direction==="drillDown")he=X===P.rootNodeGroup?{shape:{x:0,y:0,width:X.__tmNodeWidth,height:X.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var te=0,fe=0;X.__tmWillDelete||(te=X.__tmNodeWidth/2,fe=X.__tmNodeHeight/2),he=Y==="nodeGroup"?{position:[te,fe],style:{opacity:0}}:{shape:{x:te,y:fe,width:0,height:0},style:{opacity:0}}}he&&k.add(_,he,K,H)})}),o(this._storage,function(Z,Y){o(Z,function(_,Q){var X=M.lastsForAnimation[Y][Q],he={};if(!X)return;Y==="nodeGroup"?X.old&&(he.position=_.position.slice(),_.attr("position",X.old)):(X.old&&(he.shape=E.extend({},_.shape),_.setShape(X.old)),X.fadein?(_.setStyle("opacity",0),he.style={opacity:1}):_.style.opacity!==1&&(he.style={opacity:1})),k.add(_,he,K,H)})},this),this._state="animating",k.done(u(function(){this._state="ready",M.renderFinally()},this)).start()},_resetController:function(U){var M=this._controller;M||(M=this._controller=new h(U.getZr()),M.enable(this.seriesModel.get("roam")),M.on("pan",u(this._onPan,this)),M.on("zoom",u(this._onZoom,this)));var j=new i(0,0,U.getWidth(),U.getHeight());M.setPointerChecker(function(P,K,H){return j.contain(K,H)})},_clearController:function(){var U=this._controller;U&&(U.dispose(),U=null)},_onPan:function(U){if(this._state!=="animating"&&(Math.abs(U.dx)>f||Math.abs(U.dy)>f)){var M=this.seriesModel.getData().tree.root;if(!M)return;var j=M.getLayout();if(!j)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:j.x+U.dx,y:j.y+U.dy,width:j.width,height:j.height}})}},_onZoom:function(U){var M=U.originX,j=U.originY;if(this._state!=="animating"){var P=this.seriesModel.getData().tree.root;if(!P)return;var K=P.getLayout();if(!K)return;var H=new i(K.x,K.y,K.width,K.height),k=this.seriesModel.layoutInfo;M-=k.x,j-=k.y;var Z=r.create();r.translate(Z,Z,[-M,-j]),r.scale(Z,Z,[U.scale,U.scale]),r.translate(Z,Z,[M,j]),H.applyTransform(Z),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(U){U.on("click",function(M){if(this._state!=="ready")return;var j=this.seriesModel.get("nodeClick",!0);if(!j)return;var P=this.findTarget(M.offsetX,M.offsetY);if(!P)return;var K=P.node;if(K.getLayout().isLeafRoot)this._rootToNode(P);else if(j==="zoomToNode")this._zoomToNode(P);else if(j==="link"){var H=K.hostTree.data.getItemModel(K.dataIndex),k=H.get("link",!0),Z=H.get("target",!0)||"blank";k&&n(k,Z)}},this)},_renderBreadcrumb:function(U,M,j){j||(j=U.get("leafDepth",!0)!=null?{node:U.getViewRoot()}:this.findTarget(M.getWidth()/2,M.getHeight()/2),j||(j={node:U.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new b(this.group))).render(U,M,j.node,u(P,this));function P(K){this._state!=="animating"&&(A.aboveViewRoot(U.getViewRoot(),K)?this._rootToNode({node:K}):this._zoomToNode({node:K}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=D(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(U){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:U.node})},_rootToNode:function(U){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:U.node})},findTarget:function(U,M){var j,P=this.seriesModel.getViewRoot();return P.eachNode({attr:"viewChildren",order:"preorder"},function(K){var H=this._storage.background[K.getRawIndex()];if(H){var k=H.transformCoordToLocal(U,M),Z=H.shape;if(Z.x<=k[0]&&k[0]<=Z.x+Z.width&&Z.y<=k[1]&&k[1]<=Z.y+Z.height)j={node:K,offsetX:k[0],offsetY:k[1]};else return!1}},this),j}});function D(){return{nodeGroup:[],background:[],content:[]}}function B(U,M,j,P,K,H,k,Z,Y,_){if(!k)return;var Q=k.getLayout(),X=U.getData();if(X.setItemGraphicEl(k.dataIndex,null),!Q||!Q.isInView)return;var he=Q.width,te=Q.height,fe=Q.borderWidth,be=Q.invisible,we=k.getRawIndex(),Ke=Z&&Z.getRawIndex(),qe=k.viewChildren,xt=Q.upperHeight,Fe=qe&&qe.length,Be=k.getModel("itemStyle"),bt=k.getModel("emphasis.itemStyle"),lt=Ie("nodeGroup",t);if(!lt)return;if(Y.add(lt),lt.attr("position",[Q.x||0,Q.y||0]),lt.__tmNodeWidth=he,lt.__tmNodeHeight=te,Q.isAboveViewRoot)return lt;var tt=k.getModel(),St=Ie("background",c,_,O);if(St&&vt(lt,St,Fe&&Q.upperLabelHeight),Fe)g.isHighDownDispatcher(lt)&&g.setAsHighDownDispatcher(lt,!1),St&&(g.setAsHighDownDispatcher(St,!0),X.setItemGraphicEl(k.dataIndex,St));else{var ht=Ie("content",c,_,T);ht&&Ge(lt,ht),St&&g.isHighDownDispatcher(St)&&g.setAsHighDownDispatcher(St,!1),g.setAsHighDownDispatcher(lt,!0),X.setItemGraphicEl(k.dataIndex,lt)}return lt;function vt(Mt,Pt,ke){if(Pt.dataIndex=k.dataIndex,Pt.seriesIndex=U.seriesIndex,Pt.setShape({x:0,y:0,width:he,height:te}),be)At(Pt);else{Pt.invisible=!1;var zt=k.getVisual("borderColor",!0),Ot=bt.get("borderColor"),_t=C(Be);_t.fill=zt;var Ve=w(bt);if(Ve.fill=Ot,ke){var Qe=he-2*fe;_e(_t,Ve,zt,Qe,xt,{x:fe,y:0,width:Qe,height:xt})}else _t.text=Ve.text=null;Pt.setStyle(_t),g.setElementHoverStyle(Pt,Ve)}Mt.add(Pt)}function Ge(Mt,Pt){Pt.dataIndex=k.dataIndex,Pt.seriesIndex=U.seriesIndex;var ke=Math.max(he-2*fe,0),zt=Math.max(te-2*fe,0);if(Pt.culling=!0,Pt.setShape({x:fe,y:fe,width:ke,height:zt}),be)At(Pt);else{Pt.invisible=!1;var Ot=k.getVisual("color",!0),_t=C(Be);_t.fill=Ot;var Ve=w(bt);_e(_t,Ve,Ot,ke,zt),Pt.setStyle(_t),g.setElementHoverStyle(Pt,Ve)}Mt.add(Pt)}function At(Mt){!Mt.invisible&&H.push(Mt)}function _e(Mt,Pt,ke,zt,Ot,_t){var Ve=tt.get("name"),Qe=tt.getModel(_t?L:v),et=tt.getModel(_t?S:y),dt=Qe.getShallow("show");g.setLabelStyle(Mt,Pt,Qe,et,{defaultText:dt?Ve:null,autoColor:ke,isRectText:!0,labelFetcher:U,labelDataIndex:k.dataIndex,labelProp:_t?"upperLabel":"label"}),De(Mt,_t,Q),De(Pt,_t,Q),_t&&(Mt.textRect=E.clone(_t)),Mt.truncate=dt&&Qe.get("ellipsis")?{outerWidth:zt,outerHeight:Ot,minChar:2}:null}function De(Mt,Pt,ke){var zt=Mt.text;if(!Pt&&ke.isLeafRoot&&zt!=null){var Ot=U.get("drillDownIcon",!0);Mt.text=Ot?Ot+" "+zt:zt}}function Ie(Mt,Pt,ke,zt){var Ot=Ke!=null&&j[Mt][Ke],_t=K[Mt];return Ot?(j[Mt][Ke]=null,st(_t,Ot,Mt)):be||(Ot=new Pt({z:R(ke,zt)}),Ot.__tmDepth=ke,Ot.__tmStorageName=Mt,Et(_t,Ot,Mt)),M[Mt][we]=Ot}function st(Mt,Pt,ke){var zt=Mt[we]={};zt.old=ke==="nodeGroup"?Pt.position.slice():E.extend({},Pt.shape)}function Et(Mt,Pt,ke){var zt=Mt[we]={},Ot=k.parentNode;if(Ot&&(!P||P.direction==="drillDown")){var _t=0,Ve=0,Qe=K.background[Ot.getRawIndex()];!P&&Qe&&Qe.old&&(_t=Qe.old.width,Ve=Qe.old.height),zt.old=ke==="nodeGroup"?[0,Ve]:{x:_t,y:Ve,width:0,height:0}}zt.fadein=ke!=="nodeGroup"}}function R(U,M){var j=U*x+M;return(j-1)/j}J.exports=N},sAZ8:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("+rIm"),p=e("/IIm"),A=e("9KIM"),b=e("IwbS"),h=["axisLine","axisTickLabel","axisName"],i=d.extendComponentView({type:"parallelAxis",init:function(n,u){i.superApply(this,"init",arguments),(this._brushController=new p(u.getZr())).on("brush",E.bind(this._onBrush,this))},render:function(n,u,t,c){if(r(n,u,c))return;this.axisModel=n,this.api=t,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new b.Group,this.group.add(this._axisGroup),!n.get("show"))return;var f=s(n,u),v=f.coordinateSystem,y=n.getAreaSelectStyle(),L=y.width,S=n.axis.dim,x=v.getAxisLayout(S),O=E.extend({strokeContainThreshold:L},x),T=new g(n,O);E.each(h,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(O,y,n,f,L,t);var w=c&&c.animation===!1?null:n;b.groupTransition(o,this._axisGroup,w)},_refreshBrushController:function(n,u,t,c,o,f){var v=t.axis.getExtent(),y=v[1]-v[0],L=Math.min(30,Math.abs(y)*.1),S=b.BoundingRect.create({x:v[0],y:-o/2,width:y,height:o});S.x-=L,S.width+=2*L,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:A.makeRectPanelClipPath(S),isTargetByCursor:A.makeRectIsTargetByCursor(S,f,c),getLinearBrushOtherExtent:A.makeLinearBrushOtherExtent(S,0)}]).enableBrush({brushType:"lineX",brushStyle:u,removeOnClick:!0}).updateCovers(a(t))},_onBrush:function(n,u){var t=this.axisModel,c=t.axis,o=E.map(n,function(f){return[c.coordToData(f.range[0],!0),c.coordToData(f.range[1],!0)]});(!t.option.realtime===u.isEnd||u.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function r(n,u,t){return t&&t.type==="axisAreaSelect"&&u.findComponents({mainType:"parallelAxis",query:t})[0]===n}function a(n){var u=n.axis;return E.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[u.dataToCoord(t[0],!0),u.dataToCoord(t[1],!0)]}})}function s(n,u){return u.getComponent("parallel",n.get("parallelIndex"))}var l=i;J.exports=l},sE09:function(J,F,e){},sEf8:function(J,F){function e(d){return function(E){return d(E)}}J.exports=e},sGsY:function(J,F,e){"use strict";var d=e("lSNA"),E=e.n(d),g=e("pVnL"),p=e.n(g),A=e("q1tI"),b=e("TSYQ"),h=e.n(b),i=e("H84U"),r=e("B6l+"),a=e.n(r),s=function(k){var Z=k.value,Y=k.formatter,_=k.precision,Q=k.decimalSeparator,X=k.groupSeparator,he=X===void 0?"":X,te=k.prefixCls,fe;if(typeof Y=="function")fe=Y(Z);else{var be=String(Z),we=be.match(/^(-?)(\d*)(\.(\d+))?$/);if(!we||be==="-")fe=be;else{var Ke=we[1],qe=we[2]||"0",xt=we[4]||"";qe=qe.replace(/\B(?=(\d{3})+(?!\d))/g,he),typeof _=="number"&&(xt=a()(xt,_,"0").slice(0,_)),xt&&(xt="".concat(Q).concat(xt)),fe=[A.createElement("span",{key:"int",className:"".concat(te,"-content-value-int")},Ke,qe),xt&&A.createElement("span",{key:"decimal",className:"".concat(te,"-content-value-decimal")},xt)]}}return A.createElement("span",{className:"".concat(te,"-content-value")},fe)},l=s,n=function(k){var Z=k.prefixCls,Y=k.className,_=k.style,Q=k.valueStyle,X=k.value,he=X===void 0?0:X,te=k.title,fe=k.valueRender,be=k.prefix,we=k.suffix,Ke=k.direction,qe=k.onMouseEnter,xt=k.onMouseLeave,Fe=A.createElement(l,p()({},k,{value:he})),Be=h()(Z,Y,E()({},"".concat(Z,"-rtl"),Ke==="rtl"));return A.createElement("div",{className:Be,style:_,onMouseEnter:qe,onMouseLeave:xt},te&&A.createElement("div",{className:"".concat(Z,"-title")},te),A.createElement("div",{style:Q,className:"".concat(Z,"-content")},be&&A.createElement("span",{className:"".concat(Z,"-content-prefix")},be),fe?fe(Fe):Fe,we&&A.createElement("span",{className:"".concat(Z,"-content-suffix")},we)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var u=Object(i.c)({prefixCls:"statistic"})(n),t=u,c=e("lwsE"),o=e.n(c),f=e("W8MJ"),v=e.n(f),y=e("7W2i"),L=e.n(y),S=e("LQ03"),x=e.n(S),O=e("J4zp"),T=e.n(O),w=e("QQZ/"),C=e.n(w),N=[["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 D(H,k){var Z=H,Y=/\[[^\]]*]/g,_=(k.match(Y)||[]).map(function(te){return te.slice(1,-1)}),Q=k.replace(Y,"[]"),X=N.reduce(function(te,fe){var be=T()(fe,2),we=be[0],Ke=be[1];if(te.indexOf(we)!==-1){var qe=Math.floor(Z/Ke);return Z-=qe*Ke,te.replace(new RegExp("".concat(we,"+"),"g"),function(xt){var Fe=xt.length;return C()(qe.toString(),Fe,"0")})}return te},Q),he=0;return X.replace(Y,function(){var te=_[he];return he+=1,te})}function B(H,k){var Z=k.format,Y=Z===void 0?"":Z,_=new Date(H).getTime(),Q=Date.now(),X=Math.max(_-Q,0);return D(X,Y)}var R=e("0n0R"),U=1e3/30;function M(H){return new Date(H).getTime()}var j=function(H){L()(Z,H);var k=x()(Z);function Z(){var Y;return o()(this,Z),Y=k.apply(this,arguments),Y.syncTimer=function(){var _=Y.props.value,Q=M(_);Q>=Date.now()?Y.startTimer():Y.stopTimer()},Y.startTimer=function(){if(Y.countdownId)return;Y.countdownId=window.setInterval(function(){Y.forceUpdate()},U)},Y.stopTimer=function(){var _=Y.props,Q=_.onFinish,X=_.value;if(Y.countdownId){clearInterval(Y.countdownId),Y.countdownId=void 0;var he=M(X);Q&&he<Date.now()&&Q()}},Y.formatCountdown=function(_,Q){var X=Y.props.format;return B(_,p()(p()({},Q),{format:X}))},Y.valueRender=function(_){return Object(R.a)(_,{title:void 0})},Y}return v()(Z,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return A.createElement(t,p()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),Z}(A.Component);j.defaultProps={format:"HH:mm:ss"};var P=j;t.Countdown=P;var K=F.a=t},"sK/D":function(J,F,e){var d=e("IwbS"),E=e("OELB"),g=E.round;function p(h,i,r){var a=h.getArea(),s=h.getBaseAxis().isHorizontal(),l=a.x,n=a.y,u=a.width,t=a.height,c=r.get("lineStyle.width")||2;l-=c/2,n-=c/2,u+=c,t+=c,l=Math.floor(l),u=Math.round(u);var o=new d.Rect({shape:{x:l,y:n,width:u,height:t}});return i&&(o.shape[s?"width":"height"]=0,d.initProps(o,{shape:{width:u,height:t}},r)),o}function A(h,i,r){var a=h.getArea(),s=new d.Sector({shape:{cx:g(h.cx,1),cy:g(h.cy,1),r0:g(a.r0,1),r:g(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return i&&(s.shape.endAngle=a.startAngle,d.initProps(s,{shape:{endAngle:a.endAngle}},r)),s}function b(h,i,r){if(h){if(h.type==="polar")return A(h,i,r);if(h.type==="cartesian2d")return p(h,i,r)}else return null;return null}F.createGridClipPath=p,F.createPolarClipPath=A,F.createClipPath=b},sKgW:function(J,F){var e=9007199254740991,d=Math.floor;function E(g,p){var A="";if(!g||p<1||p>e)return A;do p%2&&(A+=g),p=d(p/2),p&&(g+=g);while(p);return A}J.exports=E},sPJy:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("AOa7"),p=e.n(g),A=e("lUTK"),b=e("qVdP")},sPtV:function(J,F,e){"use strict";e.d(F,"a",function(){return p});var d=e("q1tI"),E=e.n(d),g=e("hkKa");function p(A){var b=d.useRef(A),h=Object(g.a)();return[function(){return b.current},function(i){b.current=i,h()}]}},sRBo:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("KCY9"),p=e.n(g)},sRwP:function(J,F,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(J,F,e){var d=e("4fz+"),E=e("iRjW"),g=e("Yl7c"),p=function(){this.group=new d,this.uid=E.getUID("viewComponent")};p.prototype={constructor:p,init:function(h,i){},render:function(h,i,r,a){},dispose:function(){},filterForExposedEvent:null};var A=p.prototype;A.updateView=A.updateLayout=A.updateVisual=function(h,i,r,a){},g.enableClassExtend(p),g.enableClassManagement(p,{registerWhenExtend:!0});var b=p;J.exports=b},"sW+o":function(J,F,e){var d=e("SrGk"),E=e("bYtY"),g=e("SUKs"),p=e("Qe9p");function A(h,i){d.call(this,h,i,["linearGradient","radialGradient"],"__gradient_in_use__")}E.inherits(A,d),A.prototype.addWithoutUpdate=function(h,i){if(i&&i.style){var r=this;E.each(["fill","stroke"],function(a){if(i.style[a]&&(i.style[a].type==="linear"||i.style[a].type==="radial")){var s=i.style[a],l=r.getDefs(!0),n;s._dom?(n=s._dom,l.contains(s._dom)||r.addDom(n)):n=r.add(s),r.markUsed(i);var u=n.getAttribute("id");h.setAttribute(a,"url(#"+u+")")}})}},A.prototype.add=function(h){var i;if(h.type==="linear")i=this.createElement("linearGradient");else if(h.type==="radial")i=this.createElement("radialGradient");else return g("Illegal gradient type."),null;return h.id=h.id||this.nextId++,i.setAttribute("id","zr"+this._zrId+"-gradient-"+h.id),this.updateDom(h,i),this.addDom(i),i},A.prototype.update=function(h){var i=this;d.prototype.update.call(this,h,function(){var r=h.type,a=h._dom.tagName;r==="linear"&&a==="linearGradient"||r==="radial"&&a==="radialGradient"?i.updateDom(h,h._dom):(i.removeDom(h),i.add(h))})},A.prototype.updateDom=function(h,i){if(h.type==="linear")i.setAttribute("x1",h.x),i.setAttribute("y1",h.y),i.setAttribute("x2",h.x2),i.setAttribute("y2",h.y2);else if(h.type==="radial")i.setAttribute("cx",h.x),i.setAttribute("cy",h.y),i.setAttribute("r",h.r);else{g("Illegal gradient type.");return}h.global?i.setAttribute("gradientUnits","userSpaceOnUse"):i.setAttribute("gradientUnits","objectBoundingBox"),i.innerHTML="";for(var r=h.colorStops,a=0,s=r.length;a<s;++a){var l=this.createElement("stop");l.setAttribute("offset",r[a].offset*100+"%");var n=r[a].color;if(n.indexOf("rgba">-1)){var u=p.parse(n)[3],t=p.toHex(n);l.setAttribute("stop-color","#"+t),l.setAttribute("stop-opacity",u)}else l.setAttribute("stop-color",r[a].color);i.appendChild(l)}h._dom=i},A.prototype.markUsed=function(h){if(h.style){var i=h.style.fill;i&&i._dom&&d.prototype.markUsed.call(this,i._dom),i=h.style.stroke,i&&i._dom&&d.prototype.markUsed.call(this,i._dom)}};var b=A;J.exports=b},sboe:function(J,F,e){"use strict";e.d(F,"a",function(){return g});var d=e("q1tI"),E=e.n(d),g=d.createContext(null)},sdST:function(J,F,e){var d=e("hi0g");function E(g,p){return p=p||{},d(p.coordDimensions||[],g,{dimsDef:p.dimensionsDefine||g.dimensionsDefine,encodeDef:p.encodeDefine||g.encodeDefine,dimCount:p.dimensionsCount,encodeDefaulter:p.encodeDefaulter,generateCoord:p.generateCoord,generateCoordCount:p.generateCoordCount})}J.exports=E},seXi:function(J,F,e){var d=e("qZTm"),E=1,g=Object.prototype,p=g.hasOwnProperty;function A(b,h,i,r,a,s){var l=i&E,n=d(b),u=n.length,t=d(h),c=t.length;if(u!=c&&!l)return!1;for(var o=u;o--;){var f=n[o];if(!(l?f in h:p.call(h,f)))return!1}var v=s.get(b),y=s.get(h);if(v&&y)return v==h&&y==b;var L=!0;s.set(b,h),s.set(h,b);for(var S=l;++o<u;){f=n[o];var x=b[f],O=h[f];if(r)var T=l?r(O,x,f,h,b,s):r(x,O,f,b,h,s);if(!(T===void 0?x===O||a(x,O,i,r,s):T)){L=!1;break}S||(S=f=="constructor")}if(L&&!S){var w=b.constructor,C=h.constructor;w!=C&&"constructor"in b&&"constructor"in h&&!(typeof w=="function"&&w instanceof w&&typeof C=="function"&&C instanceof C)&&(L=!1)}return s.delete(b),s.delete(h),L}J.exports=A},shjB:function(J,F){var e=9007199254740991;function d(E){return typeof E=="number"&&E>-1&&E%1==0&&E<=e}J.exports=d},szbU:function(J,F,e){var d=e("bYtY"),E=d.each;function g(A){var b=A&&A.visualMap;d.isArray(b)||(b=b?[b]:[]),E(b,function(h){if(!h)return;p(h,"splitList")&&!p(h,"pieces")&&(h.pieces=h.splitList,delete h.splitList);var i=h.pieces;i&&d.isArray(i)&&E(i,function(r){d.isObject(r)&&(p(r,"start")&&!p(r,"min")&&(r.min=r.start),p(r,"end")&&!p(r,"max")&&(r.max=r.end))})})}function p(A,b){return A&&A.hasOwnProperty&&A.hasOwnProperty(b)}J.exports=g},t23M:function(J,F,e){"use strict";var d=e("VTBJ"),E=e("1OyB"),g=e("vuIU"),p=e("Ji7U"),A=e("LK+K"),b=e("q1tI"),h=e.n(b),i=e("m+aA"),r=e("Zm9Q"),a=e("Kwbf"),s=e("c+Xe"),l=e("bdgK"),n="rc-observer-key",u=function(t){Object(p.a)(o,t);var c=Object(A.a)(o);function o(){var f;return Object(E.a)(this,o),f=c.apply(this,arguments),f.resizeObserver=null,f.childNode=null,f.currentElement=null,f.state={width:0,height:0,offsetHeight:0,offsetWidth:0},f.onResize=function(v){var y=f.props.onResize,L=v[0].target,S=L.getBoundingClientRect(),x=S.width,O=S.height,T=L.offsetWidth,w=L.offsetHeight,C=Math.floor(x),N=Math.floor(O);if(f.state.width!==C||f.state.height!==N||f.state.offsetWidth!==T||f.state.offsetHeight!==w){var D={width:C,height:N,offsetWidth:T,offsetHeight:w};f.setState(D),y&&Promise.resolve().then(function(){y(Object(d.a)(Object(d.a)({},D),{},{offsetWidth:T,offsetHeight:w}))})}},f.setChildNode=function(v){f.childNode=v},f}return Object(g.a)(o,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var v=this.props.disabled;if(v){this.destroyObserver();return}var y=Object(i.a)(this.childNode||this),L=y!==this.currentElement;L&&(this.destroyObserver(),this.currentElement=y),!this.resizeObserver&&y&&(this.resizeObserver=new l.default(this.onResize),this.resizeObserver.observe(y))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var v=this.props.children,y=Object(r.a)(v);if(y.length>1)Object(a.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(y.length===0)return Object(a.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var L=y[0];if(b.isValidElement(L)&&Object(s.c)(L)){var S=L.ref;y[0]=b.cloneElement(L,{ref:Object(s.a)(S,this.setChildNode)})}return y.length===1?y[0]:y.map(function(x,O){return!b.isValidElement(x)||"key"in x&&x.key!==null?x:b.cloneElement(x,{key:"".concat(n,"-").concat(O)})})}}]),o}(b.Component);u.displayName="ResizeObserver",F.a=u},t3Fx:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=Object.assign||function(c){for(var o=1;o<arguments.length;o++){var f=arguments[o];for(var v in f)Object.prototype.hasOwnProperty.call(f,v)&&(c[v]=f[v])}return c},E=function(){function c(o,f){for(var v=0;v<f.length;v++){var y=f[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(o,y.key,y)}}return function(o,f,v){return f&&c(o.prototype,f),v&&c(o,v),o}}(),g=e("q1tI"),p=s(g),A=e("17x9"),b=s(A),h=e("aUsF"),i=s(h),r=e("u3os"),a=e("kzFp");function s(c){return c&&c.__esModule?c:{default:c}}function l(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function n(c,o){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:c}function u(c,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);c.prototype=Object.create(o&&o.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(c,o):c.__proto__=o)}var t=function(c){u(o,c);function o(f){l(this,o);var v=n(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,f));return v.getEchartsInstance=function(){return v.echartsLib.getInstanceByDom(v.echartsElement)||v.echartsLib.init(v.echartsElement,v.props.theme,v.props.opts)},v.dispose=function(){if(v.echartsElement){try{(0,r.clear)(v.echartsElement)}catch(y){console.warn(y)}v.echartsLib.dispose(v.echartsElement)}},v.rerender=function(){var y=v.props,L=y.onEvents,S=y.onChartReady,x=v.renderEchartDom();v.bindEvents(x,L||{}),typeof S=="function"&&v.props.onChartReady(x),v.echartsElement&&(0,r.bind)(v.echartsElement,function(){try{x.resize()}catch(O){console.warn(O)}})},v.bindEvents=function(y,L){var S=function(T,w){typeof T=="string"&&typeof w=="function"&&y.on(T,function(C){w(C,y)})};for(var x in L)Object.prototype.hasOwnProperty.call(L,x)&&S(x,L[x])},v.renderEchartDom=function(){var y=v.getEchartsInstance();return y.setOption(v.props.option,v.props.notMerge||!1,v.props.lazyUpdate||!1),v.props.showLoading?y.showLoading(v.props.loadingOption||null):y.hideLoading(),y},v.echartsLib=f.echarts,v.echartsElement=null,v}return E(o,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(v){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(v,this.props))return;if(!(0,i.default)(v.theme,this.props.theme)||!(0,i.default)(v.opts,this.props.opts)||!(0,i.default)(v.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var y=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,i.default)((0,a.pick)(this.props,y),(0,a.pick)(v,y)))return;var L=this.renderEchartDom();if(!(0,i.default)(v.style,this.props.style)||!(0,i.default)(v.className,this.props.className))try{L.resize()}catch(S){console.warn(S)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var v=this,y=this.props,L=y.style,S=y.className,x=d({height:300},L);return p.default.createElement("div",{ref:function(T){v.echartsElement=T},style:x,className:"echarts-for-react "+S})}}]),o}(g.Component);F.default=t,t.propTypes={option:b.default.object.isRequired,echarts:b.default.object,notMerge:b.default.bool,lazyUpdate:b.default.bool,style:b.default.object,className:b.default.string,theme:b.default.oneOfType([b.default.string,b.default.object]),onChartReady:b.default.func,showLoading:b.default.bool,loadingOption:b.default.object,onEvents:b.default.object,opts:b.default.shape({devicePixelRatio:b.default.number,renderer:b.default.oneOf(["canvas","svg"]),width:b.default.oneOfType([b.default.number,b.default.oneOf([null,void 0,"auto"])]),height:b.default.oneOfType([b.default.number,b.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:b.default.func},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(J,F,e){var d=e("bYtY"),E=e("IwbS"),g=e("Qxkt"),p=e("Znkb"),A=e("+rIm"),b=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function h(s,l,n){l[1]>l[0]&&(l=l.slice().reverse());var u=s.coordToPoint([l[0],n]),t=s.coordToPoint([l[1],n]);return{x1:u[0],y1:u[1],x2:t[0],y2:t[1]}}function i(s){var l=s.getRadiusAxis();return l.inverse?0:1}function r(s){var l=s[0],n=s[s.length-1];l&&n&&Math.abs(Math.abs(l.coord-n.coord)-360)<1e-4&&s.pop()}var a=p.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(s,l){if(this.group.removeAll(),!s.get("show"))return;var n=s.axis,u=n.polar,t=u.getRadiusAxis().getExtent(),c=n.getTicksCoords(),o=n.getMinorTicksCoords(),f=d.map(n.getViewLabels(),function(v){var v=d.clone(v);return v.coord=n.dataToCoord(v.tickValue),v});r(f),r(c),d.each(b,function(v){s.get(v+".show")&&(!n.scale.isBlank()||v==="axisLine")&&this["_"+v](s,u,c,o,t,f)},this)},_axisLine:function(s,l,n,u,t){var c=s.getModel("axisLine.lineStyle"),o=i(l),f=o?0:1,v;t[f]===0?v=new E.Circle({shape:{cx:l.cx,cy:l.cy,r:t[o]},style:c.getLineStyle(),z2:1,silent:!0}):v=new E.Ring({shape:{cx:l.cx,cy:l.cy,r:t[o],r0:t[f]},style:c.getLineStyle(),z2:1,silent:!0}),v.style.fill=null,this.group.add(v)},_axisTick:function(s,l,n,u,t){var c=s.getModel("axisTick"),o=(c.get("inside")?-1:1)*c.get("length"),f=t[i(l)],v=d.map(n,function(y){return new E.Line({shape:h(l,[f,f+o],y.coord)})});this.group.add(E.mergePath(v,{style:d.defaults(c.getModel("lineStyle").getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")})}))},_minorTick:function(s,l,n,u,t){if(!u.length)return;for(var c=s.getModel("axisTick"),o=s.getModel("minorTick"),f=(c.get("inside")?-1:1)*o.get("length"),v=t[i(l)],y=[],L=0;L<u.length;L++)for(var S=0;S<u[L].length;S++)y.push(new E.Line({shape:h(l,[v,v+f],u[L][S].coord)}));this.group.add(E.mergePath(y,{style:d.defaults(o.getModel("lineStyle").getLineStyle(),d.defaults(c.getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(s,l,n,u,t,c){var o=s.getCategories(!0),f=s.getModel("axisLabel"),v=f.get("margin"),y=s.get("triggerEvent");d.each(c,function(L,S){var x=f,O=L.tickValue,T=t[i(l)],w=l.coordToPoint([T+v,L.coord]),C=l.cx,N=l.cy,D=Math.abs(w[0]-C)/T<.3?"center":w[0]>C?"left":"right",B=Math.abs(w[1]-N)/T<.3?"middle":w[1]>N?"top":"bottom";o&&o[O]&&o[O].textStyle&&(x=new g(o[O].textStyle,f,f.ecModel));var R=new E.Text({silent:A.isLabelSilent(s)});this.group.add(R),E.setTextStyle(R.style,x,{x:w[0],y:w[1],textFill:x.getTextColor()||s.get("axisLine.lineStyle.color"),text:L.formattedLabel,textAlign:D,textVerticalAlign:B}),y&&(R.eventData=A.makeAxisEventDataBase(s),R.eventData.targetType="axisLabel",R.eventData.value=L.rawLabel)},this)},_splitLine:function(s,l,n,u,t){var c=s.getModel("splitLine"),o=c.getModel("lineStyle"),f=o.get("color"),v=0;f=f instanceof Array?f:[f];for(var y=[],L=0;L<n.length;L++){var S=v++%f.length;y[S]=y[S]||[],y[S].push(new E.Line({shape:h(l,t,n[L].coord)}))}for(var L=0;L<y.length;L++)this.group.add(E.mergePath(y[L],{style:d.defaults({stroke:f[L%f.length]},o.getLineStyle()),silent:!0,z:s.get("z")}))},_minorSplitLine:function(s,l,n,u,t){if(!u.length)return;for(var c=s.getModel("minorSplitLine"),o=c.getModel("lineStyle"),f=[],v=0;v<u.length;v++)for(var y=0;y<u[v].length;y++)f.push(new E.Line({shape:h(l,t,u[v][y].coord)}));this.group.add(E.mergePath(f,{style:o.getLineStyle(),silent:!0,z:s.get("z")}))},_splitArea:function(s,l,n,u,t){if(!n.length)return;var c=s.getModel("splitArea"),o=c.getModel("areaStyle"),f=o.get("color"),v=0;f=f instanceof Array?f:[f];for(var y=[],L=Math.PI/180,S=-n[0].coord*L,x=Math.min(t[0],t[1]),O=Math.max(t[0],t[1]),T=s.get("clockwise"),w=1;w<n.length;w++){var C=v++%f.length;y[C]=y[C]||[],y[C].push(new E.Sector({shape:{cx:l.cx,cy:l.cy,r0:x,r:O,startAngle:S,endAngle:-n[w].coord*L,clockwise:T},silent:!0})),S=-n[w].coord*L}for(var w=0;w<y.length;w++)this.group.add(E.mergePath(y[w],{style:d.defaults({fill:f[w%f.length]},o.getAreaStyle()),silent:!0}))}});J.exports=a},tMB7:function(J,F,e){var d=e("y1pI");function E(g){var p=this.__data__,A=d(p,g);return A<0?void 0:p[A][1]}J.exports=E},tSko:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("SRve")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="PlusOutlined";var h=g.forwardRef(b);F.default=h},tadb:function(J,F,e){var d=e("Cwc5"),E=e("Kz5y"),g=d(E,"DataView");J.exports=g},tceW:function(J,F,e){var d=e("KCsZ"),E=d([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),g={getBarItemStyle:function(p){var A=E(this,p);if(this.getBorderLineDash){var b=this.getBorderLineDash();b&&(A.lineDash=b)}return A}};J.exports=g},txkQ:function(J,F,e){var d=e("aX58");F.zrender=d;var E=e("Fofx");F.matrix=E;var g=e("QBsz");F.vector=g;var p=e("bYtY"),A=e("Qe9p");F.color=A;var b=e("IwbS"),h=e("OELB");F.number=h;var i=e("7aKB");F.format=i;var r=e("iLNv"),a=r.throttle;F.throttle=r.throttle;var s=e("FUi9");F.helper=s;var l=e("vafp");F.parseGeoJSON=l;var n=e("YXkt");F.List=n;var u=e("Qxkt");F.Model=u;var t=e("hM6l");F.Axis=t;var c=e("ItGF");F.env=c;var o=l,f={};p.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(y){f[y]=p[y]});var v={};p.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(y){v[y]=b[y]}),F.parseGeoJson=o,F.util=f,F.graphic=v},u3DP:function(J,F,e){var d=e("6GrX"),E=e("OELB"),g=E.parsePercent,p=Math.PI/180;function A(r,a,s,l,n,u,t,c,o,f){r.sort(function(D,B){return D.y-B.y});function v(D,B,R,U){for(var M=D;M<B&&!(r[M].y+R>o+t);M++)if(r[M].y+=R,M>D&&M+1<B&&r[M+1].y>r[M].y+r[M].height){y(M,R/2);return}y(B-1,R/2)}function y(D,B){for(var R=D;R>=0&&!(r[R].y-B<o);R--)if(r[R].y-=B,R>0&&r[R].y>r[R-1].y+r[R-1].height)break}function L(D,B,R,U,M,j){for(var P=(j>0,B?Number.MAX_VALUE:0),K=0,H=D.length;K<H;K++){if(D[K].labelAlignTo!=="none")continue;var k=Math.abs(D[K].y-U),Z=D[K].len,Y=D[K].len2,_=k<M+Z?Math.sqrt((M+Z+Y)*(M+Z+Y)-k*k):Math.abs(D[K].x-R);B&&_>=P&&(_=P-10),!B&&_<=P&&(_=P+10),D[K].x=R+_*j,P=_}}for(var S=0,x,O=r.length,T=[],w=[],C=0;C<O;C++){if(r[C].position==="outer"&&r[C].labelAlignTo==="labelLine"){var N=r[C].x-f;r[C].linePoints[1][0]+=N,r[C].x=f}x=r[C].y-S,x<0&&v(C,O,-x,n),S=r[C].y+r[C].height}t-S<0&&y(O-1,S-t);for(var C=0;C<O;C++)r[C].y>=s?w.push(r[C]):T.push(r[C]);L(T,!1,a,s,l,n),L(w,!0,a,s,l,n)}function b(r,a,s,l,n,u,t,c){for(var o=[],f=[],v=Number.MAX_VALUE,y=-Number.MAX_VALUE,L=0;L<r.length;L++){if(h(r[L]))continue;r[L].x<a?(v=Math.min(v,r[L].x),o.push(r[L])):(y=Math.max(y,r[L].x),f.push(r[L]))}A(f,a,s,l,1,n,u,t,c,y),A(o,a,s,l,-1,n,u,t,c,v);for(var L=0;L<r.length;L++){var S=r[L];if(h(S))continue;var x=S.linePoints;if(x){var O=S.labelAlignTo==="edge",T=S.textRect.width,w;O?S.x<a?w=x[2][0]-S.labelDistance-t-S.labelMargin:w=t+n-S.labelMargin-x[2][0]-S.labelDistance:S.x<a?w=S.x-t-S.bleedMargin:w=t+n-S.x-S.bleedMargin,w<S.textRect.width&&(S.text=d.truncateText(S.text,w,S.font),S.labelAlignTo==="edge"&&(T=d.getWidth(S.text,S.font)));var C=x[1][0]-x[2][0];O?S.x<a?x[2][0]=t+S.labelMargin+T+S.labelDistance:x[2][0]=t+n-S.labelMargin-T-S.labelDistance:(S.x<a?x[2][0]=S.x+S.labelDistance:x[2][0]=S.x-S.labelDistance,x[1][0]=x[2][0]+C),x[1][1]=x[2][1]=S.y}}}function h(r){return r.position==="center"}function i(r,a,s,l,n,u){var t=r.getData(),c=[],o,f,v=!1,y=(r.get("minShowLabelAngle")||0)*p;t.each(function(L){var S=t.getItemLayout(L),x=t.getItemModel(L),O=x.getModel("label"),T=O.get("position")||x.get("emphasis.label.position"),w=O.get("distanceToLabelLine"),C=O.get("alignTo"),N=g(O.get("margin"),s),D=O.get("bleedMargin"),B=O.getFont(),R=x.getModel("labelLine"),U=R.get("length");U=g(U,s);var M=R.get("length2");if(M=g(M,s),S.angle<y)return;var j=(S.startAngle+S.endAngle)/2,P=Math.cos(j),K=Math.sin(j),H,k,Z,Y;o=S.cx,f=S.cy;var _=r.getFormattedLabel(L,"normal")||t.getName(L),Q=d.getBoundingRect(_,B,Y,"top"),X=T==="inside"||T==="inner";if(T==="center")H=S.cx,k=S.cy,Y="center";else{var he=(X?(S.r+S.r0)/2*P:S.r*P)+o,te=(X?(S.r+S.r0)/2*K:S.r*K)+f;if(H=he+P*3,k=te+K*3,!X){var fe=he+P*(U+a-S.r),be=te+K*(U+a-S.r),we=fe+(P<0?-1:1)*M,Ke=be;C==="edge"?H=P<0?n+N:n+s-N:H=we+(P<0?-w:w),k=Ke,Z=[[he,te],[fe,be],[we,Ke]]}Y=X?"center":C==="edge"?P>0?"right":"left":P>0?"left":"right"}var qe,xt=O.get("rotate");typeof xt=="number"?qe=xt*(Math.PI/180):qe=xt?P<0?-j+Math.PI:-j:0,v=!!qe,S.label={x:H,y:k,position:T,height:Q.height,len:U,len2:M,linePoints:Z,textAlign:Y,verticalAlign:"middle",rotation:qe,inside:X,labelDistance:w,labelAlignTo:C,labelMargin:N,bleedMargin:D,textRect:Q,text:_,font:B},X||c.push(S.label)}),!v&&r.get("avoidLabelOverlap")&&b(c,o,f,a,s,l,n,u)}J.exports=i},u3os:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.ver=F.clear=F.bind=void 0;var d=e("P4Qj"),E=function(b,h){var i=(0,d.getSensor)(b);return i.bind(h),function(){i.unbind(h)}};F.bind=E;var g=function(b){var h=(0,d.getSensor)(b);(0,d.removeSensor)(h)};F.clear=g;var p="1.0.1";F.ver=p},u4NN:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("Uc92")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="EyeOutlined";var h=g.forwardRef(b);F.default=h},u8Dt:function(J,F,e){var d=e("YESw"),E="__lodash_hash_undefined__",g=Object.prototype,p=g.hasOwnProperty;function A(b){var h=this.__data__;if(d){var i=h[b];return i===E?void 0:i}return p.call(h,b)?h[b]:void 0}J.exports=A},u9fO:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("b80e"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},uAnK:function(J,F,e){var d=e("bYtY"),E=e("Kagy"),g=e("KxfA"),p=g.retrieveRawValue;function A(b,h){var i=h.getModel("aria");if(i.get("show")){if(i.get("description")){b.setAttribute("aria-label",i.get("description"));return}}else return;var r=0;h.eachSeries(function(L,S){++r},this);var a=i.get("data.maxCount")||10,s=i.get("series.maxCount")||10,l=Math.min(r,s),n;if(r<1)return;var u=v();u?n=o(f("general.withTitle"),{title:u}):n=f("general.withoutTitle");var t=[],c=r>1?"series.multiple.prefix":"series.single.prefix";n+=o(f(c),{seriesCount:r}),h.eachSeries(function(L,S){if(S<l){var x,O=L.get("name"),T="series."+(r>1?"multiple":"single")+".";x=f(O?T+"withName":T+"withoutName"),x=o(x,{seriesId:L.seriesIndex,seriesName:L.get("name"),seriesType:y(L.subType)});var w=L.getData();window.data=w,w.count()>a?x+=o(f("data.partialData"),{displayCnt:a}):x+=f("data.allData");for(var C=[],N=0;N<w.count();N++)if(N<a){var D=w.getName(N),B=p(w,N);C.push(o(f(D?"data.withName":"data.withoutName"),{name:D,value:B}))}x+=C.join(f("data.separator.middle"))+f("data.separator.end"),t.push(x)}}),n+=t.join(f("series.multiple.separator.middle"))+f("series.multiple.separator.end"),b.setAttribute("aria-label",n);function o(L,S){if(typeof L!="string")return L;var x=L;return d.each(S,function(O,T){x=x.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),O)}),x}function f(L){var S=i.get(L);if(S==null){for(var x=L.split("."),O=E.aria,T=0;T<x.length;++T)O=O[x[T]];return O}else return S}function v(){var L=h.getModel("title").option;return L&&L.length&&(L=L[0]),L&&L.text}function y(L){return E.series.typeNames[L]||"\u81EA\u5B9A\u4E49\u56FE"}}J.exports=A},uK0f:function(J,F,e){(function(d,E){J.exports=E()})(this,function(){"use strict";function d(E,g,p){p=p||{},p.childrenKeyName=p.childrenKeyName||"children";var A=E||[],b=[],h=0;do{var i=A.filter(function(r){return g(r,h)})[0];if(!i)break;b.push(i),A=i[p.childrenKeyName]||[],h+=1}while(A.length>0);return b}return d})},uOyE:function(J,F,e){var d=e("ProS");d.registerAction({type:"brush",event:"brush"},function(E,g){g.eachComponent({mainType:"brush",query:E},function(p){p.setAreas(E.areas)})}),d.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),d.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(J,F,e){J.exports=d;function d(){return e("gaXo"),{}}},ugBc:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},v56E:function(J,F,e){},v5uJ:function(J,F,e){var d=e("ProS"),E=e("2B6p"),g=E.updateCenterAndZoom;d.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(p,A){A.eachComponent({mainType:"series",subType:"tree",query:p},function(b){var h=p.dataIndex,i=b.getData().tree,r=i.getNodeByDataIndex(h);r.isExpand=!r.isExpand})}),d.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(p,A){A.eachComponent({mainType:"series",subType:"tree",query:p},function(b){var h=b.coordinateSystem,i=g(h,p);b.setCenter&&b.setCenter(i.center),b.setZoom&&b.setZoom(i.zoom)})})},"vF/C":function(J,F,e){var d=e("bLfw");d.registerSubTypeDefaulter("visualMap",function(E){return!E.categories&&(!(E.pieces?E.pieces.length>0:E.splitNumber>0)||E.calculable)?"continuous":"piecewise"})},vKoX:function(J,F,e){var d=e("SrGk"),E=e("bYtY");function g(b,h){d.call(this,b,h,["filter"],"__filter_in_use__","_shadowDom")}E.inherits(g,d),g.prototype.addWithoutUpdate=function(b,h){if(h&&p(h.style)){var i;if(h._shadowDom){i=h._shadowDom;var r=this.getDefs(!0);r.contains(h._shadowDom)||this.addDom(i)}else i=this.add(h);this.markUsed(h);var a=i.getAttribute("id");b.style.filter="url(#"+a+")"}},g.prototype.add=function(b){var h=this.createElement("filter");return b._shadowDomId=b._shadowDomId||this.nextId++,h.setAttribute("id","zr"+this._zrId+"-shadow-"+b._shadowDomId),this.updateDom(b,h),this.addDom(h),h},g.prototype.update=function(b,h){var i=h.style;if(p(i)){var r=this;d.prototype.update.call(this,h,function(){r.updateDom(h,h._shadowDom)})}else this.remove(b,h)},g.prototype.remove=function(b,h){h._shadowDomId!=null&&(this.removeDom(b),b.style.filter="")},g.prototype.updateDom=function(b,h){var i=h.getElementsByTagName("feDropShadow");i.length===0?i=this.createElement("feDropShadow"):i=i[0];var r=b.style,a=b.scale&&b.scale[0]||1,s=b.scale&&b.scale[1]||1,l,n,u,t;if(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)l=r.shadowOffsetX||0,n=r.shadowOffsetY||0,u=r.shadowBlur,t=r.shadowColor;else if(r.textShadowBlur)l=r.textShadowOffsetX||0,n=r.textShadowOffsetY||0,u=r.textShadowBlur,t=r.textShadowColor;else{this.removeDom(h,r);return}i.setAttribute("dx",l/a),i.setAttribute("dy",n/s),i.setAttribute("flood-color",t);var c=u/2/a,o=u/2/s,f=c+" "+o;i.setAttribute("stdDeviation",f),h.setAttribute("x","-100%"),h.setAttribute("y","-100%"),h.setAttribute("width",Math.ceil(u/2*200)+"%"),h.setAttribute("height",Math.ceil(u/2*200)+"%"),h.appendChild(i),b._shadowDom=h},g.prototype.markUsed=function(b){b._shadowDom&&d.prototype.markUsed.call(this,b._shadowDom)};function p(b){return b&&(b.shadowBlur||b.shadowOffsetX||b.shadowOffsetY||b.textShadowBlur||b.textShadowOffsetX||b.textShadowOffsetY)}var A=g;J.exports=A},vL6D:function(J,F,e){var d=e("bYtY"),E=e("+rIm"),g=e("IwbS"),p=e("7bkD"),A=e("Znkb"),b=e("WN+l"),h=b.rectCoordAxisBuildSplitArea,i=b.rectCoordAxisHandleRemove,r=["axisLine","axisTickLabel","axisName"],a=["splitArea","splitLine"],s=A.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,u,t,c){var o=this.group;o.removeAll();var f=this._axisGroup;this._axisGroup=new g.Group;var v=p.layout(n),y=new E(n,v);d.each(r,y.add,y),o.add(this._axisGroup),o.add(y.getGroup()),d.each(a,function(L){n.get(L+".show")&&this["_"+L](n)},this),g.groupTransition(f,this._axisGroup,n),s.superCall(this,"render",n,u,t,c)},remove:function(){i(this)},_splitLine:function(n){var u=n.axis;if(u.scale.isBlank())return;var t=n.getModel("splitLine"),c=t.getModel("lineStyle"),o=c.get("width"),f=c.get("color");f=f instanceof Array?f:[f];for(var v=n.coordinateSystem.getRect(),y=u.isHorizontal(),L=[],S=0,x=u.getTicksCoords({tickModel:t}),O=[],T=[],w=0;w<x.length;++w){var C=u.toGlobalCoord(x[w].coord);y?(O[0]=C,O[1]=v.y,T[0]=C,T[1]=v.y+v.height):(O[0]=v.x,O[1]=C,T[0]=v.x+v.width,T[1]=C);var N=S++%f.length;L[N]=L[N]||[],L[N].push(new g.Line({subPixelOptimize:!0,shape:{x1:O[0],y1:O[1],x2:T[0],y2:T[1]},style:{lineWidth:o},silent:!0}))}for(var w=0;w<L.length;++w)this.group.add(g.mergePath(L[w],{style:{stroke:f[w%f.length],lineDash:c.getLineDash(o),lineWidth:o},silent:!0}))},_splitArea:function(n){h(this,this._axisGroup,n,n)}}),l=s;J.exports=l},vWvF:function(J,F,e){var d=e("Bq2U"),E=e("SUKs"),g=e("bYtY"),p=g.isString,A=g.isFunction,b=g.isObject,h=g.isArrayLike,i=g.indexOf,r=function(){this.animators=[]};r.prototype={constructor:r,animate:function(t,c){var o,f=!1,v=this,y=this.__zr;if(t){var L=t.split("."),S=v;f=L[0]==="shape";for(var x=0,O=L.length;x<O;x++){if(!S)continue;S=S[L[x]]}S&&(o=S)}else o=v;if(!o){E('Property "'+t+'" is not existed in element '+v.id);return}var T=v.animators,w=new d(o,c);return w.during(function(C){v.dirty(f)}).done(function(){T.splice(i(T,w),1)}),T.push(w),y&&y.animation.addAnimator(w),w},stopAnimation:function(t){for(var c=this.animators,o=c.length,f=0;f<o;f++)c[f].stop(t);return c.length=0,this},animateTo:function(t,c,o,f,v,y){a(this,t,c,o,f,v,y)},animateFrom:function(t,c,o,f,v,y){a(this,t,c,o,f,v,y,!0)}};function a(u,t,c,o,f,v,y,L){p(o)?(v=f,f=o,o=0):A(f)?(v=f,f="linear",o=0):A(o)?(v=o,o=0):A(c)?(v=c,c=500):c||(c=500),u.stopAnimation(),s(u,"",u,t,c,o,L);var S=u.animators.slice(),x=S.length;function O(){x--,x||v&&v()}x||v&&v();for(var T=0;T<S.length;T++)S[T].done(O).start(f,y)}function s(u,t,c,o,f,v,y){var L={},S=0;for(var x in o){if(!o.hasOwnProperty(x))continue;c[x]!=null?b(o[x])&&!h(o[x])?s(u,t?t+"."+x:x,c[x],o[x],f,v,y):(y?(L[x]=c[x],l(u,t,x,o[x])):L[x]=o[x],S++):o[x]!=null&&!y&&l(u,t,x,o[x])}S>0&&u.animate(t,!1).when(f==null?500:f,L).delay(v||0)}function l(u,t,c,o){if(!t)u.attr(c,o);else{var f={};f[t]={},f[t][c]=o,u.attr(f)}}var n=r;J.exports=n},vZ6x:function(J,F,e){var d=e("Tghj"),E=d.__DEV__,g=e("bYtY"),p=e("IwbS"),A=e("4NO4"),b=e("9KIM"),h=g.each,i=g.indexOf,r=g.curry,a=["dataToPoint","pointToData"],s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function l(w,C,N){var D=this._targetInfoList=[],B={},R=t(C,w);h(c,function(U,M){(!N||!N.include||i(N.include,M)>=0)&&U(R,D,B)})}var n=l.prototype;n.setOutputRanges=function(w,C){this.matchOutputRanges(w,C,function(N,D,B){if((N.coordRanges||(N.coordRanges=[])).push(D),!N.coordRange){N.coordRange=D;var R=v[N.brushType](0,B,D);N.__rangeOffset={offset:L[N.brushType](R.values,N.range,[1,1]),xyMinMax:R.xyMinMax}}})},n.matchOutputRanges=function(w,C,N){h(w,function(D){var B=this.findTargetInfo(D,C);B&&B!==!0&&g.each(B.coordSyses,function(R){var U=v[D.brushType](1,R,D.range);N(D,U.values,R,C)})},this)},n.setInputRanges=function(w,C){h(w,function(N){var D=this.findTargetInfo(N,C);if(N.range=N.range||[],D&&D!==!0){N.panelId=D.panelId;var B=v[N.brushType](0,D.coordSys,N.coordRange),R=N.__rangeOffset;N.range=R?L[N.brushType](B.values,R.offset,x(B.xyMinMax,R.xyMinMax)):B.values}},this)},n.makePanelOpts=function(w,C){return g.map(this._targetInfoList,function(N){var D=N.getPanelRect();return{panelId:N.panelId,defaultBrushType:C&&C(N),clipPath:b.makeRectPanelClipPath(D),isTargetByCursor:b.makeRectIsTargetByCursor(D,w,N.coordSysModel),getLinearBrushOtherExtent:b.makeLinearBrushOtherExtent(D)}})},n.controlSeries=function(w,C,N){var D=this.findTargetInfo(w,N);return D===!0||D&&i(D.coordSyses,C.coordinateSystem)>=0},n.findTargetInfo=function(w,C){for(var N=this._targetInfoList,D=t(C,w),B=0;B<N.length;B++){var R=N[B],U=w.panelId;if(U){if(R.panelId===U)return R}else for(var B=0;B<o.length;B++)if(o[B](D,R))return R}return!0};function u(w){return w[0]>w[1]&&w.reverse(),w}function t(w,C){return A.parseFinder(w,C,{includeMainTypes:s})}var c={grid:function(w,C){var N=w.xAxisModels,D=w.yAxisModels,B=w.gridModels,R=g.createHashMap(),U={},M={};if(!N&&!D&&!B)return;h(N,function(j){var P=j.axis.grid.model;R.set(P.id,P),U[P.id]=!0}),h(D,function(j){var P=j.axis.grid.model;R.set(P.id,P),M[P.id]=!0}),h(B,function(j){R.set(j.id,j),U[j.id]=!0,M[j.id]=!0}),R.each(function(j){var P=j.coordinateSystem,K=[];h(P.getCartesians(),function(H,k){(i(N,H.getAxis("x").model)>=0||i(D,H.getAxis("y").model)>=0)&&K.push(H)}),C.push({panelId:"grid--"+j.id,gridModel:j,coordSysModel:j,coordSys:K[0],coordSyses:K,getPanelRect:f.grid,xAxisDeclared:U[j.id],yAxisDeclared:M[j.id]})})},geo:function(w,C){h(w.geoModels,function(N){var D=N.coordinateSystem;C.push({panelId:"geo--"+N.id,geoModel:N,coordSysModel:N,coordSys:D,coordSyses:[D],getPanelRect:f.geo})})}},o=[function(w,C){var N=w.xAxisModel,D=w.yAxisModel,B=w.gridModel;return!B&&N&&(B=N.axis.grid.model),!B&&D&&(B=D.axis.grid.model),B&&B===C.gridModel},function(w,C){var N=w.geoModel;return N&&N===C.geoModel}],f={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var w=this.coordSys,C=w.getBoundingRect().clone();return C.applyTransform(p.getTransform(w)),C}},v={lineX:r(y,0),lineY:r(y,1),rect:function(w,C,N){var D=C[a[w]]([N[0][0],N[1][0]]),B=C[a[w]]([N[0][1],N[1][1]]),R=[u([D[0],B[0]]),u([D[1],B[1]])];return{values:R,xyMinMax:R}},polygon:function(w,C,N){var D=[[Infinity,-Infinity],[Infinity,-Infinity]],B=g.map(N,function(R){var U=C[a[w]](R);return D[0][0]=Math.min(D[0][0],U[0]),D[1][0]=Math.min(D[1][0],U[1]),D[0][1]=Math.max(D[0][1],U[0]),D[1][1]=Math.max(D[1][1],U[1]),U});return{values:B,xyMinMax:D}}};function y(w,C,N,D){var B=N.getAxis(["x","y"][w]),R=u(g.map([0,1],function(M){return C?B.coordToData(B.toLocalCoord(D[M])):B.toGlobalCoord(B.dataToCoord(D[M]))})),U=[];return U[w]=R,U[1-w]=[NaN,NaN],{values:R,xyMinMax:U}}var L={lineX:r(S,0),lineY:r(S,1),rect:function(w,C,N){return[[w[0][0]-N[0]*C[0][0],w[0][1]-N[0]*C[0][1]],[w[1][0]-N[1]*C[1][0],w[1][1]-N[1]*C[1][1]]]},polygon:function(w,C,N){return g.map(w,function(D,B){return[D[0]-N[0]*C[B][0],D[1]-N[1]*C[B][1]]})}};function S(w,C,N,D){return[C[0]-D[w]*N[0],C[1]-D[w]*N[1]]}function x(w,C){var N=O(w),D=O(C),B=[N[0]/D[0],N[1]/D[1]];return isNaN(B[0])&&(B[0]=1),isNaN(B[1])&&(B[1]=1),B}function O(w){return w?[w[0][1]-w[0][0],w[1][1]-w[1][0]]:[NaN,NaN]}var T=l;J.exports=T},vZI5:function(J,F,e){var d=e("bYtY"),E=e("T4UG"),g=e("5GhG"),p=g.seriesModelMixin,A=E.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(h,i,r){var a=i.getItemLayout(h);return a&&r.rect(a.brushRect)}});d.mixin(A,p,!0);var b=A;J.exports=b},vafp:function(J,F,e){var d=e("bYtY"),E=e("8nly");function g(b){if(!b.UTF8Encoding)return b;var h=b.UTF8Scale;h==null&&(h=1024);for(var i=b.features,r=0;r<i.length;r++)for(var a=i[r],s=a.geometry,l=s.coordinates,n=s.encodeOffsets,u=0;u<l.length;u++){var t=l[u];if(s.type==="Polygon")l[u]=p(t,n[u],h);else if(s.type==="MultiPolygon")for(var c=0;c<t.length;c++){var o=t[c];t[c]=p(o,n[u][c],h)}}return b.UTF8Encoding=!1,b}function p(b,h,i){for(var r=[],a=h[0],s=h[1],l=0;l<b.length;l+=2){var n=b.charCodeAt(l)-64,u=b.charCodeAt(l+1)-64;n=n>>1^-(n&1),u=u>>1^-(u&1),n+=a,u+=s,a=n,s=u,r.push([n/i,u/i])}return r}function A(b,h){return g(b),d.map(d.filter(b.features,function(i){return i.geometry&&i.properties&&i.geometry.coordinates.length>0}),function(i){var r=i.properties,a=i.geometry,s=a.coordinates,l=[];a.type==="Polygon"&&l.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),a.type==="MultiPolygon"&&d.each(s,function(u){u[0]&&l.push({type:"polygon",exterior:u[0],interiors:u.slice(1)})});var n=new E(r[h||"name"],l,r.cp);return n.properties=r,n})}J.exports=A},vcCh:function(J,F,e){var d=e("ProS");e("0qV/"),d.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(E,g){g.eachComponent({mainType:"series",subType:"sankey",query:E},function(p){p.setNodePosition(E.dataIndex,[E.localX,E.localY])})})},vg9a:function(J,F,e){},"vk+C":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("RZPm"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},w5pM:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="PlusCircleOutlined";var b=F.a=d.forwardRef(A)},w6Tc:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var d=E(e("apAg"));function E(p){return p&&p.__esModule?p:{default:p}}var g=d;F.default=g,J.exports=g},wCAj:function(J,F,e){"use strict";var d=e("cDf5"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("J4zp"),b=e.n(A),h=e("pVnL"),i=e.n(h),r=e("q1tI"),a=e("TSYQ"),s=e.n(a),l=e("BGR+"),n=e("rePB"),u=e("VTBJ"),t=e("KQm4"),c=e("U8pU"),o=e("ODXe"),f=e("Gytx"),v=e.n(f),y=e("Kwbf"),L=e("t23M"),S=e("qx4F");function x(tr){return null}var O=x;function T(tr){return null}var w=T,C=e("Ff2n"),N=e("c+Xe"),D="RC_TABLE_KEY";function B(tr){return tr==null?[]:Array.isArray(tr)?tr:[tr]}function R(tr,Ir){if(!Ir&&typeof Ir!="number")return tr;for(var Ur=B(Ir),Kr=tr,hn=0;hn<Ur.length;hn+=1){if(!Kr)return null;var Ue=Ur[hn];Kr=Kr[Ue]}return Kr}function U(tr){var Ir=[],Ur={};return tr.forEach(function(Kr){for(var hn=Kr||{},Ue=hn.key,Bt=hn.dataIndex,Zt=Ue||B(Bt).join("-")||D;Ur[Zt];)Zt="".concat(Zt,"_next");Ur[Zt]=!0,Ir.push(Zt)}),Ir}function M(){var tr={};function Ir(Ue,Bt){Bt&&Object.keys(Bt).forEach(function(Zt){var rr=Bt[Zt];rr&&Object(c.a)(rr)==="object"?(Ue[Zt]=Ue[Zt]||{},Ir(Ue[Zt],rr)):Ue[Zt]=rr})}for(var Ur=arguments.length,Kr=new Array(Ur),hn=0;hn<Ur;hn++)Kr[hn]=arguments[hn];return Kr.forEach(function(Ue){Ir(tr,Ue)}),tr}function j(tr){return tr!=null}function P(tr){return tr&&Object(c.a)(tr)==="object"&&!Array.isArray(tr)&&!r.isValidElement(tr)}function K(tr){return typeof tr=="string"?!0:Object(N.c)(tr)}function H(tr,Ir){var Ur,Kr=tr.prefixCls,hn=tr.className,Ue=tr.record,Bt=tr.index,Zt=tr.dataIndex,rr=tr.render,Tr=tr.children,br=tr.component,xr=br===void 0?"td":br,Wr=tr.colSpan,$r=tr.rowSpan,Zr=tr.fixLeft,an=tr.fixRight,at=tr.firstFixLeft,Ht=tr.lastFixLeft,ar=tr.firstFixRight,yr=tr.lastFixRight,Fr=tr.appendNode,Mr=tr.additionalProps,rn=Mr===void 0?{}:Mr,fn=tr.ellipsis,wn=tr.align,Hn=tr.rowType,Sn=tr.isSticky,bn="".concat(Kr,"-cell"),Bn,vn;if(Tr)vn=Tr;else{var Mn=R(Ue,Zt);if(vn=Mn,rr){var En=rr(Mn,Ue,Bt);P(En)?(vn=En.children,Bn=En.props):vn=En}}Object(c.a)(vn)==="object"&&!Array.isArray(vn)&&!r.isValidElement(vn)&&(vn=null),fn&&(Ht||ar)&&(vn=r.createElement("span",{className:"".concat(bn,"-content")},vn));var Tn=Bn||{},Yn=Tn.colSpan,ai=Tn.rowSpan,ri=Tn.style,Ri=Tn.className,Ai=Object(C.a)(Tn,["colSpan","rowSpan","style","className"]),xi=Yn!==void 0?Yn:Wr,Li=ai!==void 0?ai:$r;if(xi===0||Li===0)return null;var kn={},Mi=typeof Zr=="number",fa=typeof an=="number";Mi&&(kn.position="sticky",kn.left=Zr),fa&&(kn.position="sticky",kn.right=an);var ki={};wn&&(ki.textAlign=wn);var Bi,mi=fn===!0?{showTitle:!0}:fn;mi&&(mi.showTitle||Hn==="header")&&(typeof vn=="string"||typeof vn=="number"?Bi=vn.toString():r.isValidElement(vn)&&typeof vn.props.children=="string"&&(Bi=vn.props.children));var hi=Object(u.a)(Object(u.a)(Object(u.a)({title:Bi},Ai),rn),{},{colSpan:xi&&xi!==1?xi:null,rowSpan:Li&&Li!==1?Li:null,className:s()(bn,hn,(Ur={},Object(n.a)(Ur,"".concat(bn,"-fix-left"),Mi),Object(n.a)(Ur,"".concat(bn,"-fix-left-first"),at),Object(n.a)(Ur,"".concat(bn,"-fix-left-last"),Ht),Object(n.a)(Ur,"".concat(bn,"-fix-right"),fa),Object(n.a)(Ur,"".concat(bn,"-fix-right-first"),ar),Object(n.a)(Ur,"".concat(bn,"-fix-right-last"),yr),Object(n.a)(Ur,"".concat(bn,"-ellipsis"),fn),Object(n.a)(Ur,"".concat(bn,"-with-append"),Fr),Object(n.a)(Ur,"".concat(bn,"-fix-sticky"),(Mi||fa)&&Sn),Ur),rn.className,Ri),style:Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},rn.style),ki),kn),ri),ref:K(xr)?Ir:null});return r.createElement(xr,Object.assign({},hi),Fr,vn)}var k=r.forwardRef(H);k.displayName="Cell";var Z=r.memo(k,function(tr,Ir){return Ir.shouldCellUpdate?!Ir.shouldCellUpdate(Ir.record,tr.record):!1}),Y=Z,_=r.createContext(null),Q=_;function X(tr,Ir,Ur,Kr,hn){var Ue=Ur[tr]||{},Bt=Ur[Ir]||{},Zt,rr;Ue.fixed==="left"?Zt=Kr.left[tr]:Bt.fixed==="right"&&(rr=Kr.right[Ir]);var Tr=!1,br=!1,xr=!1,Wr=!1,$r=Ur[Ir+1],Zr=Ur[tr-1];if(hn==="rtl"){if(Zt!==void 0){var an=Zr&&Zr.fixed==="left";Wr=!an}else if(rr!==void 0){var at=$r&&$r.fixed==="right";xr=!at}}else if(Zt!==void 0){var Ht=$r&&$r.fixed==="left";Tr=!Ht}else if(rr!==void 0){var ar=Zr&&Zr.fixed==="right";br=!ar}return{fixLeft:Zt,fixRight:rr,lastFixLeft:Tr,firstFixRight:br,lastFixRight:xr,firstFixLeft:Wr,isSticky:Kr.isSticky}}function he(tr){var Ir=tr.cells,Ur=tr.stickyOffsets,Kr=tr.flattenColumns,hn=tr.rowComponent,Ue=tr.cellComponent,Bt=tr.onHeaderRow,Zt=tr.index,rr=r.useContext(Q),Tr=rr.prefixCls,br=rr.direction,xr;Bt&&(xr=Bt(Ir.map(function($r){return $r.column}),Zt));var Wr=U(Ir.map(function($r){return $r.column}));return r.createElement(hn,Object.assign({},xr),Ir.map(function($r,Zr){var an=$r.column,at=X($r.colStart,$r.colEnd,Kr,Ur,br),Ht;return an&&an.onHeaderCell&&(Ht=$r.column.onHeaderCell(an)),r.createElement(Y,Object.assign({},$r,{ellipsis:an.ellipsis,align:an.align,component:Ue,prefixCls:Tr,key:Wr[Zr]},at,{additionalProps:Ht,rowType:"header"}))}))}he.displayName="HeaderRow";var te=he;function fe(tr){var Ir=[];function Ur(Bt,Zt){var rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ir[rr]=Ir[rr]||[];var Tr=Zt,br=Bt.filter(Boolean).map(function(xr){var Wr={key:xr.key,className:xr.className||"",children:xr.title,column:xr,colStart:Tr},$r=1,Zr=xr.children;return Zr&&Zr.length>0&&($r=Ur(Zr,Tr,rr+1).reduce(function(an,at){return an+at},0),Wr.hasSubColumns=!0),"colSpan"in xr&&($r=xr.colSpan),"rowSpan"in xr&&(Wr.rowSpan=xr.rowSpan),Wr.colSpan=$r,Wr.colEnd=Wr.colStart+$r-1,Ir[rr].push(Wr),Tr+=$r,$r});return br}Ur(tr,0);for(var Kr=Ir.length,hn=function(Zt){Ir[Zt].forEach(function(rr){!("rowSpan"in rr)&&!rr.hasSubColumns&&(rr.rowSpan=Kr-Zt)})},Ue=0;Ue<Kr;Ue+=1)hn(Ue);return Ir}function be(tr){var Ir=tr.stickyOffsets,Ur=tr.columns,Kr=tr.flattenColumns,hn=tr.onHeaderRow,Ue=r.useContext(Q),Bt=Ue.prefixCls,Zt=Ue.getComponent,rr=r.useMemo(function(){return fe(Ur)},[Ur]),Tr=Zt(["header","wrapper"],"thead"),br=Zt(["header","row"],"tr"),xr=Zt(["header","cell"],"th");return r.createElement(Tr,{className:"".concat(Bt,"-thead")},rr.map(function(Wr,$r){var Zr=r.createElement(te,{key:$r,flattenColumns:Kr,cells:Wr,stickyOffsets:Ir,rowComponent:br,cellComponent:xr,onHeaderRow:hn,index:$r});return Zr}))}var we=be,Ke="RC_TABLE_INTERNAL_COL_DEFINE";function qe(tr){var Ir=tr.expandable,Ur=Object(C.a)(tr,["expandable"]);return"expandable"in tr?Object(u.a)(Object(u.a)({},Ur),Ir):Ur}function xt(tr){return Object.keys(tr).reduce(function(Ir,Ur){return(Ur.substr(0,5)==="data-"||Ur.substr(0,5)==="aria-")&&(Ir[Ur]=tr[Ur]),Ir},{})}function Fe(tr){for(var Ir=tr.colWidths,Ur=tr.columns,Kr=tr.columCount,hn=[],Ue=Kr||Ur.length,Bt=!1,Zt=Ue-1;Zt>=0;Zt-=1){var rr=Ir[Zt],Tr=Ur&&Ur[Zt],br=Tr&&Tr[Ke];(rr||br||Bt)&&(hn.unshift(r.createElement("col",Object.assign({key:Zt,style:{width:rr,minWidth:rr}},br))),Bt=!0)}return r.createElement("colgroup",null,hn)}var Be=Fe;function bt(tr,Ir){return Object(r.useMemo)(function(){for(var Ur=[],Kr=0;Kr<Ir;Kr+=1){var hn=tr[Kr];if(hn)Ur[Kr]=hn;else return null}return Ur},[tr.join("_"),Ir])}function lt(tr){var Ir=tr.noData,Ur=tr.columns,Kr=tr.flattenColumns,hn=tr.colWidths,Ue=tr.columCount,Bt=tr.stickyOffsets,Zt=tr.direction,rr=tr.fixHeader,Tr=Object(C.a)(tr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),br=r.useContext(Q),xr=br.prefixCls,Wr=br.scrollbarSize,$r=br.isSticky,Zr=$r&&!rr?0:Wr,an=Kr[Kr.length-1],at={fixed:an?an.fixed:null,onHeaderCell:function(){return{className:"".concat(xr,"-cell-scrollbar")}}},Ht=Object(r.useMemo)(function(){return Zr?[].concat(Object(t.a)(Ur),[at]):Ur},[Zr,Ur]),ar=Object(r.useMemo)(function(){return Zr?[].concat(Object(t.a)(Kr),[at]):Kr},[Zr,Kr]),yr=Object(r.useMemo)(function(){var Mr=Bt.right,rn=Bt.left;return Object(u.a)(Object(u.a)({},Bt),{},{left:Zt==="rtl"?[].concat(Object(t.a)(rn.map(function(fn){return fn+Zr})),[0]):rn,right:Zt==="rtl"?Mr:[].concat(Object(t.a)(Mr.map(function(fn){return fn+Zr})),[0]),isSticky:$r})},[Zr,Bt,$r]),Fr=bt(hn,Ue);return r.createElement("table",{style:{tableLayout:"fixed",visibility:Ir||Fr?null:"hidden"}},r.createElement(Be,{colWidths:Fr?[].concat(Object(t.a)(Fr),[Zr]):[],columCount:Ue+1,columns:ar}),r.createElement(we,Object.assign({},Tr,{stickyOffsets:yr,columns:Ht,flattenColumns:ar})))}var tt=lt,St=r.createContext(null),ht=St;function vt(tr){var Ir=tr.prefixCls,Ur=tr.children,Kr=tr.component,hn=tr.cellComponent,Ue=tr.fixHeader,Bt=tr.fixColumn,Zt=tr.horizonScroll,rr=tr.className,Tr=tr.expanded,br=tr.componentWidth,xr=tr.colSpan,Wr=r.useContext(Q),$r=Wr.scrollbarSize;return r.useMemo(function(){var Zr=Ur;return Bt&&(Zr=r.createElement("div",{style:{width:br-(Ue?$r:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ir,"-expanded-row-fixed")},Zr)),r.createElement(Kr,{className:rr,style:{display:Tr?null:"none"}},r.createElement(Y,{component:hn,prefixCls:Ir,colSpan:xr},Zr))},[Ur,Kr,Ue,Zt,rr,Tr,br,xr,$r])}var Ge=vt;function At(tr){var Ir=tr.className,Ur=tr.style,Kr=tr.record,hn=tr.index,Ue=tr.rowKey,Bt=tr.getRowKey,Zt=tr.rowExpandable,rr=tr.expandedKeys,Tr=tr.onRow,br=tr.indent,xr=br===void 0?0:br,Wr=tr.rowComponent,$r=tr.cellComponent,Zr=tr.childrenColumnName,an=r.useContext(Q),at=an.prefixCls,Ht=an.fixedInfoList,ar=r.useContext(ht),yr=ar.fixHeader,Fr=ar.fixColumn,Mr=ar.horizonScroll,rn=ar.componentWidth,fn=ar.flattenColumns,wn=ar.expandableType,Hn=ar.expandRowByClick,Sn=ar.onTriggerExpand,bn=ar.rowClassName,Bn=ar.expandedRowClassName,vn=ar.indentSize,Mn=ar.expandIcon,En=ar.expandedRowRender,Tn=ar.expandIconColumnIndex,Yn=r.useState(!1),ai=Object(o.a)(Yn,2),ri=ai[0],Ri=ai[1],Ai=rr&&rr.has(tr.recordKey);r.useEffect(function(){Ai&&Ri(!0)},[Ai]);var xi=wn==="row"&&(!Zt||Zt(Kr)),Li=wn==="nest",kn=Zr&&Kr&&Kr[Zr],Mi=xi||Li,fa;Tr&&(fa=Tr(Kr,hn));var ki=function(sa){if(Hn&&Mi&&Sn(Kr,sa),fa&&fa.onClick){for(var Di,qn=arguments.length,yi=new Array(qn>1?qn-1:0),Ti=1;Ti<qn;Ti++)yi[Ti-1]=arguments[Ti];(Di=fa).onClick.apply(Di,[sa].concat(yi))}},Bi;typeof bn=="string"?Bi=bn:typeof bn=="function"&&(Bi=bn(Kr,hn,xr));var mi=U(fn),hi=r.createElement(Wr,Object.assign({},fa,{"data-row-key":Ue,className:s()(Ir,"".concat(at,"-row"),"".concat(at,"-row-level-").concat(xr),Bi,fa&&fa.className),style:Object(u.a)(Object(u.a)({},Ur),fa?fa.style:null),onClick:ki}),fn.map(function(oa,sa){var Di=oa.render,qn=oa.dataIndex,yi=oa.className,Ti=mi[sa],Vi=Ht[sa],Yi;sa===(Tn||0)&&Li&&(Yi=r.createElement(r.Fragment,null,r.createElement("span",{style:{paddingLeft:"".concat(vn*xr,"px")},className:"".concat(at,"-row-indent indent-level-").concat(xr)}),Mn({prefixCls:at,expanded:Ai,expandable:kn,record:Kr,onExpand:Sn})));var bi;return oa.onCell&&(bi=oa.onCell(Kr,hn)),r.createElement(Y,Object.assign({className:yi,ellipsis:oa.ellipsis,align:oa.align,component:$r,prefixCls:at,key:Ti,record:Kr,index:hn,dataIndex:qn,render:Di,shouldCellUpdate:oa.shouldCellUpdate},Vi,{appendNode:Yi,additionalProps:bi}))})),Ji;if(xi&&(ri||Ai)){var va=En(Kr,hn,xr+1,Ai),Ea=Bn&&Bn(Kr,hn,xr);Ji=r.createElement(Ge,{expanded:Ai,className:s()("".concat(at,"-expanded-row"),"".concat(at,"-expanded-row-level-").concat(xr+1),Ea),prefixCls:at,fixHeader:yr,fixColumn:Fr,horizonScroll:Mr,component:Wr,componentWidth:rn,cellComponent:$r,colSpan:fn.length},va)}var Aa;return kn&&Ai&&(Aa=(Kr[Zr]||[]).map(function(oa,sa){var Di=Bt(oa,sa);return r.createElement(At,Object.assign({},tr,{key:Di,rowKey:Di,record:oa,recordKey:Di,index:sa,indent:xr+1}))})),r.createElement(r.Fragment,null,hi,Ji,Aa)}At.displayName="BodyRow";var _e=At,De=r.createContext(null),Ie=De;function st(tr){var Ir=tr.data,Ur=tr.getRowKey,Kr=tr.measureColumnWidth,hn=tr.expandedKeys,Ue=tr.onRow,Bt=tr.rowExpandable,Zt=tr.emptyNode,rr=tr.childrenColumnName,Tr=r.useContext(Ie),br=Tr.onColumnResize,xr=r.useContext(Q),Wr=xr.prefixCls,$r=xr.getComponent,Zr=r.useContext(ht),an=Zr.fixHeader,at=Zr.horizonScroll,Ht=Zr.flattenColumns,ar=Zr.componentWidth;return r.useMemo(function(){var yr=$r(["body","wrapper"],"tbody"),Fr=$r(["body","row"],"tr"),Mr=$r(["body","cell"],"td"),rn;Ir.length?rn=Ir.map(function(wn,Hn){var Sn=Ur(wn,Hn);return r.createElement(_e,{key:Sn,rowKey:Sn,record:wn,recordKey:Sn,index:Hn,rowComponent:Fr,cellComponent:Mr,expandedKeys:hn,onRow:Ue,getRowKey:Ur,rowExpandable:Bt,childrenColumnName:rr})}):rn=r.createElement(Ge,{expanded:!0,className:"".concat(Wr,"-placeholder"),prefixCls:Wr,fixHeader:an,fixColumn:at,horizonScroll:at,component:Fr,componentWidth:ar,cellComponent:Mr,colSpan:Ht.length},Zt);var fn=U(Ht);return r.createElement(yr,{className:"".concat(Wr,"-tbody")},Kr&&r.createElement("tr",{"aria-hidden":"true",className:"".concat(Wr,"-measure-row"),style:{height:0}},fn.map(function(wn){return r.createElement(L.a,{key:wn,onResize:function(Sn){var bn=Sn.offsetWidth;br(wn,bn)}},r.createElement("td",{style:{padding:0,border:0,height:0}}))})),rn)},[Ir,Wr,Ue,Kr,hn,Ur,$r,ar,Zt,Ht])}var Et=r.memo(st);Et.displayName="Body";var Mt=Et,Pt=e("Zm9Q");function ke(tr){return Object(Pt.a)(tr).filter(function(Ir){return r.isValidElement(Ir)}).map(function(Ir){var Ur=Ir.key,Kr=Ir.props,hn=Kr.children,Ue=Object(C.a)(Kr,["children"]),Bt=Object(u.a)({key:Ur},Ue);return hn&&(Bt.children=ke(hn)),Bt})}function zt(tr){return tr.reduce(function(Ir,Ur){var Kr=Ur.fixed,hn=Kr===!0?"left":Kr,Ue=Ur.children;return Ue&&Ue.length>0?[].concat(Object(t.a)(Ir),Object(t.a)(zt(Ue).map(function(Bt){return Object(u.a)({fixed:hn},Bt)}))):[].concat(Object(t.a)(Ir),[Object(u.a)(Object(u.a)({},Ur),{},{fixed:hn})])},[])}function Ot(tr){for(var Ir=!0,Ur=0;Ur<tr.length;Ur+=1){var Kr=tr[Ur];if(Ir&&Kr.fixed!=="left")Ir=!1;else if(!Ir&&Kr.fixed==="left"){Object(y.a)(!1,"Index ".concat(Ur-1," of `columns` missing `fixed='left'` prop."));break}}for(var hn=!0,Ue=tr.length-1;Ue>=0;Ue-=1){var Bt=tr[Ue];if(hn&&Bt.fixed!=="right")hn=!1;else if(!hn&&Bt.fixed==="right"){Object(y.a)(!1,"Index ".concat(Ue+1," of `columns` missing `fixed='right'` prop."));break}}}function _t(tr){return tr.map(function(Ir){var Ur=Ir.fixed,Kr=Object(C.a)(Ir,["fixed"]),hn=Ur;return Ur==="left"?hn="right":Ur==="right"&&(hn="left"),Object(u.a)({fixed:hn},Kr)})}function Ve(tr,Ir){var Ur=tr.prefixCls,Kr=tr.columns,hn=tr.children,Ue=tr.expandable,Bt=tr.expandedKeys,Zt=tr.getRowKey,rr=tr.onTriggerExpand,Tr=tr.expandIcon,br=tr.rowExpandable,xr=tr.expandIconColumnIndex,Wr=tr.direction,$r=tr.expandRowByClick,Zr=r.useMemo(function(){return Kr||ke(hn)},[Kr,hn]),an=r.useMemo(function(){if(Ue){var ar,yr=xr||0,Fr=Zr[yr],Mr=(ar={},Object(n.a)(ar,Ke,{className:"".concat(Ur,"-expand-icon-col")}),Object(n.a)(ar,"title",""),Object(n.a)(ar,"fixed",Fr?Fr.fixed:null),Object(n.a)(ar,"className","".concat(Ur,"-row-expand-icon-cell")),Object(n.a)(ar,"render",function(wn,Hn,Sn){var bn=Zt(Hn,Sn),Bn=Bt.has(bn),vn=br?br(Hn):!0,Mn=Tr({prefixCls:Ur,expanded:Bn,expandable:vn,record:Hn,onExpand:rr});return $r?r.createElement("span",{onClick:function(Tn){return Tn.stopPropagation()}},Mn):Mn}),ar),rn=Zr.slice();return yr>=0&&rn.splice(yr,0,Mr),rn}return Zr},[Ue,Zr,Zt,Bt,Tr,Wr]),at=r.useMemo(function(){var ar=an;return Ir&&(ar=Ir(ar)),ar.length||(ar=[{render:function(){return null}}]),ar},[Ir,an,Wr]),Ht=r.useMemo(function(){return Wr==="rtl"?_t(zt(at)):zt(at)},[at,Wr]);return[at,Ht]}var Qe=Ve,et=e("xEkU"),dt=e.n(et);function Ze(tr){var Ir=Object(r.useRef)(tr),Ur=Object(r.useState)({}),Kr=Object(o.a)(Ur,2),hn=Kr[1],Ue=Object(r.useRef)(null),Bt=Object(r.useRef)([]);function Zt(rr){Ue.current===null&&(Bt.current=[],Ue.current=dt()(function(){Bt.current.forEach(function(Tr){Ir.current=Tr(Ir.current)}),Ue.current=null,hn({})})),Bt.current.push(rr)}return Object(r.useEffect)(function(){return function(){dt.a.cancel(Ue.current)}},[]),[Ir.current,Zt]}function oe(tr){var Ir=Object(r.useRef)(tr),Ur=Object(r.useRef)(null);function Kr(){window.clearTimeout(Ur.current)}function hn(Bt){Ir.current=Bt,Kr(),Ur.current=window.setTimeout(function(){Ir.current=null,Ur.current=null},100)}function Ue(){return Ir.current}return Object(r.useEffect)(function(){return Kr},[]),[hn,Ue]}function me(tr,Ir,Ur){var Kr=Object(r.useMemo)(function(){for(var hn=[],Ue=[],Bt=0,Zt=0,rr=0;rr<Ir;rr+=1)if(Ur==="rtl"){Ue[rr]=Zt,Zt+=tr[rr]||0;var Tr=Ir-rr-1;hn[Tr]=Bt,Bt+=tr[Tr]||0}else{hn[rr]=Bt,Bt+=tr[rr]||0;var br=Ir-rr-1;Ue[br]=Zt,Zt+=tr[br]||0}return{left:hn,right:Ue}},[tr,Ir,Ur]);return Kr}var ot=me;function Pe(tr){var Ir=tr.className,Ur=tr.children;return r.createElement("div",{className:Ir},Ur)}var pt=Pe;function Rr(tr){var Ir=tr.className,Ur=tr.index,Kr=tr.children,hn=tr.colSpan,Ue=tr.rowSpan,Bt=r.useContext(Q),Zt=Bt.prefixCls,rr=Bt.fixedInfoList,Tr=rr[Ur];return r.createElement(Y,Object.assign({className:Ir,index:Ur,component:"td",prefixCls:Zt,record:null,dataIndex:null,render:function(){return{children:Kr,props:{colSpan:hn,rowSpan:Ue}}}},Tr))}function It(tr){return r.createElement("tr",Object.assign({},tr))}function nr(tr){var Ir=tr.children,Ur=r.useContext(Q),Kr=Ur.prefixCls;return r.createElement("tfoot",{className:"".concat(Kr,"-summary")},Ir)}var Gt=nr,Jt={Cell:Rr,Row:It};function hr(tr){var Ir,Ur=tr.prefixCls,Kr=tr.record,hn=tr.onExpand,Ue=tr.expanded,Bt=tr.expandable,Zt="".concat(Ur,"-row-expand-icon");if(!Bt)return r.createElement("span",{className:s()(Zt,"".concat(Ur,"-row-spaced"))});var rr=function(br){hn(Kr,br),br.stopPropagation()};return r.createElement("span",{className:s()(Zt,(Ir={},Object(n.a)(Ir,"".concat(Ur,"-row-expanded"),Ue),Object(n.a)(Ir,"".concat(Ur,"-row-collapsed"),!Ue),Ir)),onClick:rr})}function Xt(tr,Ir,Ur){var Kr=[];function hn(Ue){(Ue||[]).forEach(function(Bt,Zt){Kr.push(Ir(Bt,Zt)),hn(Bt[Ur])})}return hn(tr),Kr}var de=e("zT1h"),ue=e("y0+3"),se=function(Ir,Ur){var Kr,hn,Ue=Ir.scrollBodyRef,Bt=Ir.onScroll,Zt=Ir.offsetScroll,rr=r.useContext(Q),Tr=rr.prefixCls,br=((Kr=Ue.current)===null||Kr===void 0?void 0:Kr.scrollWidth)||0,xr=((hn=Ue.current)===null||hn===void 0?void 0:hn.clientWidth)||0,Wr=br&&xr*(xr/br),$r=r.useRef(),Zr=Ze({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(o.a)(Zr,2),at=an[0],Ht=an[1],ar=r.useRef({delta:0,x:0}),yr=r.useState(!1),Fr=Object(o.a)(yr,2),Mr=Fr[0],rn=Fr[1],fn=function(){rn(!1)},wn=function(vn){vn.persist(),ar.current.delta=vn.pageX-at.scrollLeft,ar.current.x=0,rn(!0),vn.preventDefault()},Hn=function(vn){var Mn,En=vn||((Mn=window)===null||Mn===void 0?void 0:Mn.event),Tn=En.buttons;if(!Mr||Tn===0){Mr&&rn(!1);return}var Yn=ar.current.x+vn.pageX-ar.current.x-ar.current.delta;Yn<=0&&(Yn=0),Yn+Wr>=xr&&(Yn=xr-Wr),Bt({scrollLeft:Yn/xr*(br+2)}),ar.current.x=vn.pageX},Sn=function(){var vn=Object(ue.b)(Ue.current).top,Mn=vn+Ue.current.offsetHeight,En=document.documentElement.scrollTop+window.innerHeight;Mn-Object(S.a)()<=En||vn>=En-Zt?Ht(function(Tn){return Object(u.a)(Object(u.a)({},Tn),{},{isHiddenScrollBar:!0})}):Ht(function(Tn){return Object(u.a)(Object(u.a)({},Tn),{},{isHiddenScrollBar:!1})})},bn=function(vn){Ht(function(Mn){return Object(u.a)(Object(u.a)({},Mn),{},{scrollLeft:vn/br*xr||0})})};return r.useImperativeHandle(Ur,function(){return{setScrollLeft:bn}}),r.useEffect(function(){var Bn=Object(de.a)(document.body,"mouseup",fn,!1),vn=Object(de.a)(document.body,"mousemove",Hn,!1);return Sn(),function(){Bn.remove(),vn.remove()}},[Wr,Mr]),r.useEffect(function(){var Bn=Object(de.a)(window,"scroll",Sn,!1),vn=Object(de.a)(window,"resize",Sn,!1);return function(){Bn.remove(),vn.remove()}},[]),r.useEffect(function(){at.isHiddenScrollBar||Ht(function(Bn){var vn,Mn;return Object(u.a)(Object(u.a)({},Bn),{},{scrollLeft:Ue.current.scrollLeft/((vn=Ue.current)===null||vn===void 0?void 0:vn.scrollWidth)*((Mn=Ue.current)===null||Mn===void 0?void 0:Mn.clientWidth)})})},[at.isHiddenScrollBar]),br<=xr||!Wr||at.isHiddenScrollBar?null:r.createElement("div",{style:{height:Object(S.a)(),width:xr,bottom:Zt},className:"".concat(Tr,"-sticky-scroll")},r.createElement("div",{onMouseDown:wn,ref:$r,className:s()("".concat(Tr,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Tr,"-sticky-scroll-bar-active"),Mr)),style:{width:"".concat(Wr,"px"),transform:"translate3d(".concat(at.scrollLeft,"px, 0, 0)")}}))},ae=r.forwardRef(se);function ye(tr,Ir){return r.useMemo(function(){var Ur=!!tr;return{isSticky:Ur,stickyClassName:Ur?"".concat(Ir,"-sticky-header"):"",offsetHeader:Object(c.a)(tr)==="object"&&tr.offsetHeader||0,offsetScroll:Object(c.a)(tr)==="object"&&tr.offsetScroll||0}},[tr,Ir])}var Ce=[],Oe={},Te="rc-table-internal-hook",xe=r.memo(function(tr){var Ir=tr.children;return Ir},function(tr,Ir){return v()(tr.props,Ir.props)?tr.pingLeft!==Ir.pingLeft||tr.pingRight!==Ir.pingRight:!1});function je(tr){var Ir,Ur=tr.prefixCls,Kr=tr.className,hn=tr.rowClassName,Ue=tr.style,Bt=tr.data,Zt=tr.rowKey,rr=tr.scroll,Tr=tr.tableLayout,br=tr.direction,xr=tr.title,Wr=tr.footer,$r=tr.summary,Zr=tr.id,an=tr.showHeader,at=tr.components,Ht=tr.emptyText,ar=tr.onRow,yr=tr.onHeaderRow,Fr=tr.internalHooks,Mr=tr.transformColumns,rn=tr.internalRefs,fn=tr.sticky,wn=Bt||Ce,Hn=!!wn.length,Sn=r.useState(0),bn=Object(o.a)(Sn,2),Bn=bn[0],vn=bn[1];r.useEffect(function(){vn(Object(S.a)())});var Mn=r.useMemo(function(){return M(at,{})},[at]),En=r.useCallback(function(Fa,La){return R(Mn,Fa)||La},[Mn]),Tn=r.useMemo(function(){return typeof Zt=="function"?Zt:function(Fa){var La=Fa&&Fa[Zt];return La}},[Zt]),Yn=qe(tr),ai=Yn.expandIcon,ri=Yn.expandedRowKeys,Ri=Yn.defaultExpandedRowKeys,Ai=Yn.defaultExpandAllRows,xi=Yn.expandedRowRender,Li=Yn.onExpand,kn=Yn.onExpandedRowsChange,Mi=Yn.expandRowByClick,fa=Yn.rowExpandable,ki=Yn.expandIconColumnIndex,Bi=Yn.expandedRowClassName,mi=Yn.childrenColumnName,hi=Yn.indentSize,Ji=ai||hr,va=mi||"children",Ea=r.useMemo(function(){return xi?"row":tr.expandable&&Fr===Te&&tr.expandable.__PARENT_RENDER_ICON__||wn.some(function(Fa){return Fa&&Object(c.a)(Fa)==="object"&&Fa[va]})?"nest":!1},[!!xi,wn]),Aa=r.useState(function(){return Ri||(Ai?Xt(wn,Tn,va):[])}),oa=Object(o.a)(Aa,2),sa=oa[0],Di=oa[1],qn=r.useMemo(function(){return new Set(ri||sa||[])},[ri,sa]),yi=r.useCallback(function(Fa){var La=Tn(Fa,wn.indexOf(Fa)),Io,To=qn.has(La);To?(qn.delete(La),Io=Object(t.a)(qn)):Io=[].concat(Object(t.a)(qn),[La]),Di(Io),Li&&Li(!To,Fa),kn&&kn(Io)},[Tn,qn,wn,Li,kn]),Ti=r.useState(0),Vi=Object(o.a)(Ti,2),Yi=Vi[0],bi=Vi[1],ya=Qe(Object(u.a)(Object(u.a)(Object(u.a)({},tr),Yn),{},{expandable:!!xi,expandedKeys:qn,getRowKey:Tn,onTriggerExpand:yi,expandIcon:Ji,expandIconColumnIndex:ki,direction:br}),Fr===Te?Mr:null),ua=Object(o.a)(ya,2),la=ua[0],gi=ua[1],Ua=r.useMemo(function(){return{columns:la,flattenColumns:gi}},[la,gi]),Ba=r.useRef(),ra=r.useRef(),Qi=r.useRef(),Ya=r.useState(!1),zi=Object(o.a)(Ya,2),Wi=zi[0],ba=zi[1],ka=r.useState(!1),wa=Object(o.a)(ka,2),vi=wa[0],Qa=wa[1],za=Ze(new Map),pa=Object(o.a)(za,2),Ii=pa[0],So=pa[1],Wa=U(gi),ja=Wa.map(function(Fa){return Ii.get(Fa)}),Ja=r.useMemo(function(){return ja},[ja.join("_")]),ho=ot(Ja,gi.length,br),Ca=rr&&j(rr.y),to=rr&&j(rr.x),Lo=to&&gi.some(function(Fa){var La=Fa.fixed;return La}),Ta=r.useRef(),Fi=ye(fn,Ur),$a=Fi.isSticky,Ra=Fi.offsetHeader,pi=Fi.offsetScroll,Gi=Fi.stickyClassName,oo,go,fo;Ca&&(go={overflowY:"scroll",maxHeight:rr.y}),to&&(oo={overflowX:"auto"},Ca||(go={overflowY:"hidden"}),fo={width:rr.x===!0?"auto":rr.x,minWidth:"100%"});var Oa=r.useCallback(function(Fa,La){So(function(Io){var To=new Map(Io);return To.set(Fa,La),To})},[]),Pi=oe(null),Ma=Object(o.a)(Pi,2),Vo=Ma[0],ro=Ma[1];function vo(Fa,La){La&&(typeof La=="function"?La(Fa):La.scrollLeft!==Fa&&(La.scrollLeft=Fa))}var po=function(La){var Io=La.currentTarget,To=La.scrollLeft,ts=typeof To=="number"?To:Io.scrollLeft,_o=Io||Oe;if(!ro()||ro()===_o){var rs;Vo(_o),vo(ts,ra.current),vo(ts,Qi.current),vo(ts,(rs=Ta.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(Io){var ms=Io.scrollWidth,ls=Io.clientWidth;ba(ts>0),Qa(ts<ms-ls)}},Zi=function(){Qi.current&&po({currentTarget:Qi.current})},xo=function(La){var Io=La.width;Zi(),bi(Ba.current?Ba.current.offsetWidth:Io)};r.useEffect(function(){return Zi},[]),r.useEffect(function(){to&&Zi()},[to]),r.useEffect(function(){Fr===Te&&rn&&(rn.body.current=Qi.current)});var is=En(["table"],"table"),$o=r.useMemo(function(){return Tr||(Lo?rr.x==="max-content"?"auto":"fixed":Ca||gi.some(function(Fa){var La=Fa.ellipsis;return La})?"fixed":"auto")},[Ca,Lo,gi,Tr]),Ns,Cs={colWidths:Ja,columCount:gi.length,stickyOffsets:ho,onHeaderRow:yr,fixHeader:Ca},Os=r.useMemo(function(){return Hn?null:typeof Ht=="function"?Ht():Ht},[Hn,Ht]),Go=r.createElement(Mt,{data:wn,measureColumnWidth:Ca||to||$a,expandedKeys:qn,rowExpandable:fa,getRowKey:Tn,onRow:ar,emptyNode:Os,childrenColumnName:va}),bo=r.createElement(Be,{colWidths:gi.map(function(Fa){var La=Fa.width;return La}),columns:gi}),Za=$r&&r.createElement(Gt,null,$r(wn)),Ga=En(["body"]);if(Ca||$a){var so;typeof Ga=="function"?(so=Ga(wn,{scrollbarSize:Bn,ref:Qi,onScroll:po}),Cs.colWidths=gi.map(function(Fa,La){var Io=Fa.width,To=La===la.length-1?Io-Bn:Io;return typeof To=="number"&&!Number.isNaN(To)?To:(Object(y.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):so=r.createElement("div",{style:Object(u.a)(Object(u.a)({},oo),go),onScroll:po,ref:Qi,className:s()("".concat(Ur,"-body"))},r.createElement(is,{style:Object(u.a)(Object(u.a)({},fo),{},{tableLayout:$o})},bo,Go,Za),$a&&r.createElement(ae,{ref:Ta,offsetScroll:pi,scrollBodyRef:Qi,onScroll:po})),Ns=r.createElement(r.Fragment,null,an!==!1&&r.createElement("div",{style:Object(u.a)({overflow:"hidden"},$a?{top:Ra}:{}),onScroll:po,ref:ra,className:s()("".concat(Ur,"-header"),Object(n.a)({},Gi,!!Gi))},r.createElement(tt,Object.assign({noData:!wn.length},Cs,Ua,{direction:br}))),so)}else Ns=r.createElement("div",{style:Object(u.a)(Object(u.a)({},oo),go),className:s()("".concat(Ur,"-content")),onScroll:po,ref:Qi},r.createElement(is,{style:Object(u.a)(Object(u.a)({},fo),{},{tableLayout:$o})},bo,an!==!1&&r.createElement(we,Object.assign({},Cs,Ua)),Go,Za));var ps=xt(tr),wr=r.createElement("div",Object.assign({className:s()(Ur,Kr,(Ir={},Object(n.a)(Ir,"".concat(Ur,"-rtl"),br==="rtl"),Object(n.a)(Ir,"".concat(Ur,"-ping-left"),Wi),Object(n.a)(Ir,"".concat(Ur,"-ping-right"),vi),Object(n.a)(Ir,"".concat(Ur,"-layout-fixed"),Tr==="fixed"),Object(n.a)(Ir,"".concat(Ur,"-fixed-header"),Ca),Object(n.a)(Ir,"".concat(Ur,"-fixed-column"),Lo),Object(n.a)(Ir,"".concat(Ur,"-scroll-horizontal"),to),Object(n.a)(Ir,"".concat(Ur,"-has-fix-left"),gi[0]&&gi[0].fixed),Object(n.a)(Ir,"".concat(Ur,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right"),Ir)),style:Ue,id:Zr,ref:Ba},ps),r.createElement(xe,{pingLeft:Wi,pingRight:vi,props:Object(u.a)(Object(u.a)({},tr),{},{stickyOffsets:ho,mergedExpandedKeys:qn})},xr&&r.createElement(pt,{className:"".concat(Ur,"-title")},xr(wn)),r.createElement("div",{className:"".concat(Ur,"-container")},Ns),Wr&&r.createElement(pt,{className:"".concat(Ur,"-footer")},Wr(wn))));to&&(wr=r.createElement(L.a,{onResize:xo},wr));var Yo=r.useMemo(function(){return{prefixCls:Ur,getComponent:En,scrollbarSize:Bn,direction:br,fixedInfoList:gi.map(function(Fa,La){return X(La,La,gi,ho,br)}),isSticky:$a}},[Ur,En,Bn,br,gi,ho,br,$a]),ss=r.useMemo(function(){return Object(u.a)(Object(u.a)({},Ua),{},{tableLayout:$o,rowClassName:hn,expandedRowClassName:Bi,componentWidth:Yi,fixHeader:Ca,fixColumn:Lo,horizonScroll:to,expandIcon:Ji,expandableType:Ea,expandRowByClick:Mi,expandedRowRender:xi,onTriggerExpand:yi,expandIconColumnIndex:ki,indentSize:hi})},[Ua,$o,hn,Bi,Yi,Ca,Lo,to,Ji,Ea,Mi,xi,yi,ki,hi]),Ls=r.useMemo(function(){return{onColumnResize:Oa}},[Oa]);return r.createElement(Q.Provider,{value:Yo},r.createElement(ht.Provider,{value:ss},r.createElement(Ie.Provider,{value:Ls},wr)))}je.Column=w,je.ColumnGroup=O,je.Summary=Jt,je.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var ut=je,wt=ut,ee=e("W9HT"),ie=e("NUBc"),z=e("H84U"),$=function(tr,Ir){var Ur={};for(var Kr in tr)Object.prototype.hasOwnProperty.call(tr,Kr)&&Ir.indexOf(Kr)<0&&(Ur[Kr]=tr[Kr]);if(tr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,Kr=Object.getOwnPropertySymbols(tr);hn<Kr.length;hn++)Ir.indexOf(Kr[hn])<0&&Object.prototype.propertyIsEnumerable.call(tr,Kr[hn])&&(Ur[Kr[hn]]=tr[Kr[hn]]);return Ur},le=10;function ge(tr,Ir){var Ur={current:Ir.current,pageSize:Ir.pageSize},Kr=tr&&E()(tr)==="object"?tr:{};return Object.keys(Kr).forEach(function(hn){var Ue=Ir[hn];typeof Ue!="function"&&(Ur[hn]=Ue)}),Ur}function Ae(){for(var tr={},Ir=arguments.length,Ur=new Array(Ir),Kr=0;Kr<Ir;Kr++)Ur[Kr]=arguments[Kr];return Ur.forEach(function(hn){hn&&Object.keys(hn).forEach(function(Ue){var Bt=hn[Ue];Bt!==void 0&&(tr[Ue]=Bt)})}),tr}function Me(tr,Ir,Ur){var Kr=Ir&&E()(Ir)==="object"?Ir:{},hn=Kr.total,Ue=hn===void 0?0:hn,Bt=$(Kr,["total"]),Zt=Object(r.useState)(function(){return{current:"defaultCurrent"in Bt?Bt.defaultCurrent:1,pageSize:"defaultPageSize"in Bt?Bt.defaultPageSize:le}}),rr=b()(Zt,2),Tr=rr[0],br=rr[1],xr=Ae(Tr,Bt,{total:Ue>0?Ue:tr});if(!Ue){var Wr=Math.ceil(tr/xr.pageSize);Wr<xr.current&&(xr.current=1)}var $r=function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Ht=arguments.length>1?arguments[1]:void 0;br(i()(i()({},xr),{current:at,pageSize:Ht||xr.pageSize}))},Zr=function(at,Ht){var ar=xr==null?void 0:xr.pageSize;Ht&&Ht!==ar&&(at=1,Ir&&Ir.onShowSizeChange&&Ir.onShowSizeChange(at,Ht)),Ir&&Ir.onChange&&Ir.onChange(at,Ht),$r(at,Ht),Ur(at,Ht||ar)};return Ir===!1?[{},function(){}]:[i()(i()({},xr),{onChange:Zr}),$r]}function $e(tr,Ir,Ur){var Kr=r.useRef({});function hn(Ue){if(!Kr.current||Kr.current.data!==tr||Kr.current.childrenColumnName!==Ir||Kr.current.getRowKey!==Ur){var Bt=function rr(Tr){Tr.forEach(function(br,xr){var Wr=Ur(br,xr);Zt.set(Wr,br),br&&E()(br)==="object"&&Ir in br&&rr(br[Ir]||[])})},Zt=new Map;Bt(tr),Kr.current={data:tr,childrenColumnName:Ir,kvMap:Zt,getRowKey:Ur}}return Kr.current.kvMap.get(Ue)}return[hn]}var kt=e("SA+Z"),$t=e.n(kt),Lt=e("RIqP"),Ut=e.n(Lt),Wt=e("HQEm"),Vt=e.n(Wt),Tt=e("815F"),ur=e("NvD2"),qt=e("OZM5"),ze=e("6cGi"),nt=e("kaz8"),Ye=e("jsC+"),Xe=e("BvKs"),yt=e("9yH6"),mt=e("uaoM"),We="SELECT_ALL",rt="SELECT_INVERT";function ft(tr){return tr&&tr.fixed}function Yt(tr,Ir){var Ur=[];return(tr||[]).forEach(function(Kr){Ur.push(Kr),Kr&&E()(Kr)==="object"&&Ir in Kr&&(Ur=[].concat(Ut()(Ur),Ut()(Yt(Kr[Ir],Ir))))}),Ur}function Ft(tr,Ir){var Ur=tr||{},Kr=Ur.preserveSelectedRowKeys,hn=Ur.selectedRowKeys,Ue=Ur.getCheckboxProps,Bt=Ur.onChange,Zt=Ur.onSelect,rr=Ur.onSelectAll,Tr=Ur.onSelectInvert,br=Ur.onSelectMultiple,xr=Ur.columnWidth,Wr=Ur.type,$r=Ur.selections,Zr=Ur.fixed,an=Ur.renderCell,at=Ur.hideSelectAll,Ht=Ur.checkStrictly,ar=Ht===void 0?!0:Ht,yr=Ir.prefixCls,Fr=Ir.data,Mr=Ir.pageData,rn=Ir.getRecordByKey,fn=Ir.getRowKey,wn=Ir.expandType,Hn=Ir.childrenColumnName,Sn=Ir.locale,bn=Ir.expandIconColumnIndex,Bn=Ir.getPopupContainer,vn=r.useRef(new Map),Mn=Object(ze.a)(hn||[],{value:hn}),En=b()(Mn,2),Tn=En[0],Yn=En[1],ai=Object(r.useMemo)(function(){return ar?{keyEntities:null}:Object(Tt.a)(Fr,void 0,fn)},[Fr,fn,ar]),ri=ai.keyEntities,Ri=Object(r.useMemo)(function(){return Yt(Mr,Hn)},[Mr,Hn]),Ai=Object(r.useMemo)(function(){var Di=new Map;return Ri.forEach(function(qn,yi){var Ti=fn(qn,yi),Vi=(Ue?Ue(qn):null)||{};Di.set(Ti,Vi)}),Di},[Ri,fn,Ue]),xi=Object(r.useCallback)(function(Di){var qn;return!!((qn=Ai.get(fn(Di)))===null||qn===void 0?void 0:qn.disabled)},[Ai,fn]),Li=Object(r.useMemo)(function(){if(ar)return[Tn,[]];var Di=Object(ur.a)(Tn,!0,ri,xi),qn=Di.checkedKeys,yi=Di.halfCheckedKeys;return[qn,yi]},[Tn,ar,ri,xi]),kn=b()(Li,2),Mi=kn[0],fa=kn[1],ki=Object(r.useMemo)(function(){var Di=Wr==="radio"?Mi.slice(0,1):Mi;return new Set(Di)},[Mi,Wr]),Bi=Object(r.useMemo)(function(){return Wr==="radio"?new Set:new Set(fa)},[fa,Wr]),mi=Object(r.useState)(null),hi=b()(mi,2),Ji=hi[0],va=hi[1];r.useEffect(function(){tr||Yn([])},[!!tr]);var Ea=Object(r.useCallback)(function(Di){var qn,yi;if(Kr){var Ti=new Map;qn=Di,yi=Di.map(function(Vi){var Yi=rn(Vi);return!Yi&&vn.current.has(Vi)&&(Yi=vn.current.get(Vi)),Ti.set(Vi,Yi),Yi}),vn.current=Ti}else qn=[],yi=[],Di.forEach(function(Vi){var Yi=rn(Vi);Yi!==void 0&&(qn.push(Vi),yi.push(Yi))});Yn(qn),Bt&&Bt(qn,yi)},[Yn,rn,Bt,Kr]),Aa=Object(r.useCallback)(function(Di,qn,yi,Ti){if(Zt){var Vi=yi.map(function(Yi){return rn(Yi)});Zt(rn(Di),qn,Vi,Ti)}Ea(yi)},[Zt,rn,Ea]),oa=Object(r.useMemo)(function(){if(!$r||at)return null;var Di=$r===!0?[We,rt]:$r;return Di.map(function(qn){return qn===We?{key:"all",text:Sn.selectionAll,onSelect:function(){Ea(Fr.map(function(Ti,Vi){return fn(Ti,Vi)}))}}:qn===rt?{key:"invert",text:Sn.selectInvert,onSelect:function(){var Ti=new Set(ki);Mr.forEach(function(Yi,bi){var ya=fn(Yi,bi);Ti.has(ya)?Ti.delete(ya):Ti.add(ya)});var Vi=Array.from(Ti);Ea(Vi),Tr&&(Object(mt.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Tr(Vi))}}:qn})},[$r,ki,Mr,fn,Tr,Ea]),sa=Object(r.useCallback)(function(Di){if(!tr)return Di;var qn=new Set(ki),yi=Ri.map(fn).filter(function(Wi){return!Ai.get(Wi).disabled}),Ti=yi.every(function(Wi){return qn.has(Wi)}),Vi=yi.some(function(Wi){return qn.has(Wi)}),Yi=function(){var ba=[];Ti?yi.forEach(function(wa){qn.delete(wa),ba.push(wa)}):yi.forEach(function(wa){qn.has(wa)||(qn.add(wa),ba.push(wa))});var ka=Array.from(qn);Ea(ka),rr&&rr(!Ti,ka.map(function(wa){return rn(wa)}),ba.map(function(wa){return rn(wa)}))},bi;if(Wr!=="radio"){var ya;if(oa){var ua=r.createElement(Xe.a,{getPopupContainer:Bn},oa.map(function(Wi,ba){var ka=Wi.key,wa=Wi.text,vi=Wi.onSelect;return r.createElement(Xe.a.Item,{key:ka||ba,onClick:function(){vi&&vi(yi)}},wa)}));ya=r.createElement("div",{className:"".concat(yr,"-selection-extra")},r.createElement(Ye.a,{overlay:ua,getPopupContainer:Bn},r.createElement("span",null,r.createElement(Vt.a,null))))}var la=Ri.every(function(Wi,ba){var ka=fn(Wi,ba),wa=Ai.get(ka)||{};return wa.disabled});bi=!at&&r.createElement("div",{className:"".concat(yr,"-selection")},r.createElement(nt.a,{checked:!la&&!!Ri.length&&Ti,indeterminate:!Ti&&Vi,onChange:Yi,disabled:Ri.length===0||la}),ya)}var gi;Wr==="radio"?gi=function(ba,ka,wa){var vi=fn(ka,wa),Qa=qn.has(vi);return{node:r.createElement(yt.a,i()({},Ai.get(vi),{checked:Qa,onClick:function(pa){return pa.stopPropagation()},onChange:function(pa){qn.has(vi)||Aa(vi,!0,[vi],pa.nativeEvent)}})),checked:Qa}}:gi=function(ba,ka,wa){var vi,Qa=fn(ka,wa),za=qn.has(Qa),pa=Bi.has(Qa),Ii=Ai.get(Qa),So;return wn==="nest"?(So=pa,Object(mt.a)(!(typeof(Ii==null?void 0:Ii.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):So=(vi=Ii==null?void 0:Ii.indeterminate)!==null&&vi!==void 0?vi:pa,{node:r.createElement(nt.a,i()({},Ii,{indeterminate:So,checked:za,onClick:function(ja){return ja.stopPropagation()},onChange:function(ja){var Ja=ja.nativeEvent,ho=Ja.shiftKey,Ca=-1,to=-1;if(ho&&ar){var Lo=new Set([Ji,Qa]);yi.some(function(Pi,Ma){if(Lo.has(Pi))if(Ca===-1)Ca=Ma;else return to=Ma,!0;return!1})}if(to!==-1&&Ca!==to&&ar){var Ta=yi.slice(Ca,to+1),Fi=[];za?Ta.forEach(function(Pi){qn.has(Pi)&&(Fi.push(Pi),qn.delete(Pi))}):Ta.forEach(function(Pi){qn.has(Pi)||(Fi.push(Pi),qn.add(Pi))});var $a=Array.from(qn);Ea($a),br&&br(!za,$a.map(function(Pi){return rn(Pi)}),Fi.map(function(Pi){return rn(Pi)}))}else{var Ra=Mi;if(ar){var pi=za?Object(qt.b)(Ra,Qa):Object(qt.a)(Ra,Qa);Aa(Qa,!za,pi,Ja)}else{var Gi=Object(ur.a)([].concat(Ut()(Ra),[Qa]),!0,ri,xi),oo=Gi.checkedKeys,go=Gi.halfCheckedKeys,fo=oo;if(za){var Oa=new Set(oo);Oa.delete(Qa),fo=Object(ur.a)(Array.from(Oa),{checked:!1,halfCheckedKeys:go},ri,xi).checkedKeys}Aa(Qa,!za,fo,Ja)}}va(Qa)}})),checked:za}};var Ua=function(ba,ka,wa){var vi=gi(ba,ka,wa),Qa=vi.node,za=vi.checked;return an?an(za,ka,wa,Qa):Qa},Ba=p()({width:xr,className:"".concat(yr,"-selection-column"),title:tr.columnTitle||bi,render:Ua},Ke,{className:"".concat(yr,"-selection-col")});if(wn==="row"&&Di.length&&!bn){var ra=$t()(Di),Qi=ra[0],Ya=ra.slice(1),zi=Zr||ft(Ya[0]);return zi&&(Qi.fixed=zi),[Qi,i()(i()({},Ba),{fixed:zi})].concat(Ut()(Ya))}return[i()(i()({},Ba),{fixed:Zr||ft(Di[0])})].concat(Ut()(Di))},[fn,Ri,tr,Mi,ki,Bi,xr,oa,wn,Ji,Ai,br,Aa,xi]);return[sa,ki]}var fr=e("6SEX"),mr=e.n(fr),Er=e("i8CU"),Lr=e.n(Er),en=e("3S7+");function Qr(tr,Ir){return"key"in tr&&tr.key!==void 0&&tr.key!==null?tr.key:tr.dataIndex?Array.isArray(tr.dataIndex)?tr.dataIndex.join("."):tr.dataIndex:Ir}function Cr(tr,Ir){return Ir?"".concat(Ir,"-").concat(tr):"".concat(tr)}function Gr(tr,Ir){return typeof tr=="function"?tr(Ir):tr}var Nr="ascend",lr="descend";function pr(tr){return E()(tr.sorter)==="object"&&typeof tr.sorter.multiple=="number"?tr.sorter.multiple:!1}function sr(tr){return typeof tr=="function"?tr:tr&&E()(tr)==="object"&&tr.compare?tr.compare:!1}function dr(tr,Ir){return Ir?tr[tr.indexOf(Ir)+1]:tr[0]}function Sr(tr,Ir,Ur){var Kr=[];function hn(Ue,Bt){Kr.push({column:Ue,key:Qr(Ue,Bt),multiplePriority:pr(Ue),sortOrder:Ue.sortOrder})}return(tr||[]).forEach(function(Ue,Bt){var Zt=Cr(Bt,Ur);Ue.children?("sortOrder"in Ue&&hn(Ue,Zt),Kr=[].concat(Ut()(Kr),Ut()(Sr(Ue.children,Ir,Zt)))):Ue.sorter&&("sortOrder"in Ue?hn(Ue,Zt):Ir&&Ue.defaultSortOrder&&Kr.push({column:Ue,key:Qr(Ue,Zt),multiplePriority:pr(Ue),sortOrder:Ue.defaultSortOrder}))}),Kr}function Xr(tr,Ir,Ur,Kr,hn,Ue,Bt,Zt){return(Ir||[]).map(function(rr,Tr){var br=Cr(Tr,Zt),xr=rr;if(xr.sorter){var Wr=xr.sortDirections||hn,$r=xr.showSorterTooltip===void 0?Bt:xr.showSorterTooltip,Zr=Qr(xr,br),an=Ur.find(function(Hn){var Sn=Hn.key;return Sn===Zr}),at=an?an.sortOrder:null,Ht=dr(Wr,at),ar=Wr.includes(Nr)&&r.createElement(Lr.a,{className:s()("".concat(tr,"-column-sorter-up"),{active:at===Nr})}),yr=Wr.includes(lr)&&r.createElement(mr.a,{className:s()("".concat(tr,"-column-sorter-down"),{active:at===lr})}),Fr=Ue||{},Mr=Fr.cancelSort,rn=Fr.triggerAsc,fn=Fr.triggerDesc,wn=Mr;Ht===lr?wn=fn:Ht===Nr&&(wn=rn),xr=i()(i()({},xr),{className:s()(xr.className,p()({},"".concat(tr,"-column-sort"),at)),title:function(Sn){var bn=r.createElement("div",{className:"".concat(tr,"-column-sorters")},r.createElement("span",null,Gr(rr.title,Sn)),r.createElement("span",{className:s()("".concat(tr,"-column-sorter"),p()({},"".concat(tr,"-column-sorter-full"),ar&&yr))},r.createElement("span",{className:"".concat(tr,"-column-sorter-inner")},ar,yr)));return $r?r.createElement(en.a,{title:wn},r.createElement("div",{className:"".concat(tr,"-column-sorters-with-tooltip")},bn)):bn},onHeaderCell:function(Sn){var bn=rr.onHeaderCell&&rr.onHeaderCell(Sn)||{},Bn=bn.onClick;return bn.onClick=function(vn){Kr({column:rr,key:Zr,sortOrder:Ht,multiplePriority:pr(rr)}),Bn&&Bn(vn)},bn.className=s()(bn.className,"".concat(tr,"-column-has-sorters")),bn}})}return"children"in xr&&(xr=i()(i()({},xr),{children:Xr(tr,xr.children,Ur,Kr,hn,Ue,Bt,br)})),xr})}function cn(tr){var Ir=tr.column,Ur=tr.sortOrder;return{column:Ir,order:Ur,field:Ir.dataIndex,columnKey:Ir.key}}function Dn(tr){var Ir=tr.filter(function(Ur){var Kr=Ur.sortOrder;return Kr}).map(cn);return Ir.length===0&&tr.length?i()(i()({},cn(tr[tr.length-1])),{column:void 0}):Ir.length<=1?Ir[0]||{}:Ir}function jr(tr,Ir,Ur){var Kr=Ir.slice().sort(function(Bt,Zt){return Zt.multiplePriority-Bt.multiplePriority}),hn=tr.slice(),Ue=Kr.filter(function(Bt){var Zt=Bt.column.sorter,rr=Bt.sortOrder;return sr(Zt)&&rr});return Ue.length?hn.sort(function(Bt,Zt){for(var rr=0;rr<Ue.length;rr+=1){var Tr=Ue[rr],br=Tr.column.sorter,xr=Tr.sortOrder,Wr=sr(br);if(Wr&&xr){var $r=Wr(Bt,Zt,xr);if($r!==0)return xr===Nr?$r:-$r}}return 0}).map(function(Bt){var Zt=Bt[Ur];return Zt?i()(i()({},Bt),p()({},Ur,jr(Zt,Ir,Ur))):Bt}):hn}function On(tr){var Ir=tr.prefixCls,Ur=tr.mergedColumns,Kr=tr.onSorterChange,hn=tr.sortDirections,Ue=tr.tableLocale,Bt=tr.showSorterTooltip,Zt=r.useState(Sr(Ur,!0)),rr=b()(Zt,2),Tr=rr[0],br=rr[1],xr=r.useMemo(function(){var at=!0,Ht=Sr(Ur,!1);if(!Ht.length)return Tr;var ar=[];function yr(Mr){at?ar.push(Mr):ar.push(i()(i()({},Mr),{sortOrder:null}))}var Fr=null;return Ht.forEach(function(Mr){Fr===null?(yr(Mr),Mr.sortOrder&&(Mr.multiplePriority===!1?at=!1:Fr=!0)):(Fr&&Mr.multiplePriority!==!1||(at=!1),yr(Mr))}),ar},[Ur,Tr]),Wr=r.useMemo(function(){var at=xr.map(function(Ht){var ar=Ht.column,yr=Ht.sortOrder;return{column:ar,order:yr}});return{sortColumns:at,sortColumn:at[0]&&at[0].column,sortOrder:at[0]&&at[0].order}},[xr]);function $r(at){var Ht;at.multiplePriority===!1||!xr.length||xr[0].multiplePriority===!1?Ht=[at]:Ht=[].concat(Ut()(xr.filter(function(ar){var yr=ar.key;return yr!==at.key})),[at]),br(Ht),Kr(Dn(Ht),Ht)}var Zr=function(Ht){return Xr(Ir,Ht,xr,$r,hn,Ue,Bt)},an=function(){return Dn(xr)};return[Zr,xr,Wr,an]}var gn=e("Y+p1"),Un=e.n(gn),Wn=e("5Uyt"),Jn=e.n(Wn),Qn=e("2/Rp"),Vn=e("ECub"),yn=function(Ir){return r.createElement("div",{className:Ir.className,onClick:function(Kr){return Kr.stopPropagation()}},Ir.children)},on=yn,ia=e("sPtV"),xa=Xe.a.SubMenu,ta=Xe.a.Item;function Ni(tr){return tr.some(function(Ir){var Ur=Ir.children;return Ur})}function Ci(tr){var Ir=tr.filters,Ur=tr.prefixCls,Kr=tr.filteredKeys,hn=tr.filterMultiple,Ue=tr.locale;return Ir.length===0?r.createElement(r.Fragment,null,r.createElement(Vn.a,{image:Vn.a.PRESENTED_IMAGE_SIMPLE,description:Ue.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Ir.map(function(Bt,Zt){var rr=String(Bt.value);if(Bt.children)return r.createElement(xa,{key:rr||Zt,title:Bt.text,popupClassName:"".concat(Ur,"-dropdown-submenu")},Ci({filters:Bt.children,prefixCls:Ur,filteredKeys:Kr,filterMultiple:hn,locale:Ue}));var Tr=hn?nt.a:yt.a;return r.createElement(ta,{key:Bt.value!==void 0?rr:Zt},r.createElement(Tr,{checked:Kr.includes(rr)}),r.createElement("span",null,Bt.text))})}function Gn(tr){var Ir,Ur=tr.prefixCls,Kr=tr.column,hn=tr.dropdownPrefixCls,Ue=tr.columnKey,Bt=tr.filterMultiple,Zt=tr.filterState,rr=tr.triggerFilter,Tr=tr.locale,br=tr.children,xr=tr.getPopupContainer,Wr=Kr.filterDropdownVisible,$r=Kr.onFilterDropdownVisibleChange,Zr=r.useState(!1),an=b()(Zr,2),at=an[0],Ht=an[1],ar=!!(Zt&&(((Ir=Zt.filteredKeys)===null||Ir===void 0?void 0:Ir.length)||Zt.forceFiltered)),yr=function(hi){Ht(hi),$r&&$r(hi)},Fr=typeof Wr=="boolean"?Wr:at,Mr=Zt&&Zt.filteredKeys,rn=Object(ia.a)(Mr||[]),fn=b()(rn,2),wn=fn[0],Hn=fn[1],Sn=function(hi){var Ji=hi.selectedKeys;Hn(Ji)};r.useEffect(function(){Sn({selectedKeys:Mr||[]})},[Mr]);var bn=r.useState([]),Bn=b()(bn,2),vn=Bn[0],Mn=Bn[1],En=r.useRef(),Tn=function(hi){En.current=window.setTimeout(function(){Mn(hi)})},Yn=function(){window.clearTimeout(En.current)};r.useEffect(function(){return function(){window.clearTimeout(En.current)}},[]);var ai=function(hi){yr(!1);var Ji=hi&&hi.length?hi:null;if(Ji===null&&(!Zt||!Zt.filteredKeys))return null;if(Un()(Ji,Zt==null?void 0:Zt.filteredKeys))return null;rr({column:Kr,key:Ue,filteredKeys:Ji})},ri=function(){ai(wn())},Ri=function(){Hn([]),ai([])},Ai=function(hi){hi&&Mr!==void 0&&Hn(Mr||[]),yr(hi),!hi&&!Kr.filterDropdown&&ri()},xi=s()(p()({},"".concat(hn,"-menu-without-submenu"),!Ni(Kr.filters||[]))),Li;if(typeof Kr.filterDropdown=="function")Li=Kr.filterDropdown({prefixCls:"".concat(hn,"-custom"),setSelectedKeys:function(hi){return Sn({selectedKeys:hi})},selectedKeys:wn(),confirm:ri,clearFilters:Ri,filters:Kr.filters,visible:Fr});else if(Kr.filterDropdown)Li=Kr.filterDropdown;else{var kn=wn()||[];Li=r.createElement(r.Fragment,null,r.createElement(Xe.a,{multiple:Bt,prefixCls:"".concat(hn,"-menu"),className:xi,onClick:Yn,onSelect:Sn,onDeselect:Sn,selectedKeys:kn,getPopupContainer:xr,openKeys:vn,onOpenChange:Tn},Ci({filters:Kr.filters||[],prefixCls:Ur,filteredKeys:wn(),filterMultiple:Bt,locale:Tr})),r.createElement("div",{className:"".concat(Ur,"-dropdown-btns")},r.createElement(Qn.a,{type:"link",size:"small",disabled:kn.length===0,onClick:Ri},Tr.filterReset),r.createElement(Qn.a,{type:"primary",size:"small",onClick:ri},Tr.filterConfirm)))}var Mi=r.createElement(on,{className:"".concat(Ur,"-dropdown")},Li),fa;typeof Kr.filterIcon=="function"?fa=Kr.filterIcon(ar):Kr.filterIcon?fa=Kr.filterIcon:fa=r.createElement(Jn.a,null);var ki=r.useContext(z.b),Bi=ki.direction;return r.createElement("div",{className:s()("".concat(Ur,"-column"))},r.createElement("span",{className:"".concat(Ur,"-column-title")},br),r.createElement("span",{className:s()("".concat(Ur,"-trigger-container"),p()({},"".concat(Ur,"-trigger-container-open"),Fr)),onClick:function(hi){hi.stopPropagation()}},r.createElement(Ye.a,{overlay:Mi,trigger:["click"],visible:Fr,onVisibleChange:Ai,getPopupContainer:xr,placement:Bi==="rtl"?"bottomLeft":"bottomRight"},r.createElement("span",{role:"button",tabIndex:-1,className:s()("".concat(Ur,"-trigger"),{active:ar})},fa))))}var Ia=Gn;function mn(tr,Ir,Ur){var Kr=[];return(tr||[]).forEach(function(hn,Ue){var Bt=Cr(Ue,Ur);"children"in hn?Kr=[].concat(Ut()(Kr),Ut()(mn(hn.children,Ir,Bt))):(hn.filters||"filterDropdown"in hn||"onFilter"in hn)&&("filteredValue"in hn?Kr.push({column:hn,key:Qr(hn,Bt),filteredKeys:hn.filteredValue,forceFiltered:hn.filtered}):Kr.push({column:hn,key:Qr(hn,Bt),filteredKeys:Ir&&hn.defaultFilteredValue?hn.defaultFilteredValue:void 0,forceFiltered:hn.filtered}))}),Kr}function In(tr,Ir,Ur,Kr,hn,Ue,Bt,Zt){return Ur.map(function(rr,Tr){var br=Cr(Tr,Zt),xr=rr.filterMultiple,Wr=xr===void 0?!0:xr;if(rr.filters||"filterDropdown"in rr){var $r=Qr(rr,br),Zr=Kr.find(function(an){var at=an.key;return $r===at});return i()(i()({},rr),{title:function(at){return r.createElement(Ia,{prefixCls:"".concat(tr,"-filter"),dropdownPrefixCls:Ir,column:rr,columnKey:$r,filterState:Zr,filterMultiple:Wr,triggerFilter:hn,locale:Bt,getPopupContainer:Ue},Gr(rr.title,at))}})}return"children"in rr?i()(i()({},rr),{children:In(tr,Ir,rr.children,Kr,hn,Ue,Bt,br)}):rr})}function Ln(tr){var Ir={};return tr.forEach(function(Ur){var Kr=Ur.key,hn=Ur.filteredKeys;Ir[Kr]=hn||null}),Ir}function Nn(tr){var Ir=[];return(tr||[]).forEach(function(Ur){var Kr=Ur.value,hn=Ur.children;Ir.push(Kr),hn&&(Ir=[].concat(Ut()(Ir),Ut()(Nn(hn))))}),Ir}function jn(tr,Ir){return Ir.reduce(function(Ur,Kr){var hn=Kr.column,Ue=hn.onFilter,Bt=hn.filters,Zt=Kr.filteredKeys;return Ue&&Zt&&Zt.length?Ur.filter(function(rr){return Zt.some(function(Tr){var br=Nn(Bt),xr=br.findIndex(function($r){return String($r)===String(Tr)}),Wr=xr!==-1?br[xr]:Tr;return Ue(Wr,rr)})}):Ur},tr)}function ni(tr){var Ir=tr.prefixCls,Ur=tr.dropdownPrefixCls,Kr=tr.mergedColumns,hn=tr.onFilterChange,Ue=tr.getPopupContainer,Bt=tr.locale,Zt=r.useState(mn(Kr,!0)),rr=b()(Zt,2),Tr=rr[0],br=rr[1],xr=r.useMemo(function(){var an=mn(Kr,!1);return an.every(function(at){var Ht=at.filteredKeys;return Ht===void 0})?Tr:an},[Kr,Tr]),Wr=r.useCallback(function(){return Ln(xr)},[xr]),$r=function(at){var Ht=xr.filter(function(ar){var yr=ar.key;return yr!==at.key});Ht.push(at),br(Ht),hn(Ln(Ht),Ht)},Zr=function(at){return In(Ir,Ur,at,xr,$r,Ue,Bt)};return[Zr,xr,Wr]}var di=ni;function Da(tr,Ir){return tr.map(function(Ur){var Kr=i()({},Ur);return Kr.title=Gr(Ur.title,Ir),"children"in Kr&&(Kr.children=Da(Kr.children,Ir)),Kr})}function Xi(tr){var Ir=r.useCallback(function(Ur){return Da(Ur,tr)},[tr]);return[Ir]}function ma(tr){return function(Ur){var Kr,hn=Ur.prefixCls,Ue=Ur.onExpand,Bt=Ur.record,Zt=Ur.expanded,rr=Ur.expandable,Tr="".concat(hn,"-row-expand-icon");return r.createElement("button",{type:"button",onClick:function(xr){Ue(Bt,xr),xr.stopPropagation()},className:s()(Tr,(Kr={},p()(Kr,"".concat(Tr,"-spaced"),!rr),p()(Kr,"".concat(Tr,"-expanded"),rr&&Zt),p()(Kr,"".concat(Tr,"-collapsed"),rr&&!Zt),Kr)),"aria-label":Zt?tr.collapse:tr.expand})}}var _a=ma,Xa=e("zAh6"),Ki=e("ZvpZ"),Co=Ki.a,aa=e("3Nzz");function Hi(tr){return null}var ga=Hi;function ha(tr){return null}var mo=ha,Pn=e("5OYt"),qi=[];function eo(tr){var Ir,Ur=tr.prefixCls,Kr=tr.className,hn=tr.style,Ue=tr.size,Bt=tr.bordered,Zt=tr.dropdownPrefixCls,rr=tr.dataSource,Tr=tr.pagination,br=tr.rowSelection,xr=tr.rowKey,Wr=tr.rowClassName,$r=tr.columns,Zr=tr.children,an=tr.childrenColumnName,at=tr.onChange,Ht=tr.getPopupContainer,ar=tr.loading,yr=tr.expandIcon,Fr=tr.expandable,Mr=tr.expandedRowRender,rn=tr.expandIconColumnIndex,fn=tr.indentSize,wn=tr.scroll,Hn=tr.sortDirections,Sn=tr.locale,bn=tr.showSorterTooltip,Bn=bn===void 0?!0:bn;Object(mt.a)(!(typeof xr=="function"&&xr.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var vn=Object(Pn.a)(),Mn=r.useMemo(function(){var Oa=new Set(Object.keys(vn).filter(function(Pi){return vn[Pi]}));return($r||ke(Zr)).filter(function(Pi){return!Pi.responsive||Pi.responsive.some(function(Ma){return Oa.has(Ma)})})},[Zr,$r,vn]),En=Object(l.default)(tr,["className","style","columns"]),Tn=r.useContext(aa.b),Yn=r.useContext(z.b),ai=Yn.locale,ri=ai===void 0?Co:ai,Ri=Yn.renderEmpty,Ai=Yn.direction,xi=Ue||Tn,Li=i()(i()({},ri.Table),Sn),kn=rr||qi,Mi=r.useContext(z.b),fa=Mi.getPrefixCls,ki=fa("table",Ur),Bi=fa("dropdown",Zt),mi=i()({childrenColumnName:an,expandIconColumnIndex:rn},Fr),hi=mi.childrenColumnName,Ji=hi===void 0?"children":hi,va=r.useMemo(function(){return kn.some(function(Oa){var Pi;return(Pi=Oa)===null||Pi===void 0?void 0:Pi[Ji]})?"nest":Mr||Fr&&Fr.expandedRowRender?"row":null},[kn]),Ea={body:r.useRef()},Aa=r.useMemo(function(){return typeof xr=="function"?xr:function(Oa){var Pi;return(Pi=Oa)===null||Pi===void 0?void 0:Pi[xr]}},[xr]),oa=$e(kn,Ji,Aa),sa=b()(oa,1),Di=sa[0],qn={},yi=function(Pi,Ma){var Vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=i()(i()({},qn),Pi);Vo&&(qn.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),Tr&&Tr.onChange&&Tr.onChange(1,ro.pagination.pageSize)),wn&&wn.scrollToFirstRowOnChange!==!1&&Ea.body.current&&Object(Xa.a)(0,{getContainer:function(){return Ea.body.current}}),at&&at(ro.pagination,ro.filters,ro.sorter,{currentDataSource:jn(jr(kn,ro.sorterStates,Ji),ro.filterStates),action:Ma})},Ti=function(Pi,Ma){yi({sorter:Pi,sorterStates:Ma},"sort",!1)},Vi=On({prefixCls:ki,mergedColumns:Mn,onSorterChange:Ti,sortDirections:Hn||["ascend","descend"],tableLocale:Li,showSorterTooltip:Bn}),Yi=b()(Vi,4),bi=Yi[0],ya=Yi[1],ua=Yi[2],la=Yi[3],gi=r.useMemo(function(){return jr(kn,ya,Ji)},[kn,ya]);qn.sorter=la(),qn.sorterStates=ya;var Ua=function(Pi,Ma){yi({filters:Pi,filterStates:Ma},"filter",!0)},Ba=di({prefixCls:ki,locale:Li,dropdownPrefixCls:Bi,mergedColumns:Mn,onFilterChange:Ua,getPopupContainer:Ht}),ra=b()(Ba,3),Qi=ra[0],Ya=ra[1],zi=ra[2],Wi=jn(gi,Ya);qn.filters=zi(),qn.filterStates=Ya;var ba=r.useMemo(function(){return i()({},ua)},[ua]),ka=Xi(ba),wa=b()(ka,1),vi=wa[0],Qa=function(Pi,Ma){yi({pagination:i()(i()({},qn.pagination),{current:Pi,pageSize:Ma})},"paginate")},za=Me(Wi.length,Tr,Qa),pa=b()(za,2),Ii=pa[0],So=pa[1];qn.pagination=Tr===!1?{}:ge(Tr,Ii),qn.resetPagination=So;var Wa=r.useMemo(function(){if(Tr===!1||!Ii.pageSize)return Wi;var Oa=Ii.current,Pi=Oa===void 0?1:Oa,Ma=Ii.total,Vo=Ii.pageSize,ro=Vo===void 0?le:Vo;return Wi.length<Ma?Wi.length>ro?(Object(mt.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."),Wi.slice((Pi-1)*ro,Pi*ro)):Wi:Wi.slice((Pi-1)*ro,Pi*ro)},[!!Tr,Wi,Ii&&Ii.current,Ii&&Ii.pageSize,Ii&&Ii.total]),ja=Ft(br,{prefixCls:ki,data:Wi,pageData:Wa,getRowKey:Aa,getRecordByKey:Di,expandType:va,childrenColumnName:Ji,locale:Li,expandIconColumnIndex:mi.expandIconColumnIndex,getPopupContainer:Ht}),Ja=b()(ja,2),ho=Ja[0],Ca=Ja[1],to=function(Pi,Ma,Vo){var ro;return typeof Wr=="function"?ro=s()(Wr(Pi,Ma,Vo)):ro=s()(Wr),s()(p()({},"".concat(ki,"-row-selected"),Ca.has(Aa(Pi,Ma))),ro)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||yr||_a(Li),va==="nest"&&mi.expandIconColumnIndex===void 0?mi.expandIconColumnIndex=br?1:0:mi.expandIconColumnIndex>0&&br&&(mi.expandIconColumnIndex-=1),typeof mi.indentSize!="number"&&(mi.indentSize=typeof fn=="number"?fn:15);var Lo=r.useCallback(function(Oa){return vi(ho(Qi(bi(Oa))))},[bi,Qi,ho]),Ta,Fi;if(Tr!==!1){var $a;Ii.size?$a=Ii.size:$a=xi==="small"||xi==="middle"?"small":void 0;var Ra=function(Pi){return r.createElement(ie.a,i()({className:"".concat(ki,"-pagination ").concat(ki,"-pagination-").concat(Pi)},Ii,{size:$a}))},pi=Ai==="rtl"?"left":"right";if(Ii.position!==null&&Array.isArray(Ii.position)){var Gi=Ii.position.find(function(Oa){return Oa.indexOf("top")!==-1}),oo=Ii.position.find(function(Oa){return Oa.indexOf("bottom")!==-1});!Gi&&!oo?Fi=Ra(pi):(Gi&&(Ta=Ra(Gi.toLowerCase().replace("top",""))),oo&&(Fi=Ra(oo.toLowerCase().replace("bottom",""))))}else Fi=Ra(pi)}var go;typeof ar=="boolean"?go={spinning:ar}:E()(ar)==="object"&&(go=i()({spinning:!0},ar));var fo=s()("".concat(ki,"-wrapper"),Kr,p()({},"".concat(ki,"-wrapper-rtl"),Ai==="rtl"));return r.createElement("div",{className:fo,style:hn},r.createElement(ee.a,i()({spinning:!1},go),Ta,r.createElement(wt,i()({},En,{columns:Mn,direction:Ai,expandable:mi,prefixCls:ki,className:s()((Ir={},p()(Ir,"".concat(ki,"-middle"),xi==="middle"),p()(Ir,"".concat(ki,"-small"),xi==="small"),p()(Ir,"".concat(ki,"-bordered"),Bt),p()(Ir,"".concat(ki,"-empty"),kn.length===0),Ir)),data:Wa,rowKey:Aa,rowClassName:to,emptyText:Sn&&Sn.emptyText||Ri("Table"),internalHooks:Te,internalRefs:Ea,transformColumns:Lo})),Wi&&Wi.length>0&&Fi))}eo.defaultProps={rowKey:"key"},eo.SELECTION_ALL=We,eo.SELECTION_INVERT=rt,eo.Column=ga,eo.ColumnGroup=mo,eo.Summary=Jt;var Oo=eo,co=F.a=Oo},wDdD:function(J,F,e){var d=e("ProS"),E=e("bYtY");e("98bh"),e("GrNh");var g=e("d4KN"),p=e("mOdp"),A=e("KS52"),b=e("0/Rx");g("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),d.registerVisual(p("pie")),d.registerLayout(E.curry(A,"pie")),d.registerProcessor(b("pie"))},"wF/u":function(J,F,e){var d=e("e5cp"),E=e("ExA7");function g(p,A,b,h,i){return p===A?!0:p==null||A==null||!E(p)&&!E(A)?p!==p&&A!==A:d(p,A,b,h,g,i)}J.exports=g},wJg7:function(J,F){var e=9007199254740991,d=/^(?:0|[1-9]\d*)$/;function E(g,p){var A=typeof g;return p=p==null?e:p,!!p&&(A=="number"||A!="symbol"&&d.test(g))&&(g>-1&&g%1==0)&&g<p}J.exports=E},wMS7:function(J,F,e){/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.0.8/LICENSE */(function(d,E){J.exports=E()})(this,function(){"use strict";function d(Fe){if(Array.isArray(Fe)){for(var Be=0,bt=Array(Fe.length);Be<Fe.length;Be++)bt[Be]=Fe[Be];return bt}else return Array.from(Fe)}var E=Object.hasOwnProperty,g=Object.setPrototypeOf,p=Object.isFrozen,A=Object.keys,b=Object.freeze,h=Object.seal,i=Object.create,r=typeof Reflect!="undefined"&&Reflect,a=r.apply,s=r.construct;a||(a=function(Be,bt,lt){return Be.apply(bt,lt)}),b||(b=function(Be){return Be}),h||(h=function(Be){return Be}),s||(s=function(Be,bt){return new(Function.prototype.bind.apply(Be,[null].concat(d(bt))))});var l=w(Array.prototype.forEach),n=w(Array.prototype.indexOf),u=w(Array.prototype.join),t=w(Array.prototype.pop),c=w(Array.prototype.push),o=w(Array.prototype.slice),f=w(String.prototype.toLowerCase),v=w(String.prototype.match),y=w(String.prototype.replace),L=w(String.prototype.indexOf),S=w(String.prototype.trim),x=w(RegExp.prototype.test),O=C(RegExp),T=C(TypeError);function w(Fe){return function(Be){for(var bt=arguments.length,lt=Array(bt>1?bt-1:0),tt=1;tt<bt;tt++)lt[tt-1]=arguments[tt];return a(Fe,Be,lt)}}function C(Fe){return function(){for(var Be=arguments.length,bt=Array(Be),lt=0;lt<Be;lt++)bt[lt]=arguments[lt];return s(Fe,bt)}}function N(Fe,Be){g&&g(Fe,null);for(var bt=Be.length;bt--;){var lt=Be[bt];if(typeof lt=="string"){var tt=f(lt);tt!==lt&&(p(Be)||(Be[bt]=tt),lt=tt)}Fe[lt]=!0}return Fe}function D(Fe){var Be=i(null),bt=void 0;for(bt in Fe)a(E,Fe,[bt])&&(Be[bt]=Fe[bt]);return Be}var B=b(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=b(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),U=b(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=b(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),j=b(["#text"]),P=b(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),K=b(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),H=b(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),k=b(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Z=h(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Y=h(/<%[\s\S]*|[\s\S]*%>/gm),_=h(/^data-[\-\w.\u00B7-\uFFFF]/),Q=h(/^aria-[\-\w]+$/),X=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),he=h(/^(?:\w+script|data):/i),te=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe};function be(Fe){if(Array.isArray(Fe)){for(var Be=0,bt=Array(Fe.length);Be<Fe.length;Be++)bt[Be]=Fe[Be];return bt}else return Array.from(Fe)}var we=function(){return typeof window=="undefined"?null:window},Ke=function(Be,bt){if((typeof Be=="undefined"?"undefined":fe(Be))!=="object"||typeof Be.createPolicy!="function")return null;var lt=null,tt="data-tt-policy-suffix";bt.currentScript&&bt.currentScript.hasAttribute(tt)&&(lt=bt.currentScript.getAttribute(tt));var St="dompurify"+(lt?"#"+lt:"");try{return Be.createPolicy(St,{createHTML:function(vt){return vt}})}catch(ht){return console.warn("TrustedTypes policy "+St+" could not be created."),null}};function qe(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:we(),Be=function(rt){return qe(rt)};if(Be.version="2.0.15",Be.removed=[],!Fe||!Fe.document||Fe.document.nodeType!==9)return Be.isSupported=!1,Be;var bt=Fe.document,lt=!1,tt=Fe.document,St=Fe.DocumentFragment,ht=Fe.HTMLTemplateElement,vt=Fe.Node,Ge=Fe.NodeFilter,At=Fe.NamedNodeMap,_e=At===void 0?Fe.NamedNodeMap||Fe.MozNamedAttrMap:At,De=Fe.Text,Ie=Fe.Comment,st=Fe.DOMParser,Et=Fe.trustedTypes;if(typeof ht=="function"){var Mt=tt.createElement("template");Mt.content&&Mt.content.ownerDocument&&(tt=Mt.content.ownerDocument)}var Pt=Ke(Et,bt),ke=Pt&&ee?Pt.createHTML(""):"",zt=tt,Ot=zt.implementation,_t=zt.createNodeIterator,Ve=zt.getElementsByTagName,Qe=zt.createDocumentFragment,et=bt.importNode,dt=D(tt).documentMode?tt.documentMode:{},Ze={};Be.isSupported=Ot&&typeof Ot.createHTMLDocument!="undefined"&&dt!==9;var oe=Z,me=Y,ot=_,Pe=Q,pt=he,Rr=te,It=X,nr=null,Gt=N({},[].concat(be(B),be(R),be(U),be(M),be(j))),Jt=null,hr=N({},[].concat(be(P),be(K),be(H),be(k))),Xt=null,de=null,ue=!0,se=!0,ae=!1,ye=!1,Ce=!1,Oe=!1,Te=!1,xe=!1,je=!1,ut=!1,wt=!1,ee=!1,ie=!0,z=!0,$=!1,le={},ge=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ae=null,Me=N({},["audio","video","img","source","image","track"]),$e=null,kt=N({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),$t=null,Lt=tt.createElement("form"),Ut=function(rt){if($t&&$t===rt)return;(!rt||(typeof rt=="undefined"?"undefined":fe(rt))!=="object")&&(rt={}),rt=D(rt),nr="ALLOWED_TAGS"in rt?N({},rt.ALLOWED_TAGS):Gt,Jt="ALLOWED_ATTR"in rt?N({},rt.ALLOWED_ATTR):hr,$e="ADD_URI_SAFE_ATTR"in rt?N(D(kt),rt.ADD_URI_SAFE_ATTR):kt,Ae="ADD_DATA_URI_TAGS"in rt?N(D(Me),rt.ADD_DATA_URI_TAGS):Me,Xt="FORBID_TAGS"in rt?N({},rt.FORBID_TAGS):{},de="FORBID_ATTR"in rt?N({},rt.FORBID_ATTR):{},le="USE_PROFILES"in rt?rt.USE_PROFILES:!1,ue=rt.ALLOW_ARIA_ATTR!==!1,se=rt.ALLOW_DATA_ATTR!==!1,ae=rt.ALLOW_UNKNOWN_PROTOCOLS||!1,ye=rt.SAFE_FOR_JQUERY||!1,Ce=rt.SAFE_FOR_TEMPLATES||!1,Oe=rt.WHOLE_DOCUMENT||!1,je=rt.RETURN_DOM||!1,ut=rt.RETURN_DOM_FRAGMENT||!1,wt=rt.RETURN_DOM_IMPORT||!1,ee=rt.RETURN_TRUSTED_TYPE||!1,xe=rt.FORCE_BODY||!1,ie=rt.SANITIZE_DOM!==!1,z=rt.KEEP_CONTENT!==!1,$=rt.IN_PLACE||!1,It=rt.ALLOWED_URI_REGEXP||It,Ce&&(se=!1),ut&&(je=!0),le&&(nr=N({},[].concat(be(j))),Jt=[],le.html===!0&&(N(nr,B),N(Jt,P)),le.svg===!0&&(N(nr,R),N(Jt,K),N(Jt,k)),le.svgFilters===!0&&(N(nr,U),N(Jt,K),N(Jt,k)),le.mathMl===!0&&(N(nr,M),N(Jt,H),N(Jt,k))),rt.ADD_TAGS&&(nr===Gt&&(nr=D(nr)),N(nr,rt.ADD_TAGS)),rt.ADD_ATTR&&(Jt===hr&&(Jt=D(Jt)),N(Jt,rt.ADD_ATTR)),rt.ADD_URI_SAFE_ATTR&&N($e,rt.ADD_URI_SAFE_ATTR),z&&(nr["#text"]=!0),Oe&&N(nr,["html","head","body"]),nr.table&&(N(nr,["tbody"]),delete Xt.tbody),b&&b(rt),$t=rt},Wt=function(rt){c(Be.removed,{element:rt});try{rt.parentNode.removeChild(rt)}catch(ft){rt.outerHTML=ke}},Vt=function(rt,ft){try{c(Be.removed,{attribute:ft.getAttributeNode(rt),from:ft})}catch(Yt){c(Be.removed,{attribute:null,from:ft})}ft.removeAttribute(rt)},Tt=function(rt){var ft=void 0,Yt=void 0;if(xe)rt="<remove></remove>"+rt;else{var Ft=v(rt,/^[\r\n\t ]+/);Yt=Ft&&Ft[0]}var fr=Pt?Pt.createHTML(rt):rt;try{ft=new st().parseFromString(fr,"text/html")}catch(Lr){}if(lt&&N(Xt,["title"]),!ft||!ft.documentElement){ft=Ot.createHTMLDocument("");var mr=ft,Er=mr.body;Er.parentNode.removeChild(Er.parentNode.firstElementChild),Er.outerHTML=fr}return rt&&Yt&&ft.body.insertBefore(tt.createTextNode(Yt),ft.body.childNodes[0]||null),Ve.call(ft,Oe?"html":"body")[0]};Be.isSupported&&function(){try{var We=Tt("<x/><title></title><img>");x(/<\/title/,We.querySelector("title").innerHTML)&&(lt=!0)}catch(rt){}}();var ur=function(rt){return _t.call(rt.ownerDocument||rt,rt,Ge.SHOW_ELEMENT|Ge.SHOW_COMMENT|Ge.SHOW_TEXT,function(){return Ge.FILTER_ACCEPT},!1)},qt=function(rt){return rt instanceof De||rt instanceof Ie?!1:typeof rt.nodeName!="string"||typeof rt.textContent!="string"||typeof rt.removeChild!="function"||!(rt.attributes instanceof _e)||typeof rt.removeAttribute!="function"||typeof rt.setAttribute!="function"||typeof rt.namespaceURI!="string"},ze=function(rt){return(typeof vt=="undefined"?"undefined":fe(vt))==="object"?rt instanceof vt:rt&&(typeof rt=="undefined"?"undefined":fe(rt))==="object"&&typeof rt.nodeType=="number"&&typeof rt.nodeName=="string"},nt=function(rt,ft,Yt){if(!Ze[rt])return;l(Ze[rt],function(Ft){Ft.call(Be,ft,Yt,$t)})},Ye=function(rt){var ft=void 0;if(nt("beforeSanitizeElements",rt,null),qt(rt))return Wt(rt),!0;if(v(rt.nodeName,/[\u0080-\uFFFF]/))return Wt(rt),!0;var Yt=f(rt.nodeName);if(nt("uponSanitizeElement",rt,{tagName:Yt,allowedTags:nr}),(Yt==="svg"||Yt==="math")&&rt.querySelectorAll("p, br").length!==0)return Wt(rt),!0;if(!nr[Yt]||Xt[Yt]){if(z&&!ge[Yt]&&typeof rt.insertAdjacentHTML=="function")try{var Ft=rt.innerHTML;rt.insertAdjacentHTML("AfterEnd",Pt?Pt.createHTML(Ft):Ft)}catch(fr){}return Wt(rt),!0}return Yt==="noscript"&&x(/<\/noscript/i,rt.innerHTML)||Yt==="noembed"&&x(/<\/noembed/i,rt.innerHTML)?(Wt(rt),!0):(ye&&!ze(rt.firstElementChild)&&(!ze(rt.content)||!ze(rt.content.firstElementChild))&&x(/</g,rt.textContent)&&(c(Be.removed,{element:rt.cloneNode()}),rt.innerHTML?rt.innerHTML=y(rt.innerHTML,/</g,"<"):rt.innerHTML=y(rt.textContent,/</g,"<")),Ce&&rt.nodeType===3&&(ft=rt.textContent,ft=y(ft,oe," "),ft=y(ft,me," "),rt.textContent!==ft&&(c(Be.removed,{element:rt.cloneNode()}),rt.textContent=ft)),nt("afterSanitizeElements",rt,null),!1)},Xe=function(rt,ft,Yt){if(ie&&(ft==="id"||ft==="name")&&(Yt in tt||Yt in Lt))return!1;if(!(se&&x(ot,ft))){if(!(ue&&x(Pe,ft))){if(!Jt[ft]||de[ft])return!1;if(!$e[ft]){if(!x(It,y(Yt,Rr,""))){if(!((ft==="src"||ft==="xlink:href"||ft==="href")&&rt!=="script"&&L(Yt,"data:")===0&&Ae[rt])){if(!(ae&&!x(pt,y(Yt,Rr,"")))){if(Yt)return!1}}}}}}return!0},yt=function(rt){var ft=void 0,Yt=void 0,Ft=void 0,fr=void 0,mr=void 0;nt("beforeSanitizeAttributes",rt,null);var Er=rt.attributes;if(!Er)return;var Lr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Jt};for(mr=Er.length;mr--;){ft=Er[mr];var en=ft,Qr=en.name,Cr=en.namespaceURI;if(Yt=S(ft.value),Ft=f(Qr),Lr.attrName=Ft,Lr.attrValue=Yt,Lr.keepAttr=!0,Lr.forceKeepAttr=void 0,nt("uponSanitizeAttribute",rt,Lr),Yt=Lr.attrValue,Lr.forceKeepAttr)continue;if(Ft==="name"&&rt.nodeName==="IMG"&&Er.id)fr=Er.id,Er=o(Er,[]),Vt("id",rt),Vt(Qr,rt),n(Er,fr)>mr&&rt.setAttribute("id",fr.value);else{if(rt.nodeName==="INPUT"&&Ft==="type"&&Yt==="file"&&Lr.keepAttr&&(Jt[Ft]||!de[Ft]))continue;Qr==="id"&&rt.setAttribute(Qr,""),Vt(Qr,rt)}if(!Lr.keepAttr)continue;if(ye&&x(/\/>/i,Yt)){Vt(Qr,rt);continue}if(x(/svg|math/i,rt.namespaceURI)&&x(O("</("+u(A(ge),"|")+")","i"),Yt)){Vt(Qr,rt);continue}Ce&&(Yt=y(Yt,oe," "),Yt=y(Yt,me," "));var Gr=rt.nodeName.toLowerCase();if(!Xe(Gr,Ft,Yt))continue;try{Cr?rt.setAttributeNS(Cr,Qr,Yt):rt.setAttribute(Qr,Yt),t(Be.removed)}catch(Nr){}}nt("afterSanitizeAttributes",rt,null)},mt=function We(rt){var ft=void 0,Yt=ur(rt);for(nt("beforeSanitizeShadowDOM",rt,null);ft=Yt.nextNode();){if(nt("uponSanitizeShadowNode",ft,null),Ye(ft))continue;ft.content instanceof St&&We(ft.content),yt(ft)}nt("afterSanitizeShadowDOM",rt,null)};return Be.sanitize=function(We,rt){var ft=void 0,Yt=void 0,Ft=void 0,fr=void 0,mr=void 0;if(We||(We="<!-->"),typeof We!="string"&&!ze(We)){if(typeof We.toString!="function")throw T("toString is not a function");if(We=We.toString(),typeof We!="string")throw T("dirty is not a string, aborting")}if(!Be.isSupported){if(fe(Fe.toStaticHTML)==="object"||typeof Fe.toStaticHTML=="function"){if(typeof We=="string")return Fe.toStaticHTML(We);if(ze(We))return Fe.toStaticHTML(We.outerHTML)}return We}if(Te||Ut(rt),Be.removed=[],typeof We=="string"&&($=!1),!$)if(We instanceof vt)ft=Tt("<!-->"),Yt=ft.ownerDocument.importNode(We,!0),Yt.nodeType===1&&Yt.nodeName==="BODY"||Yt.nodeName==="HTML"?ft=Yt:ft.appendChild(Yt);else{if(!je&&!Ce&&!Oe&&We.indexOf("<")===-1)return Pt&&ee?Pt.createHTML(We):We;if(ft=Tt(We),!ft)return je?null:ke}ft&&xe&&Wt(ft.firstChild);for(var Er=ur($?We:ft);Ft=Er.nextNode();){if(Ft.nodeType===3&&Ft===fr)continue;if(Ye(Ft))continue;Ft.content instanceof St&&mt(Ft.content),yt(Ft),fr=Ft}if(fr=null,$)return We;if(je){if(ut)for(mr=Qe.call(ft.ownerDocument);ft.firstChild;)mr.appendChild(ft.firstChild);else mr=ft;return wt&&(mr=et.call(bt,mr,!0)),mr}var Lr=Oe?ft.outerHTML:ft.innerHTML;return Ce&&(Lr=y(Lr,oe," "),Lr=y(Lr,me," ")),Pt&&ee?Pt.createHTML(Lr):Lr},Be.setConfig=function(We){Ut(We),Te=!0},Be.clearConfig=function(){$t=null,Te=!1},Be.isValidAttribute=function(We,rt,ft){$t||Ut({});var Yt=f(We),Ft=f(rt);return Xe(Yt,Ft,ft)},Be.addHook=function(We,rt){if(typeof rt!="function")return;Ze[We]=Ze[We]||[],c(Ze[We],rt)},Be.removeHook=function(We){Ze[We]&&t(Ze[We])},Be.removeHooks=function(We){Ze[We]&&(Ze[We]=[])},Be.removeAllHooks=function(){Ze={}},Be}var xt=qe();return xt})},wOnQ:function(J,F,e){/*!
|
|
|
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(d,E){J.exports=E()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
|
this file except in compliance with the License. You may obtain a copy of the
|
|
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
|
and limitations under the License.
|
|
|
***************************************************************************** */var d=function(G,Se){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Re,gt){Re.__proto__=gt}||function(Re,gt){for(var er in gt)gt.hasOwnProperty(er)&&(Re[er]=gt[er])},d(G,Se)};function E(Ne,G){d(Ne,G);function Se(){this.constructor=Ne}Ne.prototype=G===null?Object.create(G):(Se.prototype=G.prototype,new Se)}var g=function(){return g=Object.assign||function(Se){for(var Re,gt=1,er=arguments.length;gt<er;gt++){Re=arguments[gt];for(var vr in Re)Object.prototype.hasOwnProperty.call(Re,vr)&&(Se[vr]=Re[vr])}return Se},g.apply(this,arguments)};function p(Ne,G,Se,Re){return new(Se||(Se=Promise))(function(gt,er){function vr(zr){try{Hr(Re.next(zr))}catch(un){er(un)}}function Dr(zr){try{Hr(Re.throw(zr))}catch(un){er(un)}}function Hr(zr){zr.done?gt(zr.value):new Se(function(un){un(zr.value)}).then(vr,Dr)}Hr((Re=Re.apply(Ne,G||[])).next())})}function A(Ne,G){var Se={label:0,sent:function(){if(er[0]&1)throw er[1];return er[1]},trys:[],ops:[]},Re,gt,er,vr;return vr={next:Dr(0),throw:Dr(1),return:Dr(2)},typeof Symbol=="function"&&(vr[Symbol.iterator]=function(){return this}),vr;function Dr(zr){return function(un){return Hr([zr,un])}}function Hr(zr){if(Re)throw new TypeError("Generator is already executing.");for(;Se;)try{if(Re=1,gt&&(er=zr[0]&2?gt.return:zr[0]?gt.throw||((er=gt.return)&&er.call(gt),0):gt.next)&&!(er=er.call(gt,zr[1])).done)return er;(gt=0,er)&&(zr=[zr[0]&2,er.value]);switch(zr[0]){case 0:case 1:er=zr;break;case 4:return Se.label++,{value:zr[1],done:!1};case 5:Se.label++,gt=zr[1],zr=[0];continue;case 7:zr=Se.ops.pop(),Se.trys.pop();continue;default:if(!(er=Se.trys,er=er.length>0&&er[er.length-1])&&(zr[0]===6||zr[0]===2)){Se=0;continue}if(zr[0]===3&&(!er||zr[1]>er[0]&&zr[1]<er[3])){Se.label=zr[1];break}if(zr[0]===6&&Se.label<er[1]){Se.label=er[1],er=zr;break}if(er&&Se.label<er[2]){Se.label=er[2],Se.ops.push(zr);break}er[2]&&Se.ops.pop(),Se.trys.pop();continue}zr=G.call(Ne,Se)}catch(un){zr=[6,un],gt=0}finally{Re=er=0}if(zr[0]&5)throw zr[1];return{value:zr[0]?zr[1]:void 0,done:!0}}}for(var b=function(){function Ne(G,Se,Re,gt){this.left=G,this.top=Se,this.width=Re,this.height=gt}return Ne.prototype.add=function(G,Se,Re,gt){return new Ne(this.left+G,this.top+Se,this.width+Re,this.height+gt)},Ne.fromClientRect=function(G){return new Ne(G.left,G.top,G.width,G.height)},Ne}(),h=function(G){return b.fromClientRect(G.getBoundingClientRect())},i=function(G){var Se=G.body,Re=G.documentElement;if(!Se||!Re)throw new Error("Unable to get document size");var gt=Math.max(Math.max(Se.scrollWidth,Re.scrollWidth),Math.max(Se.offsetWidth,Re.offsetWidth),Math.max(Se.clientWidth,Re.clientWidth)),er=Math.max(Math.max(Se.scrollHeight,Re.scrollHeight),Math.max(Se.offsetHeight,Re.offsetHeight),Math.max(Se.clientHeight,Re.clientHeight));return new b(0,0,gt,er)},r=function(G){for(var Se=[],Re=0,gt=G.length;Re<gt;){var er=G.charCodeAt(Re++);if(er>=55296&&er<=56319&&Re<gt){var vr=G.charCodeAt(Re++);(vr&64512)===56320?Se.push(((er&1023)<<10)+(vr&1023)+65536):(Se.push(er),Re--)}else Se.push(er)}return Se},a=function(){for(var G=[],Se=0;Se<arguments.length;Se++)G[Se]=arguments[Se];if(String.fromCodePoint)return String.fromCodePoint.apply(String,G);var Re=G.length;if(!Re)return"";for(var gt=[],er=-1,vr="";++er<Re;){var Dr=G[er];Dr<=65535?gt.push(Dr):(Dr-=65536,gt.push((Dr>>10)+55296,Dr%1024+56320)),(er+1===Re||gt.length>16384)&&(vr+=String.fromCharCode.apply(String,gt),gt.length=0)}return vr},s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),n=0;n<s.length;n++)l[s.charCodeAt(n)]=n;var u=function(G){var Se=G.length*.75,Re=G.length,gt,er=0,vr,Dr,Hr,zr;G[G.length-1]==="="&&(Se--,G[G.length-2]==="="&&Se--);var un=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Se):new Array(Se),sn=Array.isArray(un)?un:new Uint8Array(un);for(gt=0;gt<Re;gt+=4)vr=l[G.charCodeAt(gt)],Dr=l[G.charCodeAt(gt+1)],Hr=l[G.charCodeAt(gt+2)],zr=l[G.charCodeAt(gt+3)],sn[er++]=vr<<2|Dr>>4,sn[er++]=(Dr&15)<<4|Hr>>2,sn[er++]=(Hr&3)<<6|zr&63;return un},t=function(G){for(var Se=G.length,Re=[],gt=0;gt<Se;gt+=2)Re.push(G[gt+1]<<8|G[gt]);return Re},c=function(G){for(var Se=G.length,Re=[],gt=0;gt<Se;gt+=4)Re.push(G[gt+3]<<24|G[gt+2]<<16|G[gt+1]<<8|G[gt]);return Re},o=5,f=6+5,v=2,y=f-o,L=65536>>o,S=1<<o,x=S-1,O=1024>>o,T=L+O,w=T,C=2048>>6,N=w+C,D=65536>>f,B=1<<y,R=B-1,U=function(G,Se,Re){return G.slice?G.slice(Se,Re):new Uint16Array(Array.prototype.slice.call(G,Se,Re))},M=function(G,Se,Re){return G.slice?G.slice(Se,Re):new Uint32Array(Array.prototype.slice.call(G,Se,Re))},j=function(G){var Se=u(G),Re=Array.isArray(Se)?c(Se):new Uint32Array(Se),gt=Array.isArray(Se)?t(Se):new Uint16Array(Se),er=24,vr=U(gt,er/2,Re[4]/2),Dr=Re[5]===2?U(gt,(er+Re[4])/2):M(Re,Math.ceil((er+Re[4])/4));return new P(Re[0],Re[1],Re[2],Re[3],vr,Dr)},P=function(){function Ne(G,Se,Re,gt,er,vr){this.initialValue=G,this.errorValue=Se,this.highStart=Re,this.highValueIndex=gt,this.index=er,this.data=vr}return Ne.prototype.get=function(G){var Se;if(G>=0){if(G<55296||G>56319&&G<=65535)return Se=this.index[G>>o],Se=(Se<<v)+(G&x),this.data[Se];if(G<=65535)return Se=this.index[L+(G-55296>>o)],Se=(Se<<v)+(G&x),this.data[Se];if(G<this.highStart)return Se=N-D+(G>>f),Se=this.index[Se],Se+=G>>o&R,Se=this.index[Se],Se=(Se<<v)+(G&x),this.data[Se];if(G<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Ne}(),K="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",H=50,k=1,Z=2,Y=3,_=4,Q=5,X=7,he=8,te=9,fe=10,be=11,we=12,Ke=13,qe=14,xt=15,Fe=16,Be=17,bt=18,lt=19,tt=20,St=21,ht=22,vt=23,Ge=24,At=25,_e=26,De=27,Ie=28,st=29,Et=30,Mt=31,Pt=32,ke=33,zt=34,Ot=35,_t=36,Ve=37,Qe=38,et=39,dt=40,Ze=41,oe=42,me=43,ot="!",Pe="\xD7",pt="\xF7",Rr=j(K),It=[Et,_t],nr=[k,Z,Y,Q],Gt=[fe,he],Jt=[De,_e],hr=nr.concat(Gt),Xt=[Qe,et,dt,zt,Ot],de=[xt,Ke],ue=function(G,Se){Se===void 0&&(Se="strict");var Re=[],gt=[],er=[];return G.forEach(function(vr,Dr){var Hr=Rr.get(vr);if(Hr>H?(er.push(!0),Hr-=H):er.push(!1),["normal","auto","loose"].indexOf(Se)!==-1&&[8208,8211,12316,12448].indexOf(vr)!==-1)return gt.push(Dr),Re.push(Fe);if(Hr===_||Hr===be){if(Dr===0)return gt.push(Dr),Re.push(Et);var zr=Re[Dr-1];return hr.indexOf(zr)===-1?(gt.push(gt[Dr-1]),Re.push(zr)):(gt.push(Dr),Re.push(Et))}if(gt.push(Dr),Hr===Mt)return Re.push(Se==="strict"?St:Ve);if(Hr===oe)return Re.push(Et);if(Hr===st)return Re.push(Et);if(Hr===me)return vr>=131072&&vr<=196605||vr>=196608&&vr<=262141?Re.push(Ve):Re.push(Et);Re.push(Hr)}),[gt,Re,er]},se=function(G,Se,Re,gt){var er=gt[Re];if(Array.isArray(G)?G.indexOf(er)!==-1:G===er)for(var vr=Re;vr<=gt.length;){vr++;var Dr=gt[vr];if(Dr===Se)return!0;if(Dr!==fe)break}if(er===fe)for(var vr=Re;vr>0;){vr--;var Hr=gt[vr];if(Array.isArray(G)?G.indexOf(Hr)!==-1:G===Hr)for(var zr=Re;zr<=gt.length;){zr++;var Dr=gt[zr];if(Dr===Se)return!0;if(Dr!==fe)break}if(Hr!==fe)break}return!1},ae=function(G,Se){for(var Re=G;Re>=0;){var gt=Se[Re];if(gt===fe)Re--;else return gt}return 0},ye=function(G,Se,Re,gt,er){if(Re[gt]===0)return Pe;var vr=gt-1;if(Array.isArray(er)&&er[vr]===!0)return Pe;var Dr=vr-1,Hr=vr+1,zr=Se[vr],un=Dr>=0?Se[Dr]:0,sn=Se[Hr];if(zr===Z&&sn===Y)return Pe;if(nr.indexOf(zr)!==-1)return ot;if(nr.indexOf(sn)!==-1)return Pe;if(Gt.indexOf(sn)!==-1)return Pe;if(ae(vr,Se)===he)return pt;if(Rr.get(G[vr])===be&&(sn===Ve||sn===Pt||sn===ke))return Pe;if(zr===X||sn===X)return Pe;if(zr===te)return Pe;if([fe,Ke,xt].indexOf(zr)===-1&&sn===te)return Pe;if([Be,bt,lt,Ge,Ie].indexOf(sn)!==-1)return Pe;if(ae(vr,Se)===ht)return Pe;if(se(vt,ht,vr,Se))return Pe;if(se([Be,bt],St,vr,Se))return Pe;if(se(we,we,vr,Se))return Pe;if(zr===fe)return pt;if(zr===vt||sn===vt)return Pe;if(sn===Fe||zr===Fe)return pt;if([Ke,xt,St].indexOf(sn)!==-1||zr===qe)return Pe;if(un===_t&&de.indexOf(zr)!==-1)return Pe;if(zr===Ie&&sn===_t)return Pe;if(sn===tt&&It.concat(tt,lt,At,Ve,Pt,ke).indexOf(zr)!==-1)return Pe;if(It.indexOf(sn)!==-1&&zr===At||It.indexOf(zr)!==-1&&sn===At)return Pe;if(zr===De&&[Ve,Pt,ke].indexOf(sn)!==-1||[Ve,Pt,ke].indexOf(zr)!==-1&&sn===_e)return Pe;if(It.indexOf(zr)!==-1&&Jt.indexOf(sn)!==-1||Jt.indexOf(zr)!==-1&&It.indexOf(sn)!==-1)return Pe;if([De,_e].indexOf(zr)!==-1&&(sn===At||[ht,xt].indexOf(sn)!==-1&&Se[Hr+1]===At)||[ht,xt].indexOf(zr)!==-1&&sn===At||zr===At&&[At,Ie,Ge].indexOf(sn)!==-1)return Pe;if([At,Ie,Ge,Be,bt].indexOf(sn)!==-1)for(var Fn=vr;Fn>=0;){var si=Se[Fn];if(si===At)return Pe;if([Ie,Ge].indexOf(si)!==-1)Fn--;else break}if([De,_e].indexOf(sn)!==-1)for(var Fn=[Be,bt].indexOf(zr)!==-1?Dr:vr;Fn>=0;){var si=Se[Fn];if(si===At)return Pe;if([Ie,Ge].indexOf(si)!==-1)Fn--;else break}if(Qe===zr&&[Qe,et,zt,Ot].indexOf(sn)!==-1||[et,zt].indexOf(zr)!==-1&&[et,dt].indexOf(sn)!==-1||[dt,Ot].indexOf(zr)!==-1&&sn===dt)return Pe;if(Xt.indexOf(zr)!==-1&&[tt,_e].indexOf(sn)!==-1||Xt.indexOf(sn)!==-1&&zr===De)return Pe;if(It.indexOf(zr)!==-1&&It.indexOf(sn)!==-1)return Pe;if(zr===Ge&&It.indexOf(sn)!==-1)return Pe;if(It.concat(At).indexOf(zr)!==-1&&sn===ht||It.concat(At).indexOf(sn)!==-1&&zr===bt)return Pe;if(zr===Ze&&sn===Ze){for(var zn=Re[vr],fi=1;zn>0&&(zn--,Se[zn]===Ze);)fi++;if(fi%2!==0)return Pe}return zr===Pt&&sn===ke?Pe:pt},Ce=function(G,Se){Se||(Se={lineBreak:"normal",wordBreak:"normal"});var Re=ue(G,Se.lineBreak),gt=Re[0],er=Re[1],vr=Re[2];(Se.wordBreak==="break-all"||Se.wordBreak==="break-word")&&(er=er.map(function(Hr){return[At,Et,oe].indexOf(Hr)!==-1?Ve:Hr}));var Dr=Se.wordBreak==="keep-all"?vr.map(function(Hr,zr){return Hr&&G[zr]>=19968&&G[zr]<=40959}):void 0;return[gt,er,Dr]},Oe=function(){function Ne(G,Se,Re,gt){this.codePoints=G,this.required=Se===ot,this.start=Re,this.end=gt}return Ne.prototype.slice=function(){return a.apply(void 0,this.codePoints.slice(this.start,this.end))},Ne}(),Te=function(G,Se){var Re=r(G),gt=Ce(Re,Se),er=gt[0],vr=gt[1],Dr=gt[2],Hr=Re.length,zr=0,un=0;return{next:function(){if(un>=Hr)return{done:!0,value:null};for(var Fn=Pe;un<Hr&&(Fn=ye(Re,vr,er,++un,Dr))===Pe;);if(Fn!==Pe||un===Hr){var si=new Oe(Re,Fn,zr,un);return zr=un,{value:si,done:!1}}return{done:!0,value:null}}}},xe;(function(Ne){Ne[Ne.STRING_TOKEN=0]="STRING_TOKEN",Ne[Ne.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",Ne[Ne.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",Ne[Ne.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",Ne[Ne.COMMA_TOKEN=4]="COMMA_TOKEN",Ne[Ne.HASH_TOKEN=5]="HASH_TOKEN",Ne[Ne.DELIM_TOKEN=6]="DELIM_TOKEN",Ne[Ne.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",Ne[Ne.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",Ne[Ne.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",Ne[Ne.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",Ne[Ne.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",Ne[Ne.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",Ne[Ne.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",Ne[Ne.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",Ne[Ne.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",Ne[Ne.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",Ne[Ne.NUMBER_TOKEN=17]="NUMBER_TOKEN",Ne[Ne.FUNCTION=18]="FUNCTION",Ne[Ne.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",Ne[Ne.IDENT_TOKEN=20]="IDENT_TOKEN",Ne[Ne.COLUMN_TOKEN=21]="COLUMN_TOKEN",Ne[Ne.URL_TOKEN=22]="URL_TOKEN",Ne[Ne.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",Ne[Ne.CDC_TOKEN=24]="CDC_TOKEN",Ne[Ne.CDO_TOKEN=25]="CDO_TOKEN",Ne[Ne.COLON_TOKEN=26]="COLON_TOKEN",Ne[Ne.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",Ne[Ne.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",Ne[Ne.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",Ne[Ne.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",Ne[Ne.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",Ne[Ne.EOF_TOKEN=32]="EOF_TOKEN"})(xe||(xe={}));var je=1<<0,ut=1<<1,wt=1<<2,ee=1<<3,ie=10,z=47,$=92,le=9,ge=32,Ae=34,Me=61,$e=35,kt=36,$t=37,Lt=39,Ut=40,Wt=41,Vt=95,Tt=45,ur=33,qt=60,ze=62,nt=64,Ye=91,Xe=93,yt=61,mt=123,We=63,rt=125,ft=124,Yt=126,Ft=128,fr=65533,mr=42,Er=43,Lr=44,en=58,Qr=59,Cr=46,Gr=0,Nr=8,lr=11,pr=14,sr=31,dr=127,Sr=-1,Xr=48,cn=97,Dn=101,jr=102,On=117,gn=122,Un=65,Wn=69,Jn=70,Qn=85,Vn=90,yn=function(G){return G>=Xr&&G<=57},on=function(G){return G>=55296&&G<=57343},ia=function(G){return yn(G)||G>=Un&&G<=Jn||G>=cn&&G<=jr},xa=function(G){return G>=cn&&G<=gn},ta=function(G){return G>=Un&&G<=Vn},Ni=function(G){return xa(G)||ta(G)},Ci=function(G){return G>=Ft},Gn=function(G){return G===ie||G===le||G===ge},Ia=function(G){return Ni(G)||Ci(G)||G===Vt},mn=function(G){return Ia(G)||yn(G)||G===Tt},In=function(G){return G>=Gr&&G<=Nr||G===lr||G>=pr&&G<=sr||G===dr},Ln=function(G,Se){return G!==$?!1:Se!==ie},Nn=function(G,Se,Re){return G===Tt?Ia(Se)||Ln(Se,Re):Ia(G)?!0:!!(G===$&&Ln(G,Se))},jn=function(G,Se,Re){return G===Er||G===Tt?yn(Se)?!0:Se===Cr&&yn(Re):G===Cr?yn(Se):yn(G)},ni=function(G){var Se=0,Re=1;(G[Se]===Er||G[Se]===Tt)&&(G[Se]===Tt&&(Re=-1),Se++);for(var gt=[];yn(G[Se]);)gt.push(G[Se++]);var er=gt.length?parseInt(a.apply(void 0,gt),10):0;G[Se]===Cr&&Se++;for(var vr=[];yn(G[Se]);)vr.push(G[Se++]);var Dr=vr.length,Hr=Dr?parseInt(a.apply(void 0,vr),10):0;(G[Se]===Wn||G[Se]===Dn)&&Se++;var zr=1;(G[Se]===Er||G[Se]===Tt)&&(G[Se]===Tt&&(zr=-1),Se++);for(var un=[];yn(G[Se]);)un.push(G[Se++]);var sn=un.length?parseInt(a.apply(void 0,un),10):0;return Re*(er+Hr*Math.pow(10,-Dr))*Math.pow(10,zr*sn)},di={type:xe.LEFT_PARENTHESIS_TOKEN},Da={type:xe.RIGHT_PARENTHESIS_TOKEN},Xi={type:xe.COMMA_TOKEN},ma={type:xe.SUFFIX_MATCH_TOKEN},_a={type:xe.PREFIX_MATCH_TOKEN},Xa={type:xe.COLUMN_TOKEN},Ki={type:xe.DASH_MATCH_TOKEN},Co={type:xe.INCLUDE_MATCH_TOKEN},aa={type:xe.LEFT_CURLY_BRACKET_TOKEN},Hi={type:xe.RIGHT_CURLY_BRACKET_TOKEN},ga={type:xe.SUBSTRING_MATCH_TOKEN},ha={type:xe.BAD_URL_TOKEN},mo={type:xe.BAD_STRING_TOKEN},Pn={type:xe.CDO_TOKEN},qi={type:xe.CDC_TOKEN},eo={type:xe.COLON_TOKEN},Oo={type:xe.SEMICOLON_TOKEN},co={type:xe.LEFT_SQUARE_BRACKET_TOKEN},tr={type:xe.RIGHT_SQUARE_BRACKET_TOKEN},Ir={type:xe.WHITESPACE_TOKEN},Ur={type:xe.EOF_TOKEN},Kr=function(){function Ne(){this._value=[]}return Ne.prototype.write=function(G){this._value=this._value.concat(r(G))},Ne.prototype.read=function(){for(var G=[],Se=this.consumeToken();Se!==Ur;)G.push(Se),Se=this.consumeToken();return G},Ne.prototype.consumeToken=function(){var G=this.consumeCodePoint();switch(G){case Ae:return this.consumeStringToken(Ae);case $e:var Se=this.peekCodePoint(0),Re=this.peekCodePoint(1),gt=this.peekCodePoint(2);if(mn(Se)||Ln(Re,gt)){var er=Nn(Se,Re,gt)?ut:je,vr=this.consumeName();return{type:xe.HASH_TOKEN,value:vr,flags:er}}break;case kt:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),ma;break;case Lt:return this.consumeStringToken(Lt);case Ut:return di;case Wt:return Da;case mr:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),ga;break;case Er:if(jn(G,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(G),this.consumeNumericToken();break;case Lr:return Xi;case Tt:var Dr=G,Hr=this.peekCodePoint(0),zr=this.peekCodePoint(1);if(jn(Dr,Hr,zr))return this.reconsumeCodePoint(G),this.consumeNumericToken();if(Nn(Dr,Hr,zr))return this.reconsumeCodePoint(G),this.consumeIdentLikeToken();if(Hr===Tt&&zr===ze)return this.consumeCodePoint(),this.consumeCodePoint(),qi;break;case Cr:if(jn(G,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(G),this.consumeNumericToken();break;case z:if(this.peekCodePoint(0)===mr)for(this.consumeCodePoint();;){var un=this.consumeCodePoint();if(un===mr&&(un=this.consumeCodePoint(),un===z))return this.consumeToken();if(un===Sr)return this.consumeToken()}break;case en:return eo;case Qr:return Oo;case qt:if(this.peekCodePoint(0)===ur&&this.peekCodePoint(1)===Tt&&this.peekCodePoint(2)===Tt)return this.consumeCodePoint(),this.consumeCodePoint(),Pn;break;case nt:var sn=this.peekCodePoint(0),Fn=this.peekCodePoint(1),si=this.peekCodePoint(2);if(Nn(sn,Fn,si)){var vr=this.consumeName();return{type:xe.AT_KEYWORD_TOKEN,value:vr}}break;case Ye:return co;case $:if(Ln(G,this.peekCodePoint(0)))return this.reconsumeCodePoint(G),this.consumeIdentLikeToken();break;case Xe:return tr;case yt:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),_a;break;case mt:return aa;case rt:return Hi;case On:case Qn:var zn=this.peekCodePoint(0),fi=this.peekCodePoint(1);return zn===Er&&(ia(fi)||fi===We)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(G),this.consumeIdentLikeToken();case ft:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),Ki;if(this.peekCodePoint(0)===ft)return this.consumeCodePoint(),Xa;break;case Yt:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),Co;break;case Sr:return Ur}return Gn(G)?(this.consumeWhiteSpace(),Ir):yn(G)?(this.reconsumeCodePoint(G),this.consumeNumericToken()):Ia(G)?(this.reconsumeCodePoint(G),this.consumeIdentLikeToken()):{type:xe.DELIM_TOKEN,value:a(G)}},Ne.prototype.consumeCodePoint=function(){var G=this._value.shift();return typeof G=="undefined"?-1:G},Ne.prototype.reconsumeCodePoint=function(G){this._value.unshift(G)},Ne.prototype.peekCodePoint=function(G){return G>=this._value.length?-1:this._value[G]},Ne.prototype.consumeUnicodeRangeToken=function(){for(var G=[],Se=this.consumeCodePoint();ia(Se)&&G.length<6;)G.push(Se),Se=this.consumeCodePoint();for(var Re=!1;Se===We&&G.length<6;)G.push(Se),Se=this.consumeCodePoint(),Re=!0;if(Re){var gt=parseInt(a.apply(void 0,G.map(function(Hr){return Hr===We?Xr:Hr})),16),er=parseInt(a.apply(void 0,G.map(function(Hr){return Hr===We?Jn:Hr})),16);return{type:xe.UNICODE_RANGE_TOKEN,start:gt,end:er}}var vr=parseInt(a.apply(void 0,G),16);if(this.peekCodePoint(0)===Tt&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),Se=this.consumeCodePoint();for(var Dr=[];ia(Se)&&Dr.length<6;)Dr.push(Se),Se=this.consumeCodePoint();var er=parseInt(a.apply(void 0,Dr),16);return{type:xe.UNICODE_RANGE_TOKEN,start:vr,end:er}}else return{type:xe.UNICODE_RANGE_TOKEN,start:vr,end:vr}},Ne.prototype.consumeIdentLikeToken=function(){var G=this.consumeName();return G.toLowerCase()==="url"&&this.peekCodePoint(0)===Ut?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ut?(this.consumeCodePoint(),{type:xe.FUNCTION_TOKEN,value:G}):{type:xe.IDENT_TOKEN,value:G}},Ne.prototype.consumeUrlToken=function(){var G=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Sr)return{type:xe.URL_TOKEN,value:""};var Se=this.peekCodePoint(0);if(Se===Lt||Se===Ae){var Re=this.consumeStringToken(this.consumeCodePoint());return Re.type===xe.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Sr||this.peekCodePoint(0)===Wt)?(this.consumeCodePoint(),{type:xe.URL_TOKEN,value:Re.value}):(this.consumeBadUrlRemnants(),ha)}for(;;){var gt=this.consumeCodePoint();if(gt===Sr||gt===Wt)return{type:xe.URL_TOKEN,value:a.apply(void 0,G)};if(Gn(gt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Sr||this.peekCodePoint(0)===Wt?(this.consumeCodePoint(),{type:xe.URL_TOKEN,value:a.apply(void 0,G)}):(this.consumeBadUrlRemnants(),ha);if(gt===Ae||gt===Lt||gt===Ut||In(gt))return this.consumeBadUrlRemnants(),ha;if(gt===$)if(Ln(gt,this.peekCodePoint(0)))G.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ha;else G.push(gt)}},Ne.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},Ne.prototype.consumeBadUrlRemnants=function(){for(;;){var G=this.consumeCodePoint();if(G===Wt||G===Sr)return;Ln(G,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ne.prototype.consumeStringSlice=function(G){for(var Se=6e4,Re="";G>0;){var gt=Math.min(Se,G);Re+=a.apply(void 0,this._value.splice(0,gt)),G-=gt}return this._value.shift(),Re},Ne.prototype.consumeStringToken=function(G){var Se="",Re=0;do{var gt=this._value[Re];if(gt===Sr||gt===void 0||gt===G)return Se+=this.consumeStringSlice(Re),{type:xe.STRING_TOKEN,value:Se};if(gt===ie)return this._value.splice(0,Re),mo;if(gt===$){var er=this._value[Re+1];er!==Sr&&er!==void 0&&(er===ie?(Se+=this.consumeStringSlice(Re),Re=-1,this._value.shift()):Ln(gt,er)&&(Se+=this.consumeStringSlice(Re),Se+=a(this.consumeEscapedCodePoint()),Re=-1))}Re++}while(!0)},Ne.prototype.consumeNumber=function(){var G=[],Se=wt,Re=this.peekCodePoint(0);for((Re===Er||Re===Tt)&&G.push(this.consumeCodePoint());yn(this.peekCodePoint(0));)G.push(this.consumeCodePoint());Re=this.peekCodePoint(0);var gt=this.peekCodePoint(1);if(Re===Cr&&yn(gt))for(G.push(this.consumeCodePoint(),this.consumeCodePoint()),Se=ee;yn(this.peekCodePoint(0));)G.push(this.consumeCodePoint());Re=this.peekCodePoint(0),gt=this.peekCodePoint(1);var er=this.peekCodePoint(2);if((Re===Wn||Re===Dn)&&((gt===Er||gt===Tt)&&yn(er)||yn(gt)))for(G.push(this.consumeCodePoint(),this.consumeCodePoint()),Se=ee;yn(this.peekCodePoint(0));)G.push(this.consumeCodePoint());return[ni(G),Se]},Ne.prototype.consumeNumericToken=function(){var G=this.consumeNumber(),Se=G[0],Re=G[1],gt=this.peekCodePoint(0),er=this.peekCodePoint(1),vr=this.peekCodePoint(2);if(Nn(gt,er,vr)){var Dr=this.consumeName();return{type:xe.DIMENSION_TOKEN,number:Se,flags:Re,unit:Dr}}return gt===$t?(this.consumeCodePoint(),{type:xe.PERCENTAGE_TOKEN,number:Se,flags:Re}):{type:xe.NUMBER_TOKEN,number:Se,flags:Re}},Ne.prototype.consumeEscapedCodePoint=function(){var G=this.consumeCodePoint();if(ia(G)){for(var Se=a(G);ia(this.peekCodePoint(0))&&Se.length<6;)Se+=a(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var Re=parseInt(Se,16);return Re===0||on(Re)||Re>1114111?fr:Re}return G===Sr?fr:G},Ne.prototype.consumeName=function(){for(var G="";;){var Se=this.consumeCodePoint();if(mn(Se))G+=a(Se);else if(Ln(Se,this.peekCodePoint(0)))G+=a(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Se),G}},Ne}(),hn=function(){function Ne(G){this._tokens=G}return Ne.create=function(G){var Se=new Kr;return Se.write(G),new Ne(Se.read())},Ne.parseValue=function(G){return Ne.create(G).parseComponentValue()},Ne.parseValues=function(G){return Ne.create(G).parseComponentValues()},Ne.prototype.parseComponentValue=function(){for(var G=this.consumeToken();G.type===xe.WHITESPACE_TOKEN;)G=this.consumeToken();if(G.type===xe.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(G);var Se=this.consumeComponentValue();do G=this.consumeToken();while(G.type===xe.WHITESPACE_TOKEN);if(G.type===xe.EOF_TOKEN)return Se;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ne.prototype.parseComponentValues=function(){for(var G=[];;){var Se=this.consumeComponentValue();if(Se.type===xe.EOF_TOKEN)return G;G.push(Se),G.push()}},Ne.prototype.consumeComponentValue=function(){var G=this.consumeToken();switch(G.type){case xe.LEFT_CURLY_BRACKET_TOKEN:case xe.LEFT_SQUARE_BRACKET_TOKEN:case xe.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(G.type);case xe.FUNCTION_TOKEN:return this.consumeFunction(G)}return G},Ne.prototype.consumeSimpleBlock=function(G){for(var Se={type:G,values:[]},Re=this.consumeToken();;){if(Re.type===xe.EOF_TOKEN||$r(Re,G))return Se;this.reconsumeToken(Re),Se.values.push(this.consumeComponentValue()),Re=this.consumeToken()}},Ne.prototype.consumeFunction=function(G){for(var Se={name:G.value,values:[],type:xe.FUNCTION};;){var Re=this.consumeToken();if(Re.type===xe.EOF_TOKEN||Re.type===xe.RIGHT_PARENTHESIS_TOKEN)return Se;this.reconsumeToken(Re),Se.values.push(this.consumeComponentValue())}},Ne.prototype.consumeToken=function(){var G=this._tokens.shift();return typeof G=="undefined"?Ur:G},Ne.prototype.reconsumeToken=function(G){this._tokens.unshift(G)},Ne}(),Ue=function(G){return G.type===xe.DIMENSION_TOKEN},Bt=function(G){return G.type===xe.NUMBER_TOKEN},Zt=function(G){return G.type===xe.IDENT_TOKEN},rr=function(G){return G.type===xe.STRING_TOKEN},Tr=function(G,Se){return Zt(G)&&G.value===Se},br=function(G){return G.type!==xe.WHITESPACE_TOKEN},xr=function(G){return G.type!==xe.WHITESPACE_TOKEN&&G.type!==xe.COMMA_TOKEN},Wr=function(G){var Se=[],Re=[];return G.forEach(function(gt){if(gt.type===xe.COMMA_TOKEN){if(Re.length===0)throw new Error("Error parsing function args, zero tokens for arg");Se.push(Re),Re=[];return}gt.type!==xe.WHITESPACE_TOKEN&&Re.push(gt)}),Re.length&&Se.push(Re),Se},$r=function(G,Se){return Se===xe.LEFT_CURLY_BRACKET_TOKEN&&G.type===xe.RIGHT_CURLY_BRACKET_TOKEN||Se===xe.LEFT_SQUARE_BRACKET_TOKEN&&G.type===xe.RIGHT_SQUARE_BRACKET_TOKEN?!0:Se===xe.LEFT_PARENTHESIS_TOKEN&&G.type===xe.RIGHT_PARENTHESIS_TOKEN},Zr=function(G){return G.type===xe.NUMBER_TOKEN||G.type===xe.DIMENSION_TOKEN},an=function(G){return G.type===xe.PERCENTAGE_TOKEN||Zr(G)},at=function(G){return G.length>1?[G[0],G[1]]:[G[0]]},Ht={type:xe.NUMBER_TOKEN,number:0,flags:wt},ar={type:xe.PERCENTAGE_TOKEN,number:50,flags:wt},yr={type:xe.PERCENTAGE_TOKEN,number:100,flags:wt},Fr=function(G,Se,Re){var gt=G[0],er=G[1];return[Mr(gt,Se),Mr(typeof er!="undefined"?er:gt,Re)]},Mr=function(G,Se){if(G.type===xe.PERCENTAGE_TOKEN)return G.number/100*Se;if(Ue(G))switch(G.unit){case"rem":case"em":return 16*G.number;case"px":default:return G.number}return G.number},rn="deg",fn="grad",wn="rad",Hn="turn",Sn={name:"angle",parse:function(G){if(G.type===xe.DIMENSION_TOKEN)switch(G.unit){case rn:return Math.PI*G.number/180;case fn:return Math.PI/200*G.number;case wn:return G.number;case Hn:return Math.PI*2*G.number}throw new Error("Unsupported angle type")}},bn=function(G){return G.type===xe.DIMENSION_TOKEN&&(G.unit===rn||G.unit===fn||G.unit===wn||G.unit===Hn)},Bn=function(G){var Se=G.filter(Zt).map(function(Re){return Re.value}).join(" ");switch(Se){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ht,Ht];case"to top":case"bottom":return vn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ht,yr];case"to right":case"left":return vn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[yr,yr];case"to bottom":case"top":return vn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[yr,Ht];case"to left":case"right":return vn(270)}return 0},vn=function(G){return Math.PI*G/180},Mn={name:"color",parse:function(G){if(G.type===xe.FUNCTION){var Se=xi[G.name];if(typeof Se=="undefined")throw new Error('Attempting to parse an unsupported color function "'+G.name+'"');return Se(G.values)}if(G.type===xe.HASH_TOKEN){if(G.value.length===3){var Re=G.value.substring(0,1),gt=G.value.substring(1,2),er=G.value.substring(2,3);return Yn(parseInt(Re+Re,16),parseInt(gt+gt,16),parseInt(er+er,16),1)}if(G.value.length===4){var Re=G.value.substring(0,1),gt=G.value.substring(1,2),er=G.value.substring(2,3),vr=G.value.substring(3,4);return Yn(parseInt(Re+Re,16),parseInt(gt+gt,16),parseInt(er+er,16),parseInt(vr+vr,16)/255)}if(G.value.length===6){var Re=G.value.substring(0,2),gt=G.value.substring(2,4),er=G.value.substring(4,6);return Yn(parseInt(Re,16),parseInt(gt,16),parseInt(er,16),1)}if(G.value.length===8){var Re=G.value.substring(0,2),gt=G.value.substring(2,4),er=G.value.substring(4,6),vr=G.value.substring(6,8);return Yn(parseInt(Re,16),parseInt(gt,16),parseInt(er,16),parseInt(vr,16)/255)}}if(G.type===xe.IDENT_TOKEN){var Dr=Li[G.value.toUpperCase()];if(typeof Dr!="undefined")return Dr}return Li.TRANSPARENT}},En=function(G){return(255&G)===0},Tn=function(G){var Se=255&G,Re=255&G>>8,gt=255&G>>16,er=255&G>>24;return Se<255?"rgba("+er+","+gt+","+Re+","+Se/255+")":"rgb("+er+","+gt+","+Re+")"},Yn=function(G,Se,Re,gt){return(G<<24|Se<<16|Re<<8|Math.round(gt*255)<<0)>>>0},ai=function(G,Se){if(G.type===xe.NUMBER_TOKEN)return G.number;if(G.type===xe.PERCENTAGE_TOKEN){var Re=Se===3?1:255;return Se===3?G.number/100*Re:Math.round(G.number/100*Re)}return 0},ri=function(G){var Se=G.filter(xr);if(Se.length===3){var Re=Se.map(ai),gt=Re[0],er=Re[1],vr=Re[2];return Yn(gt,er,vr,1)}if(Se.length===4){var Dr=Se.map(ai),gt=Dr[0],er=Dr[1],vr=Dr[2],Hr=Dr[3];return Yn(gt,er,vr,Hr)}return 0};function Ri(Ne,G,Se){return Se<0&&(Se+=1),Se>=1&&(Se-=1),Se<1/6?(G-Ne)*Se*6+Ne:Se<1/2?G:Se<2/3?(G-Ne)*6*(2/3-Se)+Ne:Ne}var Ai=function(G){var Se=G.filter(xr),Re=Se[0],gt=Se[1],er=Se[2],vr=Se[3],Dr=(Re.type===xe.NUMBER_TOKEN?vn(Re.number):Sn.parse(Re))/(Math.PI*2),Hr=an(gt)?gt.number/100:0,zr=an(er)?er.number/100:0,un=typeof vr!="undefined"&&an(vr)?Mr(vr,1):1;if(Hr===0)return Yn(zr*255,zr*255,zr*255,1);var sn=zr<=.5?zr*(Hr+1):zr+Hr-zr*Hr,Fn=zr*2-sn,si=Ri(Fn,sn,Dr+1/3),zn=Ri(Fn,sn,Dr),fi=Ri(Fn,sn,Dr-1/3);return Yn(si*255,zn*255,fi*255,un)},xi={hsl:Ai,hsla:Ai,rgb:ri,rgba:ri},Li={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},kn;(function(Ne){Ne[Ne.VALUE=0]="VALUE",Ne[Ne.LIST=1]="LIST",Ne[Ne.IDENT_VALUE=2]="IDENT_VALUE",Ne[Ne.TYPE_VALUE=3]="TYPE_VALUE",Ne[Ne.TOKEN_VALUE=4]="TOKEN_VALUE"})(kn||(kn={}));var Mi;(function(Ne){Ne[Ne.BORDER_BOX=0]="BORDER_BOX",Ne[Ne.PADDING_BOX=1]="PADDING_BOX",Ne[Ne.CONTENT_BOX=2]="CONTENT_BOX"})(Mi||(Mi={}));var fa={name:"background-clip",initialValue:"border-box",prefix:!1,type:kn.LIST,parse:function(G){return G.map(function(Se){if(Zt(Se))switch(Se.value){case"padding-box":return Mi.PADDING_BOX;case"content-box":return Mi.CONTENT_BOX}return Mi.BORDER_BOX})}},ki={name:"background-color",initialValue:"transparent",prefix:!1,type:kn.TYPE_VALUE,format:"color"},Bi=function(G){var Se=Mn.parse(G[0]),Re=G[1];return Re&&an(Re)?{color:Se,stop:Re}:{color:Se,stop:null}},mi=function(G,Se){var Re=G[0],gt=G[G.length-1];Re.stop===null&&(Re.stop=Ht),gt.stop===null&&(gt.stop=yr);for(var er=[],vr=0,Dr=0;Dr<G.length;Dr++){var Hr=G[Dr].stop;if(Hr!==null){var zr=Mr(Hr,Se);zr>vr?er.push(zr):er.push(vr),vr=zr}else er.push(null)}for(var un=null,Dr=0;Dr<er.length;Dr++){var sn=er[Dr];if(sn===null)un===null&&(un=Dr);else if(un!==null){for(var Fn=Dr-un,si=er[un-1],zn=(sn-si)/(Fn+1),fi=1;fi<=Fn;fi++)er[un+fi-1]=zn*fi;un=null}}return G.map(function(da,Oi){var na=da.color;return{color:na,stop:Math.max(Math.min(1,er[Oi]/Se),0)}})},hi=function(G,Se,Re){var gt=Se/2,er=Re/2,vr=Mr(G[0],Se)-gt,Dr=er-Mr(G[1],Re);return(Math.atan2(Dr,vr)+Math.PI*2)%(Math.PI*2)},Ji=function(G,Se,Re){var gt=typeof G=="number"?G:hi(G,Se,Re),er=Math.abs(Se*Math.sin(gt))+Math.abs(Re*Math.cos(gt)),vr=Se/2,Dr=Re/2,Hr=er/2,zr=Math.sin(gt-Math.PI/2)*Hr,un=Math.cos(gt-Math.PI/2)*Hr;return[er,vr-un,vr+un,Dr-zr,Dr+zr]},va=function(G,Se){return Math.sqrt(G*G+Se*Se)},Ea=function(G,Se,Re,gt,er){var vr=[[0,0],[0,Se],[G,0],[G,Se]];return vr.reduce(function(Dr,Hr){var zr=Hr[0],un=Hr[1],sn=va(Re-zr,gt-un);return(er?sn<Dr.optimumDistance:sn>Dr.optimumDistance)?{optimumCorner:Hr,optimumDistance:sn}:Dr},{optimumDistance:er?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Aa=function(G,Se,Re,gt,er){var vr=0,Dr=0;switch(G.size){case Fi.CLOSEST_SIDE:G.shape===Ta.CIRCLE?vr=Dr=Math.min(Math.abs(Se),Math.abs(Se-gt),Math.abs(Re),Math.abs(Re-er)):G.shape===Ta.ELLIPSE&&(vr=Math.min(Math.abs(Se),Math.abs(Se-gt)),Dr=Math.min(Math.abs(Re),Math.abs(Re-er)));break;case Fi.CLOSEST_CORNER:if(G.shape===Ta.CIRCLE)vr=Dr=Math.min(va(Se,Re),va(Se,Re-er),va(Se-gt,Re),va(Se-gt,Re-er));else if(G.shape===Ta.ELLIPSE){var Hr=Math.min(Math.abs(Re),Math.abs(Re-er))/Math.min(Math.abs(Se),Math.abs(Se-gt)),zr=Ea(gt,er,Se,Re,!0),un=zr[0],sn=zr[1];vr=va(un-Se,(sn-Re)/Hr),Dr=Hr*vr}break;case Fi.FARTHEST_SIDE:G.shape===Ta.CIRCLE?vr=Dr=Math.max(Math.abs(Se),Math.abs(Se-gt),Math.abs(Re),Math.abs(Re-er)):G.shape===Ta.ELLIPSE&&(vr=Math.max(Math.abs(Se),Math.abs(Se-gt)),Dr=Math.max(Math.abs(Re),Math.abs(Re-er)));break;case Fi.FARTHEST_CORNER:if(G.shape===Ta.CIRCLE)vr=Dr=Math.max(va(Se,Re),va(Se,Re-er),va(Se-gt,Re),va(Se-gt,Re-er));else if(G.shape===Ta.ELLIPSE){var Hr=Math.max(Math.abs(Re),Math.abs(Re-er))/Math.max(Math.abs(Se),Math.abs(Se-gt)),Fn=Ea(gt,er,Se,Re,!1),un=Fn[0],sn=Fn[1];vr=va(un-Se,(sn-Re)/Hr),Dr=Hr*vr}break}return Array.isArray(G.size)&&(vr=Mr(G.size[0],gt),Dr=G.size.length===2?Mr(G.size[1],er):vr),[vr,Dr]},oa=function(G){var Se=vn(180),Re=[];return Wr(G).forEach(function(gt,er){if(er===0){var vr=gt[0];if(vr.type===xe.IDENT_TOKEN&&vr.value==="to"){Se=Bn(gt);return}else if(bn(vr)){Se=Sn.parse(vr);return}}var Dr=Bi(gt);Re.push(Dr)}),{angle:Se,stops:Re,type:Ca.LINEAR_GRADIENT}},sa=function(G){var Se=vn(180),Re=[];return Wr(G).forEach(function(gt,er){if(er===0){var vr=gt[0];if(vr.type===xe.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(vr.value)!==-1){Se=Bn(gt);return}else if(bn(vr)){Se=(Sn.parse(vr)+vn(270))%vn(360);return}}var Dr=Bi(gt);Re.push(Dr)}),{angle:Se,stops:Re,type:Ca.LINEAR_GRADIENT}},Di=function(G){var Se=123;if(G.createRange){var Re=G.createRange();if(Re.getBoundingClientRect){var gt=G.createElement("boundtest");gt.style.height=Se+"px",gt.style.display="block",G.body.appendChild(gt),Re.selectNode(gt);var er=Re.getBoundingClientRect(),vr=Math.round(er.height);if(G.body.removeChild(gt),vr===Se)return!0}}return!1},qn=function(){return typeof new Image().crossOrigin!="undefined"},yi=function(){return typeof new XMLHttpRequest().responseType=="string"},Ti=function(G){var Se=new Image,Re=G.createElement("canvas"),gt=Re.getContext("2d");if(!gt)return!1;Se.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{gt.drawImage(Se,0,0),Re.toDataURL()}catch(er){return!1}return!0},Vi=function(G){return G[0]===0&&G[1]===255&&G[2]===0&&G[3]===255},Yi=function(G){var Se=G.createElement("canvas"),Re=100;Se.width=Re,Se.height=Re;var gt=Se.getContext("2d");if(!gt)return Promise.reject(!1);gt.fillStyle="rgb(0, 255, 0)",gt.fillRect(0,0,Re,Re);var er=new Image,vr=Se.toDataURL();er.src=vr;var Dr=bi(Re,Re,0,0,er);return gt.fillStyle="red",gt.fillRect(0,0,Re,Re),ya(Dr).then(function(Hr){gt.drawImage(Hr,0,0);var zr=gt.getImageData(0,0,Re,Re).data;gt.fillStyle="red",gt.fillRect(0,0,Re,Re);var un=G.createElement("div");return un.style.backgroundImage="url("+vr+")",un.style.height=Re+"px",Vi(zr)?ya(bi(Re,Re,0,0,un)):Promise.reject(!1)}).then(function(Hr){return gt.drawImage(Hr,0,0),Vi(gt.getImageData(0,0,Re,Re).data)}).catch(function(){return!1})},bi=function(G,Se,Re,gt,er){var vr="http://www.w3.org/2000/svg",Dr=document.createElementNS(vr,"svg"),Hr=document.createElementNS(vr,"foreignObject");return Dr.setAttributeNS(null,"width",G.toString()),Dr.setAttributeNS(null,"height",Se.toString()),Hr.setAttributeNS(null,"width","100%"),Hr.setAttributeNS(null,"height","100%"),Hr.setAttributeNS(null,"x",Re.toString()),Hr.setAttributeNS(null,"y",gt.toString()),Hr.setAttributeNS(null,"externalResourcesRequired","true"),Dr.appendChild(Hr),Hr.appendChild(er),Dr},ya=function(G){return new Promise(function(Se,Re){var gt=new Image;gt.onload=function(){return Se(gt)},gt.onerror=Re,gt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(G))})},ua={get SUPPORT_RANGE_BOUNDS(){var Ne=Di(document);return Object.defineProperty(ua,"SUPPORT_RANGE_BOUNDS",{value:Ne}),Ne},get SUPPORT_SVG_DRAWING(){var Ne=Ti(document);return Object.defineProperty(ua,"SUPPORT_SVG_DRAWING",{value:Ne}),Ne},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ne=typeof Array.from=="function"&&typeof window.fetch=="function"?Yi(document):Promise.resolve(!1);return Object.defineProperty(ua,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ne}),Ne},get SUPPORT_CORS_IMAGES(){var Ne=qn();return Object.defineProperty(ua,"SUPPORT_CORS_IMAGES",{value:Ne}),Ne},get SUPPORT_RESPONSE_TYPE(){var Ne=yi();return Object.defineProperty(ua,"SUPPORT_RESPONSE_TYPE",{value:Ne}),Ne},get SUPPORT_CORS_XHR(){var Ne="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ua,"SUPPORT_CORS_XHR",{value:Ne}),Ne}},la=function(){function Ne(G){var Se=G.id,Re=G.enabled;this.id=Se,this.enabled=Re,this.start=Date.now()}return Ne.prototype.debug=function(){for(var G=[],Se=0;Se<arguments.length;Se++)G[Se]=arguments[Se];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(G)):this.info.apply(this,G))},Ne.prototype.getTime=function(){return Date.now()-this.start},Ne.create=function(G){Ne.instances[G.id]=new Ne(G)},Ne.destroy=function(G){delete Ne.instances[G]},Ne.getInstance=function(G){var Se=Ne.instances[G];if(typeof Se=="undefined")throw new Error("No logger instance found with id "+G);return Se},Ne.prototype.info=function(){for(var G=[],Se=0;Se<arguments.length;Se++)G[Se]=arguments[Se];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(G)))},Ne.prototype.error=function(){for(var G=[],Se=0;Se<arguments.length;Se++)G[Se]=arguments[Se];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(G)):this.info.apply(this,G))},Ne.instances={},Ne}(),gi=function(){function Ne(){}return Ne.create=function(G,Se){return Ne._caches[G]=new Ua(G,Se)},Ne.destroy=function(G){delete Ne._caches[G]},Ne.open=function(G){var Se=Ne._caches[G];if(typeof Se!="undefined")return Se;throw new Error('Cache with key "'+G+'" not found')},Ne.getOrigin=function(G){var Se=Ne._link;return Se?(Se.href=G,Se.href=Se.href,Se.protocol+Se.hostname+Se.port):"about:blank"},Ne.isSameOrigin=function(G){return Ne.getOrigin(G)===Ne._origin},Ne.setContext=function(G){Ne._link=G.document.createElement("a"),Ne._origin=Ne.getOrigin(G.location.href)},Ne.getInstance=function(){var G=Ne._current;if(G===null)throw new Error("No cache instance attached");return G},Ne.attachInstance=function(G){Ne._current=G},Ne.detachInstance=function(){Ne._current=null},Ne._caches={},Ne._origin="about:blank",Ne._current=null,Ne}(),Ua=function(){function Ne(G,Se){this.id=G,this._options=Se,this._cache={}}return Ne.prototype.addImage=function(G){var Se=Promise.resolve();return this.has(G)||(ba(G)||Ya(G))&&(this._cache[G]=this.loadImage(G)),Se},Ne.prototype.match=function(G){return this._cache[G]},Ne.prototype.loadImage=function(G){return p(this,void 0,void 0,function(){var Se,Re,gt,er,vr=this;return A(this,function(Dr){switch(Dr.label){case 0:return Se=gi.isSameOrigin(G),Re=!zi(G)&&this._options.useCORS===!0&&ua.SUPPORT_CORS_IMAGES&&!Se,gt=!zi(G)&&!Se&&typeof this._options.proxy=="string"&&ua.SUPPORT_CORS_XHR&&!Re,!Se&&this._options.allowTaint===!1&&!zi(G)&&!gt&&!Re?[2]:(er=G,gt?[4,this.proxy(er)]:[3,2]);case 1:er=Dr.sent(),Dr.label=2;case 2:return la.getInstance(this.id).debug("Added image "+G.substring(0,256)),[4,new Promise(function(Hr,zr){var un=new Image;un.onload=function(){return Hr(un)},un.onerror=zr,(Wi(er)||Re)&&(un.crossOrigin="anonymous"),un.src=er,un.complete===!0&&setTimeout(function(){return Hr(un)},500),vr._options.imageTimeout>0&&setTimeout(function(){return zr("Timed out ("+vr._options.imageTimeout+"ms) loading image")},vr._options.imageTimeout)})];case 3:return[2,Dr.sent()]}})})},Ne.prototype.has=function(G){return typeof this._cache[G]!="undefined"},Ne.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ne.prototype.proxy=function(G){var Se=this,Re=this._options.proxy;if(!Re)throw new Error("No proxy defined");var gt=G.substring(0,256);return new Promise(function(er,vr){var Dr=ua.SUPPORT_RESPONSE_TYPE?"blob":"text",Hr=new XMLHttpRequest;if(Hr.onload=function(){if(Hr.status===200)if(Dr==="text")er(Hr.response);else{var un=new FileReader;un.addEventListener("load",function(){return er(un.result)},!1),un.addEventListener("error",function(sn){return vr(sn)},!1),un.readAsDataURL(Hr.response)}else vr("Failed to proxy resource "+gt+" with status code "+Hr.status)},Hr.onerror=vr,Hr.open("GET",Re+"?url="+encodeURIComponent(G)+"&responseType="+Dr),Dr!=="text"&&Hr instanceof XMLHttpRequest&&(Hr.responseType=Dr),Se._options.imageTimeout){var zr=Se._options.imageTimeout;Hr.timeout=zr,Hr.ontimeout=function(){return vr("Timed out ("+zr+"ms) proxying "+gt)}}Hr.send()})},Ne}(),Ba=/^data:image\/svg\+xml/i,ra=/^data:image\/.*;base64,/i,Qi=/^data:image\/.*/i,Ya=function(G){return ua.SUPPORT_SVG_DRAWING||!ka(G)},zi=function(G){return Qi.test(G)},Wi=function(G){return ra.test(G)},ba=function(G){return G.substr(0,4)==="blob"},ka=function(G){return G.substr(-3).toLowerCase()==="svg"||Ba.test(G)},wa=function(G){var Se=vn(180),Re=[],gt=Ca.LINEAR_GRADIENT,er=Ta.CIRCLE,vr=Fi.FARTHEST_CORNER,Dr=[];return Wr(G).forEach(function(Hr,zr){var un=Hr[0];if(zr===0){if(Zt(un)&&un.value==="linear"){gt=Ca.LINEAR_GRADIENT;return}else if(Zt(un)&&un.value==="radial"){gt=Ca.RADIAL_GRADIENT;return}}if(un.type===xe.FUNCTION){if(un.name==="from"){var sn=Mn.parse(un.values[0]);Re.push({stop:Ht,color:sn})}else if(un.name==="to"){var sn=Mn.parse(un.values[0]);Re.push({stop:yr,color:sn})}else if(un.name==="color-stop"){var Fn=un.values.filter(xr);if(Fn.length===2){var sn=Mn.parse(Fn[1]),si=Fn[0];Bt(si)&&Re.push({stop:{type:xe.PERCENTAGE_TOKEN,number:si.number*100,flags:si.flags},color:sn})}}}}),gt===Ca.LINEAR_GRADIENT?{angle:(Se+vn(180))%vn(360),stops:Re,type:gt}:{size:vr,shape:er,stops:Re,position:Dr,type:gt}},vi="closest-side",Qa="farthest-side",za="closest-corner",pa="farthest-corner",Ii="circle",So="ellipse",Wa="cover",ja="contain",Ja=function(G){var Se=Ta.CIRCLE,Re=Fi.FARTHEST_CORNER,gt=[],er=[];return Wr(G).forEach(function(vr,Dr){var Hr=!0;if(Dr===0){var zr=!1;Hr=vr.reduce(function(sn,Fn){if(zr)if(Zt(Fn))switch(Fn.value){case"center":return er.push(ar),sn;case"top":case"left":return er.push(Ht),sn;case"right":case"bottom":return er.push(yr),sn}else(an(Fn)||Zr(Fn))&&er.push(Fn);else if(Zt(Fn))switch(Fn.value){case Ii:return Se=Ta.CIRCLE,!1;case So:return Se=Ta.ELLIPSE,!1;case"at":return zr=!0,!1;case vi:return Re=Fi.CLOSEST_SIDE,!1;case Wa:case Qa:return Re=Fi.FARTHEST_SIDE,!1;case ja:case za:return Re=Fi.CLOSEST_CORNER,!1;case pa:return Re=Fi.FARTHEST_CORNER,!1}else if(Zr(Fn)||an(Fn))return Array.isArray(Re)||(Re=[]),Re.push(Fn),!1;return sn},Hr)}if(Hr){var un=Bi(vr);gt.push(un)}}),{size:Re,shape:Se,stops:gt,position:er,type:Ca.RADIAL_GRADIENT}},ho=function(G){var Se=Ta.CIRCLE,Re=Fi.FARTHEST_CORNER,gt=[],er=[];return Wr(G).forEach(function(vr,Dr){var Hr=!0;if(Dr===0?Hr=vr.reduce(function(un,sn){if(Zt(sn))switch(sn.value){case"center":return er.push(ar),!1;case"top":case"left":return er.push(Ht),!1;case"right":case"bottom":return er.push(yr),!1}else if(an(sn)||Zr(sn))return er.push(sn),!1;return un},Hr):Dr===1&&(Hr=vr.reduce(function(un,sn){if(Zt(sn))switch(sn.value){case Ii:return Se=Ta.CIRCLE,!1;case So:return Se=Ta.ELLIPSE,!1;case ja:case vi:return Re=Fi.CLOSEST_SIDE,!1;case Qa:return Re=Fi.FARTHEST_SIDE,!1;case za:return Re=Fi.CLOSEST_CORNER,!1;case Wa:case pa:return Re=Fi.FARTHEST_CORNER,!1}else if(Zr(sn)||an(sn))return Array.isArray(Re)||(Re=[]),Re.push(sn),!1;return un},Hr)),Hr){var zr=Bi(vr);gt.push(zr)}}),{size:Re,shape:Se,stops:gt,position:er,type:Ca.RADIAL_GRADIENT}},Ca;(function(Ne){Ne[Ne.URL=0]="URL",Ne[Ne.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",Ne[Ne.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ca||(Ca={}));var to=function(G){return G.type===Ca.LINEAR_GRADIENT},Lo=function(G){return G.type===Ca.RADIAL_GRADIENT},Ta;(function(Ne){Ne[Ne.CIRCLE=0]="CIRCLE",Ne[Ne.ELLIPSE=1]="ELLIPSE"})(Ta||(Ta={}));var Fi;(function(Ne){Ne[Ne.CLOSEST_SIDE=0]="CLOSEST_SIDE",Ne[Ne.FARTHEST_SIDE=1]="FARTHEST_SIDE",Ne[Ne.CLOSEST_CORNER=2]="CLOSEST_CORNER",Ne[Ne.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Fi||(Fi={}));var $a={name:"image",parse:function(G){if(G.type===xe.URL_TOKEN){var Se={url:G.value,type:Ca.URL};return gi.getInstance().addImage(G.value),Se}if(G.type===xe.FUNCTION){var Re=pi[G.name];if(typeof Re=="undefined")throw new Error('Attempting to parse an unsupported image function "'+G.name+'"');return Re(G.values)}throw new Error("Unsupported image type")}};function Ra(Ne){return Ne.type!==xe.FUNCTION||pi[Ne.name]}var pi={"linear-gradient":oa,"-moz-linear-gradient":sa,"-ms-linear-gradient":sa,"-o-linear-gradient":sa,"-webkit-linear-gradient":sa,"radial-gradient":Ja,"-moz-radial-gradient":ho,"-ms-radial-gradient":ho,"-o-radial-gradient":ho,"-webkit-radial-gradient":ho,"-webkit-gradient":wa},Gi={name:"background-image",initialValue:"none",type:kn.LIST,prefix:!1,parse:function(G){if(G.length===0)return[];var Se=G[0];return Se.type===xe.IDENT_TOKEN&&Se.value==="none"?[]:G.filter(function(Re){return xr(Re)&&Ra(Re)}).map($a.parse)}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:kn.LIST,parse:function(G){return G.map(function(Se){if(Zt(Se))switch(Se.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},go={name:"background-position",initialValue:"0% 0%",type:kn.LIST,prefix:!1,parse:function(G){return Wr(G).map(function(Se){return Se.filter(an)}).map(at)}},fo;(function(Ne){Ne[Ne.REPEAT=0]="REPEAT",Ne[Ne.NO_REPEAT=1]="NO_REPEAT",Ne[Ne.REPEAT_X=2]="REPEAT_X",Ne[Ne.REPEAT_Y=3]="REPEAT_Y"})(fo||(fo={}));var Oa={name:"background-repeat",initialValue:"repeat",prefix:!1,type:kn.LIST,parse:function(G){return Wr(G).map(function(Se){return Se.filter(Zt).map(function(Re){return Re.value}).join(" ")}).map(Pi)}},Pi=function(G){switch(G){case"no-repeat":return fo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return fo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return fo.REPEAT_Y;case"repeat":default:return fo.REPEAT}},Ma;(function(Ne){Ne.AUTO="auto",Ne.CONTAIN="contain",Ne.COVER="cover"})(Ma||(Ma={}));var Vo={name:"background-size",initialValue:"0",prefix:!1,type:kn.LIST,parse:function(G){return Wr(G).map(function(Se){return Se.filter(ro)})}},ro=function(G){return Zt(G)||an(G)},vo=function(G){return{name:"border-"+G+"-color",initialValue:"transparent",prefix:!1,type:kn.TYPE_VALUE,format:"color"}},po=vo("top"),Zi=vo("right"),xo=vo("bottom"),is=vo("left"),$o=function(G){return{name:"border-radius-"+G,initialValue:"0 0",prefix:!1,type:kn.LIST,parse:function(Re){return at(Re.filter(an))}}},Ns=$o("top-left"),Cs=$o("top-right"),Os=$o("bottom-right"),Go=$o("bottom-left"),bo;(function(Ne){Ne[Ne.NONE=0]="NONE",Ne[Ne.SOLID=1]="SOLID"})(bo||(bo={}));var Za=function(G){return{name:"border-"+G+"-style",initialValue:"solid",prefix:!1,type:kn.IDENT_VALUE,parse:function(Re){switch(Re){case"none":return bo.NONE}return bo.SOLID}}},Ga=Za("top"),so=Za("right"),ps=Za("bottom"),wr=Za("left"),Yo=function(G){return{name:"border-"+G+"-width",initialValue:"0",type:kn.VALUE,prefix:!1,parse:function(Re){return Ue(Re)?Re.number:0}}},ss=Yo("top"),Ls=Yo("right"),Fa=Yo("bottom"),La=Yo("left"),Io={name:"color",initialValue:"transparent",prefix:!1,type:kn.TYPE_VALUE,format:"color"},To={name:"display",initialValue:"inline-block",prefix:!1,type:kn.LIST,parse:function(G){return G.filter(Zt).reduce(function(Se,Re){return Se|ts(Re.value)},0)}},ts=function(G){switch(G){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},_o;(function(Ne){Ne[Ne.NONE=0]="NONE",Ne[Ne.LEFT=1]="LEFT",Ne[Ne.RIGHT=2]="RIGHT",Ne[Ne.INLINE_START=3]="INLINE_START",Ne[Ne.INLINE_END=4]="INLINE_END"})(_o||(_o={}));var rs={name:"float",initialValue:"none",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"left":return _o.LEFT;case"right":return _o.RIGHT;case"inline-start":return _o.INLINE_START;case"inline-end":return _o.INLINE_END}return _o.NONE}},ms={name:"letter-spacing",initialValue:"0",prefix:!1,type:kn.VALUE,parse:function(G){return G.type===xe.IDENT_TOKEN&&G.value==="normal"?0:G.type===xe.NUMBER_TOKEN||G.type===xe.DIMENSION_TOKEN?G.number:0}},ls;(function(Ne){Ne.NORMAL="normal",Ne.STRICT="strict"})(ls||(ls={}));var Ds={name:"line-break",initialValue:"normal",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"strict":return ls.STRICT;case"normal":default:return ls.NORMAL}}},Rs={name:"line-height",initialValue:"normal",prefix:!1,type:kn.TOKEN_VALUE},as=function(G,Se){return Zt(G)&&G.value==="normal"?1.2*Se:G.type===xe.NUMBER_TOKEN?Se*G.number:an(G)?Mr(G,Se):Se},Zs={name:"list-style-image",initialValue:"none",type:kn.VALUE,prefix:!1,parse:function(G){return G.type===xe.IDENT_TOKEN&&G.value==="none"?null:$a.parse(G)}},us;(function(Ne){Ne[Ne.INSIDE=0]="INSIDE",Ne[Ne.OUTSIDE=1]="OUTSIDE"})(us||(us={}));var Bo={name:"list-style-position",initialValue:"outside",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"inside":return us.INSIDE;case"outside":default:return us.OUTSIDE}}},Rn;(function(Ne){Ne[Ne.NONE=-1]="NONE",Ne[Ne.DISC=0]="DISC",Ne[Ne.CIRCLE=1]="CIRCLE",Ne[Ne.SQUARE=2]="SQUARE",Ne[Ne.DECIMAL=3]="DECIMAL",Ne[Ne.CJK_DECIMAL=4]="CJK_DECIMAL",Ne[Ne.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",Ne[Ne.LOWER_ROMAN=6]="LOWER_ROMAN",Ne[Ne.UPPER_ROMAN=7]="UPPER_ROMAN",Ne[Ne.LOWER_GREEK=8]="LOWER_GREEK",Ne[Ne.LOWER_ALPHA=9]="LOWER_ALPHA",Ne[Ne.UPPER_ALPHA=10]="UPPER_ALPHA",Ne[Ne.ARABIC_INDIC=11]="ARABIC_INDIC",Ne[Ne.ARMENIAN=12]="ARMENIAN",Ne[Ne.BENGALI=13]="BENGALI",Ne[Ne.CAMBODIAN=14]="CAMBODIAN",Ne[Ne.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",Ne[Ne.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",Ne[Ne.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",Ne[Ne.DEVANAGARI=18]="DEVANAGARI",Ne[Ne.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",Ne[Ne.GEORGIAN=20]="GEORGIAN",Ne[Ne.GUJARATI=21]="GUJARATI",Ne[Ne.GURMUKHI=22]="GURMUKHI",Ne[Ne.HEBREW=22]="HEBREW",Ne[Ne.HIRAGANA=23]="HIRAGANA",Ne[Ne.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",Ne[Ne.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",Ne[Ne.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",Ne[Ne.KANNADA=27]="KANNADA",Ne[Ne.KATAKANA=28]="KATAKANA",Ne[Ne.KATAKANA_IROHA=29]="KATAKANA_IROHA",Ne[Ne.KHMER=30]="KHMER",Ne[Ne.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",Ne[Ne.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",Ne[Ne.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",Ne[Ne.LAO=34]="LAO",Ne[Ne.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",Ne[Ne.MALAYALAM=36]="MALAYALAM",Ne[Ne.MONGOLIAN=37]="MONGOLIAN",Ne[Ne.MYANMAR=38]="MYANMAR",Ne[Ne.ORIYA=39]="ORIYA",Ne[Ne.PERSIAN=40]="PERSIAN",Ne[Ne.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",Ne[Ne.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",Ne[Ne.TAMIL=43]="TAMIL",Ne[Ne.TELUGU=44]="TELUGU",Ne[Ne.THAI=45]="THAI",Ne[Ne.TIBETAN=46]="TIBETAN",Ne[Ne.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",Ne[Ne.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",Ne[Ne.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",Ne[Ne.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",Ne[Ne.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Rn||(Rn={}));var Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"disc":return Rn.DISC;case"circle":return Rn.CIRCLE;case"square":return Rn.SQUARE;case"decimal":return Rn.DECIMAL;case"cjk-decimal":return Rn.CJK_DECIMAL;case"decimal-leading-zero":return Rn.DECIMAL_LEADING_ZERO;case"lower-roman":return Rn.LOWER_ROMAN;case"upper-roman":return Rn.UPPER_ROMAN;case"lower-greek":return Rn.LOWER_GREEK;case"lower-alpha":return Rn.LOWER_ALPHA;case"upper-alpha":return Rn.UPPER_ALPHA;case"arabic-indic":return Rn.ARABIC_INDIC;case"armenian":return Rn.ARMENIAN;case"bengali":return Rn.BENGALI;case"cambodian":return Rn.CAMBODIAN;case"cjk-earthly-branch":return Rn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Rn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Rn.CJK_IDEOGRAPHIC;case"devanagari":return Rn.DEVANAGARI;case"ethiopic-numeric":return Rn.ETHIOPIC_NUMERIC;case"georgian":return Rn.GEORGIAN;case"gujarati":return Rn.GUJARATI;case"gurmukhi":return Rn.GURMUKHI;case"hebrew":return Rn.HEBREW;case"hiragana":return Rn.HIRAGANA;case"hiragana-iroha":return Rn.HIRAGANA_IROHA;case"japanese-formal":return Rn.JAPANESE_FORMAL;case"japanese-informal":return Rn.JAPANESE_INFORMAL;case"kannada":return Rn.KANNADA;case"katakana":return Rn.KATAKANA;case"katakana-iroha":return Rn.KATAKANA_IROHA;case"khmer":return Rn.KHMER;case"korean-hangul-formal":return Rn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Rn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Rn.KOREAN_HANJA_INFORMAL;case"lao":return Rn.LAO;case"lower-armenian":return Rn.LOWER_ARMENIAN;case"malayalam":return Rn.MALAYALAM;case"mongolian":return Rn.MONGOLIAN;case"myanmar":return Rn.MYANMAR;case"oriya":return Rn.ORIYA;case"persian":return Rn.PERSIAN;case"simp-chinese-formal":return Rn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Rn.SIMP_CHINESE_INFORMAL;case"tamil":return Rn.TAMIL;case"telugu":return Rn.TELUGU;case"thai":return Rn.THAI;case"tibetan":return Rn.TIBETAN;case"trad-chinese-formal":return Rn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Rn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Rn.UPPER_ARMENIAN;case"disclosure-open":return Rn.DISCLOSURE_OPEN;case"disclosure-closed":return Rn.DISCLOSURE_CLOSED;case"none":default:return Rn.NONE}}},Is=function(G){return{name:"margin-"+G,initialValue:"0",prefix:!1,type:kn.TOKEN_VALUE}},Dt=Is("top"),re=Is("right"),ce=Is("bottom"),pe=Is("left"),Le;(function(Ne){Ne[Ne.VISIBLE=0]="VISIBLE",Ne[Ne.HIDDEN=1]="HIDDEN",Ne[Ne.SCROLL=2]="SCROLL",Ne[Ne.AUTO=3]="AUTO"})(Le||(Le={}));var ct={name:"overflow",initialValue:"visible",prefix:!1,type:kn.LIST,parse:function(G){return G.filter(Zt).map(function(Se){switch(Se.value){case"hidden":return Le.HIDDEN;case"scroll":return Le.SCROLL;case"auto":return Le.AUTO;case"visible":default:return Le.VISIBLE}})}},Rt;(function(Ne){Ne.NORMAL="normal",Ne.BREAK_WORD="break-word"})(Rt||(Rt={}));var cr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"break-word":return Rt.BREAK_WORD;case"normal":default:return Rt.NORMAL}}},gr=function(G){return{name:"padding-"+G,initialValue:"0",prefix:!1,type:kn.TYPE_VALUE,format:"length-percentage"}},Br=gr("top"),qr=gr("right"),ln=gr("bottom"),An=gr("left"),Cn;(function(Ne){Ne[Ne.LEFT=0]="LEFT",Ne[Ne.CENTER=1]="CENTER",Ne[Ne.RIGHT=2]="RIGHT"})(Cn||(Cn={}));var Xn={name:"text-align",initialValue:"left",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"right":return Cn.RIGHT;case"center":case"justify":return Cn.CENTER;case"left":default:return Cn.LEFT}}},ti;(function(Ne){Ne[Ne.STATIC=0]="STATIC",Ne[Ne.RELATIVE=1]="RELATIVE",Ne[Ne.ABSOLUTE=2]="ABSOLUTE",Ne[Ne.FIXED=3]="FIXED",Ne[Ne.STICKY=4]="STICKY"})(ti||(ti={}));var wi={name:"position",initialValue:"static",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"relative":return ti.RELATIVE;case"absolute":return ti.ABSOLUTE;case"fixed":return ti.FIXED;case"sticky":return ti.STICKY}return ti.STATIC}},ea={name:"text-shadow",initialValue:"none",type:kn.LIST,prefix:!1,parse:function(G){return G.length===1&&Tr(G[0],"none")?[]:Wr(G).map(function(Se){for(var Re={color:Li.TRANSPARENT,offsetX:Ht,offsetY:Ht,blur:Ht},gt=0,er=0;er<Se.length;er++){var vr=Se[er];Zr(vr)?(gt===0?Re.offsetX=vr:gt===1?Re.offsetY=vr:Re.blur=vr,gt++):Re.color=Mn.parse(vr)}return Re})}},ji;(function(Ne){Ne[Ne.NONE=0]="NONE",Ne[Ne.LOWERCASE=1]="LOWERCASE",Ne[Ne.UPPERCASE=2]="UPPERCASE",Ne[Ne.CAPITALIZE=3]="CAPITALIZE"})(ji||(ji={}));var Sa={name:"text-transform",initialValue:"none",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"uppercase":return ji.UPPERCASE;case"lowercase":return ji.LOWERCASE;case"capitalize":return ji.CAPITALIZE}return ji.NONE}},lo={name:"transform",initialValue:"none",prefix:!0,type:kn.VALUE,parse:function(G){if(G.type===xe.IDENT_TOKEN&&G.value==="none")return null;if(G.type===xe.FUNCTION){var Se=yo[G.name];if(typeof Se=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+G.name+'"');return Se(G.values)}return null}},Ka=function(G){var Se=G.filter(function(Re){return Re.type===xe.NUMBER_TOKEN}).map(function(Re){return Re.number});return Se.length===6?Se:null},Ao=function(G){var Se=G.filter(function(Na){return Na.type===xe.NUMBER_TOKEN}).map(function(Na){return Na.number}),Re=Se[0],gt=Se[1],er=Se[2],vr=Se[3],Dr=Se[4],Hr=Se[5],zr=Se[6],un=Se[7],sn=Se[8],Fn=Se[9],si=Se[10],zn=Se[11],fi=Se[12],da=Se[13],Oi=Se[14],na=Se[15];return Se.length===16?[Re,gt,Dr,Hr,fi,da]:null},yo={matrix:Ka,matrix3d:Ao},qa={type:xe.PERCENTAGE_TOKEN,number:50,flags:wt},Fo=[qa,qa],Do={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:kn.LIST,parse:function(G){var Se=G.filter(an);return Se.length!==2?Fo:[Se[0],Se[1]]}},Ha;(function(Ne){Ne[Ne.VISIBLE=0]="VISIBLE",Ne[Ne.HIDDEN=1]="HIDDEN",Ne[Ne.COLLAPSE=2]="COLLAPSE"})(Ha||(Ha={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"hidden":return Ha.HIDDEN;case"collapse":return Ha.COLLAPSE;case"visible":default:return Ha.VISIBLE}}},Po;(function(Ne){Ne.NORMAL="normal",Ne.BREAK_ALL="break-all",Ne.KEEP_ALL="keep-all"})(Po||(Po={}));var Xo={name:"word-break",initialValue:"normal",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"break-all":return Po.BREAK_ALL;case"keep-all":return Po.KEEP_ALL;case"normal":default:return Po.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:kn.VALUE,parse:function(G){if(G.type===xe.IDENT_TOKEN)return{auto:!0,order:0};if(Bt(G))return{auto:!1,order:G.number};throw new Error("Invalid z-index number parsed")}},cs={name:"opacity",initialValue:"1",type:kn.VALUE,prefix:!1,parse:function(G){return Bt(G)?G.number:1}},ns={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:kn.TYPE_VALUE,format:"color"},Ys={name:"text-decoration-line",initialValue:"none",prefix:!1,type:kn.LIST,parse:function(G){return G.filter(Zt).map(function(Se){switch(Se.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Se){return Se!==0})}},Qs={name:"font-family",initialValue:"",prefix:!1,type:kn.LIST,parse:function(G){var Se=[],Re=[];return G.forEach(function(gt){switch(gt.type){case xe.IDENT_TOKEN:case xe.STRING_TOKEN:Se.push(gt.value);break;case xe.NUMBER_TOKEN:Se.push(gt.number.toString());break;case xe.COMMA_TOKEN:Re.push(Se.join(" ")),Se.length=0;break}}),Se.length&&Re.push(Se.join(" ")),Re.map(function(gt){return gt.indexOf(" ")===-1?gt:"'"+gt+"'"})}},Qo={name:"font-size",initialValue:"0",prefix:!1,type:kn.TYPE_VALUE,format:"length"},Eo={name:"font-weight",initialValue:"normal",type:kn.VALUE,prefix:!1,parse:function(G){if(Bt(G))return G.number;if(Zt(G))switch(G.value){case"bold":return 700;case"normal":default:return 400}return 400}},ds={name:"font-variant",initialValue:"none",type:kn.LIST,prefix:!1,parse:function(G){return G.filter(Zt).map(function(Se){return Se.value})}},hs;(function(Ne){Ne.NORMAL="normal",Ne.ITALIC="italic",Ne.OBLIQUE="oblique"})(hs||(hs={}));var Ms={name:"font-style",initialValue:"normal",prefix:!1,type:kn.IDENT_VALUE,parse:function(G){switch(G){case"oblique":return hs.OBLIQUE;case"italic":return hs.ITALIC;case"normal":default:return hs.NORMAL}}},Ro=function(G,Se){return(G&Se)!==0},As={name:"content",initialValue:"none",type:kn.LIST,prefix:!1,parse:function(G){if(G.length===0)return[];var Se=G[0];return Se.type===xe.IDENT_TOKEN&&Se.value==="none"?[]:G}},Bs={name:"counter-increment",initialValue:"none",prefix:!0,type:kn.LIST,parse:function(G){if(G.length===0)return null;var Se=G[0];if(Se.type===xe.IDENT_TOKEN&&Se.value==="none")return null;for(var Re=[],gt=G.filter(br),er=0;er<gt.length;er++){var vr=gt[er],Dr=gt[er+1];if(vr.type===xe.IDENT_TOKEN){var Hr=Dr&&Bt(Dr)?Dr.number:1;Re.push({counter:vr.value,increment:Hr})}}return Re}},ys={name:"counter-reset",initialValue:"none",prefix:!0,type:kn.LIST,parse:function(G){if(G.length===0)return[];for(var Se=[],Re=G.filter(br),gt=0;gt<Re.length;gt++){var er=Re[gt],vr=Re[gt+1];if(Zt(er)&&er.value!=="none"){var Dr=vr&&Bt(vr)?vr.number:0;Se.push({counter:er.value,reset:Dr})}}return Se}},Fs={name:"quotes",initialValue:"none",prefix:!0,type:kn.LIST,parse:function(G){if(G.length===0)return null;var Se=G[0];if(Se.type===xe.IDENT_TOKEN&&Se.value==="none")return null;var Re=[],gt=G.filter(rr);if(gt.length%2!==0)return null;for(var er=0;er<gt.length;er+=2){var vr=gt[er].value,Dr=gt[er+1].value;Re.push({open:vr,close:Dr})}return Re}},Hs=function(G,Se,Re){if(!G)return"";var gt=G[Math.min(Se,G.length-1)];return gt?Re?gt.open:gt.close:""},bs={name:"box-shadow",initialValue:"none",type:kn.LIST,prefix:!1,parse:function(G){return G.length===1&&Tr(G[0],"none")?[]:Wr(G).map(function(Se){for(var Re={color:255,offsetX:Ht,offsetY:Ht,blur:Ht,spread:Ht,inset:!1},gt=0,er=0;er<Se.length;er++){var vr=Se[er];Tr(vr,"inset")?Re.inset=!0:Zr(vr)?(gt===0?Re.offsetX=vr:gt===1?Re.offsetY=vr:gt===2?Re.blur=vr:Re.spread=vr,gt++):Re.color=Mn.parse(vr)}return Re})}},ca=function(){function Ne(G){this.backgroundClip=Kn(fa,G.backgroundClip),this.backgroundColor=Kn(ki,G.backgroundColor),this.backgroundImage=Kn(Gi,G.backgroundImage),this.backgroundOrigin=Kn(oo,G.backgroundOrigin),this.backgroundPosition=Kn(go,G.backgroundPosition),this.backgroundRepeat=Kn(Oa,G.backgroundRepeat),this.backgroundSize=Kn(Vo,G.backgroundSize),this.borderTopColor=Kn(po,G.borderTopColor),this.borderRightColor=Kn(Zi,G.borderRightColor),this.borderBottomColor=Kn(xo,G.borderBottomColor),this.borderLeftColor=Kn(is,G.borderLeftColor),this.borderTopLeftRadius=Kn(Ns,G.borderTopLeftRadius),this.borderTopRightRadius=Kn(Cs,G.borderTopRightRadius),this.borderBottomRightRadius=Kn(Os,G.borderBottomRightRadius),this.borderBottomLeftRadius=Kn(Go,G.borderBottomLeftRadius),this.borderTopStyle=Kn(Ga,G.borderTopStyle),this.borderRightStyle=Kn(so,G.borderRightStyle),this.borderBottomStyle=Kn(ps,G.borderBottomStyle),this.borderLeftStyle=Kn(wr,G.borderLeftStyle),this.borderTopWidth=Kn(ss,G.borderTopWidth),this.borderRightWidth=Kn(Ls,G.borderRightWidth),this.borderBottomWidth=Kn(Fa,G.borderBottomWidth),this.borderLeftWidth=Kn(La,G.borderLeftWidth),this.boxShadow=Kn(bs,G.boxShadow),this.color=Kn(Io,G.color),this.display=Kn(To,G.display),this.float=Kn(rs,G.cssFloat),this.fontFamily=Kn(Qs,G.fontFamily),this.fontSize=Kn(Qo,G.fontSize),this.fontStyle=Kn(Ms,G.fontStyle),this.fontVariant=Kn(ds,G.fontVariant),this.fontWeight=Kn(Eo,G.fontWeight),this.letterSpacing=Kn(ms,G.letterSpacing),this.lineBreak=Kn(Ds,G.lineBreak),this.lineHeight=Kn(Rs,G.lineHeight),this.listStyleImage=Kn(Zs,G.listStyleImage),this.listStylePosition=Kn(Bo,G.listStylePosition),this.listStyleType=Kn(Vs,G.listStyleType),this.marginTop=Kn(Dt,G.marginTop),this.marginRight=Kn(re,G.marginRight),this.marginBottom=Kn(ce,G.marginBottom),this.marginLeft=Kn(pe,G.marginLeft),this.opacity=Kn(cs,G.opacity);var Se=Kn(ct,G.overflow);this.overflowX=Se[0],this.overflowY=Se[Se.length>1?1:0],this.overflowWrap=Kn(cr,G.overflowWrap),this.paddingTop=Kn(Br,G.paddingTop),this.paddingRight=Kn(qr,G.paddingRight),this.paddingBottom=Kn(ln,G.paddingBottom),this.paddingLeft=Kn(An,G.paddingLeft),this.position=Kn(wi,G.position),this.textAlign=Kn(Xn,G.textAlign),this.textDecorationColor=Kn(ns,G.textDecorationColor||G.color),this.textDecorationLine=Kn(Ys,G.textDecorationLine),this.textShadow=Kn(ea,G.textShadow),this.textTransform=Kn(Sa,G.textTransform),this.transform=Kn(lo,G.transform),this.transformOrigin=Kn(Do,G.transformOrigin),this.visibility=Kn(jo,G.visibility),this.wordBreak=Kn(Xo,G.wordBreak),this.zIndex=Kn(wo,G.zIndex)}return Ne.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ha.VISIBLE},Ne.prototype.isTransparent=function(){return En(this.backgroundColor)},Ne.prototype.isTransformed=function(){return this.transform!==null},Ne.prototype.isPositioned=function(){return this.position!==ti.STATIC},Ne.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Ne.prototype.isFloating=function(){return this.float!==_o.NONE},Ne.prototype.isInlineLevel=function(){return Ro(this.display,4)||Ro(this.display,33554432)||Ro(this.display,268435456)||Ro(this.display,536870912)||Ro(this.display,67108864)||Ro(this.display,134217728)},Ne}(),ci=function(){function Ne(G){this.content=Kn(As,G.content),this.quotes=Kn(Fs,G.quotes)}return Ne}(),_i=function(){function Ne(G){this.counterIncrement=Kn(Bs,G.counterIncrement),this.counterReset=Kn(ys,G.counterReset)}return Ne}(),Kn=function(G,Se){var Re=new Kr,gt=Se!==null&&typeof Se!="undefined"?Se.toString():G.initialValue;Re.write(gt);var er=new hn(Re.read());switch(G.type){case kn.IDENT_VALUE:var vr=er.parseComponentValue();return G.parse(Zt(vr)?vr.value:G.initialValue);case kn.VALUE:return G.parse(er.parseComponentValue());case kn.LIST:return G.parse(er.parseComponentValues());case kn.TOKEN_VALUE:return er.parseComponentValue();case kn.TYPE_VALUE:switch(G.format){case"angle":return Sn.parse(er.parseComponentValue());case"color":return Mn.parse(er.parseComponentValue());case"image":return $a.parse(er.parseComponentValue());case"length":var Dr=er.parseComponentValue();return Zr(Dr)?Dr:Ht;case"length-percentage":var Hr=er.parseComponentValue();return an(Hr)?Hr:Ht}}throw new Error("Attempting to parse unsupported css format type "+G.format)},io=function(){function Ne(G){this.styles=new ca(window.getComputedStyle(G,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&rl(G)&&(G.style.transform="none"),this.bounds=h(G),this.flags=0}return Ne}(),Jo=function(){function Ne(G,Se){this.text=G,this.bounds=Se}return Ne}(),gs=function(G,Se,Re){var gt=qo(G,Se),er=[],vr=0;return gt.forEach(function(Dr){if(Se.textDecorationLine.length||Dr.trim().length>0)if(ua.SUPPORT_RANGE_BOUNDS)er.push(new Jo(Dr,Zo(Re,vr,Dr.length)));else{var Hr=Re.splitText(Dr.length);er.push(new Jo(Dr,os(Re))),Re=Hr}else ua.SUPPORT_RANGE_BOUNDS||(Re=Re.splitText(Dr.length));vr+=Dr.length}),er},os=function(G){var Se=G.ownerDocument;if(Se){var Re=Se.createElement("html2canvaswrapper");Re.appendChild(G.cloneNode(!0));var gt=G.parentNode;if(gt){gt.replaceChild(Re,G);var er=h(Re);return Re.firstChild&>.replaceChild(Re.firstChild,Re),er}}return new b(0,0,0,0)},Zo=function(G,Se,Re){var gt=G.ownerDocument;if(!gt)throw new Error("Node has no owner document");var er=gt.createRange();return er.setStart(G,Se),er.setEnd(G,Se+Re),b.fromClientRect(er.getBoundingClientRect())},qo=function(G,Se){return Se.letterSpacing!==0?r(G).map(function(Re){return a(Re)}):ws(G,Se)},ws=function(G,Se){for(var Re=Te(G,{lineBreak:Se.lineBreak,wordBreak:Se.overflowWrap===Rt.BREAK_WORD?"break-word":Se.wordBreak}),gt=[],er;!(er=Re.next()).done;)er.value&>.push(er.value.slice());return gt},Ho=function(){function Ne(G,Se){this.text=sl(G.data,Se.textTransform),this.textBounds=gs(this.text,Se,G)}return Ne}(),sl=function(G,Se){switch(Se){case ji.LOWERCASE:return G.toLowerCase();case ji.CAPITALIZE:return G.replace(kl,ll);case ji.UPPERCASE:return G.toUpperCase();default:return G}},kl=/(^|\s|:|-|\(|\))([a-z])/g,ll=function(G,Se,Re){return G.length>0?Se+Re.toUpperCase():G},Nl=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this;return Re.src=Se.currentSrc||Se.src,Re.intrinsicWidth=Se.naturalWidth,Re.intrinsicHeight=Se.naturalHeight,gi.getInstance().addImage(Re.src),Re}return G}(io),Ts=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this;return Re.canvas=Se,Re.intrinsicWidth=Se.width,Re.intrinsicHeight=Se.height,Re}return G}(io),Gs=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this,gt=new XMLSerializer;return Re.svg="data:image/svg+xml,"+encodeURIComponent(gt.serializeToString(Se)),Re.intrinsicWidth=Se.width.baseVal.value,Re.intrinsicHeight=Se.height.baseVal.value,gi.getInstance().addImage(Re.svg),Re}return G}(io),qs=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this;return Re.value=Se.value,Re}return G}(io),jl=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this;return Re.start=Se.start,Re.reversed=typeof Se.reversed=="boolean"&&Se.reversed===!0,Re}return G}(io),Hl=[{type:xe.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:xe.PERCENTAGE_TOKEN,flags:0,number:50}],ru=function(G){return G.width>G.height?new b(G.left+(G.width-G.height)/2,G.top,G.height,G.height):G.width<G.height?new b(G.left,G.top+(G.height-G.width)/2,G.width,G.width):G},nu=function(G){var Se=G.type===iu?new Array(G.value.length+1).join("\u2022"):G.value;return Se.length===0?G.placeholder||"":Se},es="checkbox",el="radio",iu="password",Rl=707406591,Ml=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this;Re.type=Se.type.toLowerCase(),Re.checked=Se.checked,Re.value=nu(Se),(Re.type===es||Re.type===el)&&(Re.styles.backgroundColor=3739148031,Re.styles.borderTopColor=Re.styles.borderRightColor=Re.styles.borderBottomColor=Re.styles.borderLeftColor=2779096575,Re.styles.borderTopWidth=Re.styles.borderRightWidth=Re.styles.borderBottomWidth=Re.styles.borderLeftWidth=1,Re.styles.borderTopStyle=Re.styles.borderRightStyle=Re.styles.borderBottomStyle=Re.styles.borderLeftStyle=bo.SOLID,Re.styles.backgroundClip=[Mi.BORDER_BOX],Re.styles.backgroundOrigin=[0],Re.bounds=ru(Re.bounds));switch(Re.type){case es:Re.styles.borderTopRightRadius=Re.styles.borderTopLeftRadius=Re.styles.borderBottomRightRadius=Re.styles.borderBottomLeftRadius=Hl;break;case el:Re.styles.borderTopRightRadius=Re.styles.borderTopLeftRadius=Re.styles.borderBottomRightRadius=Re.styles.borderBottomLeftRadius=Dl;break}return Re}return G}(io),yl=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this,gt=Se.options[Se.selectedIndex||0];return Re.value=gt&>.text||"",Re}return G}(io),zl=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this;return Re.value=Se.value,Re}return G}(io),ul=function(G){return Mn.parse(hn.create(G).parseComponentValue())},Wl=function(Ne){E(G,Ne);function G(Se){var Re=Ne.call(this,Se)||this;Re.src=Se.src,Re.width=parseInt(Se.width,10)||0,Re.height=parseInt(Se.height,10)||0,Re.backgroundColor=Re.styles.backgroundColor;try{if(Se.contentWindow&&Se.contentWindow.document&&Se.contentWindow.document.documentElement){Re.tree=tl(Se.contentWindow.document.documentElement);var gt=Se.contentWindow.document.documentElement?ul(getComputedStyle(Se.contentWindow.document.documentElement).backgroundColor):Li.TRANSPARENT,er=Se.contentWindow.document.body?ul(getComputedStyle(Se.contentWindow.document.body).backgroundColor):Li.TRANSPARENT;Re.backgroundColor=En(gt)?En(er)?Re.styles.backgroundColor:er:gt}}catch(vr){}return Re}return G}(io),au=["OL","UL","MENU"],ou=function Ne(G,Se,Re){for(var gt=G.firstChild,er=void 0;gt;gt=er)if(er=gt.nextSibling,Ss(gt)&>.data.trim().length>0)Se.textNodes.push(new Ho(gt,Se.styles));else if(zs(gt)){var vr=Ps(gt);vr.styles.isVisible()&&(bl(gt,vr,Re)?vr.flags|=4:cl(vr.styles)&&(vr.flags|=2),au.indexOf(gt.tagName)!==-1&&(vr.flags|=8),Se.elements.push(vr),!El(gt)&&!Xs(gt)&&!fl(gt)&&Ne(gt,vr,Re))}},Ps=function(G){return hl(G)?new Nl(G):nl(G)?new Ts(G):Xs(G)?new Gs(G):wl(G)?new qs(G):Bl(G)?new jl(G):Kl(G)?new Ml(G):fl(G)?new yl(G):El(G)?new zl(G):xl(G)?new Wl(G):new io(G)},tl=function(G){var Se=Ps(G);return Se.flags|=4,ou(G,Se,Se),Se},bl=function(G,Se,Re){return Se.styles.isPositionedWithZIndex()||Se.styles.opacity<1||Se.styles.isTransformed()||dl(G)&&Re.styles.isTransparent()},cl=function(G){return G.isPositioned()||G.isFloating()},Ss=function(G){return G.nodeType===Node.TEXT_NODE},zs=function(G){return G.nodeType===Node.ELEMENT_NODE},rl=function(G){return zs(G)&&typeof G.style!="undefined"&&!Us(G)},Us=function(G){return typeof G.className=="object"},wl=function(G){return G.tagName==="LI"},Bl=function(G){return G.tagName==="OL"},Kl=function(G){return G.tagName==="INPUT"},Sl=function(G){return G.tagName==="HTML"},Xs=function(G){return G.tagName==="svg"},dl=function(G){return G.tagName==="BODY"},nl=function(G){return G.tagName==="CANVAS"},hl=function(G){return G.tagName==="IMG"},xl=function(G){return G.tagName==="IFRAME"},Ws=function(G){return G.tagName==="STYLE"},Vl=function(G){return G.tagName==="SCRIPT"},El=function(G){return G.tagName==="TEXTAREA"},fl=function(G){return G.tagName==="SELECT"},Cl=function(){function Ne(){this.counters={}}return Ne.prototype.getCounterValue=function(G){var Se=this.counters[G];return Se&&Se.length?Se[Se.length-1]:1},Ne.prototype.getCounterValues=function(G){var Se=this.counters[G];return Se||[]},Ne.prototype.pop=function(G){var Se=this;G.forEach(function(Re){return Se.counters[Re].pop()})},Ne.prototype.parse=function(G){var Se=this,Re=G.counterIncrement,gt=G.counterReset,er=!0;Re!==null&&Re.forEach(function(Dr){var Hr=Se.counters[Dr.counter];Hr&&Dr.increment!==0&&(er=!1,Hr[Math.max(0,Hr.length-1)]+=Dr.increment)});var vr=[];return er&>.forEach(function(Dr){var Hr=Se.counters[Dr.counter];vr.push(Dr.counter),Hr||(Hr=Se.counters[Dr.counter]=[]),Hr.push(Dr.reset)}),vr},Ne}(),Yl={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"]},Fl={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"]},pl={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"]},Ql={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Js=function(G,Se,Re,gt,er,vr){return G<Se||G>Re?gl(G,er,vr.length>0):gt.integers.reduce(function(Dr,Hr,zr){for(;G>=Hr;)G-=Hr,Dr+=gt.values[zr];return Dr},"")+vr},Gl=function(G,Se,Re,gt){var er="";do Re||G--,er=gt(G)+er,G/=Se;while(G*Se>=Se);return er},Mo=function(G,Se,Re,gt,er){var vr=Re-Se+1;return(G<0?"-":"")+(Gl(Math.abs(G),vr,gt,function(Dr){return a(Math.floor(Dr%vr)+Se)})+er)},Ks=function(G,Se,Re){Re===void 0&&(Re=". ");var gt=Se.length;return Gl(Math.abs(G),gt,!1,function(er){return Se[Math.floor(er%gt)]})+Re},il=1<<0,_s=1<<1,ks=1<<2,ml=1<<3,xs=function(G,Se,Re,gt,er,vr){if(G<-9999||G>9999)return gl(G,Rn.CJK_DECIMAL,er.length>0);var Dr=Math.abs(G),Hr=er;if(Dr===0)return Se[0]+Hr;for(var zr=0;Dr>0&&zr<=4;zr++){var un=Dr%10;un===0&&Ro(vr,il)&&Hr!==""?Hr=Se[un]+Hr:un>1||un===1&&zr===0||un===1&&zr===1&&Ro(vr,_s)||un===1&&zr===1&&Ro(vr,ks)&&G>100||un===1&&zr>1&&Ro(vr,ml)?Hr=Se[un]+(zr>0?Re[zr-1]:"")+Hr:un===1&&zr>0&&(Hr=Re[zr-1]+Hr),Dr=Math.floor(Dr/10)}return(G<0?gt:"")+Hr},al="\u5341\u767E\u5343\u842C",$s="\u62FE\u4F70\u4EDF\u842C",Pl="\u30DE\u30A4\u30CA\u30B9",Ol="\uB9C8\uC774\uB108\uC2A4",gl=function(G,Se,Re){var gt=Re?". ":"",er=Re?"\u3001":"",vr=Re?", ":"",Dr=Re?" ":"";switch(Se){case Rn.DISC:return"\u2022"+Dr;case Rn.CIRCLE:return"\u25E6"+Dr;case Rn.SQUARE:return"\u25FE"+Dr;case Rn.DECIMAL_LEADING_ZERO:var Hr=Mo(G,48,57,!0,gt);return Hr.length<4?"0"+Hr:Hr;case Rn.CJK_DECIMAL:return Ks(G,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",er);case Rn.LOWER_ROMAN:return Js(G,1,3999,Yl,Rn.DECIMAL,gt).toLowerCase();case Rn.UPPER_ROMAN:return Js(G,1,3999,Yl,Rn.DECIMAL,gt);case Rn.LOWER_GREEK:return Mo(G,945,969,!1,gt);case Rn.LOWER_ALPHA:return Mo(G,97,122,!1,gt);case Rn.UPPER_ALPHA:return Mo(G,65,90,!1,gt);case Rn.ARABIC_INDIC:return Mo(G,1632,1641,!0,gt);case Rn.ARMENIAN:case Rn.UPPER_ARMENIAN:return Js(G,1,9999,Fl,Rn.DECIMAL,gt);case Rn.LOWER_ARMENIAN:return Js(G,1,9999,Fl,Rn.DECIMAL,gt).toLowerCase();case Rn.BENGALI:return Mo(G,2534,2543,!0,gt);case Rn.CAMBODIAN:case Rn.KHMER:return Mo(G,6112,6121,!0,gt);case Rn.CJK_EARTHLY_BRANCH:return Ks(G,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",er);case Rn.CJK_HEAVENLY_STEM:return Ks(G,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",er);case Rn.CJK_IDEOGRAPHIC:case Rn.TRAD_CHINESE_INFORMAL:return xs(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",al,"\u8CA0",er,_s|ks|ml);case Rn.TRAD_CHINESE_FORMAL:return xs(G,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",$s,"\u8CA0",er,il|_s|ks|ml);case Rn.SIMP_CHINESE_INFORMAL:return xs(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",al,"\u8D1F",er,_s|ks|ml);case Rn.SIMP_CHINESE_FORMAL:return xs(G,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",$s,"\u8D1F",er,il|_s|ks|ml);case Rn.JAPANESE_INFORMAL:return xs(G,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Pl,er,0);case Rn.JAPANESE_FORMAL:return xs(G,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Pl,er,il|_s|ks);case Rn.KOREAN_HANGUL_FORMAL:return xs(G,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ol,vr,il|_s|ks);case Rn.KOREAN_HANJA_INFORMAL:return xs(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ol,vr,0);case Rn.KOREAN_HANJA_FORMAL:return xs(G,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ol,vr,il|_s|ks);case Rn.DEVANAGARI:return Mo(G,2406,2415,!0,gt);case Rn.GEORGIAN:return Js(G,1,19999,Ql,Rn.DECIMAL,gt);case Rn.GUJARATI:return Mo(G,2790,2799,!0,gt);case Rn.GURMUKHI:return Mo(G,2662,2671,!0,gt);case Rn.HEBREW:return Js(G,1,10999,pl,Rn.DECIMAL,gt);case Rn.HIRAGANA:return Ks(G,"\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 Rn.HIRAGANA_IROHA:return Ks(G,"\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 Rn.KANNADA:return Mo(G,3302,3311,!0,gt);case Rn.KATAKANA:return Ks(G,"\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",er);case Rn.KATAKANA_IROHA:return Ks(G,"\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",er);case Rn.LAO:return Mo(G,3792,3801,!0,gt);case Rn.MONGOLIAN:return Mo(G,6160,6169,!0,gt);case Rn.MYANMAR:return Mo(G,4160,4169,!0,gt);case Rn.ORIYA:return Mo(G,2918,2927,!0,gt);case Rn.PERSIAN:return Mo(G,1776,1785,!0,gt);case Rn.TAMIL:return Mo(G,3046,3055,!0,gt);case Rn.TELUGU:return Mo(G,3174,3183,!0,gt);case Rn.THAI:return Mo(G,3664,3673,!0,gt);case Rn.TIBETAN:return Mo(G,3872,3881,!0,gt);case Rn.DECIMAL:default:return Mo(G,48,57,!0,gt)}},Xl="data-html2canvas-ignore",Ul=function(){function Ne(G,Se){if(this.options=Se,this.scrolledElements=[],this.referenceElement=G,this.counters=new Cl,this.quoteDepth=0,!G.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(G.ownerDocument.documentElement)}return Ne.prototype.toIFrame=function(G,Se){var Re=this,gt=Jl(G,Se);if(!gt.contentWindow)return Promise.reject("Unable to find iframe window");var er=G.defaultView.pageXOffset,vr=G.defaultView.pageYOffset,Dr=gt.contentWindow,Hr=Dr.document,zr=su(gt).then(function(){return p(Re,void 0,void 0,function(){var un;return A(this,function(sn){switch(sn.label){case 0:return this.scrolledElements.forEach(ql),Dr&&(Dr.scrollTo(Se.left,Se.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Dr.scrollY!==Se.top||Dr.scrollX!==Se.left)&&(Hr.documentElement.style.top=-Se.top+"px",Hr.documentElement.style.left=-Se.left+"px",Hr.documentElement.style.position="absolute")),un=this.options.onclone,typeof this.clonedReferenceElement=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Hr.fonts&&Hr.fonts.ready?[4,Hr.fonts.ready]:[3,2];case 1:sn.sent(),sn.label=2;case 2:return typeof un=="function"?[2,Promise.resolve().then(function(){return un(Hr)}).then(function(){return gt})]:[2,gt]}})})});return Hr.open(),Hr.write(Zl(document.doctype)+"<html></html>"),Ll(this.referenceElement.ownerDocument,er,vr),Hr.replaceChild(Hr.adoptNode(this.documentElement),Hr.documentElement),Hr.close(),zr},Ne.prototype.createElementClone=function(G){if(nl(G))return this.createCanvasClone(G);if(Ws(G))return this.createStyleClone(G);var Se=G.cloneNode(!1);return hl(Se)&&Se.loading==="lazy"&&(Se.loading="eager"),Se},Ne.prototype.createStyleClone=function(G){try{var Se=G.sheet;if(Se&&Se.cssRules){var Re=[].slice.call(Se.cssRules,0).reduce(function(er,vr){return vr&&typeof vr.cssText=="string"?er+vr.cssText:er},""),gt=G.cloneNode(!1);return gt.textContent=Re,gt}}catch(er){if(la.getInstance(this.options.id).error("Unable to access cssRules property",er),er.name!=="SecurityError")throw er}return G.cloneNode(!1)},Ne.prototype.createCanvasClone=function(G){if(this.options.inlineImages&&G.ownerDocument){var Se=G.ownerDocument.createElement("img");try{return Se.src=G.toDataURL(),Se}catch(vr){la.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var Re=G.cloneNode(!1);try{Re.width=G.width,Re.height=G.height;var gt=G.getContext("2d"),er=Re.getContext("2d");return er&&(gt?er.putImageData(gt.getImageData(0,0,G.width,G.height),0,0):er.drawImage(G,0,0)),Re}catch(vr){}return Re},Ne.prototype.cloneNode=function(G){if(Ss(G))return document.createTextNode(G.data);if(!G.ownerDocument)return G.cloneNode(!1);var Se=G.ownerDocument.defaultView;if(Se&&zs(G)&&(rl(G)||Us(G))){var Re=this.createElementClone(G),gt=Se.getComputedStyle(G),er=Se.getComputedStyle(G,":before"),vr=Se.getComputedStyle(G,":after");this.referenceElement===G&&rl(Re)&&(this.clonedReferenceElement=Re),dl(Re)&&uu(Re);for(var Dr=this.counters.parse(new _i(gt)),Hr=this.resolvePseudoContent(G,Re,er,vl.BEFORE),zr=G.firstChild;zr;zr=zr.nextSibling)(!zs(zr)||!Vl(zr)&&!zr.hasAttribute(Xl)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(zr)))&&((!this.options.copyStyles||!zs(zr)||!Ws(zr))&&Re.appendChild(this.cloneNode(zr)));Hr&&Re.insertBefore(Hr,Re.firstChild);var un=this.resolvePseudoContent(G,Re,vr,vl.AFTER);return un&&Re.appendChild(un),this.counters.pop(Dr),gt&&(this.options.copyStyles||Us(G))&&!xl(G)&&$l(gt,Re),(G.scrollTop!==0||G.scrollLeft!==0)&&this.scrolledElements.push([Re,G.scrollLeft,G.scrollTop]),(El(G)||fl(G))&&(El(Re)||fl(Re))&&(Re.value=G.value),Re}return G.cloneNode(!1)},Ne.prototype.resolvePseudoContent=function(G,Se,Re,gt){var er=this;if(!Re)return;var vr=Re.content,Dr=Se.ownerDocument;if(!Dr||!vr||vr==="none"||vr==="-moz-alt-content"||Re.display==="none")return;this.counters.parse(new _i(Re));var Hr=new ci(Re),zr=Dr.createElement("html2canvaspseudoelement");$l(Re,zr),Hr.content.forEach(function(sn){if(sn.type===xe.STRING_TOKEN)zr.appendChild(Dr.createTextNode(sn.value));else if(sn.type===xe.URL_TOKEN){var Fn=Dr.createElement("img");Fn.src=sn.value,Fn.style.opacity="1",zr.appendChild(Fn)}else if(sn.type===xe.FUNCTION){if(sn.name==="attr"){var si=sn.values.filter(Zt);si.length&&zr.appendChild(Dr.createTextNode(G.getAttribute(si[0].value)||""))}else if(sn.name==="counter"){var zn=sn.values.filter(xr),fi=zn[0],da=zn[1];if(fi&&Zt(fi)){var Oi=er.counters.getCounterValue(fi.value),na=da&&Zt(da)?Vs.parse(da.value):Rn.DECIMAL;zr.appendChild(Dr.createTextNode(gl(Oi,na,!1)))}}else if(sn.name==="counters"){var Na=sn.values.filter(xr),fi=Na[0],Ui=Na[1],da=Na[2];if(fi&&Zt(fi)){var No=er.counters.getCounterValues(fi.value),no=da&&Zt(da)?Vs.parse(da.value):Rn.DECIMAL,Wo=Ui&&Ui.type===xe.STRING_TOKEN?Ui.value:"",Uo=No.map(function(fs){return gl(fs,no,!1)}).join(Wo);zr.appendChild(Dr.createTextNode(Uo))}}}else if(sn.type===xe.IDENT_TOKEN)switch(sn.value){case"open-quote":zr.appendChild(Dr.createTextNode(Hs(Hr.quotes,er.quoteDepth++,!0)));break;case"close-quote":zr.appendChild(Dr.createTextNode(Hs(Hr.quotes,--er.quoteDepth,!1)));break;default:zr.appendChild(Dr.createTextNode(sn.value))}}),zr.className=js+" "+Tl;var un=gt===vl.BEFORE?" "+js:" "+Tl;return Us(Se)?Se.className.baseValue+=un:Se.className+=un,zr},Ne.destroy=function(G){return G.parentNode?(G.parentNode.removeChild(G),!0):!1},Ne}(),vl;(function(Ne){Ne[Ne.BEFORE=0]="BEFORE",Ne[Ne.AFTER=1]="AFTER"})(vl||(vl={}));var Jl=function(G,Se){var Re=G.createElement("iframe");return Re.className="html2canvas-container",Re.style.visibility="hidden",Re.style.position="fixed",Re.style.left="-10000px",Re.style.top="0px",Re.style.border="0",Re.width=Se.width.toString(),Re.height=Se.height.toString(),Re.scrolling="no",Re.setAttribute(Xl,"true"),G.body.appendChild(Re),Re},su=function(G){return new Promise(function(Se,Re){var gt=G.contentWindow;if(!gt)return Re("No window assigned for iframe");var er=gt.document;gt.onload=G.onload=er.onreadystatechange=function(){gt.onload=G.onload=er.onreadystatechange=null;var vr=setInterval(function(){er.body.childNodes.length>0&&er.readyState==="complete"&&(clearInterval(vr),Se(G))},50)}})},$l=function(G,Se){for(var Re=G.length-1;Re>=0;Re--){var gt=G.item(Re);gt!=="content"&&Se.style.setProperty(gt,G.getPropertyValue(gt))}return Se},Zl=function(G){var Se="";return G&&(Se+="<!DOCTYPE ",G.name&&(Se+=G.name),G.internalSubset&&(Se+=G.internalSubset),G.publicId&&(Se+='"'+G.publicId+'"'),G.systemId&&(Se+='"'+G.systemId+'"'),Se+=">"),Se},Ll=function(G,Se,Re){G&&G.defaultView&&(Se!==G.defaultView.pageXOffset||Re!==G.defaultView.pageYOffset)&&G.defaultView.scrollTo(Se,Re)},ql=function(G){var Se=G[0],Re=G[1],gt=G[2];Se.scrollLeft=Re,Se.scrollTop=gt},lu=":before",Il=":after",js="___html2canvas___pseudoelement_before",Tl="___html2canvas___pseudoelement_after",Al=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,uu=function(G){cu(G,"."+js+lu+Al+`
|
|
|
.`+Tl+Il+Al)},cu=function(G,Se){var Re=G.ownerDocument;if(Re){var gt=Re.createElement("style");gt.textContent=Se,G.appendChild(gt)}},ol;(function(Ne){Ne[Ne.VECTOR=0]="VECTOR",Ne[Ne.BEZIER_CURVE=1]="BEZIER_CURVE"})(ol||(ol={}));var He=function(G,Se){return G.length===Se.length?G.some(function(Re,gt){return Re===Se[gt]}):!1},ne=function(G,Se,Re,gt,er){return G.map(function(vr,Dr){switch(Dr){case 0:return vr.add(Se,Re);case 1:return vr.add(Se+gt,Re);case 2:return vr.add(Se+gt,Re+er);case 3:return vr.add(Se,Re+er)}return vr})},Ee=function(){function Ne(G,Se){this.type=ol.VECTOR,this.x=G,this.y=Se}return Ne.prototype.add=function(G,Se){return new Ne(this.x+G,this.y+Se)},Ne}(),it=function(G,Se,Re){return new Ee(G.x+(Se.x-G.x)*Re,G.y+(Se.y-G.y)*Re)},Nt=function(){function Ne(G,Se,Re,gt){this.type=ol.BEZIER_CURVE,this.start=G,this.startControl=Se,this.endControl=Re,this.end=gt}return Ne.prototype.subdivide=function(G,Se){var Re=it(this.start,this.startControl,G),gt=it(this.startControl,this.endControl,G),er=it(this.endControl,this.end,G),vr=it(Re,gt,G),Dr=it(gt,er,G),Hr=it(vr,Dr,G);return Se?new Ne(this.start,Re,vr,Hr):new Ne(Hr,Dr,er,this.end)},Ne.prototype.add=function(G,Se){return new Ne(this.start.add(G,Se),this.startControl.add(G,Se),this.endControl.add(G,Se),this.end.add(G,Se))},Ne.prototype.reverse=function(){return new Ne(this.end,this.endControl,this.startControl,this.start)},Ne}(),Qt=function(G){return G.type===ol.BEZIER_CURVE},ir=function(){function Ne(G){var Se=G.styles,Re=G.bounds,gt=Fr(Se.borderTopLeftRadius,Re.width,Re.height),er=gt[0],vr=gt[1],Dr=Fr(Se.borderTopRightRadius,Re.width,Re.height),Hr=Dr[0],zr=Dr[1],un=Fr(Se.borderBottomRightRadius,Re.width,Re.height),sn=un[0],Fn=un[1],si=Fr(Se.borderBottomLeftRadius,Re.width,Re.height),zn=si[0],fi=si[1],da=[];da.push((er+Hr)/Re.width),da.push((zn+sn)/Re.width),da.push((vr+fi)/Re.height),da.push((zr+Fn)/Re.height);var Oi=Math.max.apply(Math,da);Oi>1&&(er/=Oi,vr/=Oi,Hr/=Oi,zr/=Oi,sn/=Oi,Fn/=Oi,zn/=Oi,fi/=Oi);var na=Re.width-Hr,Na=Re.height-Fn,Ui=Re.width-sn,No=Re.height-fi,no=Se.borderTopWidth,Wo=Se.borderRightWidth,Uo=Se.borderBottomWidth,Pa=Se.borderLeftWidth,Ko=Mr(Se.paddingTop,G.bounds.width),fs=Mr(Se.paddingRight,G.bounds.width),vs=Mr(Se.paddingBottom,G.bounds.width),Es=Mr(Se.paddingLeft,G.bounds.width);this.topLeftBorderBox=er>0||vr>0?Ar(Re.left,Re.top,er,vr,or.TOP_LEFT):new Ee(Re.left,Re.top),this.topRightBorderBox=Hr>0||zr>0?Ar(Re.left+na,Re.top,Hr,zr,or.TOP_RIGHT):new Ee(Re.left+Re.width,Re.top),this.bottomRightBorderBox=sn>0||Fn>0?Ar(Re.left+Ui,Re.top+Na,sn,Fn,or.BOTTOM_RIGHT):new Ee(Re.left+Re.width,Re.top+Re.height),this.bottomLeftBorderBox=zn>0||fi>0?Ar(Re.left,Re.top+No,zn,fi,or.BOTTOM_LEFT):new Ee(Re.left,Re.top+Re.height),this.topLeftPaddingBox=er>0||vr>0?Ar(Re.left+Pa,Re.top+no,Math.max(0,er-Pa),Math.max(0,vr-no),or.TOP_LEFT):new Ee(Re.left+Pa,Re.top+no),this.topRightPaddingBox=Hr>0||zr>0?Ar(Re.left+Math.min(na,Re.width+Pa),Re.top+no,na>Re.width+Pa?0:Hr-Pa,zr-no,or.TOP_RIGHT):new Ee(Re.left+Re.width-Wo,Re.top+no),this.bottomRightPaddingBox=sn>0||Fn>0?Ar(Re.left+Math.min(Ui,Re.width-Pa),Re.top+Math.min(Na,Re.height+no),Math.max(0,sn-Wo),Fn-Uo,or.BOTTOM_RIGHT):new Ee(Re.left+Re.width-Wo,Re.top+Re.height-Uo),this.bottomLeftPaddingBox=zn>0||fi>0?Ar(Re.left+Pa,Re.top+No,Math.max(0,zn-Pa),fi-Uo,or.BOTTOM_LEFT):new Ee(Re.left+Pa,Re.top+Re.height-Uo),this.topLeftContentBox=er>0||vr>0?Ar(Re.left+Pa+Es,Re.top+no+Ko,Math.max(0,er-(Pa+Es)),Math.max(0,vr-(no+Ko)),or.TOP_LEFT):new Ee(Re.left+Pa+Es,Re.top+no+Ko),this.topRightContentBox=Hr>0||zr>0?Ar(Re.left+Math.min(na,Re.width+Pa+Es),Re.top+no+Ko,na>Re.width+Pa+Es?0:Hr-Pa+Es,zr-(no+Ko),or.TOP_RIGHT):new Ee(Re.left+Re.width-(Wo+fs),Re.top+no+Ko),this.bottomRightContentBox=sn>0||Fn>0?Ar(Re.left+Math.min(Ui,Re.width-(Pa+Es)),Re.top+Math.min(Na,Re.height+no+Ko),Math.max(0,sn-(Wo+fs)),Fn-(Uo+vs),or.BOTTOM_RIGHT):new Ee(Re.left+Re.width-(Wo+fs),Re.top+Re.height-(Uo+vs)),this.bottomLeftContentBox=zn>0||fi>0?Ar(Re.left+Pa+Es,Re.top+No,Math.max(0,zn-(Pa+Es)),fi-(Uo+vs),or.BOTTOM_LEFT):new Ee(Re.left+Pa+Es,Re.top+Re.height-(Uo+vs))}return Ne}(),or;(function(Ne){Ne[Ne.TOP_LEFT=0]="TOP_LEFT",Ne[Ne.TOP_RIGHT=1]="TOP_RIGHT",Ne[Ne.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Ne[Ne.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(or||(or={}));var Ar=function(G,Se,Re,gt,er){var vr=4*((Math.sqrt(2)-1)/3),Dr=Re*vr,Hr=gt*vr,zr=G+Re,un=Se+gt;switch(er){case or.TOP_LEFT:return new Nt(new Ee(G,un),new Ee(G,un-Hr),new Ee(zr-Dr,Se),new Ee(zr,Se));case or.TOP_RIGHT:return new Nt(new Ee(G,Se),new Ee(G+Dr,Se),new Ee(zr,un-Hr),new Ee(zr,un));case or.BOTTOM_RIGHT:return new Nt(new Ee(zr,Se),new Ee(zr,Se+Hr),new Ee(G+Dr,un),new Ee(G,un));case or.BOTTOM_LEFT:default:return new Nt(new Ee(zr,un),new Ee(zr-Dr,un),new Ee(G,Se+Hr),new Ee(G,Se))}},Vr=function(G){return[G.topLeftBorderBox,G.topRightBorderBox,G.bottomRightBorderBox,G.bottomLeftBorderBox]},Yr=function(G){return[G.topLeftContentBox,G.topRightContentBox,G.bottomRightContentBox,G.bottomLeftContentBox]},_r=function(G){return[G.topLeftPaddingBox,G.topRightPaddingBox,G.bottomRightPaddingBox,G.bottomLeftPaddingBox]},Pr=function(){function Ne(G,Se,Re){this.type=0,this.offsetX=G,this.offsetY=Se,this.matrix=Re,this.target=2|4}return Ne}(),Jr=function(){function Ne(G,Se){this.type=1,this.target=Se,this.path=G}return Ne}(),dn=function(G){return G.type===0},pn=function(G){return G.type===1},ei=function(){function Ne(G){this.element=G,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ne}(),ui=function(){function Ne(G,Se){if(this.container=G,this.effects=Se.slice(0),this.curves=new ir(G),G.styles.transform!==null){var Re=G.bounds.left+G.styles.transformOrigin[0].number,gt=G.bounds.top+G.styles.transformOrigin[1].number,er=G.styles.transform;this.effects.push(new Pr(Re,gt,er))}if(G.styles.overflowX!==Le.VISIBLE){var vr=Vr(this.curves),Dr=_r(this.curves);He(vr,Dr)?this.effects.push(new Jr(vr,2|4)):(this.effects.push(new Jr(vr,2)),this.effects.push(new Jr(Dr,4)))}}return Ne.prototype.getParentEffects=function(){var G=this.effects.slice(0);if(this.container.styles.overflowX!==Le.VISIBLE){var Se=Vr(this.curves),Re=_r(this.curves);He(Se,Re)||G.push(new Jr(Re,2|4))}return G},Ne}(),ii=function Ne(G,Se,Re,gt){G.container.elements.forEach(function(er){var vr=Ro(er.flags,4),Dr=Ro(er.flags,2),Hr=new ui(er,G.getParentEffects());Ro(er.styles.display,2048)&>.push(Hr);var zr=Ro(er.flags,8)?[]:gt;if(vr||Dr){var un=vr||er.styles.isPositioned()?Re:Se,sn=new ei(Hr);if(er.styles.isPositioned()||er.styles.opacity<1||er.styles.isTransformed()){var Fn=er.styles.zIndex.order;if(Fn<0){var si=0;un.negativeZIndex.some(function(fi,da){return Fn>fi.element.container.styles.zIndex.order?(si=da,!1):si>0}),un.negativeZIndex.splice(si,0,sn)}else if(Fn>0){var zn=0;un.positiveZIndex.some(function(fi,da){return Fn>=fi.element.container.styles.zIndex.order?(zn=da+1,!1):zn>0}),un.positiveZIndex.splice(zn,0,sn)}else un.zeroOrAutoZIndexOrTransformedOrOpacity.push(sn)}else er.styles.isFloating()?un.nonPositionedFloats.push(sn):un.nonPositionedInlineLevel.push(sn);Ne(Hr,sn,vr?sn:Re,zr)}else er.styles.isInlineLevel()?Se.inlineLevel.push(Hr):Se.nonInlineLevel.push(Hr),Ne(Hr,Se,Re,zr);Ro(er.flags,8)&&$i(er,zr)})},$i=function(G,Se){for(var Re=G instanceof jl?G.start:1,gt=G instanceof jl?G.reversed:!1,er=0;er<Se.length;er++){var vr=Se[er];vr.container instanceof qs&&typeof vr.container.value=="number"&&vr.container.value!==0&&(Re=vr.container.value),vr.listValue=gl(Re,vr.container.styles.listStyleType,!0),Re+=gt?-1:1}},Si=function(G){var Se=new ui(G,[]),Re=new ei(Se),gt=[];return ii(Se,Re,Re,gt),$i(Se.container,gt),Re},Va=function(G,Se){switch(Se){case 0:return Ei(G.topLeftBorderBox,G.topLeftPaddingBox,G.topRightBorderBox,G.topRightPaddingBox);case 1:return Ei(G.topRightBorderBox,G.topRightPaddingBox,G.bottomRightBorderBox,G.bottomRightPaddingBox);case 2:return Ei(G.bottomRightBorderBox,G.bottomRightPaddingBox,G.bottomLeftBorderBox,G.bottomLeftPaddingBox);case 3:default:return Ei(G.bottomLeftBorderBox,G.bottomLeftPaddingBox,G.topLeftBorderBox,G.topLeftPaddingBox)}},Ei=function(G,Se,Re,gt){var er=[];return Qt(G)?er.push(G.subdivide(.5,!1)):er.push(G),Qt(Re)?er.push(Re.subdivide(.5,!0)):er.push(Re),Qt(gt)?er.push(gt.subdivide(.5,!0).reverse()):er.push(gt),Qt(Se)?er.push(Se.subdivide(.5,!1).reverse()):er.push(Se),er},uo=function(G){var Se=G.bounds,Re=G.styles;return Se.add(Re.borderLeftWidth,Re.borderTopWidth,-(Re.borderRightWidth+Re.borderLeftWidth),-(Re.borderTopWidth+Re.borderBottomWidth))},zo=function(G){var Se=G.styles,Re=G.bounds,gt=Mr(Se.paddingLeft,Re.width),er=Mr(Se.paddingRight,Re.width),vr=Mr(Se.paddingTop,Re.width),Dr=Mr(Se.paddingBottom,Re.width);return Re.add(gt+Se.borderLeftWidth,vr+Se.borderTopWidth,-(Se.borderRightWidth+Se.borderLeftWidth+gt+er),-(Se.borderTopWidth+Se.borderBottomWidth+vr+Dr))},ao=function(G,Se){return G===0?Se.bounds:G===2?zo(Se):uo(Se)},ko=function(G,Se){return G===Mi.BORDER_BOX?Se.bounds:G===Mi.CONTENT_BOX?zo(Se):uo(Se)},m=function(G,Se,Re){var gt=ao(q(G.styles.backgroundOrigin,Se),G),er=ko(q(G.styles.backgroundClip,Se),G),vr=V(q(G.styles.backgroundSize,Se),Re,gt),Dr=vr[0],Hr=vr[1],zr=Fr(q(G.styles.backgroundPosition,Se),gt.width-Dr,gt.height-Hr),un=ve(q(G.styles.backgroundRepeat,Se),zr,vr,gt,er),sn=Math.round(gt.left+zr[0]),Fn=Math.round(gt.top+zr[1]);return[un,sn,Fn,Dr,Hr]},I=function(G){return Zt(G)&&G.value===Ma.AUTO},W=function(G){return typeof G=="number"},V=function(G,Se,Re){var gt=Se[0],er=Se[1],vr=Se[2],Dr=G[0],Hr=G[1];if(an(Dr)&&Hr&&an(Hr))return[Mr(Dr,Re.width),Mr(Hr,Re.height)];var zr=W(vr);if(Zt(Dr)&&(Dr.value===Ma.CONTAIN||Dr.value===Ma.COVER)){if(W(vr)){var un=Re.width/Re.height;return un<vr!==(Dr.value===Ma.COVER)?[Re.width,Re.width/vr]:[Re.height*vr,Re.height]}return[Re.width,Re.height]}var sn=W(gt),Fn=W(er),si=sn||Fn;if(I(Dr)&&(!Hr||I(Hr))){if(sn&&Fn)return[gt,er];if(!zr&&!si)return[Re.width,Re.height];if(si&&zr){var zn=sn?gt:er*vr,fi=Fn?er:gt/vr;return[zn,fi]}var da=sn?gt:Re.width,Oi=Fn?er:Re.height;return[da,Oi]}if(zr){var na=0,Na=0;return an(Dr)?na=Mr(Dr,Re.width):an(Hr)&&(Na=Mr(Hr,Re.height)),I(Dr)?na=Na*vr:(!Hr||I(Hr))&&(Na=na/vr),[na,Na]}var Ui=null,No=null;if(an(Dr)?Ui=Mr(Dr,Re.width):Hr&&an(Hr)&&(No=Mr(Hr,Re.height)),Ui!==null&&(!Hr||I(Hr))&&(No=sn&&Fn?Ui/gt*er:Re.height),No!==null&&I(Dr)&&(Ui=sn&&Fn?No/er*gt:Re.width),Ui!==null&&No!==null)return[Ui,No];throw new Error("Unable to calculate background-size for element")},q=function(G,Se){var Re=G[Se];return typeof Re=="undefined"?G[0]:Re},ve=function(G,Se,Re,gt,er){var vr=Se[0],Dr=Se[1],Hr=Re[0],zr=Re[1];switch(G){case fo.REPEAT_X:return[new Ee(Math.round(gt.left),Math.round(gt.top+Dr)),new Ee(Math.round(gt.left+gt.width),Math.round(gt.top+Dr)),new Ee(Math.round(gt.left+gt.width),Math.round(zr+gt.top+Dr)),new Ee(Math.round(gt.left),Math.round(zr+gt.top+Dr))];case fo.REPEAT_Y:return[new Ee(Math.round(gt.left+vr),Math.round(gt.top)),new Ee(Math.round(gt.left+vr+Hr),Math.round(gt.top)),new Ee(Math.round(gt.left+vr+Hr),Math.round(gt.height+gt.top)),new Ee(Math.round(gt.left+vr),Math.round(gt.height+gt.top))];case fo.NO_REPEAT:return[new Ee(Math.round(gt.left+vr),Math.round(gt.top+Dr)),new Ee(Math.round(gt.left+vr+Hr),Math.round(gt.top+Dr)),new Ee(Math.round(gt.left+vr+Hr),Math.round(gt.top+Dr+zr)),new Ee(Math.round(gt.left+vr),Math.round(gt.top+Dr+zr))];default:return[new Ee(Math.round(er.left),Math.round(er.top)),new Ee(Math.round(er.left+er.width),Math.round(er.top)),new Ee(Math.round(er.left+er.width),Math.round(er.height+er.top)),new Ee(Math.round(er.left),Math.round(er.height+er.top))]}},Je="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ct="Hidden Text",jt=function(){function Ne(G){this._data={},this._document=G}return Ne.prototype.parseMetrics=function(G,Se){var Re=this._document.createElement("div"),gt=this._document.createElement("img"),er=this._document.createElement("span"),vr=this._document.body;Re.style.visibility="hidden",Re.style.fontFamily=G,Re.style.fontSize=Se,Re.style.margin="0",Re.style.padding="0",vr.appendChild(Re),gt.src=Je,gt.width=1,gt.height=1,gt.style.margin="0",gt.style.padding="0",gt.style.verticalAlign="baseline",er.style.fontFamily=G,er.style.fontSize=Se,er.style.margin="0",er.style.padding="0",er.appendChild(this._document.createTextNode(Ct)),Re.appendChild(er),Re.appendChild(gt);var Dr=gt.offsetTop-er.offsetTop+2;Re.removeChild(er),Re.appendChild(this._document.createTextNode(Ct)),Re.style.lineHeight="normal",gt.style.verticalAlign="super";var Hr=gt.offsetTop-Re.offsetTop+2;return vr.removeChild(Re),{baseline:Dr,middle:Hr}},Ne.prototype.getMetrics=function(G,Se){var Re=G+" "+Se;return typeof this._data[Re]=="undefined"&&(this._data[Re]=this.parseMetrics(G,Se)),this._data[Re]},Ne}(),Kt=1e4,Or=function(){function Ne(G){this._activeEffects=[],this.canvas=G.canvas?G.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=G,G.canvas||(this.canvas.width=Math.floor(G.width*G.scale),this.canvas.height=Math.floor(G.height*G.scale),this.canvas.style.width=G.width+"px",this.canvas.style.height=G.height+"px"),this.fontMetrics=new jt(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-G.x+G.scrollX,-G.y+G.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],la.getInstance(G.id).debug("Canvas renderer initialized ("+G.width+"x"+G.height+" at "+G.x+","+G.y+") with scale "+G.scale)}return Ne.prototype.applyEffects=function(G,Se){for(var Re=this;this._activeEffects.length;)this.popEffect();G.filter(function(gt){return Ro(gt.target,Se)}).forEach(function(gt){return Re.applyEffect(gt)})},Ne.prototype.applyEffect=function(G){this.ctx.save(),dn(G)&&(this.ctx.translate(G.offsetX,G.offsetY),this.ctx.transform(G.matrix[0],G.matrix[1],G.matrix[2],G.matrix[3],G.matrix[4],G.matrix[5]),this.ctx.translate(-G.offsetX,-G.offsetY)),pn(G)&&(this.path(G.path),this.ctx.clip()),this._activeEffects.push(G)},Ne.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},Ne.prototype.renderStack=function(G){return p(this,void 0,void 0,function(){var Se;return A(this,function(Re){switch(Re.label){case 0:return Se=G.element.container.styles,Se.isVisible()?(this.ctx.globalAlpha=Se.opacity,[4,this.renderStackContent(G)]):[3,2];case 1:Re.sent(),Re.label=2;case 2:return[2]}})})},Ne.prototype.renderNode=function(G){return p(this,void 0,void 0,function(){return A(this,function(Se){switch(Se.label){case 0:return G.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(G)]:[3,3];case 1:return Se.sent(),[4,this.renderNodeContent(G)];case 2:Se.sent(),Se.label=3;case 3:return[2]}})})},Ne.prototype.renderTextWithLetterSpacing=function(G,Se){var Re=this;if(Se===0)this.ctx.fillText(G.text,G.bounds.left,G.bounds.top+G.bounds.height);else{var gt=r(G.text).map(function(er){return a(er)});gt.reduce(function(er,vr){return Re.ctx.fillText(vr,er,G.bounds.top+G.bounds.height),er+Re.ctx.measureText(vr).width},G.bounds.left)}},Ne.prototype.createFontStyle=function(G){var Se=G.fontVariant.filter(function(er){return er==="normal"||er==="small-caps"}).join(""),Re=G.fontFamily.join(", "),gt=Ue(G.fontSize)?""+G.fontSize.number+G.fontSize.unit:G.fontSize.number+"px";return[[G.fontStyle,Se,G.fontWeight,gt,Re].join(" "),Re,gt]},Ne.prototype.renderTextNode=function(G,Se){return p(this,void 0,void 0,function(){var Re,gt,er,vr,Dr=this;return A(this,function(Hr){return Re=this.createFontStyle(Se),gt=Re[0],er=Re[1],vr=Re[2],this.ctx.font=gt,G.textBounds.forEach(function(zr){Dr.ctx.fillStyle=Tn(Se.color),Dr.renderTextWithLetterSpacing(zr,Se.letterSpacing);var un=Se.textShadow;un.length&&zr.text.trim().length&&(un.slice(0).reverse().forEach(function(sn){Dr.ctx.shadowColor=Tn(sn.color),Dr.ctx.shadowOffsetX=sn.offsetX.number*Dr.options.scale,Dr.ctx.shadowOffsetY=sn.offsetY.number*Dr.options.scale,Dr.ctx.shadowBlur=sn.blur.number,Dr.ctx.fillText(zr.text,zr.bounds.left,zr.bounds.top+zr.bounds.height)}),Dr.ctx.shadowColor="",Dr.ctx.shadowOffsetX=0,Dr.ctx.shadowOffsetY=0,Dr.ctx.shadowBlur=0),Se.textDecorationLine.length&&(Dr.ctx.fillStyle=Tn(Se.textDecorationColor||Se.color),Se.textDecorationLine.forEach(function(sn){switch(sn){case 1:var Fn=Dr.fontMetrics.getMetrics(er,vr).baseline;Dr.ctx.fillRect(zr.bounds.left,Math.round(zr.bounds.top+Fn),zr.bounds.width,1);break;case 2:Dr.ctx.fillRect(zr.bounds.left,Math.round(zr.bounds.top),zr.bounds.width,1);break;case 3:var si=Dr.fontMetrics.getMetrics(er,vr).middle;Dr.ctx.fillRect(zr.bounds.left,Math.ceil(zr.bounds.top+si),zr.bounds.width,1);break}}))}),[2]})})},Ne.prototype.renderReplacedElement=function(G,Se,Re){if(Re&&G.intrinsicWidth>0&&G.intrinsicHeight>0){var gt=zo(G),er=_r(Se);this.path(er),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Re,0,0,G.intrinsicWidth,G.intrinsicHeight,gt.left,gt.top,gt.width,gt.height),this.ctx.restore()}},Ne.prototype.renderNodeContent=function(G){return p(this,void 0,void 0,function(){var Se,Re,gt,er,vr,Dr,Hr,zr,Hr,un,sn,Fn,si,zn,fi,da,Oi,Hr,na,Na,zn;return A(this,function(Ui){switch(Ui.label){case 0:this.applyEffects(G.effects,4),Se=G.container,Re=G.curves,gt=Se.styles,er=0,vr=Se.textNodes,Ui.label=1;case 1:return er<vr.length?(Dr=vr[er],[4,this.renderTextNode(Dr,gt)]):[3,4];case 2:Ui.sent(),Ui.label=3;case 3:return er++,[3,1];case 4:if(!(Se instanceof Nl))return[3,8];Ui.label=5;case 5:return Ui.trys.push([5,7,,8]),[4,this.options.cache.match(Se.src)];case 6:return Hr=Ui.sent(),this.renderReplacedElement(Se,Re,Hr),[3,8];case 7:return zr=Ui.sent(),la.getInstance(this.options.id).error("Error loading image "+Se.src),[3,8];case 8:if(Se instanceof Ts&&this.renderReplacedElement(Se,Re,Se.canvas),!(Se instanceof Gs))return[3,12];Ui.label=9;case 9:return Ui.trys.push([9,11,,12]),[4,this.options.cache.match(Se.svg)];case 10:return Hr=Ui.sent(),this.renderReplacedElement(Se,Re,Hr),[3,12];case 11:return un=Ui.sent(),la.getInstance(this.options.id).error("Error loading svg "+Se.svg.substring(0,255)),[3,12];case 12:return Se instanceof Wl&&Se.tree?(sn=new Ne({id:this.options.id,scale:this.options.scale,backgroundColor:Se.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:Se.width,height:Se.height,cache:this.options.cache,windowWidth:Se.width,windowHeight:Se.height}),[4,sn.render(Se.tree)]):[3,14];case 13:Fn=Ui.sent(),Se.width&&Se.height&&this.ctx.drawImage(Fn,0,0,Se.width,Se.height,Se.bounds.left,Se.bounds.top,Se.bounds.width,Se.bounds.height),Ui.label=14;case 14:if(Se instanceof Ml&&(si=Math.min(Se.bounds.width,Se.bounds.height),Se.type===es?Se.checked&&(this.ctx.save(),this.path([new Ee(Se.bounds.left+si*.39363,Se.bounds.top+si*.79),new Ee(Se.bounds.left+si*.16,Se.bounds.top+si*.5549),new Ee(Se.bounds.left+si*.27347,Se.bounds.top+si*.44071),new Ee(Se.bounds.left+si*.39694,Se.bounds.top+si*.5649),new Ee(Se.bounds.left+si*.72983,Se.bounds.top+si*.23),new Ee(Se.bounds.left+si*.84,Se.bounds.top+si*.34085),new Ee(Se.bounds.left+si*.39363,Se.bounds.top+si*.79)]),this.ctx.fillStyle=Tn(Rl),this.ctx.fill(),this.ctx.restore()):Se.type===el&&(Se.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Se.bounds.left+si/2,Se.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=Tn(Rl),this.ctx.fill(),this.ctx.restore()))),kr(Se)&&Se.value.length){this.ctx.font=this.createFontStyle(gt)[0],this.ctx.fillStyle=Tn(gt.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(Se.styles.textAlign),zn=zo(Se),fi=0;switch(Se.styles.textAlign){case Cn.CENTER:fi+=zn.width/2;break;case Cn.RIGHT:fi+=zn.width;break}da=zn.add(fi,0,0,-zn.height/2+1),this.ctx.save(),this.path([new Ee(zn.left,zn.top),new Ee(zn.left+zn.width,zn.top),new Ee(zn.left+zn.width,zn.top+zn.height),new Ee(zn.left,zn.top+zn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Jo(Se.value,da),gt.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Ro(Se.styles.display,2048))return[3,20];if(!(Se.styles.listStyleImage!==null))return[3,19];if(Oi=Se.styles.listStyleImage,!(Oi.type===Ca.URL))return[3,18];Hr=void 0,na=Oi.url,Ui.label=15;case 15:return Ui.trys.push([15,17,,18]),[4,this.options.cache.match(na)];case 16:return Hr=Ui.sent(),this.ctx.drawImage(Hr,Se.bounds.left-(Hr.width+10),Se.bounds.top),[3,18];case 17:return Na=Ui.sent(),la.getInstance(this.options.id).error("Error loading list-style-image "+na),[3,18];case 18:return[3,20];case 19:G.listValue&&Se.styles.listStyleType!==Rn.NONE&&(this.ctx.font=this.createFontStyle(gt)[0],this.ctx.fillStyle=Tn(gt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",zn=new b(Se.bounds.left,Se.bounds.top+Mr(Se.styles.paddingTop,Se.bounds.width),Se.bounds.width,as(gt.lineHeight,gt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Jo(G.listValue,zn),gt.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ui.label=20;case 20:return[2]}})})},Ne.prototype.renderStackContent=function(G){return p(this,void 0,void 0,function(){var Se,Re,gt,er,vr,gt,Dr,Hr,gt,zr,un,gt,sn,Fn,gt,si,zn,gt,fi,da,gt;return A(this,function(Oi){switch(Oi.label){case 0:return[4,this.renderNodeBackgroundAndBorders(G.element)];case 1:Oi.sent(),Se=0,Re=G.negativeZIndex,Oi.label=2;case 2:return Se<Re.length?(gt=Re[Se],[4,this.renderStack(gt)]):[3,5];case 3:Oi.sent(),Oi.label=4;case 4:return Se++,[3,2];case 5:return[4,this.renderNodeContent(G.element)];case 6:Oi.sent(),er=0,vr=G.nonInlineLevel,Oi.label=7;case 7:return er<vr.length?(gt=vr[er],[4,this.renderNode(gt)]):[3,10];case 8:Oi.sent(),Oi.label=9;case 9:return er++,[3,7];case 10:Dr=0,Hr=G.nonPositionedFloats,Oi.label=11;case 11:return Dr<Hr.length?(gt=Hr[Dr],[4,this.renderStack(gt)]):[3,14];case 12:Oi.sent(),Oi.label=13;case 13:return Dr++,[3,11];case 14:zr=0,un=G.nonPositionedInlineLevel,Oi.label=15;case 15:return zr<un.length?(gt=un[zr],[4,this.renderStack(gt)]):[3,18];case 16:Oi.sent(),Oi.label=17;case 17:return zr++,[3,15];case 18:sn=0,Fn=G.inlineLevel,Oi.label=19;case 19:return sn<Fn.length?(gt=Fn[sn],[4,this.renderNode(gt)]):[3,22];case 20:Oi.sent(),Oi.label=21;case 21:return sn++,[3,19];case 22:si=0,zn=G.zeroOrAutoZIndexOrTransformedOrOpacity,Oi.label=23;case 23:return si<zn.length?(gt=zn[si],[4,this.renderStack(gt)]):[3,26];case 24:Oi.sent(),Oi.label=25;case 25:return si++,[3,23];case 26:fi=0,da=G.positiveZIndex,Oi.label=27;case 27:return fi<da.length?(gt=da[fi],[4,this.renderStack(gt)]):[3,30];case 28:Oi.sent(),Oi.label=29;case 29:return fi++,[3,27];case 30:return[2]}})})},Ne.prototype.mask=function(G){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(G.slice(0).reverse()),this.ctx.closePath()},Ne.prototype.path=function(G){this.ctx.beginPath(),this.formatPath(G),this.ctx.closePath()},Ne.prototype.formatPath=function(G){var Se=this;G.forEach(function(Re,gt){var er=Qt(Re)?Re.start:Re;gt===0?Se.ctx.moveTo(er.x,er.y):Se.ctx.lineTo(er.x,er.y),Qt(Re)&&Se.ctx.bezierCurveTo(Re.startControl.x,Re.startControl.y,Re.endControl.x,Re.endControl.y,Re.end.x,Re.end.y)})},Ne.prototype.renderRepeat=function(G,Se,Re,gt){this.path(G),this.ctx.fillStyle=Se,this.ctx.translate(Re,gt),this.ctx.fill(),this.ctx.translate(-Re,-gt)},Ne.prototype.resizeImage=function(G,Se,Re){if(G.width===Se&&G.height===Re)return G;var gt=this.canvas.ownerDocument.createElement("canvas");gt.width=Se,gt.height=Re;var er=gt.getContext("2d");return er.drawImage(G,0,0,G.width,G.height,0,0,Se,Re),gt},Ne.prototype.renderBackgroundImage=function(G){return p(this,void 0,void 0,function(){var Se,Re,gt,er,vr,Dr;return A(this,function(Hr){switch(Hr.label){case 0:Se=G.styles.backgroundImage.length-1,Re=function(un){var sn,Fn,si,zn,fi,da,Oi,na,Na,Ui,No,fi,da,Oi,na,Na,no,Wo,Uo,Pa,Ko,fs,vs,Es,gu,Ui,eu,fi,fu,pu,na,Na,mu,da,Oi,vu,_l,Au,yu,bu,du,wu,Su;return A(this,function(tu){switch(tu.label){case 0:if(!(un.type===Ca.URL))return[3,5];sn=void 0,Fn=un.url,tu.label=1;case 1:return tu.trys.push([1,3,,4]),[4,gt.options.cache.match(Fn)];case 2:return sn=tu.sent(),[3,4];case 3:return si=tu.sent(),la.getInstance(gt.options.id).error("Error loading background-image "+Fn),[3,4];case 4:return sn&&(zn=m(G,Se,[sn.width,sn.height,sn.width/sn.height]),fi=zn[0],da=zn[1],Oi=zn[2],na=zn[3],Na=zn[4],Ui=gt.ctx.createPattern(gt.resizeImage(sn,na,Na),"repeat"),gt.renderRepeat(fi,Ui,da,Oi)),[3,6];case 5:to(un)?(No=m(G,Se,[null,null,null]),fi=No[0],da=No[1],Oi=No[2],na=No[3],Na=No[4],no=Ji(un.angle,na,Na),Wo=no[0],Uo=no[1],Pa=no[2],Ko=no[3],fs=no[4],vs=document.createElement("canvas"),vs.width=na,vs.height=Na,Es=vs.getContext("2d"),gu=Es.createLinearGradient(Uo,Ko,Pa,fs),mi(un.stops,Wo).forEach(function(hu){return gu.addColorStop(hu.stop,Tn(hu.color))}),Es.fillStyle=gu,Es.fillRect(0,0,na,Na),na>0&&Na>0&&(Ui=gt.ctx.createPattern(vs,"repeat"),gt.renderRepeat(fi,Ui,da,Oi))):Lo(un)&&(eu=m(G,Se,[null,null,null]),fi=eu[0],fu=eu[1],pu=eu[2],na=eu[3],Na=eu[4],mu=un.position.length===0?[ar]:un.position,da=Mr(mu[0],na),Oi=Mr(mu[mu.length-1],Na),vu=Aa(un,da,Oi,na,Na),_l=vu[0],Au=vu[1],_l>0&&_l>0&&(yu=gt.ctx.createRadialGradient(fu+da,pu+Oi,0,fu+da,pu+Oi,_l),mi(un.stops,_l*2).forEach(function(hu){return yu.addColorStop(hu.stop,Tn(hu.color))}),gt.path(fi),gt.ctx.fillStyle=yu,_l!==Au?(bu=G.bounds.left+.5*G.bounds.width,du=G.bounds.top+.5*G.bounds.height,wu=Au/_l,Su=1/wu,gt.ctx.save(),gt.ctx.translate(bu,du),gt.ctx.transform(1,0,0,wu,0,0),gt.ctx.translate(-bu,-du),gt.ctx.fillRect(fu,Su*(pu-du)+du,na,Na*Su),gt.ctx.restore()):gt.ctx.fill())),tu.label=6;case 6:return Se--,[2]}})},gt=this,er=0,vr=G.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return er<vr.length?(Dr=vr[er],[5,Re(Dr)]):[3,4];case 2:Hr.sent(),Hr.label=3;case 3:return er++,[3,1];case 4:return[2]}})})},Ne.prototype.renderBorder=function(G,Se,Re){return p(this,void 0,void 0,function(){return A(this,function(gt){return this.path(Va(Re,Se)),this.ctx.fillStyle=Tn(G),this.ctx.fill(),[2]})})},Ne.prototype.renderNodeBackgroundAndBorders=function(G){return p(this,void 0,void 0,function(){var Se,Re,gt,er,vr,Dr,Hr,zr,un=this;return A(this,function(sn){switch(sn.label){case 0:return this.applyEffects(G.effects,2),Se=G.container.styles,Re=!En(Se.backgroundColor)||Se.backgroundImage.length,gt=[{style:Se.borderTopStyle,color:Se.borderTopColor},{style:Se.borderRightStyle,color:Se.borderRightColor},{style:Se.borderBottomStyle,color:Se.borderBottomColor},{style:Se.borderLeftStyle,color:Se.borderLeftColor}],er=tn(q(Se.backgroundClip,0),G.curves),Re||Se.boxShadow.length?(this.ctx.save(),this.path(er),this.ctx.clip(),En(Se.backgroundColor)||(this.ctx.fillStyle=Tn(Se.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(G.container)]):[3,2];case 1:sn.sent(),this.ctx.restore(),Se.boxShadow.slice(0).reverse().forEach(function(Fn){un.ctx.save();var si=Vr(G.curves),zn=Fn.inset?0:Kt,fi=ne(si,-zn+(Fn.inset?1:-1)*Fn.spread.number,(Fn.inset?1:-1)*Fn.spread.number,Fn.spread.number*(Fn.inset?-2:2),Fn.spread.number*(Fn.inset?-2:2));Fn.inset?(un.path(si),un.ctx.clip(),un.mask(fi)):(un.mask(si),un.ctx.clip(),un.path(fi)),un.ctx.shadowOffsetX=Fn.offsetX.number+zn,un.ctx.shadowOffsetY=Fn.offsetY.number,un.ctx.shadowColor=Tn(Fn.color),un.ctx.shadowBlur=Fn.blur.number,un.ctx.fillStyle=Fn.inset?Tn(Fn.color):"rgba(0,0,0,1)",un.ctx.fill(),un.ctx.restore()}),sn.label=2;case 2:vr=0,Dr=0,Hr=gt,sn.label=3;case 3:return Dr<Hr.length?(zr=Hr[Dr],zr.style!==bo.NONE&&!En(zr.color)?[4,this.renderBorder(zr.color,vr,G.curves)]:[3,5]):[3,7];case 4:sn.sent(),sn.label=5;case 5:vr++,sn.label=6;case 6:return Dr++,[3,3];case 7:return[2]}})})},Ne.prototype.render=function(G){return p(this,void 0,void 0,function(){var Se;return A(this,function(Re){switch(Re.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Tn(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),Se=Si(G),[4,this.renderStack(Se)];case 1:return Re.sent(),this.applyEffects([],2),[2,this.canvas]}})})},Ne}(),kr=function(G){return G instanceof zl||G instanceof yl?!0:G instanceof Ml&&G.type!==el&&G.type!==es},tn=function(G,Se){switch(G){case Mi.BORDER_BOX:return Vr(Se);case Mi.CONTENT_BOX:return Yr(Se);case Mi.PADDING_BOX:default:return _r(Se)}},nn=function(G){switch(G){case Cn.CENTER:return"center";case Cn.RIGHT:return"right";case Cn.LEFT:default:return"left"}},xn=function(){function Ne(G){this.canvas=G.canvas?G.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=G,this.canvas.width=Math.floor(G.width*G.scale),this.canvas.height=Math.floor(G.height*G.scale),this.canvas.style.width=G.width+"px",this.canvas.style.height=G.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-G.x+G.scrollX,-G.y+G.scrollY),la.getInstance(G.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+G.width+"x"+G.height+" at "+G.x+","+G.y+") with scale "+G.scale)}return Ne.prototype.render=function(G){return p(this,void 0,void 0,function(){var Se,Re;return A(this,function(gt){switch(gt.label){case 0:return Se=bi(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,G),[4,_n(Se)];case 1:return Re=gt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Tn(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Re,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},Ne}(),_n=function(G){return new Promise(function(Se,Re){var gt=new Image;gt.onload=function(){Se(gt)},gt.onerror=Re,gt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(G))})},Zn=void 0,$n=function(G){return Mn.parse(hn.create(G).parseComponentValue())},oi=function(G,Se){return Se===void 0&&(Se={}),li(G,Se)};typeof window!="undefined"&&gi.setContext(window);var li=function(G,Se){return p(Zn,void 0,void 0,function(){var Re,gt,er,vr,Dr,Hr,zr,un,sn,Fn,si,zn,fi,da,Oi,na,Na,Ui,No,no,Wo,Uo,Pa,Ko,fs,Ko;return A(this,function(vs){switch(vs.label){case 0:if(Re=G.ownerDocument,!Re)throw new Error("Element is not attached to a Document");if(gt=Re.defaultView,!gt)throw new Error("Document is not attached to a Window");return er=(Math.round(Math.random()*1e3)+Date.now()).toString(16),vr=dl(G)||Sl(G)?i(Re):h(G),Dr=vr.width,Hr=vr.height,zr=vr.left,un=vr.top,sn={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},Fn=g({},sn,Se),si={backgroundColor:"#ffffff",cache:Se.cache?Se.cache:gi.create(er,Fn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:gt.devicePixelRatio||1,windowWidth:gt.innerWidth,windowHeight:gt.innerHeight,scrollX:gt.pageXOffset,scrollY:gt.pageYOffset,x:zr,y:un,width:Math.ceil(Dr),height:Math.ceil(Hr),id:er},zn=g({},si,Fn,Se),fi=new b(zn.scrollX,zn.scrollY,zn.windowWidth,zn.windowHeight),la.create({id:er,enabled:zn.logging}),la.getInstance(er).debug("Starting document clone"),da=new Ul(G,{id:er,onclone:zn.onclone,ignoreElements:zn.ignoreElements,inlineImages:zn.foreignObjectRendering,copyStyles:zn.foreignObjectRendering}),Oi=da.clonedReferenceElement,Oi?[4,da.toIFrame(Re,fi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return na=vs.sent(),Na=Re.documentElement?$n(getComputedStyle(Re.documentElement).backgroundColor):Li.TRANSPARENT,Ui=Re.body?$n(getComputedStyle(Re.body).backgroundColor):Li.TRANSPARENT,No=Se.backgroundColor,no=typeof No=="string"?$n(No):No===null?Li.TRANSPARENT:4294967295,Wo=G===Re.documentElement?En(Na)?En(Ui)?no:Ui:Na:no,Uo={id:er,cache:zn.cache,canvas:zn.canvas,backgroundColor:Wo,scale:zn.scale,x:zn.x,y:zn.y,scrollX:zn.scrollX,scrollY:zn.scrollY,width:zn.width,height:zn.height,windowWidth:zn.windowWidth,windowHeight:zn.windowHeight},zn.foreignObjectRendering?(la.getInstance(er).debug("Document cloned, using foreign object rendering"),Ko=new xn(Uo),[4,Ko.render(Oi)]):[3,3];case 2:return Pa=vs.sent(),[3,5];case 3:return la.getInstance(er).debug("Document cloned, using computed rendering"),gi.attachInstance(zn.cache),la.getInstance(er).debug("Starting DOM parsing"),fs=tl(Oi),gi.detachInstance(),Wo===fs.styles.backgroundColor&&(fs.styles.backgroundColor=Li.TRANSPARENT),la.getInstance(er).debug("Starting renderer"),Ko=new Or(Uo),[4,Ko.render(fs)];case 4:Pa=vs.sent(),vs.label=5;case 5:return zn.removeContainer===!0&&(Ul.destroy(na)||la.getInstance(er).error("Cannot detach cloned iframe as it is not in the DOM anymore")),la.getInstance(er).debug("Finished rendering"),la.destroy(er),gi.destroy(er),[2,Pa]}})})};return oi})},wPlo:function(J,F,e){"use strict";e.d(F,"a",function(){return d});var d="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("ygfH")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CheckOutlined";var h=g.forwardRef(b);F.default=h},wYyv:function(J,F,e){"use strict";var d=e("R5yR"),E=e("5wUe"),g=function(b,h,i){var r=h<0?b.length+h:h;if(r>=0&&r<b.length){var a=i<0?b.length+i:i,s=b.splice(h,1),l=E(s,1),n=l[0];b.splice(a,0,n)}},p=function(b,h,i){return b=d(b),g(b,h,i),b};J.exports=p,J.exports.mutate=g},wgJM:function(J,F,e){"use strict";e.d(F,"a",function(){return g});var d=function(A){return+setTimeout(A,16)},E=function(A){return clearTimeout(A)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(d=function(A){return window.requestAnimationFrame(A)},E=function(A){return window.cancelAnimationFrame(A)});function g(p){return d(p)}g.cancel=E},wgjA:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},wlus:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="MinusCircleOutlined";var b=F.a=d.forwardRef(A)},wr5s:function(J,F,e){var d=e("IwbS"),E=d.extendShape,g=E({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(p,A){var b=A.cx,h=A.cy,i=Math.max(A.r0||0,0),r=Math.max(A.r,0),a=(r-i)*.5,s=i+a,l=A.startAngle,n=A.endAngle,u=A.clockwise,t=Math.cos(l),c=Math.sin(l),o=Math.cos(n),f=Math.sin(n),v=u?n-l<Math.PI*2:l-n<Math.PI*2;v&&(p.moveTo(t*i+b,c*i+h),p.arc(t*s+b,c*s+h,a,-Math.PI+l,l,!u)),p.arc(b,h,r,l,n,!u),p.moveTo(o*r+b,f*r+h),p.arc(o*s+b,f*s+h,a,n-Math.PI*2,n-Math.PI,!u),i!==0&&(p.arc(b,h,i,n,l,u),p.moveTo(t*i+b,f*i+h)),p.closePath()}});J.exports=g},wt3j:function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("/IIm"),p=e("EMyp"),A=p.layoutCovers,b=d.extendComponentView({type:"brush",init:function(i,r){this.ecModel=i,this.api=r,this.model,(this._brushController=new g(r.getZr())).on("brush",E.bind(this._onBrush,this)).mount()},render:function(i){return this.model=i,h.apply(this,arguments)},updateTransform:function(i,r){return A(r),h.apply(this,arguments)},updateView:h,dispose:function(){this._brushController.dispose()},_onBrush:function(i,r){var a=this.model.id;this.model.brushTargetManager.setOutputRanges(i,this.ecModel),(!r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:E.clone(i),$from:a}),r.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:E.clone(i),$from:a})}});function h(i,r,a,s){(!s||s.$from!==i.id)&&this._brushController.setPanels(i.brushTargetManager.makePanelOpts(a)).enableBrush(i.brushOption).updateCovers(i.areas.slice())}J.exports=b},wy8a:function(J,F,e){var d=e("KxBF");function E(g,p,A){var b=g.length;return A=A===void 0?b:A,!p&&A>=b?g:d(g,p,A)}J.exports=E},x3X8:function(J,F,e){var d=e("KxfA"),E=d.retrieveRawValue;function g(p,A){var b=p.mapDimension("defaultedLabel",!0),h=b.length;if(h===1)return E(p,A,b[0]);if(h){for(var i=[],r=0;r<b.length;r++){var a=E(p,A,b[r]);i.push(a)}return i.join(" ")}}F.getDefaultLabel=g},x54q:function(J,F,e){},x6Kt:function(J,F,e){var d=e("y+Vt"),E=e("VpOo"),g=e("nPnh"),p=g.subPixelOptimizeRect,A={},b=d.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(i,r){var a,s,l,n;this.subPixelOptimize?(p(A,r,this.style),a=A.x,s=A.y,l=A.width,n=A.height,A.r=r.r,r=A):(a=r.x,s=r.y,l=r.width,n=r.height),r.r?E.buildPath(i,r):i.rect(a,s,l,n),i.closePath();return}});J.exports=b},xGfz:function(J,F,e){"use strict";var d=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},g=E,p=e("6VBw"),A=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="PlusSquareOutlined";var b=F.a=d.forwardRef(A)},xKMd:function(J,F){function e(E,g){this.getAllNames=function(){var p=g();return p.mapArray(p.getName)},this.containName=function(p){var A=g();return A.indexOfName(p)>=0},this.indexOfName=function(p){var A=E();return A.indexOfName(p)},this.getItemVisual=function(p,A){var b=E();return b.getItemVisual(p,A)}}var d=e;J.exports=d},xRUu:function(J,F,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSat:function(J,F){var e={axisPointer:1,tooltip:1,brush:1};function d(E,g,p){var A=g.getComponentByElement(E.topTarget),b=A&&A.coordinateSystem;return A&&A!==p&&!e[A.mainType]&&b&&b.model!==p}F.onIrrelevantElement=d},xTNl:function(J,F){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],d={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};J.exports=d},xYSL:function(J,F){function e(d,E){return d.has(E)}J.exports=e},xb2K:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("5yev")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="RedoOutlined";var h=g.forwardRef(b);F.default=h},xiyX:function(J,F,e){var d=e("bYtY"),E=e("bLfw"),g=e("nkfE"),p=e("ICMv"),A=E.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),b={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 h(r,a){return a.type||(a.data?"category":"value")}d.merge(A.prototype,p),g("single",A,h,b);var i=A;J.exports=i},xzDV:function(J,F,e){},"y+Vt":function(J,F,e){var d=e("Gev7"),E=e("bYtY"),g=e("IMiH"),p=e("2DNl"),A=e("3C/r"),b=A.prototype.getCanvasPattern,h=Math.abs,i=new g(!0);function r(s){d.call(this,s),this.path=null}r.prototype={constructor:r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(l,n){var u=this.style,t=this.path||i,c=u.hasStroke(),o=u.hasFill(),f=u.fill,v=u.stroke,y=o&&!!f.colorStops,L=c&&!!v.colorStops,S=o&&!!f.image,x=c&&!!v.image;if(u.bind(l,this,n),this.setTransform(l),this.__dirty){var O;y&&(O=O||this.getBoundingRect(),this._fillGradient=u.getGradient(l,f,O)),L&&(O=O||this.getBoundingRect(),this._strokeGradient=u.getGradient(l,v,O))}y?l.fillStyle=this._fillGradient:S&&(l.fillStyle=b.call(f,l)),L?l.strokeStyle=this._strokeGradient:x&&(l.strokeStyle=b.call(v,l));var T=u.lineDash,w=u.lineDashOffset,C=!!l.setLineDash,N=this.getGlobalScale();if(t.setScale(N[0],N[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!C&&c?(t.beginPath(l),T&&!C&&(t.setLineDash(T),t.setLineDashOffset(w)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(l.beginPath(),this.path.rebuildPath(l)),o)if(u.fillOpacity!=null){var D=l.globalAlpha;l.globalAlpha=u.fillOpacity*u.opacity,t.fill(l),l.globalAlpha=D}else t.fill(l);if(T&&C&&(l.setLineDash(T),l.lineDashOffset=w),c)if(u.strokeOpacity!=null){var D=l.globalAlpha;l.globalAlpha=u.strokeOpacity*u.opacity,t.stroke(l),l.globalAlpha=D}else t.stroke(l);T&&C&&l.setLineDash([]),u.text!=null&&(this.restoreTransform(l),this.drawRectText(l,this.getBoundingRect()))},buildPath:function(l,n,u){},createPathProxy:function(){this.path=new g},getBoundingRect:function(){var l=this._rect,n=this.style,u=!l;if(u){var t=this.path;t||(t=this.path=new g),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),l=t.getBoundingRect()}if(this._rect=l,n.hasStroke()){var c=this._rectWithStroke||(this._rectWithStroke=l.clone());if(this.__dirty||u){c.copy(l);var o=n.lineWidth,f=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),f>1e-10&&(c.width+=o/f,c.height+=o/f,c.x-=o/f/2,c.y-=o/f/2)}return c}return l},contain:function(l,n){var u=this.transformCoordToLocal(l,n),t=this.getBoundingRect(),c=this.style;if(l=u[0],n=u[1],t.contain(l,n)){var o=this.path.data;if(c.hasStroke()){var f=c.lineWidth,v=c.strokeNoScale?this.getLineScale():1;if(v>1e-10&&(c.hasFill()||(f=Math.max(f,this.strokeContainThreshold)),p.containStroke(o,f/v,l,n)))return!0}if(c.hasFill())return p.contain(o,l,n)}return!1},dirty:function(l){l==null&&(l=!0),l&&(this.__dirtyPath=l,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(l){return this.animate("shape",l)},attrKV:function(l,n){l==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):d.prototype.attrKV.call(this,l,n)},setShape:function(l,n){var u=this.shape;if(u){if(E.isObject(l))for(var t in l)l.hasOwnProperty(t)&&(u[t]=l[t]);else u[l]=n;this.dirty(!0)}return this},getLineScale:function(){var l=this.transform;return l&&h(l[0]-1)>1e-10&&h(l[3]-1)>1e-10?Math.sqrt(h(l[0]*l[3]-l[2]*l[1])):1}},r.extend=function(s){var l=function(t){r.call(this,t),s.style&&this.style.extendFrom(s.style,!1);var c=s.shape;if(c){this.shape=this.shape||{};var o=this.shape;for(var f in c)!o.hasOwnProperty(f)&&c.hasOwnProperty(f)&&(o[f]=c[f])}s.init&&s.init.call(this,t)};E.inherits(l,r);for(var n in s)n!=="style"&&n!=="shape"&&(l.prototype[n]=s[n]);return l},E.inherits(r,d);var a=r;J.exports=a},"y+lR":function(J,F,e){var d=e("bYtY"),E=e("mFDi"),g=e("z35g");function p(b){g.call(this,b)}p.prototype={constructor:p,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(b){var h=this.getAxis("x"),i=this.getAxis("y");return h.contain(h.toLocalCoord(b[0]))&&i.contain(i.toLocalCoord(b[1]))},containData:function(b){return this.getAxis("x").containData(b[0])&&this.getAxis("y").containData(b[1])},dataToPoint:function(b,h,i){var r=this.getAxis("x"),a=this.getAxis("y");return i=i||[],i[0]=r.toGlobalCoord(r.dataToCoord(b[0])),i[1]=a.toGlobalCoord(a.dataToCoord(b[1])),i},clampData:function(b,h){var i=this.getAxis("x").scale,r=this.getAxis("y").scale,a=i.getExtent(),s=r.getExtent(),l=i.parse(b[0]),n=r.parse(b[1]);return h=h||[],h[0]=Math.min(Math.max(Math.min(a[0],a[1]),l),Math.max(a[0],a[1])),h[1]=Math.min(Math.max(Math.min(s[0],s[1]),n),Math.max(s[0],s[1])),h},pointToData:function(b,h){var i=this.getAxis("x"),r=this.getAxis("y");return h=h||[],h[0]=i.coordToData(i.toLocalCoord(b[0])),h[1]=r.coordToData(r.toLocalCoord(b[1])),h},getOtherAxis:function(b){return this.getAxis(b.dim==="x"?"y":"x")},getArea:function(){var b=this.getAxis("x").getGlobalExtent(),h=this.getAxis("y").getGlobalExtent(),i=Math.min(b[0],b[1]),r=Math.min(h[0],h[1]),a=Math.max(b[0],b[1])-i,s=Math.max(h[0],h[1])-r,l=new E(i,r,a,s);return l}},d.inherits(p,g);var A=p;J.exports=A},"y0+3":function(J,F,e){"use strict";e.d(F,"a",function(){return s}),e.d(F,"b",function(){return n});var d=/margin|padding|width|height|max|min|offset/,E={left:!0,top:!0},g={cssFloat:1,styleFloat:1,float:1};function p(u){return u.nodeType===1?u.ownerDocument.defaultView.getComputedStyle(u,null):{}}function A(u,t,c){if(t=t.toLowerCase(),c==="auto"){if(t==="height")return u.offsetHeight;if(t==="width")return u.offsetWidth}return t in E||(E[t]=d.test(t)),E[t]?parseFloat(c)||0:c}function b(u,t){var c=arguments.length,o=p(u);return t=g[t]?"cssFloat"in u.style?"cssFloat":"styleFloat":t,c===1?o:A(u,t,o[t]||u.style[t])}function h(u,t,c){var o=arguments.length;if(t=g[t]?"cssFloat"in u.style?"cssFloat":"styleFloat":t,o===3)return typeof c=="number"&&d.test(t)&&(c="".concat(c,"px")),u.style[t]=c,c;for(var f in t)t.hasOwnProperty(f)&&h(u,f,t[f]);return p(u)}function i(u){return u===document.body?document.documentElement.clientWidth:u.offsetWidth}function r(u){return u===document.body?window.innerHeight||document.documentElement.clientHeight:u.offsetHeight}function a(){var u=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:u,height:t}}function s(){var u=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:u,height:t}}function l(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(u){var t=u.getBoundingClientRect(),c=document.documentElement;return{left:t.left+(window.pageXOffset||c.scrollLeft)-(c.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||c.scrollTop)-(c.clientTop||document.body.clientTop||0)}}},y1pI:function(J,F,e){var d=e("ljhN");function E(g,p){for(var A=g.length;A--;)if(d(g[A][0],p))return A;return-1}J.exports=E},y23F:function(J,F){function e(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}e.prototype={constructor:e,_dragStart:function(p){for(var A=p.target;A&&!A.draggable;)A=A.parent;A&&(this._draggingTarget=A,A.dragging=!0,this._x=p.offsetX,this._y=p.offsetY,this.dispatchToElement(d(A,p),"dragstart",p.event))},_drag:function(p){var A=this._draggingTarget;if(A){var b=p.offsetX,h=p.offsetY,i=b-this._x,r=h-this._y;this._x=b,this._y=h,A.drift(i,r,p),this.dispatchToElement(d(A,p),"drag",p.event);var a=this.findHover(b,h,A).target,s=this._dropTarget;this._dropTarget=a,A!==a&&(s&&a!==s&&this.dispatchToElement(d(s,p),"dragleave",p.event),a&&a!==s&&this.dispatchToElement(d(a,p),"dragenter",p.event))}},_dragEnd:function(p){var A=this._draggingTarget;A&&(A.dragging=!1),this.dispatchToElement(d(A,p),"dragend",p.event),this._dropTarget&&this.dispatchToElement(d(this._dropTarget,p),"drop",p.event),this._draggingTarget=null,this._dropTarget=null}};function d(g,p){return{target:g,topTarget:p&&p.topTarget}}var E=e;J.exports=E},y2l5:function(J,F,e){var d=e("MwEJ"),E=e("T4UG"),g=E.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(p,A){return d(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var p=this.option.progressive;return p==null?this.option.large?5e3:this.get("progressive"):p},getProgressiveThreshold:function(){var p=this.option.progressiveThreshold;return p==null?this.option.large?1e4:this.get("progressiveThreshold"):p},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});J.exports=g},y3NT:function(J,F,e){var d=e("OELB"),E=d.parsePercent,g=e("bYtY"),p=Math.PI/180;function A(i,r,a,s){r.eachSeriesByType(i,function(l){var n=l.get("center"),u=l.get("radius");g.isArray(u)||(u=[0,u]),g.isArray(n)||(n=[n,n]);var t=a.getWidth(),c=a.getHeight(),o=Math.min(t,c),f=E(n[0],t),v=E(n[1],c),y=E(u[0],o/2),L=E(u[1],o/2),S=-l.get("startAngle")*p,x=l.get("minAngle")*p,O=l.getData().tree.root,T=l.getViewRoot(),w=T.depth,C=l.get("sort");C!=null&&b(T,C);var N=0;g.each(T.children,function(_){!isNaN(_.getValue())&&N++});var D=T.getValue(),B=Math.PI/(D||N)*2,R=T.depth>0,U=T.height-(R?-1:1),M=(L-y)/(U||1),j=l.get("clockwise"),P=l.get("stillShowZeroSum"),K=j?1:-1,H=function(_,Q){if(!_)return;var X=Q;if(_!==O){var he=_.getValue(),te=D===0&&P?B:he*B;te<x&&(te=x),X=Q+K*te;var fe=_.depth-w-(R?-1:1),be=y+M*fe,we=y+M*(fe+1),Ke=_.getModel();Ke.get("r0")!=null&&(be=E(Ke.get("r0"),o/2)),Ke.get("r")!=null&&(we=E(Ke.get("r"),o/2)),_.setLayout({angle:te,startAngle:Q,endAngle:X,clockwise:j,cx:f,cy:v,r0:be,r:we})}if(_.children&&_.children.length){var qe=0;g.each(_.children,function(xt){qe+=H(xt,Q+qe)})}return X-Q};if(R){var k=y,Z=y+M,Y=Math.PI*2;O.setLayout({angle:Y,startAngle:S,endAngle:S+Y,clockwise:j,cx:f,cy:v,r0:k,r:Z})}H(T,S)})}function b(i,r){var a=i.children||[];i.children=h(a,r),a.length&&g.each(i.children,function(s){b(s,r)})}function h(i,r){if(typeof r=="function")return i.sort(r);var a=r==="asc";return i.sort(function(s,l){var n=(s.getValue()-l.getValue())*(a?1:-1);return n===0?(s.dataIndex-l.dataIndex)*(a?-1:1):n})}J.exports=A},y3Yb:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("HBhm")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="PaperClipOutlined";var h=g.forwardRef(b);F.default=h},"y4/Y":function(J,F,e){var d=e("ProS"),E=e("bYtY"),g=e("zTMp"),p=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),d.registerPreprocessor(function(A){if(A){(!A.axisPointer||A.axisPointer.length===0)&&(A.axisPointer={});var b=A.axisPointer.link;b&&!E.isArray(b)&&(A.axisPointer.link=[b])}}),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,function(A,b){A.getComponent("axisPointer").coordSysAxesInfo=g.collect(A,b)}),d.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},p)},y7Aq:function(J,F,e){var d=e("bYtY"),E=e("+TT/"),g=E.getLayoutRect;function p(b,h,i){var r=b.option,a=r.align;if(a!=null&&a!=="auto")return a;for(var s={width:h.getWidth(),height:h.getHeight()},l=r.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],u=n[l],t=[0,null,10],c={},o=0;o<3;o++)c[n[1-l][o]]=t[o],c[u[o]]=o===2?i[0]:r[u[o]];var f=[["x","width",3],["y","height",0]][l],v=g(c,s,r.padding);return u[(v.margin[f[2]]||0)+v[f[0]]+v[f[1]]*.5<s[f[1]]*.5?0:1]}function A(b,h){return d.each(b||[],function(i){i.dataIndex!=null&&(i.dataIndexInside=i.dataIndex,i.dataIndex=null),i.highlightKey="visualMap"+(h?h.componentIndex:"")}),b}F.getItemAlign=p,F.makeHighDownBatch=A},y8nQ:function(J,F,e){"use strict";var d=e("cIOH"),E=e.n(d),g=e("gwTy"),p=e.n(g),A=e("1GLa")},yGk4:function(J,F,e){var d=e("Cwc5"),E=e("Kz5y"),g=d(E,"Set");J.exports=g},yO87:function(J,F,e){var d=e("bYtY"),E=e("oVpE"),g=E.createSymbol,p=e("IwbS"),A=p.Group,b=e("OELB"),h=b.parsePercent,i=e("FBjb"),r=3;function a(t){return d.isArray(t)||(t=[+t,+t]),t}function s(t,c){var o=c.rippleEffectColor||c.color;t.eachChild(function(f){f.attr({z:c.z,zlevel:c.zlevel,style:{stroke:c.brushType==="stroke"?o:null,fill:c.brushType==="fill"?o:null}})})}function l(t,c){A.call(this);var o=new i(t,c),f=new A;this.add(o),this.add(f),f.beforeUpdate=function(){this.attr(o.getScale())},this.updateData(t,c)}var n=l.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var c=t.symbolType,o=t.color,f=this.childAt(1),v=0;v<r;v++){var y=g(c,-1,-1,2,2,o);y.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var L=-v/r*t.period+t.effectOffset;y.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(L).start(),y.animateStyle(!0).when(t.period,{opacity:0}).delay(L).start(),f.add(y)}s(f,t)},n.updateEffectAnimation=function(t){for(var c=this._effectCfg,o=this.childAt(1),f=["symbolType","period","rippleScale"],v=0;v<f.length;v++){var y=f[v];if(c[y]!==t[y]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}s(o,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,c){var o=t.hostModel;this.childAt(0).updateData(t,c);var f=this.childAt(1),v=t.getItemModel(c),y=t.getItemVisual(c,"symbol"),L=a(t.getItemVisual(c,"symbolSize")),S=t.getItemVisual(c,"color");f.attr("scale",L),f.traverse(function(B){B.attr({fill:S})});var x=v.getShallow("symbolOffset");if(x){var O=f.position;O[0]=h(x[0],L[0]),O[1]=h(x[1],L[1])}var T=t.getItemVisual(c,"symbolRotate");f.rotation=(T||0)*Math.PI/180||0;var w={};if(w.showEffectOn=o.get("showEffectOn"),w.rippleScale=v.get("rippleEffect.scale"),w.brushType=v.get("rippleEffect.brushType"),w.period=v.get("rippleEffect.period")*1e3,w.effectOffset=c/t.count(),w.z=v.getShallow("z")||0,w.zlevel=v.getShallow("zlevel")||0,w.symbolType=y,w.color=S,w.rippleEffectColor=v.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),w.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(w):this.startEffectAnimation(w),this._effectCfg=w;else{this._effectCfg=null,this.stopEffectAnimation();var C=this.childAt(0),N=function(){C.highlight(),w.showEffectOn!=="render"&&this.startEffectAnimation(w)},D=function(){C.downplay(),w.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",N,this).on("mouseout",D,this).on("emphasis",N,this).on("normal",D,this)}this._effectCfg=w},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},d.inherits(l,A);var u=l;J.exports=u},yS9w:function(J,F,e){var d=e("MEGo"),E=d.parseSVG,g=d.makeViewBoxTransform,p=e("4fz+"),A=e("x6Kt"),b=e("bYtY"),h=b.assert,i=b.createHashMap,r=e("mFDi"),a=e("4NO4"),s=a.makeInner,l=s(),n={load:function(t,c){var o=l(c).originRoot;if(o)return{root:o,boundingRect:l(c).boundingRect};var f=u(c);return l(c).originRoot=f.root,l(c).boundingRect=f.boundingRect,f},makeGraphic:function(t,c,o){var f=l(c),v=f.rootMap||(f.rootMap=i()),y=v.get(o);if(y)return y;var L=f.originRoot,S=f.boundingRect;return f.originRootHostKey?y=u(c,S).root:(f.originRootHostKey=o,y=L),v.set(o,y)},removeGraphic:function(t,c,o){var f=l(c),v=f.rootMap;v&&v.removeKey(o),o===f.originRootHostKey&&(f.originRootHostKey=null)}};function u(t,c){var o=t.svgXML,f,v;try{f=o&&E(o,{ignoreViewBox:!0,ignoreRootClip:!0})||{},v=f.root,h(v!=null)}catch(T){throw new Error(`Invalid svg format
|
|
|
`+T.message)}var y=f.width,L=f.height,S=f.viewBoxRect;if(c||(c=y==null||L==null?v.getBoundingRect():new r(0,0,0,0),y!=null&&(c.width=y),L!=null&&(c.height=L)),S){var x=g(S,c.width,c.height),O=v;v=new p,v.add(O),O.scale=x.scale,O.position=x.position}return v.setClipPath(new A({shape:c.plain()})),{root:v,boundingRect:c}}J.exports=n},yWXo:function(J,F,e){var d=e("IwbS"),E=e("oVpE"),g=E.createSymbol,p=e("OS9S"),A=4,b=d.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(a,s){var l=s.points,n=s.size,u=this.symbolProxy,t=u.shape,c=a.getContext?a.getContext():a,o=c&&n[0]<A;if(o)return;for(var f=0;f<l.length;){var v=l[f++],y=l[f++];if(isNaN(v)||isNaN(y))continue;if(this.softClipShape&&!this.softClipShape.contain(v,y))continue;t.x=v-n[0]/2,t.y=y-n[1]/2,t.width=n[0],t.height=n[1],u.buildPath(a,t,!0)}},afterBrush:function(a){var s=this.shape,l=s.points,n=s.size,u=n[0]<A;if(!u)return;this.setTransform(a);for(var t=0;t<l.length;){var c=l[t++],o=l[t++];if(isNaN(c)||isNaN(o))continue;if(this.softClipShape&&!this.softClipShape.contain(c,o))continue;a.fillRect(c-n[0]/2,o-n[1]/2,n[0],n[1])}this.restoreTransform(a)},findDataIndex:function(a,s){for(var l=this.shape,n=l.points,u=l.size,t=Math.max(u[0],4),c=Math.max(u[1],4),o=n.length/2-1;o>=0;o--){var f=o*2,v=n[f]-t/2,y=n[f+1]-c/2;if(a>=v&&s>=y&&a<=v+t&&s<=y+c)return o}return-1}});function h(){this.group=new d.Group}var i=h.prototype;i.isPersistent=function(){return!this._incremental},i.updateData=function(a,s){this.group.removeAll();var l=new b({rectHover:!0,cursor:"default"});l.setShape({points:a.getLayout("symbolPoints")}),this._setCommon(l,a,!1,s),this.group.add(l),this._incremental=null},i.updateLayout=function(a){if(this._incremental)return;var s=a.getLayout("symbolPoints");this.group.eachChild(function(l){if(l.startIndex!=null){var n=(l.endIndex-l.startIndex)*2,u=l.startIndex*4*2;s=new Float32Array(s.buffer,u,n)}l.setShape("points",s)})},i.incrementalPrepareUpdate=function(a){this.group.removeAll(),this._clearIncremental(),a.count()>2e6?(this._incremental||(this._incremental=new p({silent:!0})),this.group.add(this._incremental)):this._incremental=null},i.incrementalUpdate=function(a,s,l){var n;this._incremental?(n=new b,this._incremental.addDisplayable(n,!0)):(n=new b({rectHover:!0,cursor:"default",startIndex:a.start,endIndex:a.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:s.getLayout("symbolPoints")}),this._setCommon(n,s,!!this._incremental,l)},i._setCommon=function(a,s,l,n){var u=s.hostModel;n=n||{};var t=s.getVisual("symbolSize");a.setShape("size",t instanceof Array?t:[t,t]),a.softClipShape=n.clipShape||null,a.symbolProxy=g(s.getVisual("symbol"),0,0,0,0),a.setColor=a.symbolProxy.setColor;var c=a.shape.size[0]<A;a.useStyle(u.getModel("itemStyle").getItemStyle(c?["color","shadowBlur","shadowColor"]:["color"]));var o=s.getVisual("color");o&&a.setColor(o),l||(a.seriesIndex=u.seriesIndex,a.on("mousemove",function(f){a.dataIndex=null;var v=a.findDataIndex(f.offsetX,f.offsetY);v>=0&&(a.dataIndex=v+(a.startIndex||0))}))},i.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},i._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};var r=h;J.exports=r},ycre:function(J,F,e){var d=e("711d"),E=d("length");J.exports=E},ygfH:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var d={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"};F.default=d},yik8:function(J,F,e){var d=e("bZqE"),E=d.eachAfter,g=d.eachBefore,p=e("Itpr"),A=p.init,b=p.firstWalk,h=p.secondWalk,i=p.separation,r=p.radialCoordinate,a=p.getViewRect;function s(n,u){n.eachSeriesByType("tree",function(t){l(t,u)})}function l(n,u){var t=a(n,u);n.layoutInfo=t;var c=n.get("layout"),o=0,f=0,v=null;c==="radial"?(o=2*Math.PI,f=Math.min(t.height,t.width)/2,v=i(function(U,M){return(U.parentNode===M.parentNode?1:2)/U.depth})):(o=t.width,f=t.height,v=i());var y=n.getData().tree.root,L=y.children[0];if(L){A(y),E(L,b,v),y.hierNode.modifier=-L.hierNode.prelim,g(L,h);var S=L,x=L,O=L;g(L,function(U){var M=U.getLayout().x;M<S.getLayout().x&&(S=U),M>x.getLayout().x&&(x=U),U.depth>O.depth&&(O=U)});var T=S===x?1:v(S,x)/2,w=T-S.getLayout().x,C=0,N=0,D=0,B=0;if(c==="radial")C=o/(x.getLayout().x+T+w),N=f/(O.depth-1||1),g(L,function(U){D=(U.getLayout().x+w)*C,B=(U.depth-1)*N;var M=r(D,B);U.setLayout({x:M.x,y:M.y,rawX:D,rawY:B},!0)});else{var R=n.getOrient();R==="RL"||R==="LR"?(N=f/(x.getLayout().x+T+w),C=o/(O.depth-1||1),g(L,function(U){B=(U.getLayout().x+w)*N,D=R==="LR"?(U.depth-1)*C:o-(U.depth-1)*C,U.setLayout({x:D,y:B},!0)})):(R==="TB"||R==="BT")&&(C=o/(x.getLayout().x+T+w),N=f/(O.depth-1||1),g(L,function(U){D=(U.getLayout().x+w)*C,B=R==="TB"?(U.depth-1)*N:f-(U.depth-1)*N,U.setLayout({x:D,y:B},!0)}))}}}J.exports=s},ynwM:function(J,F,e){var d=e("MFOe"),E=d.Global;J.exports={name:"oldFF-globalStorage",read:p,write:A,each:b,remove:h,clearAll:i};var g=E.globalStorage;function p(r){return g[r]}function A(r,a){g[r]=a}function b(r){for(var a=g.length-1;a>=0;a--){var s=g.key(a);r(g[s],s)}}function h(r){return g.removeItem(r)}function i(){b(function(r,a){delete g[r]})}},ypgQ:function(J,F,e){var d=e("bYtY"),E=e("4NO4"),g=e("bLfw"),p=d.each,A=d.clone,b=d.map,h=d.merge,i=/^(min|max)?(.+)$/;function r(c){this._api=c,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}r.prototype={constructor:r,setOption:function(c,o){c&&d.each(E.normalizeToArray(c.series),function(y){y&&y.data&&d.isTypedArray(y.data)&&d.setAsPrimitive(y.data)}),c=A(c);var f=this._optionBackup,v=a.call(this,c,o,!f);this._newBaseOption=v.baseOption,f?(u(f.baseOption,v.baseOption),v.timelineOptions.length&&(f.timelineOptions=v.timelineOptions),v.mediaList.length&&(f.mediaList=v.mediaList),v.mediaDefault&&(f.mediaDefault=v.mediaDefault)):this._optionBackup=v},mountOption:function(c){var o=this._optionBackup;return this._timelineOptions=b(o.timelineOptions,A),this._mediaList=b(o.mediaList,A),this._mediaDefault=A(o.mediaDefault),this._currentMediaIndices=[],A(c?o.baseOption:this._newBaseOption)},getTimelineOption:function(c){var o,f=this._timelineOptions;if(f.length){var v=c.getComponent("timeline");v&&(o=A(f[v.getCurrentIndex()],!0))}return o},getMediaOption:function(c){var o=this._api.getWidth(),f=this._api.getHeight(),v=this._mediaList,y=this._mediaDefault,L=[],S=[];if(!v.length&&!y)return S;for(var x=0,O=v.length;x<O;x++)s(v[x].query,o,f)&&L.push(x);return!L.length&&y&&(L=[-1]),L.length&&!n(L,this._currentMediaIndices)&&(S=b(L,function(T){return A(T===-1?y.option:v[T].option)})),this._currentMediaIndices=L,S}};function a(c,o,f){var v=[],y=[],L,S,x=c.timeline;if(c.baseOption&&(S=c.baseOption),(x||c.options)&&(S=S||{},v=(c.options||[]).slice()),c.media){S=S||{};var O=c.media;p(O,function(T){T&&T.option&&(T.query?y.push(T):L||(L=T))})}return S||(S=c),S.timeline||(S.timeline=x),p([S].concat(v).concat(d.map(y,function(T){return T.option})),function(T){p(o,function(w){w(T,f)})}),{baseOption:S,timelineOptions:v,mediaDefault:L,mediaList:y}}function s(c,o,f){var v={width:o,height:f,aspectratio:o/f},y=!0;return d.each(c,function(L,S){var x=S.match(i);if(!x||!x[1]||!x[2])return;var O=x[1],T=x[2].toLowerCase();l(v[T],L,O)||(y=!1)}),y}function l(c,o,f){return f==="min"?c>=o:f==="max"?c<=o:c===o}function n(c,o){return c.join(",")===o.join(",")}function u(c,o){o=o||{},p(o,function(f,v){if(f==null)return;var y=c[v];if(!g.hasClass(v))c[v]=h(y,f,!0);else{f=E.normalizeToArray(f),y=E.normalizeToArray(y);var L=E.mappingToExists(y,f);c[v]=b(L,function(S){return S.option&&S.exist?h(S.exist,S.option,!0):S.exist||S.option})}})}var t=r;J.exports=t},yxFR:function(J,F,e){var d=e("y+Vt"),E=e("nPnh"),g=E.subPixelOptimizeLine,p={},A=d.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(h,i){var r,a,s,l;this.subPixelOptimize?(g(p,i,this.style),r=p.x1,a=p.y1,s=p.x2,l=p.y2):(r=i.x1,a=i.y1,s=i.x2,l=i.y2);var n=i.percent;if(n===0)return;h.moveTo(r,a),n<1&&(s=r*(1-n)+s*n,l=a*(1-n)+l*n),h.lineTo(s,l)},pointAt:function(h){var i=this.shape;return[i.x1*(1-h)+i.x2*h,i.y1*(1-h)+i.y2*h]}});J.exports=A},z35g:function(J,F,e){var d=e("bYtY");function E(A){return this._axes[A]}var g=function(A){this._axes={},this._dimList=[],this.name=A||""};g.prototype={constructor:g,type:"cartesian",getAxis:function(A){return this._axes[A]},getAxes:function(){return d.map(this._dimList,E,this)},getAxesByScale:function(A){return A=A.toLowerCase(),d.filter(this.getAxes(),function(b){return b.scale.type===A})},addAxis:function(A){var b=A.dim;this._axes[b]=A,this._dimList.push(b)},dataToCoord:function(A){return this._dataCoordConvert(A,"dataToCoord")},coordToData:function(A){return this._dataCoordConvert(A,"coordToData")},_dataCoordConvert:function(A,b){for(var h=this._dimList,i=A instanceof Array?[]:{},r=0;r<h.length;r++){var a=h[r],s=this._axes[a];i[a]=s[b](A[a])}return i}};var p=g;J.exports=p},zAh6:function(J,F,e){"use strict";e.d(F,"a",function(){return A});var d=e("xEkU"),E=e.n(d),g=e("i6bk");function p(b,h,i,r){var a=i-h;return b/=r/2,b<1?a/2*b*b*b+h:a/2*((b-=2)*b*b+2)+h}function A(b){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=h.getContainer,r=i===void 0?function(){return window}:i,a=h.callback,s=h.duration,l=s===void 0?450:s,n=r(),u=Object(g.a)(n,!0),t=Date.now(),c=function o(){var f=Date.now(),v=f-t,y=p(v>l?l:v,u,b,l);Object(g.b)(n)?n.scrollTo(window.pageXOffset,y):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=y:n.scrollTop=y,v<l?E()(o):typeof a=="function"&&a()};E()(c)}},zDms:function(J,F,e){var d=e("bYtY"),E=e("OELB"),g=e("UOVi"),p=e("72pK"),A=d.each,b=E.asc,h=function(n,u,t,c){this._dimName=n,this._axisIndex=u,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=c,this._dataZoomModel=t};h.prototype={constructor:h,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],u=this.ecModel;return u.eachSeries(function(t){if(g.isCoordSupported(t.get("coordinateSystem"))){var c=this._dimName,o=u.queryComponents({mainType:c+"Axis",index:t.get(c+"AxisIndex"),id:t.get(c+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&n.push(t)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,u=this.ecModel,t=this.getAxisModel(),c=n==="x"||n==="y",o,f;c?(f="gridIndex",o=n==="x"?"y":"x"):(f="polarIndex",o=n==="angle"?"radius":"angle");var v;return u.eachComponent(o+"Axis",function(y){(y.get(f)||0)===(t.get(f)||0)&&(v=y)}),v},getMinMaxSpan:function(){return d.clone(this._minMaxSpan)},calculateDataWindow:function(n){var u=this._dataExtent,t=this.getAxisModel(),c=t.axis.scale,o=this._dataZoomModel.getRangePropMode(),f=[0,100],v=[],y=[],L;A(["start","end"],function(O,T){var w=n[O],C=n[O+"Value"];o[T]==="percent"?(w==null&&(w=f[T]),C=c.parse(E.linearMap(w,f,u))):(L=!0,C=C==null?u[T]:c.parse(C),w=E.linearMap(C,u,f)),y[T]=C,v[T]=w}),b(y),b(v);var S=this._minMaxSpan;L?x(y,v,u,f,!1):x(v,y,f,u,!0);function x(O,T,w,C,N){var D=N?"Span":"ValueSpan";p(0,O,w,"all",S["min"+D],S["max"+D]);for(var B=0;B<2;B++)T[B]=E.linearMap(O[B],w,C,!0),N&&(T[B]=c.parse(T[B]))}return{valueWindow:y,percentWindow:v}},reset:function(n){if(n!==this._dataZoomModel)return;var u=this.getTargetSeriesModels();this._dataExtent=i(this,this._dimName,u),s(this);var t=this.calculateDataWindow(n.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,a(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,a(this,!0)},filterData:function(n,u){if(n!==this._dataZoomModel)return;var t=this._dimName,c=this.getTargetSeriesModels(),o=n.get("filterMode"),f=this._valueWindow;if(o==="none")return;A(c,function(y){var L=y.getData(),S=L.mapDimension(t,!0);if(!S.length)return;o==="weakFilter"?L.filterSelf(function(x){for(var O,T,w,C=0;C<S.length;C++){var N=L.get(S[C],x),D=!isNaN(N),B=N<f[0],R=N>f[1];if(D&&!B&&!R)return!0;D&&(w=!0),B&&(O=!0),R&&(T=!0)}return w&&O&&T}):A(S,function(x){if(o==="empty")y.setData(L=L.map(x,function(T){return v(T)?T:NaN}));else{var O={};O[x]=f,L.selectRange(O)}}),A(S,function(x){L.setApproximateExtent(f,x)})});function v(y){return y>=f[0]&&y<=f[1]}}};function i(n,u,t){var c=[Infinity,-Infinity];return A(t,function(o){var f=o.getData();f&&A(f.mapDimension(u,!0),function(v){var y=f.getApproximateExtent(v);y[0]<c[0]&&(c[0]=y[0]),y[1]>c[1]&&(c[1]=y[1])})}),c[1]<c[0]&&(c=[NaN,NaN]),r(n,c),c}function r(n,u){var t=n.getAxisModel(),c=t.getMin(!0),o=t.get("type")==="category",f=o&&t.getCategories().length;c!=null&&c!=="dataMin"&&typeof c!="function"?u[0]=c:o&&(u[0]=f>0?0:NaN);var v=t.getMax(!0);return v!=null&&v!=="dataMax"&&typeof v!="function"?u[1]=v:o&&(u[1]=f>0?f-1:NaN),t.get("scale",!0)||(u[0]>0&&(u[0]=0),u[1]<0&&(u[1]=0)),u}function a(n,u){var t=n.getAxisModel(),c=n._percentWindow,o=n._valueWindow;if(!c)return;var f=E.getPixelPrecision(o,[0,500]);f=Math.min(f,20);var v=u||c[0]===0&&c[1]===100;t.setRange(v?null:+o[0].toFixed(f),v?null:+o[1].toFixed(f))}function s(n){var u=n._minMaxSpan={},t=n._dataZoomModel,c=n._dataExtent;A(["min","max"],function(o){var f=t.get(o+"Span"),v=t.get(o+"ValueSpan");v!=null&&(v=n.getAxisModel().axis.scale.parse(v)),v!=null?f=E.linearMap(c[0]+v,c,[0,100],!0):f!=null&&(v=E.linearMap(f,[0,100],c,!0)-c[0]),u[o+"Span"]=f,u[o+"ValueSpan"]=v})}var l=h;J.exports=l},zM3Q:function(J,F,e){var d=e("4NO4"),E=d.makeInner;function g(){var p=E();return function(A){var b=p(A),h=A.pipelineContext,i=b.large,r=b.progressiveRender,a=b.large=h&&h.large,s=b.progressiveRender=h&&h.progressiveRender;return!!(i^a||r^s)&&"reset"}}J.exports=g},zRKj:function(J,F,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(J,F,e){var d=e("bYtY"),E=e("Qxkt"),g=d.each,p=d.curry;function A(c,o){var f={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return b(f,c,o),f.seriesInvolved&&i(f,c),f}function b(c,o,f){var v=o.getComponent("tooltip"),y=o.getComponent("axisPointer"),L=y.get("link",!0)||[],S=[];g(f.getCoordinateSystems(),function(x){if(!x.axisPointerEnabled)return;var O=t(x.model),T=c.coordSysAxesInfo[O]={};c.coordSysMap[O]=x;var w=x.model,C=w.getModel("tooltip",v);if(g(x.getAxes(),p(R,!1,null)),x.getTooltipAxes&&v&&C.get("show")){var N=C.get("trigger")==="axis",D=C.get("axisPointer.type")==="cross",B=x.getTooltipAxes(C.get("axisPointer.axis"));(N||D)&&g(B.baseAxes,p(R,D?"cross":!0,N)),D&&g(B.otherAxes,p(R,"cross",!1))}function R(U,M,j){var P=j.model.getModel("axisPointer",y),K=P.get("show");if(!K||K==="auto"&&!U&&!u(P))return;M==null&&(M=P.get("triggerTooltip")),P=U?h(j,C,y,o,U,M):P;var H=P.get("snap"),k=t(j.model),Z=M||H||j.type==="category",Y=c.axesInfo[k]={key:k,axis:j,coordSys:x,axisPointerModel:P,triggerTooltip:M,involveSeries:Z,snap:H,useHandle:u(P),seriesModels:[]};T[k]=Y,c.seriesInvolved|=Z;var _=r(L,j);if(_!=null){var Q=S[_]||(S[_]={axesInfo:{}});Q.axesInfo[k]=Y,Q.mapper=L[_].mapper,Y.linkGroup=Q}}})}function h(c,o,f,v,y,L){var S=o.getModel("axisPointer"),x={};g(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){x[C]=d.clone(S.get(C))}),x.snap=c.type!=="category"&&!!L,S.get("type")==="cross"&&(x.type="line");var O=x.label||(x.label={});if(O.show==null&&(O.show=!1),y==="cross"){var T=S.get("label.show");if(O.show=T!=null?T:!0,!L){var w=x.lineStyle=S.get("crossStyle");w&&d.defaults(O,w.textStyle)}}return c.model.getModel("axisPointer",new E(x,f,v))}function i(c,o){o.eachSeries(function(f){var v=f.coordinateSystem,y=f.get("tooltip.trigger",!0),L=f.get("tooltip.show",!0);if(!v||y==="none"||y===!1||y==="item"||L===!1||f.get("axisPointer.show",!0)===!1)return;g(c.coordSysAxesInfo[t(v.model)],function(S){var x=S.axis;v.getAxis(x.dim)===x&&(S.seriesModels.push(f),S.seriesDataCount==null&&(S.seriesDataCount=0),S.seriesDataCount+=f.getData().count())})},this)}function r(c,o){for(var f=o.model,v=o.dim,y=0;y<c.length;y++){var L=c[y]||{};if(a(L[v+"AxisId"],f.id)||a(L[v+"AxisIndex"],f.componentIndex)||a(L[v+"AxisName"],f.name))return y}}function a(c,o){return c==="all"||d.isArray(c)&&d.indexOf(c,o)>=0||c===o}function s(c){var o=l(c);if(!o)return;var f=o.axisPointerModel,v=o.axis.scale,y=f.option,L=f.get("status"),S=f.get("value");S!=null&&(S=v.parse(S));var x=u(f);L==null&&(y.status=x?"show":"hide");var O=v.getExtent().slice();O[0]>O[1]&&O.reverse(),(S==null||S>O[1])&&(S=O[1]),S<O[0]&&(S=O[0]),y.value=S,x&&(y.status=o.axis.scale.isBlank()?"hide":"show")}function l(c){var o=(c.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return o&&o.axesInfo[t(c)]}function n(c){var o=l(c);return o&&o.axisPointerModel}function u(c){return!!c.get("handle.show")}function t(c){return c.type+"||"+c.id}F.collect=A,F.fixValue=s,F.getAxisInfo=l,F.getAxisPointerModel=n,F.makeKey=t},zYTA:function(J,F,e){var d=e("bYtY"),E=256;function g(){var A=d.createCanvas();this.canvas=A,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}g.prototype={update:function(A,b,h,i,r,a){var s=this._getBrush(),l=this._getGradient(A,r,"inRange"),n=this._getGradient(A,r,"outOfRange"),u=this.pointSize+this.blurSize,t=this.canvas,c=t.getContext("2d"),o=A.length;t.width=b,t.height=h;for(var f=0;f<o;++f){var v=A[f],y=v[0],L=v[1],S=v[2],x=i(S);c.globalAlpha=x,c.drawImage(s,y-u,L-u)}if(!t.width||!t.height)return t;for(var O=c.getImageData(0,0,t.width,t.height),T=O.data,w=0,C=T.length,N=this.minOpacity,D=this.maxOpacity,B=D-N;w<C;){var x=T[w+3]/256,R=Math.floor(x*(E-1))*4;if(x>0){var U=a(x)?l:n;x>0&&(x=x*B+N),T[w++]=U[R],T[w++]=U[R+1],T[w++]=U[R+2],T[w++]=U[R+3]*x*256}else w+=4}return c.putImageData(O,0,0),t},_getBrush:function(){var A=this._brushCanvas||(this._brushCanvas=d.createCanvas()),b=this.pointSize+this.blurSize,h=b*2;A.width=h,A.height=h;var i=A.getContext("2d");return i.clearRect(0,0,h,h),i.shadowOffsetX=h,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-b,b,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),A},_getGradient:function(A,b,h){for(var i=this._gradientPixels,r=i[h]||(i[h]=new Uint8ClampedArray(256*4)),a=[0,0,0,0],s=0,l=0;l<256;l++)b[h](l/255,!0,a),r[s++]=a[0],r[s++]=a[1],r[s++]=a[2],r[s++]=a[3];return r}};var p=g;J.exports=p},zarK:function(J,F,e){var d=e("YH21"),E=d.addEventListener,g=d.removeEventListener,p=d.normalizeEvent,A=d.getNativeEvent,b=e("bYtY"),h=e("H6uX"),i=e("ItGF"),r=300,a=i.domSupported,s=function(){var U=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],M=["touchstart","touchend","touchmove"],j={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},P=b.map(U,function(K){var H=K.replace("mouse","pointer");return j.hasOwnProperty(H)?H:K});return{mouse:U,touch:M,pointer:P}}(),l={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(U){return U==="mousewheel"&&i.browser.firefox?"DOMMouseScroll":U}function u(U){var M=U.pointerType;return M==="pen"||M==="touch"}function t(U){U.touching=!0,U.touchTimer!=null&&(clearTimeout(U.touchTimer),U.touchTimer=null),U.touchTimer=setTimeout(function(){U.touching=!1,U.touchTimer=null},700)}function c(U){U&&(U.zrByTouch=!0)}function o(U,M){return p(U.dom,new v(U,M),!0)}function f(U,M){for(var j=M,P=!1;j&&j.nodeType!==9&&!(P=j.domBelongToZr||j!==M&&j===U.painterRoot);)j=j.parentNode;return P}function v(U,M){this.type=M.type,this.target=this.currentTarget=U.dom,this.pointerType=M.pointerType,this.clientX=M.clientX,this.clientY=M.clientY}var y=v.prototype;y.stopPropagation=y.stopImmediatePropagation=y.preventDefault=b.noop;var L={mousedown:function(M){M=p(this.dom,M),this._mayPointerCapture=[M.zrX,M.zrY],this.trigger("mousedown",M)},mousemove:function(M){M=p(this.dom,M);var j=this._mayPointerCapture;j&&(M.zrX!==j[0]||M.zrY!==j[1])&&C(this,!0),this.trigger("mousemove",M)},mouseup:function(M){M=p(this.dom,M),C(this,!1),this.trigger("mouseup",M)},mouseout:function(M){M=p(this.dom,M),this._pointerCapturing&&(M.zrEventControl="no_globalout");var j=M.toElement||M.relatedTarget;M.zrIsToLocalDOM=f(this,j),this.trigger("mouseout",M)},touchstart:function(M){M=p(this.dom,M),c(M),this._lastTouchMoment=new Date,this.handler.processGesture(M,"start"),L.mousemove.call(this,M),L.mousedown.call(this,M)},touchmove:function(M){M=p(this.dom,M),c(M),this.handler.processGesture(M,"change"),L.mousemove.call(this,M)},touchend:function(M){M=p(this.dom,M),c(M),this.handler.processGesture(M,"end"),L.mouseup.call(this,M),+new Date-this._lastTouchMoment<r&&L.click.call(this,M)},pointerdown:function(M){L.mousedown.call(this,M)},pointermove:function(M){u(M)||L.mousemove.call(this,M)},pointerup:function(M){L.mouseup.call(this,M)},pointerout:function(M){u(M)||L.mouseout.call(this,M)}};b.each(["click","mousewheel","dblclick","contextmenu"],function(U){L[U]=function(M){M=p(this.dom,M),this.trigger(U,M)}});var S={pointermove:function(M){u(M)||S.mousemove.call(this,M)},pointerup:function(M){S.mouseup.call(this,M)},mousemove:function(M){this.trigger("mousemove",M)},mouseup:function(M){var j=this._pointerCapturing;C(this,!1),this.trigger("mouseup",M),j&&(M.zrEventControl="only_globalout",this.trigger("mouseout",M))}};function x(U,M){var j=M.domHandlers;i.pointerEventsSupported?b.each(s.pointer,function(P){T(M,P,function(K){j[P].call(U,K)})}):(i.touchEventsSupported&&b.each(s.touch,function(P){T(M,P,function(K){j[P].call(U,K),t(M)})}),b.each(s.mouse,function(P){T(M,P,function(K){K=A(K),M.touching||j[P].call(U,K)})}))}function O(U,M){i.pointerEventsSupported?b.each(l.pointer,j):i.touchEventsSupported||b.each(l.mouse,j);function j(P){function K(H){H=A(H),f(U,H.target)||(H=o(U,H),M.domHandlers[P].call(U,H))}T(M,P,K,{capture:!0})}}function T(U,M,j,P){U.mounted[M]=j,U.listenerOpts[M]=P,E(U.domTarget,n(M),j,P)}function w(U){var M=U.mounted;for(var j in M)M.hasOwnProperty(j)&&g(U.domTarget,n(j),M[j],U.listenerOpts[j]);U.mounted={}}function C(U,M){if(U._mayPointerCapture=null,a&&U._pointerCapturing^M){U._pointerCapturing=M;var j=U._globalHandlerScope;M?O(U,j):w(j)}}function N(U,M){this.domTarget=U,this.domHandlers=M,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function D(U,M){h.call(this),this.dom=U,this.painterRoot=M,this._localHandlerScope=new N(U,L),a&&(this._globalHandlerScope=new N(document,S)),this._pointerCapturing=!1,this._mayPointerCapture=null,x(this,this._localHandlerScope)}var B=D.prototype;B.dispose=function(){w(this._localHandlerScope),a&&w(this._globalHandlerScope)},B.setCursor=function(U){this.dom.style&&(this.dom.style.cursor=U||"default")},b.mixin(D,h);var R=D;J.exports=R},zdCA:function(J,F,e){"use strict";var d=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),p=d(e("PSzr")),A=d(e("KQxl")),b=function(r,a){return g.createElement(A.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="BarsOutlined";var h=g.forwardRef(b);F.default=h},zeV3:function(J,F,e){"use strict";var d=e("pVnL"),E=e.n(d),g=e("lSNA"),p=e.n(g),A=e("q1tI"),b=e.n(A),h=e("TSYQ"),i=e.n(h),r=e("H84U"),a=function(n,u){var t={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&u.indexOf(c)<0&&(t[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,c=Object.getOwnPropertySymbols(n);o<c.length;o++)u.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(n,c[o])&&(t[c[o]]=n[c[o]]);return t},s={small:8,middle:16,large:24},l=function(u){var t,c=A.useContext(r.b),o=c.getPrefixCls,f=c.space,v=c.direction,y=u.size,L=y===void 0?(f==null?void 0:f.size)||"small":y,S=u.align,x=u.className,O=u.children,T=u.direction,w=T===void 0?"horizontal":T,C=u.prefixCls,N=a(u,["size","align","className","children","direction","prefixCls"]),D=A.Children.count(O);if(D===0)return null;var B=S===void 0&&w==="horizontal"?"center":S,R=o("space",C),U=i()(R,"".concat(R,"-").concat(w),(t={},p()(t,"".concat(R,"-rtl"),v==="rtl"),p()(t,"".concat(R,"-align-").concat(B),B),t),x),M="".concat(R,"-item"),j=v==="rtl"?"marginLeft":"marginRight";return A.createElement("div",E()({className:U},N),A.Children.map(O,function(P,K){return A.createElement("div",{className:M,key:"".concat(M,"-").concat(K),style:K===D-1||P===null||P===void 0?{}:p()({},w==="vertical"?"marginBottom":j,typeof L=="string"?s[L]:L)},P)}))};F.a=l},zoYe:function(J,F,e){var d=e("nmnc"),E=e("eUgh"),g=e("Z0cm"),p=e("/9aa"),A=1/0,b=d?d.prototype:void 0,h=b?b.toString:void 0;function i(r){if(typeof r=="string")return r;if(g(r))return E(r,i)+"";if(p(r))return h?h.call(r):"";var a=r+"";return a=="0"&&1/r==-A?"-0":a}J.exports=i},zuHt:function(J,F,e){var d=e("bYtY");function E(g){var p={};g.eachSeriesByType("map",function(A){var b=A.getMapType();if(A.getHostGeoModel()||p[b])return;var h={};d.each(A.seriesGroup,function(r){var a=r.coordinateSystem,s=r.originalData;r.get("showLegendSymbol")&&g.getComponent("legend")&&s.each(s.mapDimension("value"),function(l,n){var u=s.getName(n),t=a.getRegion(u);if(!t||isNaN(l))return;var c=h[u]||0,o=a.dataToPoint(t.center);h[u]=c+1,s.setItemLayout(n,{point:o,offset:c})})});var i=A.getData();i.each(function(r){var a=i.getName(r),s=i.getItemLayout(r)||{};s.showLabel=!h[a],i.setItemLayout(r,s)}),p[b]=!0})}J.exports=E}}]);
|